Home
last modified time | relevance | path

Searched refs:RAND_priv_bytes (Results 1 – 21 of 21) sorted by relevance

/third_party/openssl/doc/man3/
DRAND_bytes.pod5 RAND_bytes, RAND_priv_bytes, RAND_pseudo_bytes - generate random data
12 int RAND_priv_bytes(unsigned char *buf, int num);
25 RAND_priv_bytes() has the same semantics as RAND_bytes(). It is intended to
42 to always check the error return value of RAND_bytes() and RAND_priv_bytes() and
53 RAND_bytes() and RAND_priv_bytes()
62 L<RAND_priv_bytes(3)>,
77 The RAND_priv_bytes() function was added in OpenSSL 1.1.1.
DBN_rand.pod49 same difference between L<RAND_bytes(3)> and L<RAND_priv_bytes(3)>.
67 L<RAND_priv_bytes(3)>,
DRAND_DRBG_get0_master.pod25 by RAND_bytes() and RAND_priv_bytes(), respectively.
/third_party/openssl/crypto/bio/
Dbf_nbio.c94 if (RAND_priv_bytes(&n, 1) <= 0) in nbiof_read()
131 if (RAND_priv_bytes(&n, 1) <= 0) in nbiof_write()
/third_party/openssl/crypto/des/
Drand_key.c16 if (RAND_priv_bytes((unsigned char *)ret, sizeof(DES_cblock)) != 1) in DES_random_key()
/third_party/openssl/crypto/bn/
Dbn_rand.c46 b = flag == NORMAL ? RAND_bytes(buf, bytes) : RAND_priv_bytes(buf, bytes); in bnrand()
239 if (RAND_priv_bytes(random_bytes, sizeof(random_bytes)) != 1) in BN_generate_dsa_nonce()
/third_party/openssl/include/openssl/
Drand.h43 int RAND_priv_bytes(unsigned char *buf, int num);
/third_party/openssl/doc/man7/
DRAND_DRBG.pod30 L<RAND_priv_bytes(3)>, see also L<RAND(7)>.
76 By default, the functions L<RAND_bytes(3)> and L<RAND_priv_bytes(3)> use
92 This instance is used per default by L<RAND_priv_bytes(3)>
137 RAND_bytes() RAND_priv_bytes()
147 RAND_priv_bytes(...). These calls are roughly equivalent to calling
DRAND.pod38 For values that should remain secret, you can use L<RAND_priv_bytes(3)>
72 L<RAND_priv_bytes(3)>,
/third_party/openssl/crypto/rand/
Drandfile.c190 if (RAND_priv_bytes(buf, (int)sizeof(buf)) != 1) in RAND_write_file()
Drand_lib.c921 int RAND_priv_bytes(unsigned char *buf, int num) in RAND_priv_bytes() function
/third_party/openssl/ssl/
Dtls_srp.c160 if (RAND_priv_bytes(b, sizeof(b)) <= 0) in SSL_srp_server_param_with_username()
372 if (RAND_priv_bytes(rnd, sizeof(rnd)) <= 0) in SRP_Calc_A_param()
Dssl_lib.c3115 || (RAND_priv_bytes(ret->ext.secure->tick_hmac_key, in SSL_CTX_new()
3117 || (RAND_priv_bytes(ret->ext.secure->tick_aes_key, in SSL_CTX_new()
3121 if (RAND_priv_bytes(ret->ext.cookie_hmac_key, in SSL_CTX_new()
/third_party/openssl/crypto/evp/
De_des.c232 if (RAND_priv_bytes(ptr, 8) <= 0) in des_ctrl()
De_des3.c286 if (RAND_priv_bytes(ptr, EVP_CIPHER_CTX_key_length(ctx)) <= 0) in des3_ctrl()
Devp_enc.c678 if (RAND_priv_bytes(key, ctx->key_len) <= 0) in EVP_CIPHER_CTX_rand_key()
/third_party/openssl/test/
Ddrbgtest.c623 || !TEST_int_eq(RAND_priv_bytes(buf, sizeof(buf)), expect_success)) in test_drbg_reseed()
864 if (RAND_priv_bytes(buf, sizeof(buf)) <= 0) in run_multi_thread_test()
/third_party/openssl/crypto/ec/
Decx_meth.c86 if (RAND_priv_bytes(privkey, KEYLENID(id)) <= 0) { in ecx_key_op()
/third_party/openssl/crypto/srp/
Dsrp_vfy.c556 if (RAND_priv_bytes(digv, SHA_DIGEST_LENGTH) <= 0) in SRP_VBASE_get1_by_user()
/third_party/openssl/ssl/statem/
Dstatem_srvr.c3055 if (RAND_priv_bytes(rand_premaster_secret, in tls_process_cke_rsa()
/third_party/openssl/util/
Dlibcrypto.num4375 RAND_priv_bytes 4320 1_1_1 EXIST::FUNCTION: