Home
last modified time | relevance | path

Searched refs:lws_get_random (Results 1 – 25 of 29) sorted by relevance

12

/third_party/libwebsockets/lib/tls/mbedtls/
Dlws-gencrypto.c61 if ((size_t)lws_get_random(context, buf, len) == len) { in lws_gencrypto_mbedtls_rngf()
Dmbedtls-server.c603 if ((size_t)lws_get_random(context, buf, len) == len) in _rngf()
Dlws-genrsa.c123 if ((size_t)lws_get_random(context, buf, len) == len)
/third_party/libwebsockets/lib/plat/windows/
Dwindows-misc.c83 lws_get_random(struct lws_context *context, void *buf, size_t len) in lws_get_random() function
/third_party/libwebsockets/lib/plat/freertos/
Dfreertos-misc.c48 lws_get_random(struct lws_context *context, void *buf, size_t len) in lws_get_random() function
/third_party/libwebsockets/lib/plat/unix/
Dunix-misc.c63 lws_get_random(struct lws_context *context, void *buf, size_t len) in lws_get_random() function
/third_party/libwebsockets/lib/plat/optee/
Dlws-plat-optee.c77 lws_get_random(struct lws_context *context, void *buf, size_t len) in lws_get_random() function
/third_party/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-client-tx/
Dminimal-secure-streams-client-tx.c79 if (lws_get_random(lws_ss_get_context(m->ss), buf, PKT_SIZE) != PKT_SIZE) in myss_tx()
/third_party/libwebsockets/minimal-examples/ws-client/minimal-ws-client-spam-tx-rx/
Dminimal-ws-client.c92 if (lws_get_random(lws_get_context(wsi), &r, 2) == 2) { in callback()
/third_party/libwebsockets/plugins/ssh-base/crypto/
Ded25519.c64 lws_get_random(context, sk, 32); in crypto_sign_ed25519_keypair()
/third_party/libwebsockets/lib/jose/jwe/
Djwe-rsa-aesgcm.c70 if (lws_get_random(jwe->jws.context, jwe->cek, (unsigned int)ekbytes) != in lws_jwe_encrypt_rsa_aes_gcm()
Djwe-ecdh-es-aeskw.c296 if (lws_get_random(jwe->jws.context, cek, (unsigned int)enc_hlen) != in lws_jwe_encrypt_ecdh()
/third_party/libwebsockets/test-apps/
Dtest-client.c363 lws_get_random(lws_get_context(wsi), rands, sizeof(rands[0])); in callback_lws_mirror()
421 lws_get_random(lws_get_context(wsi), rands, in callback_lws_mirror()
/third_party/libwebsockets/lib/jose/jwk/
Djwk.c210 if (lws_get_random(context, in lws_jwk_generate()
/third_party/libwebsockets/lib/jose/jwe/enc/
Daescbc.c72 lws_get_random(jwe->jws.context, (void *)jwe->jws.map.buf[LJWE_IV], 16); in lws_jwe_encrypt_cbc_hs()
/third_party/libwebsockets/lib/roles/mqtt/client/
Dclient-mqtt.c70 if (lws_get_random(context, ran, n) != n) { in lws_mqtt_generate_id()
/third_party/libwebsockets/lib/system/dhcpclient/
Ddhcpc4.c321 lws_get_random(r->wsi_raw->a.context, r->xid, 4); in lws_dhcpc4_retry_conn()
/third_party/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-alexa/
Daudio.c381 lws_get_random(lws_get_context(wsi), rands, sizeof(rands)); in callback_audio()
/third_party/libwebsockets/include/libwebsockets/
Dlws-misc.h369 lws_get_random(struct lws_context *context, void *buf, size_t len);
/third_party/libwebsockets/plugins/ssh-base/
Dkex-25519.c352 lws_get_random(pss->vhd->context, kex->eph_pri_key, LWS_SIZE_EC25519); in kex_ecdh()
/third_party/libwebsockets/lib/roles/ws/
Dclient-ws.c158 if (lws_get_random(wsi->a.context, hash, 16) != 16) { in lws_generate_client_ws_handshake()
/third_party/libwebsockets/lib/system/async-dns/
Dasync-dns.c623 if (lws_get_random(context, &tid, 2) != 2) in lws_async_dns_get_new_tid()
/third_party/libwebsockets/lib/core-net/
Dnetwork.c433 if (lws_get_random(context, &ra, sizeof(ra)) == sizeof(ra)) in lws_retry_get_delay_ms()
/third_party/libwebsockets/lib/core/
Dlibwebsockets.c180 if (lws_get_random(context, r, n) != n) in lws_hex_random()
/third_party/libwebsockets/lib/cose/
Dcose_key.c857 if (lws_get_random(context, ke->buf, sn) != sn) { in lws_cose_key_generate()

12