Home
last modified time | relevance | path

Searched refs:o_coap_packet (Results 1 – 8 of 8) sorted by relevance

/uoscore-uedhoc-latest/inc/oscore/
Doscore_coap.h99 struct o_coap_packet { struct
122 enum err coap_deserialize(struct byte_array *in, struct o_coap_packet *out); argument
131 enum err coap_serialize(struct o_coap_packet *in, uint8_t *out_byte_string,
162 bool is_request(struct o_coap_packet *packet);
177 enum err coap_get_message_type(struct o_coap_packet *coap_packet,
/uoscore-uedhoc-latest/test/oscore_unit_tests/
Dunit_test_oscore_coap.c23 static void coap_get_message_type_and_compare(struct o_coap_packet * coap_packet, enum o_coap_msg … in coap_get_message_type_and_compare()
35 static struct o_coap_packet generate_test_packet(uint8_t code, uint8_t options_count, uint8_t * obs… in generate_test_packet()
37 struct o_coap_packet result; in generate_test_packet()
66 struct o_coap_packet coap_pkt; in deserialization_test()
422 struct o_coap_packet out; in t201_coap_serialize_deserialize()
467 struct o_coap_packet coap_pkt; in t202_options_deserialize_corner_cases()
516 …struct o_coap_packet packet_request_1 = generate_test_packet(CODE_REQ_GET, 0, NULL, 0); //no OBSER… in t203_coap_get_message_type()
517 struct o_coap_packet packet_request_2 = generate_test_packet(CODE_REQ_POST, 1, "\x01\x02\x03", 3); in t203_coap_get_message_type()
518 struct o_coap_packet packet_registration_1 = generate_test_packet(CODE_REQ_GET, 1, "\x00", 1); in t203_coap_get_message_type()
519 …struct o_coap_packet packet_registration_2 = generate_test_packet(CODE_REQ_POST, 1, NULL, 0); //em… in t203_coap_get_message_type()
[all …]
Dunit_test_coap2oscore.c67 struct o_coap_packet coap_pkt = { in t100_inner_outer_option_split__no_special_options()
173 struct o_coap_packet coap_pkt = { in t101_inner_outer_option_split__with_observe_notification()
296 struct o_coap_packet coap_pkt = { in t102_inner_outer_option_split__with_observe_registration()
422 struct o_coap_packet coap_pkt = { in t103_oscore_pkg_generate__request_with_observe_registration()
475 struct o_coap_packet oscore_pkt; in t103_oscore_pkg_generate__request_with_observe_registration()
485 struct o_coap_packet expected_oscore_pkt = { in t103_oscore_pkg_generate__request_with_observe_registration()
547 struct o_coap_packet coap_pkt = { in t104_oscore_pkg_generate__request_with_observe_notification()
577 struct o_coap_packet oscore_pkt; in t104_oscore_pkg_generate__request_with_observe_notification()
587 struct o_coap_packet expected_oscore_pkt = { in t104_oscore_pkg_generate__request_with_observe_notification()
638 struct o_coap_packet coap_pkt = { in t105_inner_outer_option_split__too_many_options()
/uoscore-uedhoc-latest/inc/common/
Dunit_test.h26 enum err inner_outer_option_split(struct o_coap_packet *in_o_coap,
33 enum err oscore_pkg_generate(struct o_coap_packet *in_o_coap,
34 struct o_coap_packet *out_oscore,
/uoscore-uedhoc-latest/src/oscore/
Doscore2coap.c201 struct o_coap_packet *oscore_pkt, in o_coap_pkg_generate()
202 struct o_coap_packet *out) in o_coap_pkg_generate()
257 struct o_coap_packet *input_oscore, in decrypt_wrapper()
258 struct o_coap_packet *output_coap) in decrypt_wrapper()
330 struct o_coap_packet oscore_packet; in oscore2coap()
362 struct o_coap_packet output_coap; in oscore2coap()
Dcoap2oscore.c43 STATIC enum err inner_outer_option_split(struct o_coap_packet *in_o_coap, in inner_outer_option_split()
201 static inline enum err plaintext_setup(struct o_coap_packet *in_o_coap, in plaintext_setup()
364 STATIC enum err oscore_pkg_generate(struct o_coap_packet *in_o_coap, in oscore_pkg_generate()
365 struct o_coap_packet *out_oscore, in oscore_pkg_generate()
509 struct o_coap_packet *input_coap, in encrypt_wrapper()
594 struct o_coap_packet o_coap_pkt; in coap2oscore()
663 struct o_coap_packet oscore_pkt; in coap2oscore()
Doscore_coap.c225 enum err coap_deserialize(struct byte_array *in, struct o_coap_packet *out) in coap_deserialize()
273 enum err coap_serialize(struct o_coap_packet *in, uint8_t *out_byte_string, in coap_serialize()
340 bool is_request(struct o_coap_packet *packet) in is_request()
349 enum err coap_get_message_type(struct o_coap_packet *coap_packet, in coap_get_message_type()
/uoscore-uedhoc-latest/test/oscore_integration_tests/
Doscore_integration_tests.c435 struct o_coap_packet coap_pkt_registration = { in t9_oscore_client_server_observe()
521 struct o_coap_packet coap_pkt_notification1 = { in t9_oscore_client_server_observe()
720 struct o_coap_packet coap_pkt_req1 = { in t10_oscore_client_server_after_reboot()
781 struct o_coap_packet coap_pkt_resp1 = { in t10_oscore_client_server_after_reboot()
853 struct o_coap_packet coap_pkt_resp2 = { in t10_oscore_client_server_after_reboot()
903 struct o_coap_packet coap_pkt_req2 = { in t10_oscore_client_server_after_reboot()
958 struct o_coap_packet coap_pkt_resp3 = { in t10_oscore_client_server_after_reboot()
1007 struct o_coap_packet coap_pkt_req4 = { in t10_oscore_client_server_after_reboot()
1062 struct o_coap_packet coap_pkt_resp4 = { in t10_oscore_client_server_after_reboot()
1111 struct o_coap_packet coap_pkt_req5 = { in t10_oscore_client_server_after_reboot()