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 macro318 static struct wg_peer *wg_peer_alloc(struct wg_softc *, const uint8_t [WG_KEY_SIZE]);381 wg_peer_alloc(struct wg_softc *sc, const uint8_t pub_key[WG_KEY_SIZE]) in wg_peer_alloc() argument2372 uint8_t public[WG_KEY_SIZE]; in wg_peer_add()2387 if (size != WG_KEY_SIZE) { in wg_peer_add()2391 bcmp(public, pub_key, WG_KEY_SIZE) == 0) { in wg_peer_add()2424 if (size != WG_KEY_SIZE) { in wg_peer_add()2492 uint8_t public[WG_KEY_SIZE], private[WG_KEY_SIZE]; in wgc_set()2538 if (size != WG_KEY_SIZE) { in wgc_set()2544 timingsafe_bcmp(private, key, WG_KEY_SIZE) != 0) { in wgc_set()[all …]