Home
last modified time | relevance | path

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

/uoscore-uedhoc-latest/test/oscore_unit_tests/
Dunit_test_oscore_interactions.c19 #define INTERACTIONS_ARRAY_SIZE (OSCORE_INTERACTIONS_COUNT * sizeof(struct oscore_interaction_t))
94 for (size_t entry = 0; entry < OSCORE_INTERACTIONS_COUNT; entry++) in generate_and_fill()
112 struct oscore_interaction_t interactions[OSCORE_INTERACTIONS_COUNT]; in t700_interactions_init_test()
113 struct oscore_interaction_t interactions_expected[OSCORE_INTERACTIONS_COUNT] = {0}; in t700_interactions_init_test()
131 struct oscore_interaction_t interactions[OSCORE_INTERACTIONS_COUNT]; in t701_interactions_set_record_test()
157 struct oscore_interaction_t interactions_expected[OSCORE_INTERACTIONS_COUNT] = {0}; in t701_interactions_set_record_test()
188 struct oscore_interaction_t generated_records[OSCORE_INTERACTIONS_COUNT]; in t701_interactions_set_record_test()
198 struct oscore_interaction_t interactions[OSCORE_INTERACTIONS_COUNT]; in t702_interactions_get_record_test()
225 struct oscore_interaction_t generated_records[OSCORE_INTERACTIONS_COUNT]; in t702_interactions_get_record_test()
227 for (size_t entry = 0; entry < OSCORE_INTERACTIONS_COUNT; entry++) in t702_interactions_get_record_test()
[all …]
/uoscore-uedhoc-latest/src/oscore/
Doscore_interactions.c52 for (uint8_t index = 0; index < OSCORE_INTERACTIONS_COUNT; index++) { in print_interactions()
109 for (index = 0; index < OSCORE_INTERACTIONS_COUNT; index++) { in find_unoccupied_index()
131 for (index = 0; index < OSCORE_INTERACTIONS_COUNT; index++) { in find_record_index_by_resource()
158 for (index = 0; index < OSCORE_INTERACTIONS_COUNT; index++) { in find_record_index_by_token()
177 sizeof(struct oscore_interaction_t) * OSCORE_INTERACTIONS_COUNT); in oscore_interactions_init()
198 if (index_by_uri >= OSCORE_INTERACTIONS_COUNT) { in oscore_interactions_set_record()
200 if (index_by_uri >= OSCORE_INTERACTIONS_COUNT) { in oscore_interactions_set_record()
208 if ((index_by_token < OSCORE_INTERACTIONS_COUNT) && in oscore_interactions_set_record()
239 if (index >= OSCORE_INTERACTIONS_COUNT) { in oscore_interactions_get_record()
262 if (index >= OSCORE_INTERACTIONS_COUNT) { in oscore_interactions_remove_record()
/uoscore-uedhoc-latest/inc/oscore/
Doscore_interactions.h23 #ifndef OSCORE_INTERACTIONS_COUNT
24 #define OSCORE_INTERACTIONS_COUNT 3 macro
Dsecurity_context.h86 struct oscore_interaction_t interactions[OSCORE_INTERACTIONS_COUNT];