Home
last modified time | relevance | path

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

/titanic_50/usr/src/lib/crypt_modules/sha256/
H A Dcrypt_sha.c169 int salt_len, plaintext_len, i; in crypt_genhash_impl() local
201 plaintext_len = strlen(plaintext); in crypt_genhash_impl()
207 DIGESTUpdate(&ctxA, plaintext, plaintext_len); in crypt_genhash_impl()
214 DIGESTUpdate(&ctxB, plaintext, plaintext_len); in crypt_genhash_impl()
216 DIGESTUpdate(&ctxB, plaintext, plaintext_len); in crypt_genhash_impl()
220 for (i = plaintext_len; i > MIXCHARS; i -= MIXCHARS) in crypt_genhash_impl()
225 for (i = plaintext_len; i > 0; i >>= 1) { in crypt_genhash_impl()
229 DIGESTUpdate(&ctxA, plaintext, plaintext_len); in crypt_genhash_impl()
238 for (i = 0; i < plaintext_len; i++) in crypt_genhash_impl()
239 DIGESTUpdate(&ctxDP, plaintext, plaintext_len); in crypt_genhash_impl()
[all …]