Home
last modified time | relevance | path

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

/freebsd/sys/dev/wg/
H A Dwg_cookie.c66 const uint8_t[COOKIE_COOKIE_SIZE]);
69 uint8_t[COOKIE_COOKIE_SIZE], struct sockaddr *);
146 uint8_t cookie[COOKIE_COOKIE_SIZE]; in cookie_checker_create_payload()
152 xchacha20poly1305_encrypt(ecookie, cookie, COOKIE_COOKIE_SIZE, in cookie_checker_create_payload()
179 uint8_t cookie[COOKIE_COOKIE_SIZE]; in cookie_maker_consume_payload()
196 memcpy(cm->cm_cookie, cookie, COOKIE_COOKIE_SIZE); in cookie_maker_consume_payload()
233 uint8_t cookie[COOKIE_COOKIE_SIZE]; in cookie_checker_validate_macs()
293 const uint8_t key[COOKIE_COOKIE_SIZE]) in macs_mac2()
296 blake2s_init_key(&state, COOKIE_MAC_SIZE, key, COOKIE_COOKIE_SIZE); in macs_mac2()
310 make_cookie(struct cookie_checker *cc, uint8_t cookie[COOKIE_COOKIE_SIZE],
294 macs_mac2(struct cookie_macs * macs,const void * buf,size_t len,const uint8_t key[COOKIE_COOKIE_SIZE]) macs_mac2() argument
311 make_cookie(struct cookie_checker * cc,uint8_t cookie[COOKIE_COOKIE_SIZE],struct sockaddr * sa) make_cookie() argument
[all...]
H A Dwg_cookie.h15 #define COOKIE_COOKIE_SIZE 16 macro
18 #define COOKIE_ENCRYPTED_SIZE (COOKIE_COOKIE_SIZE + COOKIE_MAC_SIZE)
33 uint8_t cm_cookie[COOKIE_COOKIE_SIZE];