Home
last modified time | relevance | path

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

/linux-6.6.21/lib/crypto/
Dblake2s-selftest.c550 u8 key[BLAKE2S_KEY_SIZE]; in blake2s_digest_test()
566 int keylen = (13 * i) % (BLAKE2S_KEY_SIZE + 1); in blake2s_digest_test()
568 blake2s(hash, buf, key + BLAKE2S_KEY_SIZE - keylen, outlen, i, in blake2s_digest_test()
579 key + BLAKE2S_KEY_SIZE - keylen, in blake2s_digest_test()
/linux-6.6.21/include/crypto/
Dblake2s.h17 BLAKE2S_KEY_SIZE = 32, enumerator
81 !key || !keylen || keylen > BLAKE2S_KEY_SIZE)); in blake2s_init_key()
96 outlen > BLAKE2S_HASH_SIZE || keylen > BLAKE2S_KEY_SIZE || in blake2s()