Searched refs:id_context (Results 1 – 9 of 9) sorted by relevance
/third_party/libcoap/src/oscore/ |
D | oscore_context.c | 58 coap_bin_const_t *id_context, in compose_info() argument 69 if (id_context != NULL && id_context->length > 0) { in compose_info() 72 id_context->s, in compose_info() 73 id_context->length); in compose_info() 143 coap_delete_bin_const(osc_ctx->id_context); in oscore_free_context() 204 if (pt->id_context != NULL && pt->id_context->length > 8) { in oscore_find_context() 205 ok = ok + (memcmp(pt->id_context->s, oscore_r2, 8) != 0); in oscore_find_context() 210 if (pt->id_context != NULL) { in oscore_find_context() 211 if (ctxkey_id->length != pt->id_context->length) in oscore_find_context() 214 ok = ok + (memcmp(pt->id_context->s, in oscore_find_context() [all …]
|
/third_party/libcoap/include/oscore/ |
D | oscore_context.h | 90 coap_bin_const_t *id_context; /**< contains GID in case of group */ member 182 coap_bin_const_t *id_context); 190 void oscore_update_ctx(oscore_ctx_t *osc_ctx, coap_bin_const_t *id_context); 272 coap_bin_const_t *id_context,
|
/third_party/libcoap/src/ |
D | coap_oscore.c | 44 coap_binary_t *id_context = coap_new_binary(8); in coap_oscore_initiate() local 46 if (id_context == NULL) in coap_oscore_initiate() 48 coap_delete_bin_const(oscore_conf->id_context); in coap_oscore_initiate() 49 coap_prng(id_context->s, id_context->length); in coap_oscore_initiate() 50 oscore_conf->id_context = (coap_bin_const_t *)id_context; in coap_oscore_initiate() 372 cose_encrypt0_set_kid_context(cose, osc_ctx->id_context); in coap_oscore_new_pdu_encrypted() 433 cose_encrypt0_set_kid_context(cose, osc_ctx->id_context); in coap_oscore_new_pdu_encrypted() 1039 if (ptr && !coap_binary_equal(osc_ctx->id_context, &cose->kid_context)) { in coap_oscore_decrypt_pdu() 1043 osc_ctx->id_context->length); in coap_oscore_decrypt_pdu() 1054 osc_ctx->id_context->s, in coap_oscore_decrypt_pdu() [all …]
|
D | coap_subscribe.c | 185 coap_bin_const_t id_context; in coap_persist_observe_add() local 210 id_context.length = oscore_cbor_get_element_size(&info_buf, in coap_persist_observe_add() 212 id_context.s = info_buf; in coap_persist_observe_add() 213 info_buf += id_context.length; in coap_persist_observe_add() 263 have_id_context ? &id_context : NULL, NULL, in coap_persist_observe_add()
|
D | coap_resource.c | 851 session->recipient_ctx->osc_ctx->id_context) { 854 session->recipient_ctx->osc_ctx->id_context->s, 855 session->recipient_ctx->osc_ctx->id_context->length);
|
/third_party/libcoap/examples/interop/ |
D | c_client.conf | 3 id_context,hex,"37cbf3210017a2d3"
|
D | d_server.conf | 3 id_context,hex,"37cbf3210017a2d3"
|
/third_party/libcoap/include/coap3/ |
D | coap_oscore_internal.h | 40 coap_bin_const_t *id_context; /**< Common ID context */ member
|
/third_party/libcoap/man/ |
D | coap-oscore-conf.txt.in | 79 *id_context* ::
|