Searched refs:recipient_id (Results 1 – 16 of 16) sorted by relevance
/third_party/libcoap/src/oscore/ |
D | oscore_context.c | 119 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/ |
D | coap_oscore.c | 429 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 …]
|
D | coap_resource.c | 825 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/ |
D | coap_oscore.h | 180 coap_bin_const_t *recipient_id); 194 coap_bin_const_t *recipient_id);
|
D | coap_oscore_internal.h | 41 coap_bin_const_t **recipient_id; /**< Recipient ID (i.e. remote peer id) member
|
/third_party/libcoap/include/oscore/ |
D | oscore_context.h | 122 coap_bin_const_t *recipient_id; member 181 coap_bin_const_t *recipient_id,
|
/third_party/libcoap/man/ |
D | coap-oscore-conf.txt.in | 93 *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"
|
D | coap_oscore.txt.in | 222 "recipient_id,ascii,\"server\"\n" 310 "recipient_id,ascii,\"client\"\n"
|
/third_party/libcoap/examples/interop/ |
D | e_client.conf | 4 recipient_id,hex,"01"
|
D | b_server.conf | 4 recipient_id,hex,""
|
D | a_client.conf | 4 recipient_id,hex,"01"
|
D | f_client.conf | 4 recipient_id,hex,"01"
|
D | g_client.conf | 4 recipient_id,hex,"01"
|
D | d_server.conf | 5 recipient_id,hex,""
|
D | c_client.conf | 5 recipient_id,hex,"01"
|
/third_party/libcoap/tests/ |
D | test_oscore.c | 82 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()
|