Home
last modified time | relevance | path

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

/linux/lib/crypto/tests/
H A Dblake2b_kunit.c15 u8 out[BLAKE2B_HASH_SIZE]) in blake2b_default() argument
17 blake2b(NULL, 0, data, len, out, BLAKE2B_HASH_SIZE); in blake2b_default()
22 blake2b_init(ctx, BLAKE2B_HASH_SIZE); in blake2b_init_default()
31 #define HASH_SIZE BLAKE2B_HASH_SIZE
48 u8 main_hash[BLAKE2B_HASH_SIZE]; in test_blake2b_all_key_and_hash_lens()
51 blake2b_init(&main_ctx, BLAKE2B_HASH_SIZE); in test_blake2b_all_key_and_hash_lens()
54 for (int out_len = 1; out_len <= BLAKE2B_HASH_SIZE; out_len++) { in test_blake2b_all_key_and_hash_lens()
61 BLAKE2B_HASH_SIZE); in test_blake2b_all_key_and_hash_lens()
76 u8 hash1[BLAKE2B_HASH_SIZE]; in test_blake2b_with_guarded_key_buf()
77 u8 hash2[BLAKE2B_HASH_SIZE]; in test_blake2b_with_guarded_key_buf()
[all …]
H A Dblake2b-testvecs.h6 u8 digest[BLAKE2B_HASH_SIZE];
322 static const u8 hash_testvec_consolidated[BLAKE2B_HASH_SIZE] = {
333 static const u8 blake2b_keyed_testvec_consolidated[BLAKE2B_HASH_SIZE] = {
/linux/include/crypto/
H A Dblake2b.h12 BLAKE2B_HASH_SIZE = 64, enumerator
99 WARN_ON(IS_ENABLED(DEBUG) && (!outlen || outlen > BLAKE2B_HASH_SIZE || in blake2b_init_key()
148 outlen > BLAKE2B_HASH_SIZE || keylen > BLAKE2B_KEY_SIZE || in blake2b()