Searched refs:interactions (Results 1 – 7 of 7) sorted by relevance
/uoscore-uedhoc-3.7.0/test/oscore_unit_tests/ |
D | unit_test_oscore_interactions.c | 42 static void set_record_and_expect(struct oscore_interaction_t * interactions, struct oscore_interac… in set_record_and_expect() argument 45 enum err result = oscore_interactions_set_record(interactions, record); in set_record_and_expect() 52 static void set_record_and_compare(struct oscore_interaction_t * interactions, struct oscore_intera… in set_record_and_compare() argument 54 set_record_and_expect(interactions, record, expected_result); in set_record_and_compare() 55 zassert_mem_equal(interactions, expected_interactions, INTERACTIONS_ARRAY_SIZE, ""); in set_record_and_compare() 61 static void get_record_and_expect(struct oscore_interaction_t * interactions, uint8_t * token, uint… in get_record_and_expect() argument 64 enum err result = oscore_interactions_get_record(interactions, token, token_len, record); 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() argument 74 get_record_and_expect(interactions, record->token, record->token_len, &received_record, ok); 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() argument [all …]
|
/uoscore-uedhoc-3.7.0/src/oscore/ |
D | oscore_interactions.c | 50 static void print_interactions(struct oscore_interaction_t *interactions) in print_interactions() argument 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() argument 110 if (false == interactions[index].is_occupied) { in find_unoccupied_index() 126 find_record_index_by_resource(struct oscore_interaction_t *interactions, in find_record_index_by_resource() argument 132 bool is_occupied = interactions[index].is_occupied; in find_record_index_by_resource() 134 (interactions[index].request_type == request_type); in find_record_index_by_resource() 137 interactions[index].uri_paths, in find_record_index_by_resource() 138 interactions[index].uri_paths_len); in find_record_index_by_resource() 154 find_record_index_by_token(struct oscore_interaction_t *interactions, in find_record_index_by_token() argument [all …]
|
D | oscore2coap.c | 277 c->rrc.interactions, &request_piv, in decrypt_wrapper() 321 c->rrc.interactions, in decrypt_wrapper()
|
D | security_context.c | 153 oscore_interactions_init(c->rrc.interactions); in oscore_context_init()
|
D | coap2oscore.c | 551 c->rrc.interactions, &request_piv, in encrypt_wrapper() 571 c->rrc.interactions, in encrypt_wrapper()
|
/uoscore-uedhoc-3.7.0/inc/oscore/ |
D | oscore_interactions.h | 60 enum err oscore_interactions_init(struct oscore_interaction_t *interactions); 70 oscore_interactions_set_record(struct oscore_interaction_t *interactions, 83 oscore_interactions_get_record(struct oscore_interaction_t *interactions, 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 | 86 struct oscore_interaction_t interactions[OSCORE_INTERACTIONS_COUNT]; member
|