Home
last modified time | relevance | path

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

/freebsd/secure/lib/libcrypt/
H A Dcrypt-blowfish.c69 #define BCRYPT_BLOCKS 6 /* Ciphertext blocks */ macro
142 u_int8_t ciphertext[4 * BCRYPT_BLOCKS] = "OrpheanBeholderScryDoubt"; in crypt_blowfish()
144 u_int32_t cdata[BCRYPT_BLOCKS]; in crypt_blowfish()
227 for (i = 0; i < BCRYPT_BLOCKS; i++) in crypt_blowfish()
228 cdata[i] = Blowfish_stream2word(ciphertext, 4 * BCRYPT_BLOCKS, &j); in crypt_blowfish()
232 blf_enc(&state, cdata, BCRYPT_BLOCKS / 2); in crypt_blowfish()
234 for (i = 0; i < BCRYPT_BLOCKS; i++) { in crypt_blowfish()
256 encode_base64((u_int8_t *)buffer, ciphertext, 4 * BCRYPT_BLOCKS - 1); in crypt_blowfish()