Home
last modified time | relevance | path

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

/freebsd/sys/dev/wg/
H A Dif_wg.c231 struct noise_local *sc_local; member
394 peer->p_remote = noise_remote_alloc(sc->sc_local, peer, pub_key); in wg_peer_create()
1414 if (noise_consume_initiation(sc->sc_local, &remote, in wg_handshake()
1448 if (noise_consume_response(sc->sc_local, &remote, in wg_handshake()
1464 if ((remote = noise_remote_index(sc->sc_local, cook->r_idx)) == NULL) { in wg_handshake()
2119 if ((pkt->p_keypair = noise_keypair_lookup(sc->sc_local, data->r_idx)) == NULL) in wg_input()
2479 if (noise_local_keys(sc->sc_local, public, NULL) == 0 && in wg_peer_add()
2483 if ((remote = noise_remote_lookup(sc->sc_local, pub_key)) != NULL) in wg_peer_add()
2648 if (noise_local_keys(sc->sc_local, NULL, private) != 0 || in wgc_set()
2655 if ((remote = noise_remote_lookup(sc->sc_local, in wgc_set()
[all …]