Lines Matching refs:p_keypair
154 struct noise_keypair *p_keypair; member
1580 remote = noise_keypair_remote(pkt->p_keypair); in wg_encrypt()
1590 if (noise_keypair_encrypt(pkt->p_keypair, &idx, pkt->p_nonce, m) != 0) in wg_encrypt()
1620 remote = noise_keypair_remote(pkt->p_keypair); in wg_decrypt()
1628 if (noise_keypair_decrypt(pkt->p_keypair, pkt->p_nonce, m) != 0) in wg_decrypt()
1806 if (noise_keypair_nonce_check(pkt->p_keypair, pkt->p_nonce) != 0) in wg_deliver_in()
1809 if (noise_keypair_received_with(pkt->p_keypair) == ECONNRESET) in wg_deliver_in()
1875 if (pkt->p_keypair != NULL) in wg_packet_free()
1876 noise_keypair_put(pkt->p_keypair); in wg_packet_free()
2119 if ((pkt->p_keypair = noise_keypair_lookup(sc->sc_local, data->r_idx)) == NULL) in wg_input()
2122 remote = noise_keypair_remote(pkt->p_keypair); in wg_input()
2159 pkt->p_keypair = noise_keypair_ref(keypair); in wg_peer_send_staged()