Home
last modified time | relevance | path

Searched refs:delta (Results 1 – 9 of 9) sorted by relevance

/uoscore-uedhoc-3.5.0/test/oscore_unit_tests/
Dunit_test_coap2oscore.c29 PRINTF("delta: %d\n\n", opt[i].delta); in print_options()
40 zassert_equal(opt[i].delta, opt_expected[i].delta, in assert_options()
73 { .delta = 1, in t100_inner_outer_option_split__no_special_options()
78 { .delta = 3, in t100_inner_outer_option_split__no_special_options()
83 { .delta = 8, in t100_inner_outer_option_split__no_special_options()
88 { .delta = 23, in t100_inner_outer_option_split__no_special_options()
109 { .delta = 1, in t100_inner_outer_option_split__no_special_options()
114 { .delta = 3, .len = 0, .value = NULL, .option_number = ETAG }, in t100_inner_outer_option_split__no_special_options()
116 { .delta = 8, in t100_inner_outer_option_split__no_special_options()
127 { .delta = 35, in t100_inner_outer_option_split__no_special_options()
[all …]
Dunit_test_oscore2coap.c51 struct o_coap_option opt = { .delta = 9, in t300_oscore_option_parser_no_piv()
78 struct o_coap_option opt = { .delta = 9, in t301_oscore_option_parser_wrong_n()
122 struct o_coap_option opt = { .delta = 9, in t302_oscore_option_parser_no_kid()
149 { .delta = 7, .len = 0, .value = NULL, .option_number = 7 }, in t303_options_reorder()
150 { .delta = 5, .len = 0, .value = NULL, .option_number = 12 } in t303_options_reorder()
154 { .delta = 2, .len = 0, .value = NULL, .option_number = 2 }, in t303_options_reorder()
155 { .delta = 2, .len = 0, .value = NULL, .option_number = 4 } in t303_options_reorder()
159 { .delta = 2, .len = 0, .value = NULL, .option_number = 2 }, in t303_options_reorder()
160 { .delta = 2, .len = 0, .value = NULL, .option_number = 4 }, in t303_options_reorder()
161 { .delta = 3, .len = 0, .value = NULL, .option_number = 7 }, in t303_options_reorder()
[all …]
Dunit_test_oscore_coap.c76 zassert_equal(options[i].delta, coap_pkt.options[i].delta, in deserialization_test()
77 "delta mismatch: %d", coap_pkt.options[i].delta); in deserialization_test()
98 struct o_coap_option options[] = { { .delta = 3, in t200_options_serialize_deserialize()
102 { .delta = 8, in t200_options_serialize_deserialize()
133 struct o_coap_option options1[] = { { .delta = 8, in t200_options_serialize_deserialize()
137 { .delta = 0, in t200_options_serialize_deserialize()
141 { .delta = 0, in t200_options_serialize_deserialize()
145 { .delta = 4, in t200_options_serialize_deserialize()
174 struct o_coap_option options2[] = { { .delta = 3, in t200_options_serialize_deserialize()
178 { .delta = 8, in t200_options_serialize_deserialize()
[all …]
Dunit_test_option.c65 { .delta = 2, .len = 0, .value = NULL, .option_number = 2 }, in t401_cache_echo_val()
66 { .delta = 2, .len = 0, .value = NULL, .option_number = 4 }, in t401_cache_echo_val()
67 { .delta = 3, .len = 0, .value = NULL, .option_number = 7 }, in t401_cache_echo_val()
68 { .delta = 5, .len = 0, .value = NULL, .option_number = ECHO } in t401_cache_echo_val()
/uoscore-uedhoc-3.5.0/src/oscore/
Dcoap2oscore.c66 opt_extra_bytes(in_o_coap->options[i].delta) + in inner_outer_option_split()
70 (uint8_t)(temp_option_nr + in_o_coap->options[i].delta); in inner_outer_option_split()
86 e_options[*e_options_cnt].delta = (uint16_t)( in inner_outer_option_split()
113 e_options[*e_options_cnt].delta); in inner_outer_option_split()
121 U_options[*U_options_cnt].delta = (uint16_t)( in inner_outer_option_split()
132 U_options[*U_options_cnt].delta); in inner_outer_option_split()
143 e_options[*e_options_cnt].delta = in inner_outer_option_split()
155 e_options[*e_options_cnt].delta); in inner_outer_option_split()
165 U_options[*U_options_cnt].delta = in inner_outer_option_split()
177 U_options[*U_options_cnt].delta); in inner_outer_option_split()
[all …]
Doscore_coap.c55 delta_extra_byte = opt_extra_bytes(options[i].delta); in options_serialize()
63 *(header_byte) = (uint8_t)(options[i].delta << 4); in options_serialize()
67 *(temp_ptr + 1) = (uint8_t)(options[i].delta - 13); in options_serialize()
72 (uint16_t)(options[i].delta - 269); in options_serialize()
204 opt[temp_options_count].delta = temp_option_delta; in options_deserialize()
Doscore2coap.c172 uint16_t delta = 0; in options_reorder() local
186 out_options[i].delta = out_options[i].option_number - delta; in options_reorder()
187 delta = out_options[i].option_number; in options_reorder()
/uoscore-uedhoc-3.5.0/inc/oscore/
Doscore_coap.h33 uint16_t delta; member
40 uint16_t delta; member
/uoscore-uedhoc-3.5.0/test/oscore_integration_tests/
Doscore_integration_tests.c443 { .delta = 6, in t9_oscore_client_server_observe()
447 { .delta = 5, in t9_oscore_client_server_observe()
526 .options = { { .delta = 6, in t9_oscore_client_server_observe()
692 { .delta = 11, in t10_oscore_client_server_after_reboot()
750 .options = { { .delta = 252, in t10_oscore_client_server_after_reboot()
822 .options = { { .delta = 252, in t10_oscore_client_server_after_reboot()
876 .delta = 11, in t10_oscore_client_server_after_reboot()
881 .delta = 241, in t10_oscore_client_server_after_reboot()
927 .options = { { .delta = 252, in t10_oscore_client_server_after_reboot()
980 .delta = 11, in t10_oscore_client_server_after_reboot()
[all …]