Searched refs:oscore_interaction_t (Results 1 – 4 of 4) sorted by relevance
/uoscore-uedhoc-3.6.0/test/oscore_unit_tests/ |
D | unit_test_oscore_interactions.c | 19 #define INTERACTIONS_ARRAY_SIZE (OSCORE_INTERACTIONS_COUNT * sizeof(struct oscore_interaction_t)) 27 static struct oscore_interaction_t default_record = 42 static void set_record_and_expect(struct oscore_interaction_t * interactions, struct oscore_interac… in set_record_and_expect() 52 …pare(struct oscore_interaction_t * interactions, struct oscore_interaction_t * record, enum err ex… in set_record_and_compare() 61 …_record_and_expect(struct oscore_interaction_t * interactions, uint8_t * token, uint8_t token_len,… in get_record_and_expect() 71 static void get_record_and_compare(struct oscore_interaction_t * interactions, struct oscore_intera… in get_record_and_compare() 73 struct oscore_interaction_t * received_record; in get_record_and_compare() 75 zassert_mem_equal(received_record, record, sizeof(struct oscore_interaction_t), ""); in get_record_and_compare() 81 static void remove_record_and_expect(struct oscore_interaction_t * interactions, uint8_t * token, u… in remove_record_and_expect() 91 static void generate_and_fill(struct oscore_interaction_t * interactions, struct oscore_interaction… in generate_and_fill() [all …]
|
/uoscore-uedhoc-3.6.0/inc/oscore/ |
D | oscore_interactions.h | 30 struct oscore_interaction_t { struct 60 enum err oscore_interactions_init(struct oscore_interaction_t *interactions); argument 70 oscore_interactions_set_record(struct oscore_interaction_t *interactions, 71 struct oscore_interaction_t *record); 83 oscore_interactions_get_record(struct oscore_interaction_t *interactions, 85 struct oscore_interaction_t **record); 96 oscore_interactions_remove_record(struct oscore_interaction_t *interactions, 111 struct oscore_interaction_t *interactions, 127 struct byte_array *uri_paths, struct oscore_interaction_t *interactions,
|
D | security_context.h | 85 struct oscore_interaction_t interactions[OSCORE_INTERACTIONS_COUNT];
|
/uoscore-uedhoc-3.6.0/src/oscore/ |
D | oscore_interactions.c | 50 static void print_interactions(struct oscore_interaction_t *interactions) in print_interactions() 53 struct oscore_interaction_t *record = &interactions[index]; in print_interactions() 106 static uint32_t find_unoccupied_index(struct oscore_interaction_t *interactions) in find_unoccupied_index() 126 find_record_index_by_resource(struct oscore_interaction_t *interactions, in find_record_index_by_resource() 154 find_record_index_by_token(struct oscore_interaction_t *interactions, in find_record_index_by_token() 170 enum err oscore_interactions_init(struct oscore_interaction_t *interactions) in oscore_interactions_init() 177 sizeof(struct oscore_interaction_t) * OSCORE_INTERACTIONS_COUNT); in oscore_interactions_init() 182 oscore_interactions_set_record(struct oscore_interaction_t *interactions, in oscore_interactions_set_record() 183 struct oscore_interaction_t *record) in oscore_interactions_set_record() 224 oscore_interactions_get_record(struct oscore_interaction_t *interactions, in oscore_interactions_get_record() [all …]
|