Home
last modified time | relevance | path

Searched refs:cred (Results 1 – 12 of 12) sorted by relevance

/uoscore-uedhoc-3.4.0/src/edhoc/
Dretrieve_cred.c50 const uint8_t *cert, uint32_t cert_len, uint8_t *cred, in verify_cert2cred() argument
55 TRY(encode_byte_string(cert, cert_len, cred, cred_len)); in verify_cert2cred()
101 uint32_t id_cred_len, uint8_t *cred, in get_local_cred() argument
110 TRY(_memcpy_s(cred, *cred_len, cred_array[i].cred.ptr, in get_local_cred()
111 cred_array[i].cred.len)); in get_local_cred()
112 *cred_len = cred_array[i].cred.len; in get_local_cred()
147 uint32_t id_cred_len, uint8_t *cred, uint32_t *cred_len, in retrieve_cred() argument
165 id_cred, id_cred_len, cred, cred_len, pk, in retrieve_cred()
175 cred, cred_len, pk, pk_len, g, g_len)); in retrieve_cred()
183 (uint32_t) map._id_cred_x_map_x5bag._id_cred_x_map_x5bag.len, cred, in retrieve_cred()
[all …]
Dsignature_or_mac_msg.c62 const uint8_t *cred, uint32_t cred_len, const uint8_t *ead, in mac() argument
72 (context_mac_len - id_cred_len), cred, cred_len)); in mac()
96 uint32_t id_cred_len, const uint8_t *cred, in signature_struct_gen() argument
115 memcpy(tmp + th_enc_len, cred, cred_len); in signature_struct_gen()
133 uint32_t id_cred_len, const uint8_t *cred, uint32_t cred_len, in signature_or_mac() argument
139 TRY(mac(prk, prk_len, th, th_len, id_cred, id_cred_len, cred, in signature_or_mac()
151 th, th_len, id_cred, id_cred_len, cred, in signature_or_mac()
170 TRY(mac(prk, prk_len, th, th_len, id_cred, id_cred_len, cred, in signature_or_mac()
187 th, th_len, id_cred, id_cred_len, cred, in signature_or_mac()
/uoscore-uedhoc-3.4.0/inc/edhoc/
Dsignature_or_mac_msg.h64 const uint8_t id_cred_len, const uint8_t *cred, const uint16_t cred_len,
70 const uint8_t *cred, uint32_t cred_len, const uint8_t *ead,
79 uint32_t id_cred_len, const uint8_t *cred, uint32_t cred_len,
Dretrieve_cred.h62 uint32_t id_cred_len, uint8_t *cred, uint32_t *cred_len,
/uoscore-uedhoc-3.4.0/test/edhoc_testvector_tests/
Dedhoc_tests.c65 cred_r.cred.len = test_vectors[vec_num].cred_r_len; in test_edhoc()
66 cred_r.cred.ptr = (uint8_t *)test_vectors[vec_num].cred_r; in test_edhoc()
126 cred_i.cred.len = test_vectors[vec_num].cred_i_len; in test_edhoc()
127 cred_i.cred.ptr = (uint8_t *)test_vectors[vec_num].cred_i; in test_edhoc()
/uoscore-uedhoc-3.4.0/samples/linux_edhoc/responder/src/
Dmain.cpp198 cred_i.cred.len = test_vectors[vec_num_i].cred_i_len; in main()
199 cred_i.cred.ptr = (uint8_t *)test_vectors[vec_num_i].cred_i; in main()
/uoscore-uedhoc-3.4.0/samples/linux_edhoc/initiator/src/
Dmain.cpp192 cred_r.cred.len = test_vectors[vec_num_i].cred_r_len; in main()
193 cred_r.cred.ptr = (uint8_t *)test_vectors[vec_num_i].cred_r; in main()
/uoscore-uedhoc-3.4.0/inc/
Dedhoc.h124 struct byte_array cred; /*CBOR encoded credentials*/ member
/uoscore-uedhoc-3.4.0/samples/linux_edhoc_oscore/responder_server/src/
Dmain.cpp213 cred_i.cred.len = test_vectors[vec_num_i].cred_i_len; in main()
214 cred_i.cred.ptr = (uint8_t *)test_vectors[vec_num_i].cred_i; in main()
/uoscore-uedhoc-3.4.0/samples/linux_edhoc_oscore/initiator_client/src/
Dmain.cpp202 cred_r.cred.len = test_vectors[vec_num_i].cred_r_len; in main()
203 cred_r.cred.ptr = (uint8_t *)test_vectors[vec_num_i].cred_r; in main()
/uoscore-uedhoc-3.4.0/samples/zephyr_edhoc/responder/src/
Dmain.c92 .cred.ptr = CRED_I, in edhoc_responder_init()
93 .cred.len = CRED_I_LEN, in edhoc_responder_init()
/uoscore-uedhoc-3.4.0/samples/zephyr_edhoc/initiator/src/
Dmain.c150 cred_r.cred.len = test_vectors[vec_num].cred_r_len; in edhoc_initiator_init()
151 cred_r.cred.ptr = (uint8_t *)test_vectors[vec_num].cred_r; in edhoc_initiator_init()