Home
last modified time | relevance | path

Searched refs:cred_array (Results 1 – 16 of 16) sorted by relevance

/uoscore-uedhoc-latest/src/edhoc/
Dretrieve_cred.c41 verify_cert2cred(bool static_dh_auth, struct cred_array *cred_array, in verify_cert2cred() argument
56 TRY(cert_x509_verify(cert, cred_array, g, &verified)); in verify_cert2cred()
59 TRY(cert_x509_verify(cert, cred_array, pk, &verified)); in verify_cert2cred()
66 TRY(cert_c509_verify(cert, cred_array, g, &verified)); in verify_cert2cred()
69 TRY(cert_c509_verify(cert, cred_array, pk, &verified)); in verify_cert2cred()
99 struct cred_array *cred_array, in get_local_cred() argument
104 for (uint32_t i = 0; i < cred_array->len; i++) { in get_local_cred()
105 if ((cred_array->ptr[i].id_cred.len == ID_cred->len) && in get_local_cred()
106 (0 == memcmp(cred_array->ptr[i].id_cred.ptr, ID_cred->ptr, in get_local_cred()
110 cred_array->ptr[i].cred.ptr, in get_local_cred()
[all …]
Dcert.c181 static enum err ca_pk_get(const struct cred_array *cred_array, in ca_pk_get() argument
185 if (1 == cred_array->len in ca_pk_get()
188 && (0 == cred_array->ptr[0].ca.len || in ca_pk_get()
189 NULL == cred_array->ptr[0].ca.ptr) in ca_pk_get()
192 if (NULL == cred_array->ptr[0].ca_pk.ptr || in ca_pk_get()
193 0 == cred_array->ptr[0].ca_pk.len) { in ca_pk_get()
197 root_pk->ptr = cred_array->ptr[0].ca_pk.ptr; in ca_pk_get()
198 root_pk->len = cred_array->ptr[0].ca_pk.len; in ca_pk_get()
204 for (uint16_t i = 0; i < cred_array->len; i++) { in ca_pk_get()
205 if (NULL == cred_array->ptr[i].ca.ptr || in ca_pk_get()
[all …]
Dinitiator.c131 struct cred_array *cred_r_array, in msg2_process()
241 struct runtime_context *rc, struct cred_array *cred_r_array, in msg3_gen()
279 struct cred_array *cred_r_array, struct byte_array *err_msg, in edhoc_initiator_run_extended()
315 struct cred_array *cred_r_array, struct byte_array *err_msg, in edhoc_initiator_run()
Dresponder.c248 struct cred_array *cred_i_array, in msg3_process()
335 struct edhoc_responder_context *c, struct cred_array *cred_i_array, in edhoc_responder_run_extended()
370 struct edhoc_responder_context *c, struct cred_array *cred_i_array, in edhoc_responder_run()
/uoscore-uedhoc-latest/inc/edhoc/
Dcert.h30 const struct cred_array *cred_array,
43 const struct cred_array *cred_array,
Dretrieve_cred.h58 enum err retrieve_cred(bool static_dh_auth, struct cred_array *cred_array,
/uoscore-uedhoc-latest/inc/
Dedhoc.h41 struct cred_array { struct
112 struct cred_array *cred_r_array, struct byte_array *err_msg,
134 struct cred_array *cred_r_array, struct byte_array *err_msg,
153 struct edhoc_responder_context *c, struct cred_array *cred_i_array,
175 struct edhoc_responder_context *c, struct cred_array *cred_i_array,
Dedhoc_internal.h62 struct runtime_context *rc, struct cred_array *cred_r_array,
107 struct cred_array *cred_i_array,
/uoscore-uedhoc-latest/test/edhoc_integration_tests/
Dedhoc_tests_rfc9529.c150 struct cred_array cred_r_array = { .len = 1, .ptr = &cred_r }; in test_edhoc_initiator_x509_x5t_rfc9529()
214 struct cred_array cred_i_array = { .len = 1, .ptr = &cred_i }; in test_edhoc_responder_x509_x5t_rfc9529()
Dinitiator_responder_interaction.c202 struct cred_array cred_r_array = { .len = 1, .ptr = &cred_r }; in thread_initiator()
301 struct cred_array cred_i_array = { .len = 1, .ptr = &cred_i }; in thread_responder()
/uoscore-uedhoc-latest/samples/zephyr_edhoc/initiator/src/
Dmain.c186 struct cred_array cred_r_array = { .len = 1, .ptr = &cred_r }; in internal_main()
/uoscore-uedhoc-latest/samples/zephyr_edhoc/responder/src/
Dmain.c193 struct cred_array cred_i_array = { .len = 1, .ptr = &cred_i }; in internal_main()
/uoscore-uedhoc-latest/samples/linux_edhoc_oscore/initiator_client/src/
Dmain.cpp204 struct cred_array cred_r_array = { .len = 1, .ptr = &cred_r }; in main()
/uoscore-uedhoc-latest/samples/linux_edhoc/initiator/src/
Dmain.cpp243 struct cred_array cred_r_array = { .len = 1, .ptr = &cred_r }; in main()
/uoscore-uedhoc-latest/samples/linux_edhoc/responder/src/
Dmain.cpp270 struct cred_array cred_i_array = { .len = 1, .ptr = &cred_i }; in main()
/uoscore-uedhoc-latest/samples/linux_edhoc_oscore/responder_server/src/
Dmain.cpp275 struct cred_array cred_i_array = { .len = 1, .ptr = &cred_i }; in main()