Home
last modified time | relevance | path

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

/freebsd/sys/dev/wg/
H A Dwg_cookie.c144 uint8_t ecookie[COOKIE_ENCRYPTED_SIZE], struct sockaddr *sa) in cookie_checker_create_payload()
152 xchacha20poly1305_encrypt(ecookie, cookie, COOKIE_COOKIE_SIZE, in cookie_checker_create_payload()
177 uint8_t nonce[COOKIE_NONCE_SIZE], uint8_t ecookie[COOKIE_ENCRYPTED_SIZE]) in cookie_maker_consume_payload()
188 if (!xchacha20poly1305_decrypt(cookie, ecookie, COOKIE_ENCRYPTED_SIZE, in cookie_maker_consume_payload()
/freebsd/sys/netinet6/
H A Dip6_gre.c538 static const struct encaptab *ecookie = NULL; variable
560 ecookie = ip6_encap_attach(&ipv6_encap_cfg, NULL, M_WAITOK); in in6_gre_init()
568 ip6_encap_detach(ecookie); in in6_gre_uninit()
/freebsd/sys/netinet/
H A Dip_gre.c547 static const struct encaptab *ecookie = NULL; variable
564 ecookie = ip_encap_attach(&ipv4_encap_cfg, NULL, M_WAITOK); in in_gre_init()
572 ip_encap_detach(ecookie); in in_gre_uninit()
/freebsd/sys/net/
H A Dif_me.c651 static const struct encaptab *ecookie = NULL;
669 ecookie = ip_encap_attach(&me_encap_cfg, NULL, M_WAITOK); in memodevent()
672 ip_encap_detach(ecookie); in memodevent()
650 static const struct encaptab *ecookie = NULL; global() variable