Home
last modified time | relevance | path

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

/freebsd-13.1/crypto/openssl/doc/man3/
H A 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.
H A DBN_rand.pod49 same difference between L<RAND_bytes(3)> and L<RAND_priv_bytes(3)>.
67 L<RAND_priv_bytes(3)>,
H A DRAND_DRBG_get0_master.pod25 by RAND_bytes() and RAND_priv_bytes(), respectively.
/freebsd-13.1/crypto/openssl/crypto/bio/
H A Dbf_nbio.c94 if (RAND_priv_bytes(&n, 1) <= 0) in nbiof_read()
131 if (RAND_priv_bytes(&n, 1) <= 0) in nbiof_write()
/freebsd-13.1/crypto/openssl/crypto/des/
H A Drand_key.c16 if (RAND_priv_bytes((unsigned char *)ret, sizeof(DES_cblock)) != 1) in DES_random_key()
/freebsd-13.1/crypto/openssl/crypto/bn/
H A 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()
/freebsd-13.1/crypto/openssl/include/openssl/
H A Drand.h43 int RAND_priv_bytes(unsigned char *buf, int num);
/freebsd-13.1/crypto/openssl/doc/man7/
H A 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
H A DRAND.pod38 For values that should remain secret, you can use L<RAND_priv_bytes(3)>
72 L<RAND_priv_bytes(3)>,
/freebsd-13.1/crypto/openssl/crypto/rand/
H A Drandfile.c190 if (RAND_priv_bytes(buf, (int)sizeof(buf)) != 1) in RAND_write_file()
H A Drand_lib.c921 int RAND_priv_bytes(unsigned char *buf, int num) in RAND_priv_bytes() function
/freebsd-13.1/crypto/openssl/ssl/
H A 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()
H A Dssl_lib.c3206 || (RAND_priv_bytes(ret->ext.secure->tick_hmac_key, in SSL_CTX_new()
3208 || (RAND_priv_bytes(ret->ext.secure->tick_aes_key, in SSL_CTX_new()
3212 if (RAND_priv_bytes(ret->ext.cookie_hmac_key, in SSL_CTX_new()
/freebsd-13.1/crypto/openssl/crypto/evp/
H A De_des.c232 if (RAND_priv_bytes(ptr, 8) <= 0) in des_ctrl()
H A De_des3.c286 if (RAND_priv_bytes(ptr, EVP_CIPHER_CTX_key_length(ctx)) <= 0) in des3_ctrl()
H A Devp_enc.c680 if (RAND_priv_bytes(key, ctx->key_len) <= 0) in EVP_CIPHER_CTX_rand_key()
/freebsd-13.1/crypto/openssl/crypto/srp/
H A Dsrp_vfy.c556 if (RAND_priv_bytes(digv, SHA_DIGEST_LENGTH) <= 0) in SRP_VBASE_get1_by_user()
/freebsd-13.1/crypto/openssl/crypto/ec/
H A Decx_meth.c86 if (RAND_priv_bytes(privkey, KEYLENID(id)) <= 0) { in ecx_key_op()
/freebsd-13.1/secure/lib/libcrypto/
H A DVersion.map4380 RAND_priv_bytes;
/freebsd-13.1/crypto/openssl/ssl/statem/
H A Dstatem_srvr.c3055 if (RAND_priv_bytes(rand_premaster_secret, in tls_process_cke_rsa()
/freebsd-13.1/secure/lib/libcrypto/man/man3/
H A DMakefile2252 MLINKS+= RAND_bytes.3 RAND_priv_bytes.3