Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/wireguard/
Dnoise.c80 memset(&handshake->ephemeral_private, 0, NOISE_PUBLIC_KEY_LEN); in handshake_zero()
508 curve25519_generate_secret(handshake->ephemeral_private); in wg_noise_handshake_create_initiation()
510 handshake->ephemeral_private)) in wg_noise_handshake_create_initiation()
517 if (!mix_dh(handshake->chaining_key, key, handshake->ephemeral_private, in wg_noise_handshake_create_initiation()
655 curve25519_generate_secret(handshake->ephemeral_private); in wg_noise_handshake_create_response()
657 handshake->ephemeral_private)) in wg_noise_handshake_create_response()
664 if (!mix_dh(handshake->chaining_key, NULL, handshake->ephemeral_private, in wg_noise_handshake_create_response()
669 if (!mix_dh(handshake->chaining_key, NULL, handshake->ephemeral_private, in wg_noise_handshake_create_response()
705 u8 ephemeral_private[NOISE_PUBLIC_KEY_LEN]; in wg_noise_handshake_consume_response() local
724 memcpy(ephemeral_private, handshake->ephemeral_private, in wg_noise_handshake_consume_response()
[all …]
Dnoise.h73 u8 ephemeral_private[NOISE_PUBLIC_KEY_LEN]; member