Searched refs:sha_hash (Results 1 – 1 of 1) sorted by relevance
/busybox-1.35.0/libbb/ |
D | pw_encrypt_sha.c | 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() [all …]
|