Home
last modified time | relevance | path

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

/third_party/libcoap/src/oscore/
Doscore_context.c119 coap_delete_bin_const(recipient->recipient_id); in oscore_free_recipient()
200 if (rcpkey_id.length == rpt->recipient_id->length) { in oscore_find_context()
202 ok = memcmp(rpt->recipient_id->s, rcpkey_id.s, rcpkey_id.length) != 0; in oscore_find_context()
374 next->recipient_id); in oscore_log_context()
408 osc_ctx->recipient_chain->recipient_id, in oscore_update_ctx()
432 coap_bin_const_t *recipient_id, in oscore_duplicate_ctx() argument
496 copy_rid = coap_new_bin_const(recipient_id->s, recipient_id->length); in oscore_duplicate_ctx()
581 if (oscore_add_recipient(osc_ctx, oscore_conf->recipient_id[i], in oscore_derive_ctx()
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()
[all …]
/third_party/libcoap/src/
Dcoap_oscore.c429 cose_encrypt0_set_key_id(cose, rcp_ctx->recipient_id); in coap_oscore_new_pdu_encrypted()
1175 cose_encrypt0_set_key_id(cose, rcp_ctx->recipient_id); in coap_oscore_decrypt_pdu()
1806 CONFIG_ENTRY(recipient_id, COAP_ENC_HEX | COAP_ENC_ASCII, NULL),
1829 coap_delete_bin_const(oscore_conf->recipient_id[i]); in coap_delete_oscore_conf()
1831 coap_free_type(COAP_STRING, oscore_conf->recipient_id); in coap_delete_oscore_conf()
1874 oscore_conf->recipient_id = in coap_parse_oscore_conf_mem()
1876 oscore_conf->recipient_id, in coap_parse_oscore_conf_mem()
1877 sizeof(oscore_conf->recipient_id[0]) * in coap_parse_oscore_conf_mem()
1879 if (oscore_conf->recipient_id == NULL) { in coap_parse_oscore_conf_mem()
1882 oscore_conf->recipient_id[oscore_conf->recipient_id_count++] = in coap_parse_oscore_conf_mem()
[all …]
Dcoap_resource.c825 if (session->recipient_ctx && session->recipient_ctx->recipient_id) {
848 session->recipient_ctx->recipient_id->s,
849 session->recipient_ctx->recipient_id->length);
/third_party/libcoap/include/coap3/
Dcoap_oscore.h180 coap_bin_const_t *recipient_id);
194 coap_bin_const_t *recipient_id);
Dcoap_oscore_internal.h41 coap_bin_const_t **recipient_id; /**< Recipient ID (i.e. remote peer id) member
/third_party/libcoap/include/oscore/
Doscore_context.h122 coap_bin_const_t *recipient_id; member
181 coap_bin_const_t *recipient_id,
/third_party/libcoap/man/
Dcoap-oscore-conf.txt.in93 *recipient_id* ::
102 For clients, there should only be one recipient_id (only the first is used).
169 recipient_id,ascii,"client"
198 recipient_id,ascii,"server"
Dcoap_oscore.txt.in222 "recipient_id,ascii,\"server\"\n"
310 "recipient_id,ascii,\"client\"\n"
/third_party/libcoap/examples/interop/
De_client.conf4 recipient_id,hex,"01"
Db_server.conf4 recipient_id,hex,""
Da_client.conf4 recipient_id,hex,"01"
Df_client.conf4 recipient_id,hex,"01"
Dg_client.conf4 recipient_id,hex,"01"
Dd_server.conf5 recipient_id,hex,""
Dc_client.conf5 recipient_id,hex,"01"
/third_party/libcoap/tests/
Dtest_oscore.c82 cose_encrypt0_set_key_id(cose, ctx->p_osc_ctx->recipient_chain->recipient_id); in t_oscore_c_1_1()
146 cose_encrypt0_set_key_id(cose, ctx->p_osc_ctx->recipient_chain->recipient_id); in t_oscore_c_1_2()
209 cose_encrypt0_set_key_id(cose, ctx->p_osc_ctx->recipient_chain->recipient_id); in t_oscore_c_2_1()
272 cose_encrypt0_set_key_id(cose, ctx->p_osc_ctx->recipient_chain->recipient_id); in t_oscore_c_2_2()
337 cose_encrypt0_set_key_id(cose, ctx->p_osc_ctx->recipient_chain->recipient_id); in t_oscore_c_3_1()
402 cose_encrypt0_set_key_id(cose, ctx->p_osc_ctx->recipient_chain->recipient_id); in t_oscore_c_3_2()