Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/crypt_modules/sha256/
H A Dcrypt_sha.c77 #define MIXCHARS 32 macro
87 #define MIXCHARS 64 macro
220 for (i = plaintext_len; i > MIXCHARS; i -= MIXCHARS) in crypt_genhash_impl()
221 DIGESTUpdate(&ctxA, B, MIXCHARS); in crypt_genhash_impl()
227 DIGESTUpdate(&ctxA, B, MIXCHARS); in crypt_genhash_impl()
244 for (i = plaintext_len; i >= MIXCHARS; i -= MIXCHARS) { in crypt_genhash_impl()
245 Pp = (char *)(memcpy(Pp, DP, MIXCHARS)) + MIXCHARS; in crypt_genhash_impl()
257 for (i = salt_len; i >= MIXCHARS; i -= MIXCHARS) { in crypt_genhash_impl()
258 Sp = (char *)(memcpy(Sp, DS, MIXCHARS)) + MIXCHARS; in crypt_genhash_impl()
270 DIGESTUpdate(&ctxC, A, MIXCHARS); in crypt_genhash_impl()
[all …]