Searched refs:BCRYPT_MAXSALT (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/lib/crypt_modules/bsdbf/
H A Dbcrypt.c74 #define BCRYPT_MAXSALT 16 /* Precomputation is just so nice */ macro
86 static char gsalt[BCRYPT_MAXSALT * 4 / 3 + 1];
166 uint8_t csalt[BCRYPT_MAXSALT];
170 for (i = 0; i < BCRYPT_MAXSALT; i++) {
182 encode_salt(gsalt, csalt, BCRYPT_MAXSALT, log_rounds);
201 uint8_t csalt[BCRYPT_MAXSALT];
246 if (strlen(salt) * 3 / 4 < BCRYPT_MAXSALT)
250 decode_base64(csalt, BCRYPT_MAXSALT, (uint8_t *)salt);
251 salt_len = BCRYPT_MAXSALT;
306 encode_base64((uint8_t *)encrypted + i + 3, csalt, BCRYPT_MAXSALT);
[all...]

Completed in 43 milliseconds