Searched refs:coap_prng (Results 1 - 9 of 9) sorted by relevance
/third_party/libcoap/include/coap3/ |
H A D | coap_prng.h | 2 * coap_prng.h -- Pseudo Random Numbers 13 * @file coap_prng.h 22 * @defgroup coap_prng Pseudo Random Numbers 43 #define coap_prng(Buf,Length) lwip_prng_impl((Buf), (Length)) macro 83 int coap_prng(void *buf, size_t len);
|
/third_party/libcoap/src/ |
H A D | coap_prng.c | 2 * coap_prng.c -- random number generation 13 * @file coap_prng.c 36 * coap_prng(). You might want to change coap_prng_impl() to use a better 140 coap_prng(void *buf, size_t len) { in coap_prng() function
|
H A D | coap_ws.c | 251 coap_prng(&ws_header[hdr_len], 4); in coap_ws_write() 820 coap_prng(session->ws->key, sizeof(session->ws->key)); in coap_ws_establish() 874 coap_prng(&ws_header[hdr_len], 4); in coap_ws_close()
|
H A D | coap_session.c | 222 coap_prng(&ran, sizeof(ran)); in coap_get_non_timeout_random() 588 coap_prng((unsigned char *)&session->tx_mid, sizeof(session->tx_mid)); in coap_make_session() 589 coap_prng((unsigned char *)&session->tx_rtag, sizeof(session->tx_rtag)); in coap_make_session() 809 coap_prng(&r, sizeof(r)); in coap_session_delay_pdu()
|
H A D | coap_oscore.c | 49 coap_prng(id_context->s, id_context->length); in coap_oscore_initiate() 1354 coap_prng(&session->oscore_r2, sizeof(session->oscore_r2)); in coap_oscore_decrypt_pdu() 1408 coap_prng(&kc->s[cose->kid_context.length], 8); in coap_oscore_decrypt_pdu() 1456 coap_prng(rcp_ctx->echo_value, sizeof(rcp_ctx->echo_value)); in coap_oscore_decrypt_pdu()
|
H A D | coap_debug.c | 1299 coap_prng((uint8_t *)&r, 2); in coap_debug_send_packet()
|
H A D | coap_net.c | 1607 coap_prng(&r, sizeof(r)); in coap_send_internal() 1635 coap_prng(&byte, sizeof(byte)); in coap_retransmit() 3280 coap_prng(&r, sizeof(r)); in handle_request()
|
H A D | coap_mbedtls.c | 173 return coap_prng(buf, len) ? 0 : MBEDTLS_ERR_CTR_DRBG_ENTROPY_SOURCE_FAILED; in coap_rng() 1560 coap_prng(cid, sizeof(cid));
|
H A D | coap_openssl.c | 855 coap_prng(cookie_secret, sizeof(cookie_secret)); in coap_dtls_new_context()
|
Completed in 21 milliseconds