| /uoscore-uedhoc-latest/src/edhoc/ |
| D | retrieve_cred.c | 41 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 …]
|
| D | cert.c | 181 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 …]
|
| D | initiator.c | 131 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()
|
| D | responder.c | 248 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/ |
| D | cert.h | 30 const struct cred_array *cred_array, 43 const struct cred_array *cred_array,
|
| D | retrieve_cred.h | 58 enum err retrieve_cred(bool static_dh_auth, struct cred_array *cred_array,
|
| /uoscore-uedhoc-latest/inc/ |
| D | edhoc.h | 41 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,
|
| D | edhoc_internal.h | 62 struct runtime_context *rc, struct cred_array *cred_r_array, 107 struct cred_array *cred_i_array,
|
| /uoscore-uedhoc-latest/test/edhoc_integration_tests/ |
| D | edhoc_tests_rfc9529.c | 150 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()
|
| D | initiator_responder_interaction.c | 202 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/ |
| D | main.c | 186 struct cred_array cred_r_array = { .len = 1, .ptr = &cred_r }; in internal_main()
|
| /uoscore-uedhoc-latest/samples/zephyr_edhoc/responder/src/ |
| D | main.c | 193 struct cred_array cred_i_array = { .len = 1, .ptr = &cred_i }; in internal_main()
|
| /uoscore-uedhoc-latest/samples/linux_edhoc_oscore/initiator_client/src/ |
| D | main.cpp | 204 struct cred_array cred_r_array = { .len = 1, .ptr = &cred_r }; in main()
|
| /uoscore-uedhoc-latest/samples/linux_edhoc/initiator/src/ |
| D | main.cpp | 243 struct cred_array cred_r_array = { .len = 1, .ptr = &cred_r }; in main()
|
| /uoscore-uedhoc-latest/samples/linux_edhoc/responder/src/ |
| D | main.cpp | 270 struct cred_array cred_i_array = { .len = 1, .ptr = &cred_i }; in main()
|
| /uoscore-uedhoc-latest/samples/linux_edhoc_oscore/responder_server/src/ |
| D | main.cpp | 275 struct cred_array cred_i_array = { .len = 1, .ptr = &cred_i }; in main()
|