/uoscore-uedhoc-3.6.0/test/oscore_unit_tests/ |
D | unit_test_coap2oscore.c | 29 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 …]
|
D | unit_test_oscore2coap.c | 51 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 …]
|
D | unit_test_oscore_coap.c | 76 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 …]
|
D | unit_test_option.c | 65 { .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.6.0/src/oscore/ |
D | coap2oscore.c | 66 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 …]
|
D | oscore_coap.c | 55 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()
|
D | oscore2coap.c | 172 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.6.0/test/oscore_integration_tests/ |
D | oscore_integration_tests.c | 447 { .delta = 6, in t9_oscore_client_server_observe() 451 { .delta = 5, in t9_oscore_client_server_observe() 530 .options = { { .delta = 6, in t9_oscore_client_server_observe() 696 { .delta = 11, in t10_oscore_client_server_after_reboot() 754 .options = { { .delta = 252, in t10_oscore_client_server_after_reboot() 826 .options = { { .delta = 252, in t10_oscore_client_server_after_reboot() 880 .delta = 11, in t10_oscore_client_server_after_reboot() 885 .delta = 241, in t10_oscore_client_server_after_reboot() 931 .options = { { .delta = 252, in t10_oscore_client_server_after_reboot() 984 .delta = 11, in t10_oscore_client_server_after_reboot() [all …]
|
/uoscore-uedhoc-3.6.0/inc/oscore/ |
D | oscore_coap.h | 85 uint16_t delta; member 92 uint16_t delta; member
|