Home
last modified time | relevance | path

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

/linux/lib/crypto/
A Dblake2s.c43 u8 x_key[BLAKE2S_BLOCK_SIZE] __aligned(__alignof__(u32)) = { 0 }; in blake2s256_hmac() local
50 blake2s_final(&state, x_key); in blake2s256_hmac()
52 memcpy(x_key, key, keylen); in blake2s256_hmac()
55 x_key[i] ^= 0x36; in blake2s256_hmac()
58 blake2s_update(&state, x_key, BLAKE2S_BLOCK_SIZE); in blake2s256_hmac()
63 x_key[i] ^= 0x5c ^ 0x36; in blake2s256_hmac()
66 blake2s_update(&state, x_key, BLAKE2S_BLOCK_SIZE); in blake2s256_hmac()
71 memzero_explicit(x_key, BLAKE2S_BLOCK_SIZE); in blake2s256_hmac()

Completed in 6 milliseconds