Searched refs:COOKIE_NONCE_SIZE (Results 1 – 3 of 3) sorted by relevance
/freebsd/sys/dev/wg/ |
H A D | wg_cookie.h | 14 #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 D | wg_cookie.c | 143 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 D | if_wg.c | 102 uint8_t nonce[COOKIE_NONCE_SIZE];
|