Lines Matching refs:key_len
69 size_t salt_len, key_len, cnt, rounds; in crypt_sha512() local
97 key_len = strlen(key); in crypt_sha512()
103 SHA512_Update(&ctx, key, key_len); in crypt_sha512()
115 SHA512_Update(&alt_ctx, key, key_len); in crypt_sha512()
121 SHA512_Update(&alt_ctx, key, key_len); in crypt_sha512()
127 for (cnt = key_len; cnt > 64; cnt -= 64) in crypt_sha512()
133 for (cnt = key_len; cnt > 0; cnt >>= 1) in crypt_sha512()
137 SHA512_Update(&ctx, key, key_len); in crypt_sha512()
146 for (cnt = 0; cnt < key_len; ++cnt) in crypt_sha512()
147 SHA512_Update(&alt_ctx, key, key_len); in crypt_sha512()
153 cp = p_bytes = alloca(key_len); in crypt_sha512()
154 for (cnt = key_len; cnt >= 64; cnt -= 64) { in crypt_sha512()
186 SHA512_Update(&ctx, p_bytes, key_len); in crypt_sha512()
196 SHA512_Update(&ctx, p_bytes, key_len); in crypt_sha512()
202 SHA512_Update(&ctx, p_bytes, key_len); in crypt_sha512()
251 explicit_bzero(p_bytes, key_len); in crypt_sha512()