Home
last modified time | relevance | path

Searched refs:random_bytes (Results 1 – 9 of 9) sorted by relevance

/third_party/openssl/crypto/bn/
Dbn_rand.c260 unsigned char random_bytes[64]; in BN_generate_dsa_nonce() local
295 if (RAND_priv_bytes_ex(libctx, random_bytes, sizeof(random_bytes), 0) <= 0) in BN_generate_dsa_nonce()
303 || !EVP_DigestUpdate(mdctx, random_bytes, sizeof(random_bytes)) in BN_generate_dsa_nonce()
325 OPENSSL_cleanse(random_bytes, sizeof(random_bytes)); in BN_generate_dsa_nonce()
/third_party/gstreamer/gstplugins_bad/gst/rtmp2/rtmp/
Drtmphandshake.c74 GBytes *random_bytes; member
97 data->random_bytes = handshake_random_data (); in handshake_data_new()
106 g_clear_pointer (&data->random_bytes, g_bytes_unref); in handshake_data_free()
113 const guint8 *ourrandom = g_bytes_get_data (data->random_bytes, NULL); in handshake_data_check()
118 create_c0c1 (GBytes * random_bytes) in create_c0c1() argument
132 gst_rtmp_byte_array_append_bytes (ba, random_bytes); in create_c0c1()
160 GBytes *bytes = create_c0c1 (data->random_bytes); in gst_rtmp_client_handshake()
/third_party/node/deps/openssl/openssl/crypto/bn/
Dbn_rand.c260 unsigned char random_bytes[64]; in BN_generate_dsa_nonce() local
295 if (RAND_priv_bytes_ex(libctx, random_bytes, sizeof(random_bytes), 0) <= 0) in BN_generate_dsa_nonce()
303 || !EVP_DigestUpdate(mdctx, random_bytes, sizeof(random_bytes)) in BN_generate_dsa_nonce()
325 OPENSSL_cleanse(random_bytes, sizeof(random_bytes)); in BN_generate_dsa_nonce()
/third_party/libcoap/src/
Dcoap_prng.c95 random_bytes(buf, len); in coap_prng_default()
/third_party/nghttp2/src/
Dh2load_quic.cc286 util::random_bytes(dest, dest + destlen, in rand()
Dshrpx_quic_connection_handler.cc548 util::random_bytes(&rand_byte, &rand_byte + 1, worker_->get_randgen()); in send_version_negotiation()
Dutil.h889 void random_bytes(OutputIt first, OutputIt last, Generator &gen) { in random_bytes() function
Dshrpx_http3_upstream.cc199 util::random_bytes(dest, dest + destlen, in rand()
/third_party/skia/third_party/externals/libpng/contrib/libtests/
Dpngvalid.c3564 png_byte random_bytes[4]; in make_standard_palette() local
3577 make_four_random_bytes(palette_seed, random_bytes); in make_standard_palette()
3581 b = random_bytes[--j]; in make_standard_palette()
8264 png_byte random_bytes[8]; /* 8 bytes - 64 bits - the biggest pixel */ in image_transform_png_set_background_set() local
8273 R8(random_bytes); in image_transform_png_set_background_set()
8295 image_pixel_init(&data, random_bytes, colour_type, in image_transform_png_set_background_set()