Searched refs:wg_birthdate_has_expired (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/net/wireguard/ |
H A D | send.c | 25 if (!wg_birthdate_has_expired(atomic64_read(&peer->last_sent_handshake), in wg_packet_send_handshake_initiation() 66 if (!wg_birthdate_has_expired(atomic64_read(&peer->last_sent_handshake), in wg_packet_send_queued_handshake_initiation() 134 wg_birthdate_has_expired(keypair->sending.birthdate, REKEY_AFTER_TIME))); in keep_key_fresh() 365 if (unlikely(wg_birthdate_has_expired(keypair->sending.birthdate, in wg_packet_send_staged_packets()
|
H A D | timers.h | 24 static inline bool wg_birthdate_has_expired(u64 birthday_nanoseconds, in wg_birthdate_has_expired() function
|
H A D | cookie.c | 96 if (wg_birthdate_has_expired(checker->secret_birthdate, in make_cookie() 171 !wg_birthdate_has_expired(peer->latest_cookie.birthdate, in wg_cookie_add_mac_to_packet()
|
H A D | receive.c | 117 under_load = !wg_birthdate_has_expired(last_under_load, 1); in wg_receive_handshake_packet() 232 wg_birthdate_has_expired(keypair->sending.birthdate, in keep_key_fresh() 253 wg_birthdate_has_expired(keypair->receiving.birthdate, REJECT_AFTER_TIME) || in decrypt_packet()
|