Home
last modified time | relevance | path

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

/freebsd/sys/dev/wg/
H A Dif_wg.c154 struct noise_keypair *p_keypair; member
1491 remote = noise_keypair_remote(pkt->p_keypair); in wg_encrypt()
1501 if (noise_keypair_encrypt(pkt->p_keypair, &idx, pkt->p_nonce, m) != 0) in wg_encrypt()
1531 remote = noise_keypair_remote(pkt->p_keypair); in wg_decrypt()
1539 if (noise_keypair_decrypt(pkt->p_keypair, pkt->p_nonce, m) != 0) in wg_decrypt()
1717 if (noise_keypair_nonce_check(pkt->p_keypair, pkt->p_nonce) != 0) in wg_deliver_in()
1720 if (noise_keypair_received_with(pkt->p_keypair) == ECONNRESET) in wg_deliver_in()
1786 if (pkt->p_keypair != NULL) in wg_packet_free()
1787 noise_keypair_put(pkt->p_keypair); in wg_packet_free()
2030 if ((pkt->p_keypair = noise_keypair_lookup(sc->sc_local, data->r_idx)) == NULL) in wg_input()
[all …]