Home
last modified time | relevance | path

Searched refs:seq_number (Results 1 – 2 of 2) sorted by relevance

/uoscore-uedhoc-3.6.0/src/oscore/
Dreplay_protection.c18 static void server_replay_window_insert(uint64_t seq_number, in server_replay_window_insert() argument
29 window[position] = seq_number; in server_replay_window_insert()
66 bool server_is_sequence_number_valid(uint64_t seq_number, in server_is_sequence_number_valid() argument
74 if (0 == seq_number) { in server_is_sequence_number_valid()
82 if (seq_number > replay_window->window[WINDOW_SIZE - 1]) { in server_is_sequence_number_valid()
86 if (seq_number < replay_window->window[0]) { in server_is_sequence_number_valid()
91 if (seq_number == replay_window->window[i]) { in server_is_sequence_number_valid()
99 bool server_replay_window_update(uint64_t seq_number, in server_replay_window_update() argument
104 server_is_sequence_number_valid(seq_number, replay_window); in server_replay_window_update()
109 if (seq_number == 0) { in server_replay_window_update()
[all …]
/uoscore-uedhoc-3.6.0/inc/oscore/
Dreplay_protection.h51 bool server_is_sequence_number_valid(uint64_t seq_number,
61 bool server_replay_window_update(uint64_t seq_number,