Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/wireguard/
H A Dnoise.c80 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()
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()
770 if (!mix_dh(chaining_key, NULL, ephemeral_private, e)) in wg_noise_handshake_consume_response()
[all …]
H A Dnoise.h73 u8 ephemeral_private[NOISE_PUBLIC_KEY_LEN]; member