Home
last modified time | relevance | path

Searched refs:rcp_ctx (Results 1 – 2 of 2) sorted by relevance

/third_party/libcoap/src/
Dcoap_oscore.c291 oscore_recipient_ctx_t *rcp_ctx = session->recipient_ctx; in coap_oscore_new_pdu_encrypted() local
292 oscore_ctx_t *osc_ctx = rcp_ctx ? rcp_ctx->osc_ctx : NULL; in coap_oscore_new_pdu_encrypted()
330 rcp_ctx = session->recipient_ctx; in coap_oscore_new_pdu_encrypted()
331 if (rcp_ctx == NULL) in coap_oscore_new_pdu_encrypted()
333 osc_ctx = rcp_ctx->osc_ctx; in coap_oscore_new_pdu_encrypted()
344 rcp_ctx = association->recipient_ctx; in coap_oscore_new_pdu_encrypted()
345 osc_ctx = rcp_ctx->osc_ctx; in coap_oscore_new_pdu_encrypted()
429 cose_encrypt0_set_key_id(cose, rcp_ctx->recipient_id); in coap_oscore_new_pdu_encrypted()
671 association->recipient_ctx = rcp_ctx; in coap_oscore_new_pdu_encrypted()
690 rcp_ctx, in coap_oscore_new_pdu_encrypted()
[all …]
/third_party/libcoap/src/oscore/
Doscore_context.c602 oscore_recipient_ctx_t *rcp_ctx = osc_ctx->recipient_chain; in oscore_add_recipient() local
610 while (rcp_ctx) { in oscore_add_recipient()
611 if (rcp_ctx->recipient_id->length == rid->length && in oscore_add_recipient()
612 memcmp(rcp_ctx->recipient_id->s, rid->s, rid->length) == 0) { in oscore_add_recipient()
616 rcp_ctx = rcp_ctx->next_recipient; in oscore_add_recipient()
647 rcp_ctx = osc_ctx->recipient_chain; in oscore_add_recipient()
648 recipient_ctx->next_recipient = rcp_ctx; in oscore_add_recipient()