Home
last modified time | relevance | path

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

/freebsd/sys/dev/wg/
H A Dwg_noise.c86 uint8_t hs_ck[NOISE_HASH_LEN]; member
668 r->r_handshake.hs_ck); in noise_begin_session()
672 r->r_handshake.hs_ck); in noise_begin_session()
961 noise_param_init(hs->hs_ck, hs->hs_hash, r->r_public); in noise_create_initiation()
967 noise_msg_ephemeral(hs->hs_ck, hs->hs_hash, ue); in noise_create_initiation()
970 if (noise_mix_dh(hs->hs_ck, key, hs->hs_e, r->r_public) != 0) in noise_create_initiation()
978 if (noise_mix_ss(hs->hs_ck, key, r->r_ss) != 0) in noise_create_initiation()
1015 noise_param_init(hs.hs_ck, hs.hs_hash, l->l_public); in noise_consume_initiation()
1018 noise_msg_ephemeral(hs.hs_ck, hs.hs_hash, ue); in noise_consume_initiation()
1021 if (noise_mix_dh(hs.hs_ck, key, l->l_private, ue) != 0) in noise_consume_initiation()
[all …]