Searched refs:oscore_r2 (Results 1 – 4 of 4) sorted by relevance
/third_party/libcoap/src/ |
D | coap_oscore.c | 918 … session->oscore_r2 != 0 ? (uint8_t *)&session->oscore_r2 : NULL, in coap_oscore_decrypt_pdu() 932 if (session->oscore_r2 != 0) { in coap_oscore_decrypt_pdu() 1343 coap_new_binary(sizeof(session->oscore_r2) + cose->kid_context.length); in coap_oscore_decrypt_pdu() 1344 coap_bin_const_t oscore_r2; in coap_oscore_decrypt_pdu() local 1354 coap_prng(&session->oscore_r2, sizeof(session->oscore_r2)); in coap_oscore_decrypt_pdu() 1355 memcpy(kc->s, &session->oscore_r2, sizeof(session->oscore_r2)); in coap_oscore_decrypt_pdu() 1356 memcpy(&kc->s[sizeof(session->oscore_r2)], in coap_oscore_decrypt_pdu() 1363 oscore_r2.length = sizeof(session->oscore_r2); in coap_oscore_decrypt_pdu() 1364 oscore_r2.s = (const uint8_t *)&session->oscore_r2; in coap_oscore_decrypt_pdu() 1371 &oscore_r2, in coap_oscore_decrypt_pdu()
|
/third_party/libcoap/src/oscore/ |
D | oscore_context.c | 188 uint8_t *oscore_r2, in oscore_find_context() argument 203 if (oscore_r2) { in oscore_find_context() 205 ok = ok + (memcmp(pt->id_context->s, oscore_r2, 8) != 0); in oscore_find_context()
|
/third_party/libcoap/include/oscore/ |
D | oscore_context.h | 246 uint8_t *oscore_r2,
|
/third_party/libcoap/include/coap3/ |
D | coap_session_internal.h | 194 uint64_t oscore_r2; /**< R2 for RFC8613 Appendix B.2 */ member
|