Home
last modified time | relevance | path

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

/freebsd-14-stable/crypto/openssl/test/
HDrand_test.c30 || !TEST_int_gt(RAND_priv_bytes(outbuf, sizeof(outbuf)), 0) in test_rand()
32 || !TEST_int_le(RAND_priv_bytes(outbuf, sizeof(outbuf) + 1), 0) in test_rand()
33 || !TEST_int_gt(RAND_priv_bytes(outbuf, sizeof(outbuf)), 0) in test_rand()
41 || !TEST_int_gt(RAND_priv_bytes(outbuf, sizeof(outbuf)), 0) in test_rand()
HDdrbgtest.c542 if (!TEST_int_gt(RAND_bytes(random, 1), 0) || !TEST_int_gt(RAND_priv_bytes(random, 1), 0)) in test_rand_fork_safety()
/freebsd-14-stable/crypto/openssl/doc/man3/
HDRAND_bytes.pod5 RAND_bytes, RAND_priv_bytes, RAND_bytes_ex, RAND_priv_bytes_ex,
13 int RAND_priv_bytes(unsigned char *buf, int num);
31 RAND_priv_bytes() has the same semantics as RAND_bytes(). It is intended to
39 RAND_priv_bytes() except that they both take additional I<strength> and
59 to always check the error return value of RAND_bytes() and RAND_priv_bytes() and
70 RAND_bytes() and RAND_priv_bytes()
79 L<RAND_priv_bytes(3)>,
94 The RAND_priv_bytes() function was added in OpenSSL 1.1.1.
HDBN_rand.pod74 same difference between L<RAND_bytes(3)> and L<RAND_priv_bytes(3)>.
92 L<RAND_priv_bytes(3)>,
HDRAND_get0_primary.pod24 by RAND_bytes() and RAND_priv_bytes(), respectively.
HDEVP_RAND.pod79 these functions: just call RAND_bytes() or RAND_priv_bytes().
/freebsd-14-stable/crypto/openssl/crypto/bio/
HDbf_nbio.c92 if (RAND_priv_bytes(&n, 1) <= 0) in nbiof_read()
129 if (RAND_priv_bytes(&n, 1) <= 0) in nbiof_write()
/freebsd-14-stable/crypto/openssl/crypto/des/
HDrand_key.c22 if (RAND_priv_bytes((unsigned char *)ret, sizeof(DES_cblock)) != 1) in DES_random_key()
/freebsd-14-stable/crypto/openssl/include/openssl/
HDrand.h62 int RAND_priv_bytes(unsigned char *buf, int num);
/freebsd-14-stable/crypto/openssl/doc/man7/
HDRAND.pod38 For values that should remain secret, you can use L<RAND_priv_bytes(3)>
68 L<RAND_priv_bytes(3)>,
HDEVP_RAND.pod31 L<RAND_priv_bytes(3)>, see also L<RAND(7)>.
82 By default, the functions L<RAND_bytes(3)> and L<RAND_priv_bytes(3)> use
98 This instance is used per default by L<RAND_priv_bytes(3)>
141 RAND_bytes() RAND_priv_bytes()
151 RAND_priv_bytes(...). These calls are roughly equivalent to calling
HDmigration_guide.pod802 L<RAND_bytes(3)> and L<RAND_priv_bytes(3)>
/freebsd-14-stable/crypto/openssl/crypto/rand/
HDrandfile.c198 if (RAND_priv_bytes(buf, (int)sizeof(buf)) != 1) in RAND_write_file()
HDrand_lib.c347 int RAND_priv_bytes(unsigned char *buf, int num) in RAND_priv_bytes() function
/freebsd-14-stable/crypto/openssl/crypto/evp/
HDe_des.c236 if (RAND_priv_bytes(ptr, 8) <= 0) in des_ctrl()
HDe_des3.c287 if (kl < 0 || RAND_priv_bytes(ptr, kl) <= 0) in des3_ctrl()
/freebsd-14-stable/crypto/openssl/crypto/srp/
HDsrp_vfy.c579 if (RAND_priv_bytes(digv, SHA_DIGEST_LENGTH) <= 0) in SRP_VBASE_get1_by_user()
/freebsd-14-stable/secure/lib/libcrypto/
HDVersion.map4380 RAND_priv_bytes;
/freebsd-14-stable/secure/lib/libcrypto/man/man3/
HDMakefile3573 MLINKS+= RAND_bytes.3 RAND_priv_bytes.3
/freebsd-14-stable/crypto/openssl/util/
HDlibcrypto.num4212 RAND_priv_bytes 4320 3_0_0 EXIST::FUNCTION: