Home
last modified time | relevance | path

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

/linux/lib/crypto/tests/
H A Dblake2s_kunit.c46 u8 *hash = key + BLAKE2S_KEY_SIZE; in test_blake2s_all_key_and_hash_lens()
52 for (int key_len = 0; key_len <= BLAKE2S_KEY_SIZE; key_len++) { in test_blake2s_all_key_and_hash_lens()
73 for (int key_len = 0; key_len <= BLAKE2S_KEY_SIZE; key_len++) { in test_blake2s_with_guarded_key_buf()
74 u8 key[BLAKE2S_KEY_SIZE]; in test_blake2s_with_guarded_key_buf()
/linux/include/crypto/
H A Dblake2s.h17 BLAKE2S_KEY_SIZE = 32, enumerator
104 !key || !keylen || keylen > BLAKE2S_KEY_SIZE)); in blake2s_init_key()
152 outlen > BLAKE2S_HASH_SIZE || keylen > BLAKE2S_KEY_SIZE || in blake2s()