Searched refs:COOKIE_INPUT_SIZE (Results 1 – 2 of 2) sorted by relevance
/freebsd/sys/dev/wg/ |
H A D | wg_cookie.h | 17 #define COOKIE_INPUT_SIZE 32 macro 54 const uint8_t[COOKIE_INPUT_SIZE]); 58 void cookie_maker_init(struct cookie_maker *, const uint8_t[COOKIE_INPUT_SIZE]);
|
H A D | wg_cookie.c | 62 const uint8_t[COOKIE_INPUT_SIZE], const char *); 128 const uint8_t key[COOKIE_INPUT_SIZE]) in cookie_checker_update() 160 cookie_maker_init(struct cookie_maker *cm, const uint8_t key[COOKIE_INPUT_SIZE]) 271 precompute_key(uint8_t *key, const uint8_t input[COOKIE_INPUT_SIZE], 277 blake2s_update(&blake, input, COOKIE_INPUT_SIZE); in precompute_key() 129 cookie_checker_update(struct cookie_checker * cc,const uint8_t key[COOKIE_INPUT_SIZE]) cookie_checker_update() argument 161 cookie_maker_init(struct cookie_maker * cm,const uint8_t key[COOKIE_INPUT_SIZE]) cookie_maker_init() argument 272 precompute_key(uint8_t * key,const uint8_t input[COOKIE_INPUT_SIZE],const char * label) precompute_key() argument
|