Searched refs:WG_KEY_SIZE (Results 1 – 2 of 2) sorted by relevance
30 #define WG_KEY_SIZE 32 macro
79 #define WG_KEY_SIZE 32 macro322 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() argument2461 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 …]