Home
last modified time | relevance | path

Searched refs:REJECT_AFTER_MESSAGES (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/net/wireguard/selftest/
H A Dcounter.c58 /* 25 */ T(REJECT_AFTER_MESSAGES, false); in wg_packet_counter_selftest()
59 /* 26 */ T(REJECT_AFTER_MESSAGES - 1, true); in wg_packet_counter_selftest()
60 /* 27 */ T(REJECT_AFTER_MESSAGES, false); in wg_packet_counter_selftest()
61 /* 28 */ T(REJECT_AFTER_MESSAGES - 1, false); in wg_packet_counter_selftest()
62 /* 29 */ T(REJECT_AFTER_MESSAGES - 2, true); in wg_packet_counter_selftest()
63 /* 30 */ T(REJECT_AFTER_MESSAGES + 1, false); in wg_packet_counter_selftest()
64 /* 31 */ T(REJECT_AFTER_MESSAGES + 2, false); in wg_packet_counter_selftest()
65 /* 32 */ T(REJECT_AFTER_MESSAGES - 2, false); in wg_packet_counter_selftest()
66 /* 33 */ T(REJECT_AFTER_MESSAGES - 3, true); in wg_packet_counter_selftest()
/openbmc/linux/drivers/net/wireguard/
H A Dmessages.h42 REJECT_AFTER_MESSAGES = U64_MAX - COUNTER_WINDOW_SIZE - 1, enumerator
H A Dreceive.c254 READ_ONCE(keypair->receiving_counter.counter) >= REJECT_AFTER_MESSAGES)) { in decrypt_packet()
302 if (unlikely(counter->counter >= REJECT_AFTER_MESSAGES + 1 || in counter_validate()
303 their_counter >= REJECT_AFTER_MESSAGES)) in counter_validate()
H A Dsend.c381 if (unlikely(PACKET_CB(skb)->nonce >= REJECT_AFTER_MESSAGES)) in wg_packet_send_staged_packets()