Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/wireguard/
Dnoise.c83 memset(&handshake->chaining_key, 0, NOISE_HASH_LEN); in handshake_zero()
311 size_t data_len, const u8 chaining_key[NOISE_HASH_LEN]) in kdf()
325 blake2s256_hmac(secret, data, chaining_key, data_len, NOISE_HASH_LEN); in kdf()
361 const u8 chaining_key[NOISE_HASH_LEN]) in derive_keys()
366 chaining_key); in derive_keys()
371 static bool __must_check mix_dh(u8 chaining_key[NOISE_HASH_LEN], in mix_dh()
380 kdf(chaining_key, key, NULL, dh_calculation, NOISE_HASH_LEN, in mix_dh()
381 NOISE_SYMMETRIC_KEY_LEN, 0, NOISE_PUBLIC_KEY_LEN, chaining_key); in mix_dh()
386 static bool __must_check mix_precomputed_dh(u8 chaining_key[NOISE_HASH_LEN], in mix_precomputed_dh()
393 kdf(chaining_key, key, NULL, precomputed, NOISE_HASH_LEN, in mix_precomputed_dh()
[all …]
Dnoise.h81 u8 chaining_key[NOISE_HASH_LEN]; member