Home
last modified time | relevance | path

Searched refs:NOISE_TIMESTAMP_LEN (Results 1 – 3 of 3) sorted by relevance

/drivers/net/wireguard/
Dmessages.h20 NOISE_TIMESTAMP_LEN = sizeof(u64) + sizeof(u32), enumerator
85 u8 encrypted_timestamp[noise_encrypted_len(NOISE_TIMESTAMP_LEN)];
Dnoise.c497 static void tai64n_now(u8 output[NOISE_TIMESTAMP_LEN]) in tai64n_now() argument
520 u8 timestamp[NOISE_TIMESTAMP_LEN]; in wg_noise_handshake_create_initiation()
567 NOISE_TIMESTAMP_LEN, key, handshake->hash); in wg_noise_handshake_create_initiation()
595 u8 t[NOISE_TIMESTAMP_LEN]; in wg_noise_handshake_consume_initiation()
634 NOISE_TIMESTAMP_LEN) <= 0; in wg_noise_handshake_consume_initiation()
645 if (memcmp(t, handshake->latest_timestamp, NOISE_TIMESTAMP_LEN) > 0) in wg_noise_handshake_consume_initiation()
646 memcpy(handshake->latest_timestamp, t, NOISE_TIMESTAMP_LEN); in wg_noise_handshake_consume_initiation()
Dnoise.h83 u8 latest_timestamp[NOISE_TIMESTAMP_LEN];