Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/wireguard/
Dnoise.c308 u8 x_key[BLAKE2S_BLOCK_SIZE] __aligned(__alignof__(u32)) = { 0 }; in hmac() local
315 blake2s_final(&state, x_key); in hmac()
317 memcpy(x_key, key, keylen); in hmac()
320 x_key[i] ^= 0x36; in hmac()
323 blake2s_update(&state, x_key, BLAKE2S_BLOCK_SIZE); in hmac()
328 x_key[i] ^= 0x5c ^ 0x36; in hmac()
331 blake2s_update(&state, x_key, BLAKE2S_BLOCK_SIZE); in hmac()
336 memzero_explicit(x_key, BLAKE2S_BLOCK_SIZE); in hmac()