Home
last modified time | relevance | path

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

/freebsd/sys/dev/wg/
H A Dwg_cookie.h14 #define COOKIE_NONCE_SIZE XCHACHA20POLY1305_NONCE_SIZE macro
56 struct cookie_macs *cm, uint8_t[COOKIE_NONCE_SIZE],
61 uint8_t[COOKIE_NONCE_SIZE], uint8_t[COOKIE_ENCRYPTED_SIZE]);
H A Dwg_cookie.c143 struct cookie_macs *macs, uint8_t nonce[COOKIE_NONCE_SIZE], in cookie_checker_create_payload()
149 arc4random_buf(nonce, COOKIE_NONCE_SIZE); in cookie_checker_create_payload()
177 uint8_t nonce[COOKIE_NONCE_SIZE], uint8_t ecookie[COOKIE_ENCRYPTED_SIZE]) in cookie_maker_consume_payload()
144 cookie_checker_create_payload(struct cookie_checker * cc,struct cookie_macs * macs,uint8_t nonce[COOKIE_NONCE_SIZE],uint8_t ecookie[COOKIE_ENCRYPTED_SIZE],struct sockaddr * sa) cookie_checker_create_payload() argument
178 cookie_maker_consume_payload(struct cookie_maker * cm,uint8_t nonce[COOKIE_NONCE_SIZE],uint8_t ecookie[COOKIE_ENCRYPTED_SIZE]) cookie_maker_consume_payload() argument
H A Dif_wg.c102 uint8_t nonce[COOKIE_NONCE_SIZE];