| /freebsd-13.1/crypto/openssl/doc/man3/ |
| H A D | RAND_bytes.pod | 5 RAND_bytes, RAND_priv_bytes, RAND_pseudo_bytes - generate random data 11 int RAND_bytes(unsigned char *buf, int num); 22 RAND_bytes() generates B<num> random bytes using a cryptographically 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() 61 L<RAND_bytes(3)>, 73 RAND_pseudo_bytes() was deprecated in OpenSSL 1.1.0; use RAND_bytes() instead.
|
| H A D | RAND_set_rand_method.pod | 45 RAND_seed(), RAND_bytes(), internal RAND cleanup, RAND_add(), RAND_pseudo_rand() 57 L<RAND_bytes(3)>,
|
| H A D | BN_rand.pod | 49 same difference between L<RAND_bytes(3)> and L<RAND_priv_bytes(3)>. 66 L<RAND_bytes(3)>,
|
| H A D | RAND_add.pod | 39 seeded. If not, functions such as L<RAND_bytes(3)> will fail. 85 L<RAND_bytes(3)>,
|
| H A D | DSA_generate_key.pod | 29 L<DSA_new(3)>, L<ERR_get_error(3)>, L<RAND_bytes(3)>,
|
| H A D | SSL_get_client_random.pod | 59 in place of RAND_bytes() would be grossly foolish. 90 L<RAND_bytes(3)>,
|
| H A D | DSA_do_sign.pod | 39 L<DSA_new(3)>, L<ERR_get_error(3)>, L<RAND_bytes(3)>,
|
| /freebsd-13.1/contrib/ntp/sntp/m4/ |
| H A D | ntp_crypto_rand.m4 | 24 dnl - Look for RAND_poll and RAND_bytes 43 AC_CHECK_FUNCS([RAND_bytes RAND_poll])
|
| /freebsd-13.1/crypto/openssl/doc/man1/ |
| H A D | rand.pod | 24 The random bytes are generated using the L<RAND_bytes(3)> function, 28 For more details, see L<RAND_bytes(3)>, L<RAND(7)>, and L<RAND_DRBG(7)>. 82 L<RAND_bytes(3)>,
|
| /freebsd-13.1/crypto/openssl/crypto/rsa/ |
| H A D | rsa_ssl.c | 37 if (RAND_bytes(p, j) <= 0) in RSA_padding_add_SSLv23() 42 if (RAND_bytes(p, 1) <= 0) in RSA_padding_add_SSLv23()
|
| H A D | rsa_pk1.c | 137 if (RAND_bytes(p, j) <= 0) in RSA_padding_add_PKCS1_type_2() 142 if (RAND_bytes(p, 1) <= 0) in RSA_padding_add_PKCS1_type_2()
|
| /freebsd-13.1/crypto/openssl/doc/man7/ |
| H A D | RAND.pod | 28 just use L<RAND_bytes(3)> to obtain random data. 30 return value of L<RAND_bytes(3)> and do not take randomness for granted. 71 L<RAND_bytes(3)>,
|
| H A D | RAND_DRBG.pod | 29 The usual way to obtain random bytes is to use L<RAND_bytes(3)> or 76 By default, the functions L<RAND_bytes(3)> and L<RAND_priv_bytes(3)> use 88 This instance is used per default by L<RAND_bytes(3)>. 137 RAND_bytes() RAND_priv_bytes() 146 The usual way to obtain random bytes is to call RAND_bytes(...) or 208 previous OpenSSL versions to call RAND_add() before calling RAND_bytes().
|
| /freebsd-13.1/crypto/heimdal/lib/krb5/ |
| H A D | generate_seq_number.c | 41 if (RAND_bytes((void *)seqno, sizeof(*seqno)) <= 0) in krb5_generate_seq_number()
|
| H A D | crypto-rand.c | 109 if (RAND_bytes(buf, len) <= 0) in krb5_generate_random_block()
|
| /freebsd-13.1/crypto/openssl/crypto/asn1/ |
| H A D | p5_pbev2.c | 70 else if (RAND_bytes(iv, EVP_CIPHER_iv_length(cipher)) <= 0) 173 else if (RAND_bytes(osalt->data, saltlen) <= 0) in PKCS5_pbkdf2_set()
|
| H A D | p5_scrypt.c | 85 else if (RAND_bytes(iv, EVP_CIPHER_iv_length(cipher)) <= 0) in PKCS5_pbe2_set_scrypt() 165 if (salt == NULL && RAND_bytes(sparam->salt->data, saltlen) <= 0) in pkcs5_scrypt_set()
|
| H A D | p5_pbe.c | 55 else if (RAND_bytes(sstr, saltlen) <= 0)
|
| /freebsd-13.1/contrib/ntp/libntp/ |
| H A D | ntp_crypto_rnd.c | 97 rc = RAND_bytes(buf, size2int_chk(nbytes)); in ntp_crypto_random_buf()
|
| /freebsd-13.1/crypto/openssl/crypto/bn/ |
| H A D | bn_rand.c | 46 b = flag == NORMAL ? RAND_bytes(buf, bytes) : RAND_priv_bytes(buf, bytes); in bnrand() 58 if (RAND_bytes(&c, 1) <= 0) in bnrand()
|
| /freebsd-13.1/crypto/openssl/include/openssl/ |
| H A D | rand.h | 42 int RAND_bytes(unsigned char *buf, int num);
|
| /freebsd-13.1/crypto/openssl/crypto/evp/ |
| H A D | p_seal.c | 37 && RAND_bytes(iv, EVP_CIPHER_CTX_iv_length(ctx)) <= 0) in EVP_SealInit()
|
| /freebsd-13.1/crypto/openssh/ |
| H A D | entropy.c | 69 if (RAND_bytes(buf, sizeof(buf)) <= 0) { in rexec_send_rng_seed()
|
| /freebsd-13.1/crypto/openssl/crypto/cms/ |
| H A D | cms_pwri.c | 92 if (RAND_bytes(iv, ivlen) <= 0) in CMS_add0_recipient_password() 261 && RAND_bytes(out + 4 + inlen, olen - 4 - inlen) <= 0) in kek_wrap_key()
|
| /freebsd-13.1/crypto/openssl/apps/ |
| H A D | rand.c | 107 r = RAND_bytes(buf, chunk); in rand_main()
|