Home
last modified time | relevance | path

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

/Linux-v5.10/lib/crypto/
Dblake2s.c77 u8 x_key[BLAKE2S_BLOCK_SIZE] __aligned(__alignof__(u32)) = { 0 }; in blake2s256_hmac() local
84 blake2s_final(&state, x_key); in blake2s256_hmac()
86 memcpy(x_key, key, keylen); in blake2s256_hmac()
89 x_key[i] ^= 0x36; in blake2s256_hmac()
92 blake2s_update(&state, x_key, BLAKE2S_BLOCK_SIZE); in blake2s256_hmac()
97 x_key[i] ^= 0x5c ^ 0x36; in blake2s256_hmac()
100 blake2s_update(&state, x_key, BLAKE2S_BLOCK_SIZE); in blake2s256_hmac()
105 memzero_explicit(x_key, BLAKE2S_BLOCK_SIZE); in blake2s256_hmac()