| /onnv-gate/usr/src/common/openssl/doc/crypto/ |
| H A D | RAND_bytes.pod | 5 RAND_bytes, RAND_pseudo_bytes - generate random data 13 int RAND_pseudo_bytes(unsigned char *buf, int num); 21 RAND_pseudo_bytes() puts B<num> pseudo-random bytes into B<buf>. 22 Pseudo-random byte sequences generated by RAND_pseudo_bytes() will be 31 obtained by L<ERR_get_error(3)|ERR_get_error(3)>. RAND_pseudo_bytes() returns 1 if the 44 has a return value since OpenSSL 0.9.5. RAND_pseudo_bytes() was added
|
| H A D | rand.pod | 14 int RAND_pseudo_bytes(unsigned char *buf, int num);
|
| /onnv-gate/usr/src/common/openssl/crypto/bn/ |
| H A D | bn_rand.c | 147 if (RAND_pseudo_bytes(buf, bytes) == -1) in bnrand() 166 RAND_pseudo_bytes(&c, 1); in bnrand()
|
| H A D | divtest.c | 7 RAND_pseudo_bytes(x,2); in Rand()
|
| H A D | bn.h | 674 #ifndef RAND_pseudo_bytes 675 int RAND_pseudo_bytes(unsigned char *buf,int num); 688 RAND_pseudo_bytes(&_tmp_char, 1); \ 694 #undef RAND_pseudo_bytes
|
| /onnv-gate/usr/src/common/openssl/crypto/asn1/ |
| H A D | p5_pbev2.c | 117 RAND_pseudo_bytes(iv, EVP_CIPHER_iv_length(cipher)) < 0) 139 else if (RAND_pseudo_bytes (osalt->data, saltlen) < 0) goto merr;
|
| H A D | p5_pbe.c | 100 else if (RAND_pseudo_bytes (pbe->salt->data, saltlen) < 0)
|
| /onnv-gate/usr/src/common/openssl/crypto/bio/ |
| H A D | bf_nbio.c | 141 RAND_pseudo_bytes(&n,1); in nbiof_read() 182 RAND_pseudo_bytes(&n,1); in nbiof_write()
|
| /onnv-gate/usr/src/common/openssl/crypto/evp/ |
| H A D | p_seal.c | 84 RAND_pseudo_bytes(iv,EVP_CIPHER_CTX_iv_length(ctx)); in EVP_SealInit()
|
| H A D | bio_ok.c | 472 RAND_pseudo_bytes(md->md_data, md->digest->md_size); in sig_out()
|
| /onnv-gate/usr/src/common/openssl/crypto/rand/ |
| H A D | rand.h | 103 int RAND_pseudo_bytes(unsigned char *buf,int num);
|
| H A D | rand_lib.c | 162 int RAND_pseudo_bytes(unsigned char *buf, int num) in RAND_pseudo_bytes() function
|
| H A D | randtest.c | 78 i = RAND_pseudo_bytes(buf,2500); in main()
|
| /onnv-gate/usr/src/common/openssl/crypto/des/ |
| H A D | enc_writ.c | 133 RAND_pseudo_bytes(shortbuf+len, 8-len); in DES_enc_write()
|
| /onnv-gate/usr/src/common/openssl/crypto/ecdsa/ |
| H A D | ecdsatest.c | 296 if (!RAND_pseudo_bytes(digest, 20) || in test_builtin() 297 !RAND_pseudo_bytes(wrong_digest, 20)) in test_builtin()
|
| /onnv-gate/usr/src/common/openssl/apps/ |
| H A D | passwd.c | 438 if (RAND_pseudo_bytes((unsigned char *)*salt_p, 2) < 0) in do_passwd() 461 if (RAND_pseudo_bytes((unsigned char *)*salt_p, 8) < 0) in do_passwd()
|
| H A D | enc.c | 481 } else if (RAND_pseudo_bytes(salt, sizeof salt) < 0) in MAIN()
|
| /onnv-gate/usr/src/common/openssl/crypto/pkcs12/ |
| H A D | p12_mutl.c | 169 if (RAND_pseudo_bytes (p12->mac->salt->data, saltlen) < 0) in PKCS12_setup_mac()
|
| /onnv-gate/usr/src/common/openssl/ssl/ |
| H A D | s23_clnt.c | 241 if (RAND_pseudo_bytes(p,SSL3_RANDOM_SIZE-4) <= 0) in ssl23_client_hello() 308 if (RAND_pseudo_bytes(&(s->s3->client_random[SSL3_RANDOM_SIZE-i]),i) <= 0) in ssl23_client_hello()
|
| H A D | s2_srvr.c | 483 if (RAND_pseudo_bytes(p,i) <= 0) in get_client_master_key() 790 if (RAND_pseudo_bytes(s->s2->conn_id,(int)s->s2->conn_id_length) <= 0) in server_hello() 937 if (RAND_pseudo_bytes(ccd,SSL2_MIN_CERT_CHALLENGE_LENGTH) <= 0) in request_certificate()
|
| H A D | s2_clnt.c | 598 if (RAND_pseudo_bytes(s->s2->challenge,SSL2_CHALLENGE_LENGTH) <= 0) in client_hello() 648 if (RAND_pseudo_bytes(sess->key_arg,i) <= 0) in client_master_key()
|
| /onnv-gate/usr/src/common/openssl/crypto/dsa/ |
| H A D | dsa_gen.c | 157 RAND_pseudo_bytes(seed,SHA_DIGEST_LENGTH); in dsa_builtin_paramgen()
|
| /onnv-gate/usr/src/common/openssl/crypto/ocsp/ |
| H A D | ocsp_ext.c | 337 RAND_pseudo_bytes(tmpval, len); in ocsp_add1_nonce()
|
| /onnv-gate/usr/src/common/openssl/doc/ssl/ |
| H A D | SSL_CTX_set_generate_session_id.pod | 114 RAND_pseudo_bytes(id, *id_len);
|
| /onnv-gate/usr/src/common/openssl/crypto/pkcs7/ |
| H A D | pk7_mime.c | 166 RAND_pseudo_bytes((unsigned char *)bound, 32); in SMIME_write_PKCS7()
|