Home
last modified time | relevance | path

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

/freebsd/sys/dev/wg/
H A Dif_wg.h30 #define WG_KEY_SIZE 32 macro
H A Dif_wg.c79 #define WG_KEY_SIZE 32 macro
322 const uint8_t [WG_KEY_SIZE], int *);
385 wg_peer_create(struct wg_softc *sc, const uint8_t pub_key[WG_KEY_SIZE], in wg_peer_create() argument
2461 uint8_t public[WG_KEY_SIZE]; in wg_peer_add()
2476 if (size != WG_KEY_SIZE) { in wg_peer_add()
2480 bcmp(public, pub_key, WG_KEY_SIZE) == 0) { in wg_peer_add()
2515 if (size != WG_KEY_SIZE) { in wg_peer_add()
2597 uint8_t public[WG_KEY_SIZE], private[WG_KEY_SIZE]; in wgc_set()
2643 if (size != WG_KEY_SIZE) { in wgc_set()
2649 timingsafe_bcmp(private, key, WG_KEY_SIZE) != 0) { in wgc_set()
[all …]