Searched refs:ephemeral_private (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/drivers/net/wireguard/ |
D | noise.c | 80 memset(&handshake->ephemeral_private, 0, NOISE_PUBLIC_KEY_LEN); in handshake_zero() 541 curve25519_generate_secret(handshake->ephemeral_private); in wg_noise_handshake_create_initiation() 543 handshake->ephemeral_private)) in wg_noise_handshake_create_initiation() 550 if (!mix_dh(handshake->chaining_key, key, handshake->ephemeral_private, in wg_noise_handshake_create_initiation() 688 curve25519_generate_secret(handshake->ephemeral_private); in wg_noise_handshake_create_response() 690 handshake->ephemeral_private)) in wg_noise_handshake_create_response() 697 if (!mix_dh(handshake->chaining_key, NULL, handshake->ephemeral_private, in wg_noise_handshake_create_response() 702 if (!mix_dh(handshake->chaining_key, NULL, handshake->ephemeral_private, in wg_noise_handshake_create_response() 738 u8 ephemeral_private[NOISE_PUBLIC_KEY_LEN]; in wg_noise_handshake_consume_response() local 757 memcpy(ephemeral_private, handshake->ephemeral_private, in wg_noise_handshake_consume_response() [all …]
|
D | noise.h | 73 u8 ephemeral_private[NOISE_PUBLIC_KEY_LEN]; member
|