Home
last modified time | relevance | path

Searched refs:external_aad (Results 1 – 3 of 3) sorted by relevance

/third_party/libcoap/src/oscore/
Doscore_cose.c380 coap_bin_const_t *external_aad) { in cose_encrypt0_set_external_aad() argument
381 if (external_aad) { in cose_encrypt0_set_external_aad()
382 ptr->external_aad = *external_aad; in cose_encrypt0_set_external_aad()
384 ptr->external_aad.length = 0; in cose_encrypt0_set_external_aad()
385 ptr->external_aad.s = NULL; in cose_encrypt0_set_external_aad()
/third_party/libcoap/src/
Dcoap_oscore.c259 oscore_log_hex_value(COAP_LOG_OSCORE, "external_aad", &cose->external_aad); in dump_cose()
301 coap_bin_const_t external_aad; in coap_oscore_new_pdu_encrypted() local
468 external_aad.s = external_aad_buffer; in coap_oscore_new_pdu_encrypted()
469 external_aad.length = oscore_prepare_e_aad(osc_ctx, in coap_oscore_new_pdu_encrypted()
476 cose_encrypt0_set_external_aad(cose, &external_aad); in coap_oscore_new_pdu_encrypted()
481 external_aad.length, in coap_oscore_new_pdu_encrypted()
794 coap_bin_const_t external_aad; in coap_oscore_decrypt_pdu() local
1104 external_aad.s = external_aad_buffer; in coap_oscore_decrypt_pdu()
1105 external_aad.length = oscore_prepare_e_aad(osc_ctx, in coap_oscore_decrypt_pdu()
1112 cose_encrypt0_set_external_aad(cose, &external_aad); in coap_oscore_decrypt_pdu()
[all …]
/third_party/libcoap/include/oscore/
Doscore_cose.h207 coap_bin_const_t external_aad; member
244 coap_bin_const_t *external_aad);