Searched refs:BLAKE2S_HASH_SIZE (Results 1 – 5 of 5) sorted by relevance
| /linux/drivers/net/wireguard/ |
| H A D | noise.c | 309 u8 i_hash[BLAKE2S_HASH_SIZE] __aligned(__alignof__(u32)); in hmac() 313 blake2s_init(&blake, BLAKE2S_HASH_SIZE); in hmac() 322 blake2s_init(&blake, BLAKE2S_HASH_SIZE); in hmac() 330 blake2s_init(&blake, BLAKE2S_HASH_SIZE); in hmac() 332 blake2s_update(&blake, 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 …]
|
| H A D | messages.h | 22 NOISE_HASH_LEN = BLAKE2S_HASH_SIZE
|
| /linux/lib/crypto/tests/ |
| H A D | blake2s-testvecs.h | 6 u8 digest[BLAKE2S_HASH_SIZE]; 226 static const u8 hash_testvec_consolidated[BLAKE2S_HASH_SIZE] = { 233 static const u8 blake2s_keyed_testvec_consolidated[BLAKE2S_HASH_SIZE] = {
|
| /linux/include/crypto/ |
| H A D | blake2s.h | 16 BLAKE2S_HASH_SIZE = 32, enumerator 103 WARN_ON(IS_ENABLED(DEBUG) && (!outlen || outlen > BLAKE2S_HASH_SIZE || in blake2s_init_key() 152 outlen > BLAKE2S_HASH_SIZE || keylen > BLAKE2S_KEY_SIZE || in blake2s()
|
| /linux/drivers/char/ |
| H A D | random.c | 620 POOL_BITS = BLAKE2S_HASH_SIZE * 8, 630 .hash.h = { BLAKE2S_IV0 ^ (0x01010000 | BLAKE2S_HASH_SIZE), 633 .hash.outlen = BLAKE2S_HASH_SIZE, 663 u8 seed[BLAKE2S_HASH_SIZE], next_key[BLAKE2S_HASH_SIZE]; in extract_entropy() 692 blake2s_init_key(&input_pool.hash, BLAKE2S_HASH_SIZE, next_key, sizeof(next_key)); in extract_entropy() 698 i = min_t(size_t, len, BLAKE2S_HASH_SIZE); in extract_entropy()
|