Lines Matching refs:sha_hash
23 void (*sha_hash)(void *ctx, const void *buffer, size_t len) FAST_FUNC; in sha_crypt() local
96 sha_hash = (void*)sha256_hash; in sha_crypt()
100 sha_hash = (void*)sha512_hash; in sha_crypt()
106 sha_hash(&ctx, key_data, key_len); in sha_crypt()
107 sha_hash(&ctx, salt_data, salt_len); in sha_crypt()
112 sha_hash(&alt_ctx, key_data, key_len); in sha_crypt()
113 sha_hash(&alt_ctx, salt_data, salt_len); in sha_crypt()
114 sha_hash(&alt_ctx, key_data, key_len); in sha_crypt()
120 sha_hash(&ctx, alt_result, _32or64); in sha_crypt()
121 sha_hash(&ctx, alt_result, cnt); in sha_crypt()
127 sha_hash(&ctx, alt_result, _32or64); in sha_crypt()
129 sha_hash(&ctx, key_data, key_len); in sha_crypt()
138 sha_hash(&alt_ctx, key_data, key_len); in sha_crypt()
156 sha_hash(&alt_ctx, salt_data, salt_len); in sha_crypt()
177 sha_hash(&ctx, p_bytes, key_len); in sha_crypt()
179 sha_hash(&ctx, alt_result, _32or64); in sha_crypt()
182 sha_hash(&ctx, s_bytes, salt_len); in sha_crypt()
185 sha_hash(&ctx, p_bytes, key_len); in sha_crypt()
188 sha_hash(&ctx, alt_result, _32or64); in sha_crypt()
190 sha_hash(&ctx, p_bytes, key_len); in sha_crypt()