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 macro2372 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()2603 uint8_t public_key[WG_KEY_SIZE] = { 0 }; in wgc_get()2604 uint8_t private_key[WG_KEY_SIZE] = { 0 }; in wgc_get()[all …]