Searched refs:mix_hash (Results 1 – 1 of 1) sorted by relevance
/drivers/net/wireguard/ |
D | noise.c | 432 static void mix_hash(u8 hash[NOISE_HASH_LEN], const u8 *src, size_t src_len) in mix_hash() function 450 mix_hash(hash, temp_hash, NOISE_HASH_LEN); in mix_psk() 460 mix_hash(hash, remote_static, NOISE_PUBLIC_KEY_LEN); in handshake_init() 470 mix_hash(hash, dst_ciphertext, noise_encrypted_len(src_len)); in message_encrypt() 481 mix_hash(hash, src_ciphertext, src_len); in message_decrypt() 492 mix_hash(hash, ephemeral_src, NOISE_PUBLIC_KEY_LEN); in message_ephemeral()
|