Home
last modified time | relevance | path

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

/lib/crypt/
A Dcrypt-sha256.c187 SHA256_Update (ctx, phrase, phr_size); in crypt_sha256crypt_rn()
193 SHA256_Update (ctx, phrase, phr_size); in crypt_sha256crypt_rn()
202 SHA256_Update (ctx, phrase, phr_size); in crypt_sha256crypt_rn()
210 for (cnt = phr_size; cnt > 32; cnt -= 32) in crypt_sha256crypt_rn()
216 for (cnt = phr_size; cnt > 0; cnt >>= 1) in crypt_sha256crypt_rn()
220 SHA256_Update (ctx, phrase, phr_size); in crypt_sha256crypt_rn()
229 for (cnt = 0; cnt < phr_size; ++cnt) in crypt_sha256crypt_rn()
230 SHA256_Update (ctx, phrase, phr_size); in crypt_sha256crypt_rn()
254 SHA256_Update_recycled (ctx, p_bytes, phr_size); in crypt_sha256crypt_rn()
264 SHA256_Update_recycled (ctx, p_bytes, phr_size); in crypt_sha256crypt_rn()
[all …]
A Dcrypt-sha512.c78 void crypt_sha512crypt_rn(const char *phrase, size_t phr_size,
108 crypt_sha512crypt_rn (const char *phrase, size_t phr_size, in crypt_sha512crypt_rn() argument
188 SHA512_Update (ctx, phrase, phr_size); in crypt_sha512crypt_rn()
194 SHA512_Update (ctx, phrase, phr_size); in crypt_sha512crypt_rn()
204 SHA512_Update (ctx, phrase, phr_size); in crypt_sha512crypt_rn()
212 for (cnt = phr_size; cnt > 64; cnt -= 64) in crypt_sha512crypt_rn()
218 for (cnt = phr_size; cnt > 0; cnt >>= 1) in crypt_sha512crypt_rn()
222 SHA512_Update (ctx, phrase, phr_size); in crypt_sha512crypt_rn()
231 for (cnt = 0; cnt < phr_size; ++cnt) in crypt_sha512crypt_rn()
232 SHA512_Update (ctx, phrase, phr_size); in crypt_sha512crypt_rn()
[all …]
A Dcrypt-port.h24 int crypt_sha256crypt_rn_wrapped(const char *phrase, size_t phr_size,
29 int crypt_sha512crypt_rn_wrapped(const char *phrase, size_t phr_size,

Completed in 6 milliseconds