Searched refs:has_identity (Results 1 – 4 of 4) sorted by relevance
240 if (wg->static_identity.has_identity) { in wg_get_device_dump()397 if (wg->static_identity.has_identity && in set_peer()568 send_staged_packets = !wg->static_identity.has_identity && netif_running(wg->dev); in wg_set_device()570 send_staged_packets = send_staged_packets && wg->static_identity.has_identity; in wg_set_device()
50 if (!peer->handshake.static_identity->has_identity || in wg_noise_precompute_static_static()301 static_identity->has_identity = curve25519_generate_public( in wg_noise_set_static_identity_private_key()532 if (unlikely(!handshake->static_identity->has_identity)) in wg_noise_handshake_create_initiation()599 if (unlikely(!wg->static_identity.has_identity)) in wg_noise_handshake_consume_initiation()744 if (unlikely(!wg->static_identity.has_identity)) in wg_noise_handshake_consume_response()
54 bool has_identity; member
47 if (likely(checker->device->static_identity.has_identity)) { in wg_cookie_checker_precompute_device_keys()