Searched refs:chaining_key (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/drivers/net/wireguard/ |
D | noise.c | 83 memset(&handshake->chaining_key, 0, NOISE_HASH_LEN); in handshake_zero() 346 size_t data_len, const u8 chaining_key[NOISE_HASH_LEN]) in kdf() 360 hmac(secret, data, chaining_key, data_len, NOISE_HASH_LEN); in kdf() 394 const u8 chaining_key[NOISE_HASH_LEN]) in derive_keys() 399 chaining_key); in derive_keys() 404 static bool __must_check mix_dh(u8 chaining_key[NOISE_HASH_LEN], in mix_dh() 413 kdf(chaining_key, key, NULL, dh_calculation, NOISE_HASH_LEN, in mix_dh() 414 NOISE_SYMMETRIC_KEY_LEN, 0, NOISE_PUBLIC_KEY_LEN, chaining_key); in mix_dh() 419 static bool __must_check mix_precomputed_dh(u8 chaining_key[NOISE_HASH_LEN], in mix_precomputed_dh() 426 kdf(chaining_key, key, NULL, precomputed, NOISE_HASH_LEN, in mix_precomputed_dh() [all …]
|
D | noise.h | 81 u8 chaining_key[NOISE_HASH_LEN]; member
|