Searched refs:hs_e (Results 1 – 1 of 1) sorted by relevance
/freebsd/sys/dev/wg/ |
H A D | wg_noise.c | 84 uint8_t hs_e[NOISE_PUBLIC_KEY_LEN]; member 964 curve25519_generate_secret(hs->hs_e); in noise_create_initiation() 965 if (curve25519_generate_public(ue, hs->hs_e) == 0) in noise_create_initiation() 970 if (noise_mix_dh(hs->hs_ck, key, hs->hs_e, r->r_public) != 0) in noise_create_initiation() 1042 memcpy(hs.hs_e, ue, NOISE_PUBLIC_KEY_LEN); in noise_consume_initiation() 1102 if (noise_mix_dh(hs->hs_ck, NULL, e, hs->hs_e) != 0) in noise_create_response() 1160 if (noise_mix_dh(hs.hs_ck, NULL, hs.hs_e, ue) != 0) in noise_consume_response()
|