Searched refs:BCRYPT_MAXSALT (Results 1 – 1 of 1) sorted by relevance
74 #define BCRYPT_MAXSALT 16 /* Precomputation is just so nice */ macro86 static char gsalt[BCRYPT_MAXSALT * 4 / 3 + 1];166 uint8_t csalt[BCRYPT_MAXSALT]; in bcrypt_gensalt()170 for (i = 0; i < BCRYPT_MAXSALT; i++) { in bcrypt_gensalt()182 encode_salt(gsalt, csalt, BCRYPT_MAXSALT, log_rounds); in bcrypt_gensalt()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);