Searched refs:BLAKE2S_HASH_SIZE (Results 1 – 5 of 5) sorted by relevance
/linux-6.6.21/drivers/net/wireguard/ ! |
D | noise.c | 309 u8 i_hash[BLAKE2S_HASH_SIZE] __aligned(__alignof__(u32)); in hmac() 313 blake2s_init(&state, BLAKE2S_HASH_SIZE); in hmac() 322 blake2s_init(&state, BLAKE2S_HASH_SIZE); in hmac() 330 blake2s_init(&state, BLAKE2S_HASH_SIZE); in hmac() 332 blake2s_update(&state, i_hash, BLAKE2S_HASH_SIZE); in hmac() 335 memcpy(out, i_hash, BLAKE2S_HASH_SIZE); in hmac() 337 memzero_explicit(i_hash, BLAKE2S_HASH_SIZE); in hmac() 348 u8 output[BLAKE2S_HASH_SIZE + 1]; in kdf() 349 u8 secret[BLAKE2S_HASH_SIZE]; in kdf() 352 (first_len > BLAKE2S_HASH_SIZE || in kdf() [all …]
|
D | messages.h | 22 NOISE_HASH_LEN = BLAKE2S_HASH_SIZE
|
/linux-6.6.21/include/crypto/ ! |
D | blake2s.h | 16 BLAKE2S_HASH_SIZE = 32, enumerator 80 WARN_ON(IS_ENABLED(DEBUG) && (!outlen || outlen > BLAKE2S_HASH_SIZE || in blake2s_init_key() 96 outlen > BLAKE2S_HASH_SIZE || keylen > BLAKE2S_KEY_SIZE || in blake2s()
|
/linux-6.6.21/lib/crypto/ ! |
D | blake2s-selftest.c | 65 static const u8 blake2s_testvecs[][BLAKE2S_HASH_SIZE] __initconst = { 552 u8 hash[BLAKE2S_HASH_SIZE]; in blake2s_digest_test() 565 int outlen = 1 + i % BLAKE2S_HASH_SIZE; in blake2s_digest_test()
|
/linux-6.6.21/drivers/char/ ! |
D | random.c | 611 POOL_BITS = BLAKE2S_HASH_SIZE * 8, 621 .hash.h = { BLAKE2S_IV0 ^ (0x01010000 | BLAKE2S_HASH_SIZE), 624 .hash.outlen = BLAKE2S_HASH_SIZE, 654 u8 seed[BLAKE2S_HASH_SIZE], next_key[BLAKE2S_HASH_SIZE]; in extract_entropy() 683 blake2s_init_key(&input_pool.hash, BLAKE2S_HASH_SIZE, next_key, sizeof(next_key)); in extract_entropy() 689 i = min_t(size_t, len, BLAKE2S_HASH_SIZE); in extract_entropy()
|