Home
last modified time | relevance | path

Searched refs:value (Results 1 – 25 of 25) sorted by relevance

/uoscore-uedhoc-latest/test/oscore_unit_tests/
Dunit_test_coap2oscore.c28 PRINT_ARRAY("value", opt[i].value, opt[i].len); in print_options()
46 zassert_mem_equal__(opt[i].value, opt_expected[i].value, in assert_options()
75 .value = NULL, in t100_inner_outer_option_split__no_special_options()
80 .value = NULL, in t100_inner_outer_option_split__no_special_options()
85 .value = NULL, in t100_inner_outer_option_split__no_special_options()
90 .value = NULL, in t100_inner_outer_option_split__no_special_options()
111 .value = NULL, 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()
118 .value = NULL, in t100_inner_outer_option_split__no_special_options()
129 .value = NULL, in t100_inner_outer_option_split__no_special_options()
[all …]
Dunit_test_oscore2coap.c53 .value = val, in t300_oscore_option_parser_no_piv()
80 .value = val, in t301_oscore_option_parser_wrong_n()
124 .value = val, 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_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()
117 { .option_number = URI_PATH, .value = "path", .len = 4 }, in t403_uri_path_create()
118 { .option_number = URI_PATH, .value = "to", .len = 2 }, in t403_uri_path_create()
120 { .option_number = URI_PATH, .value = "rsc", .len = 3 }, in t403_uri_path_create()
144 { .option_number = URI_PATH, .value = "path", .len = 4 }, in t403_uri_path_create()
145 { .option_number = URI_PATH, .value = NULL, .len = 2 }, in t403_uri_path_create()
147 { .option_number = URI_PATH, .value = "rsc", .len = 3 }, in t403_uri_path_create()
[all …]
Dunit_test_oscore_coap.c41 result.options[0].value = observe_value; in generate_test_packet()
84 zassert_mem_equal__(options[i].value, coap_pkt.options[i].value, in deserialization_test()
100 .value = uri_host_val, in t200_options_serialize_deserialize()
104 .value = uri_path_val, in t200_options_serialize_deserialize()
135 .value = location_path1, in t200_options_serialize_deserialize()
139 .value = location_path2, in t200_options_serialize_deserialize()
143 .value = location_path3, in t200_options_serialize_deserialize()
147 .value = NULL, in t200_options_serialize_deserialize()
176 .value = uri_host_val, in t200_options_serialize_deserialize()
180 .value = uri_path_val2, in t200_options_serialize_deserialize()
[all …]
/uoscore-uedhoc-latest/src/edhoc/
Dedhoc_cose.c28 enc_structure.edhoc_enc_structure_context.value = context->ptr; in cose_enc_structure_encode()
30 enc_structure.edhoc_enc_structure_external_aad.value = in cose_enc_structure_encode()
47 enc_structure.edhoc_enc_structure_protected.value = in cose_enc_structure_encode()
51 enc_structure.edhoc_enc_structure_protected.value = in cose_enc_structure_encode()
74 sig_structure.sig_structure_context.value = context->ptr; in cose_sig_structure_encode()
76 sig_structure.sig_structure_protected.value = protected->ptr; in cose_sig_structure_encode()
78 sig_structure.sig_structure_external_aad.value = external_aad->ptr; in cose_sig_structure_encode()
80 sig_structure.sig_structure_payload.value = payload->ptr; in cose_sig_structure_encode()
Dplaintext_decode.c57 map.id_cred_x_map_x5chain.id_cred_x_map_x5chain.value = id; in id_cred_x_encode()
65 map.id_cred_x_map_x5t.id_cred_x_map_x5t_hash.value = id; in id_cred_x_encode()
94 TRY(_memcpy_s(c_r->ptr, c_r->len, p.ptxt2_C_R_bstr.value, in plaintext2_split()
110 .map2_x5chain.value, in plaintext2_split()
121 .map2_x5t_hash.value, in plaintext2_split()
132 kid, 0, p.ptxt2_ID_CRED_R_bstr.value, in plaintext2_split()
142 p.ptxt2_SGN_or_MAC_2.value, in plaintext2_split()
147 TRY(_memcpy_s(ead->ptr, ead->len, p.ptxt2_EAD_2.value, in plaintext2_split()
176 .map3_x5chain.value, in plaintext3_split()
187 .map3_x5t_hash.value, in plaintext3_split()
[all …]
Dhkdf_info.c42 info.info_context.value = in create_hkdf_info()
46 info.info_context.value = context->ptr; in create_hkdf_info()
Dbstr_encode_decode.c20 tmp.value = in->ptr; in encode_bstr()
38 TRY(_memcpy_s(out->ptr, out->len, str.value, (uint32_t)str.len)); in decode_bstr()
Dretrieve_cred.c169 map.id_cred_x_map_x5chain.id_cred_x_map_x5chain.value, in retrieve_cred()
180 map.id_cred_x_map_x5bag.id_cred_x_map_x5bag.value, in retrieve_cred()
190 map.id_cred_x_map_c5c.id_cred_x_map_c5c.value, in retrieve_cred()
199 map.id_cred_x_map_c5b.id_cred_x_map_c5b.value, in retrieve_cred()
Dcert.c258 PRINT_ARRAY("issuer", c.cert_issuer.value, (uint32_t)c.cert_issuer.len); in cert_c509_verify()
261 PRINT_ARRAY("subject", c.cert_subject.value, in cert_c509_verify()
263 PRINT_ARRAY("PK", c.cert_pk.value, (uint32_t)c.cert_pk.len); in cert_c509_verify()
267 PRINT_ARRAY("Signature", c.cert_signature.value, in cert_c509_verify()
272 TRY(ca_pk_get(cred_array, c.cert_issuer.value, &root_pk)); in cert_c509_verify()
278 c.cert_signature.value, (uint32_t)c.cert_signature.len); in cert_c509_verify()
283 TRY(_memcpy_s(pk->ptr, pk->len, c.cert_pk.value, in cert_c509_verify()
Dth.c43 th2.th2_hash_msg1.value = hash_msg1->ptr; in th2_input_encode()
47 th2.th2_G_Y.value = g_y->ptr; in th2_input_encode()
Dinitiator.c91 m1.message_1_G_X.value = c->g_x.ptr; in msg1_gen()
101 m1.message_1_C_I_bstr.value = c->c_i.ptr; in msg1_gen()
107 m1.message_1_ead_1.value = c->ead_1.ptr; in msg1_gen()
Dresponder.c98 TRY(_memcpy_s(g_x->ptr, g_x->len, m.message_1_G_X.value, in msg1_parse()
108 TRY(_memcpy_s(c_i->ptr, c_i->len, m.message_1_C_I_bstr.value, in msg1_parse()
116 TRY(_memcpy_s(ead1->ptr, ead1->len, m.message_1_ead_1.value, in msg1_parse()
/uoscore-uedhoc-latest/src/oscore/
Dcoap2oscore.c92 e_options[*e_options_cnt].value = in inner_outer_option_split()
93 in_o_coap->options[i].value; in inner_outer_option_split()
102 e_options[*e_options_cnt].value = NULL; in inner_outer_option_split()
126 U_options[*U_options_cnt].value = in inner_outer_option_split()
127 in_o_coap->options[i].value; in inner_outer_option_split()
149 e_options[*e_options_cnt].value = in inner_outer_option_split()
150 in_o_coap->options[i].value; in inner_outer_option_split()
172 U_options[*U_options_cnt].value = in inner_outer_option_split()
173 in_o_coap->options[i].value; in inner_outer_option_split()
292 oscore_option->value = oscore_option->buf; in oscore_option_generate()
[all …]
Daad.c33 aad_array.aad_array_request_kid.value = kid->ptr; in create_aad()
35 aad_array.aad_array_request_piv.value = piv->ptr; in create_aad()
47 aad_array.aad_array_options.value = NULL; in create_aad()
Doscore_hkdf_info.c60 info_struct.oscore_info_id.value = id->ptr; in oscore_create_hkdf_info()
69 info_struct.oscore_info_id_context_bstr.value = in oscore_create_hkdf_info()
76 info_struct.oscore_info_type.value = (uint8_t *)type_enc; in oscore_create_hkdf_info()
Doption.c72 output->ptr = options[i].value; in get_observe_value()
86 TRY(_memcpy_s(dest->ptr, dest->len, options[i].value, in cache_echo_val()
133 0 == memcmp(E_options[i].value, cache_val->ptr, cache_val->len) ) { in echo_val_is_fresh()
166 if ((0 != option->len) && (NULL == option->value)) { in uri_path_create()
171 option->value, option->len)); in uri_path_create()
Doscore_cose.c40 enc_structure.oscore_enc_structure_context.value = context; in create_enc_structure()
43 enc_structure.oscore_enc_structure_protected.value = NULL; in create_enc_structure()
45 enc_structure.oscore_enc_structure_external_aad.value = in create_enc_structure()
Dsecurity_context.c219 uint8_t *value = piv->ptr; in piv2ssn() local
226 if (NULL != value) { in piv2ssn()
229 result += (uint64_t)(value[pos]) in piv2ssn()
Doscore_coap.c106 TRY(_memcpy_s(temp_ptr, dest_size, options[i].value, in options_serialize()
208 opt[temp_options_count].value = NULL; in options_deserialize()
210 opt[temp_options_count].value = temp_options_ptr; in options_deserialize()
Doscore2coap.c70 val_ptr = opt[i].value; in oscore_option_parser()
/uoscore-uedhoc-latest/
DDoxyfile11 # TAG = value [value, ...]
13 # TAG += value [value, ...]
25 # The default value is: UTF-8.
33 # The default value is: My Project.
69 # The default value is: NO.
77 # The default value is: NO.
92 # The default value is: English.
100 # The default value is: None.
107 # The default value is: YES.
116 # The default value is: YES.
[all …]
/uoscore-uedhoc-latest/test/oscore_integration_tests/
Doscore_integration_tests.c448 .value = observe_val, in t9_oscore_client_server_observe()
452 .value = uri_path_val, in t9_oscore_client_server_observe()
531 .value = in t9_oscore_client_server_observe()
733 .value = uri_path_val, in t10_oscore_client_server_after_reboot()
791 .value = echo_opt_val1, in t10_oscore_client_server_after_reboot()
863 .value = echo_opt_val2, in t10_oscore_client_server_after_reboot()
917 .value = uri_path_val, in t10_oscore_client_server_after_reboot()
922 .value = echo_opt_val1, in t10_oscore_client_server_after_reboot()
968 .value = echo_opt_val3, in t10_oscore_client_server_after_reboot()
1021 .value = uri_path_val, in t10_oscore_client_server_after_reboot()
[all …]
/uoscore-uedhoc-latest/inc/oscore/
Doscore_coap.h87 uint8_t *value; member
94 uint8_t *value; member
/uoscore-uedhoc-latest/cddl_models/
Dedhoc_plaintext.cddl54 ? x5t: 34 => [alg: (int / tstr), hash: bstr ], ; x509 certificate identified by hash value
59 ? c5t: 54 => [alg: (int / tstr), hash: bstr ], ; c509 certificate identified by hash value