Home
last modified time | relevance | path

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

/freebsd-14.2/sys/dev/wg/
H A Dif_wg.c154 struct noise_keypair *p_keypair; member
1489 remote = noise_keypair_remote(pkt->p_keypair); in wg_encrypt()
1499 if (noise_keypair_encrypt(pkt->p_keypair, &idx, pkt->p_nonce, m) != 0) in wg_encrypt()
1529 remote = noise_keypair_remote(pkt->p_keypair); in wg_decrypt()
1537 if (noise_keypair_decrypt(pkt->p_keypair, pkt->p_nonce, m) != 0) in wg_decrypt()
1715 if (noise_keypair_nonce_check(pkt->p_keypair, pkt->p_nonce) != 0) in wg_deliver_in()
1718 if (noise_keypair_received_with(pkt->p_keypair) == ECONNRESET) in wg_deliver_in()
1784 if (pkt->p_keypair != NULL) in wg_packet_free()
1785 noise_keypair_put(pkt->p_keypair); in wg_packet_free()
2031 remote = noise_keypair_remote(pkt->p_keypair); in wg_input()
[all …]