Home
last modified time | relevance | path

Searched refs:csalt (Results 1 – 1 of 1) sorted by relevance

/titanic_41/usr/src/lib/crypt_modules/bsdbf/
H A Dbcrypt.c146 encode_salt(char *salt, uint8_t *csalt, uint16_t clen, uint8_t logr) in encode_salt() argument
155 encode_base64((uint8_t *)salt + 7, csalt, clen); in encode_salt()
166 uint8_t csalt[BCRYPT_MAXSALT]; in bcrypt_gensalt() local
173 csalt[i] = seed & 0xff; in bcrypt_gensalt()
182 encode_salt(gsalt, csalt, BCRYPT_MAXSALT, log_rounds); in bcrypt_gensalt()
201 uint8_t csalt[BCRYPT_MAXSALT]; local
250 decode_base64(csalt, BCRYPT_MAXSALT, (uint8_t *)salt);
269 Blowfish_expandstate(&state, csalt, salt_len,
273 Blowfish_expand0state(&state, csalt, salt_len);
306 encode_base64((uint8_t *)encrypted + i + 3, csalt, BCRYPT_MAXSALT);