Symbol: RAND_bytes_ex
crypto/openssl/apps/rand.c
206
r = RAND_bytes_ex(app_get0_libctx(), buf, chunk, 0);
crypto/openssl/crypto/asn1/asn_mime.c
271
if (RAND_bytes_ex(libctx, (unsigned char *)bound, 32, 0) <= 0)
crypto/openssl/crypto/asn1/p5_pbe.c
58
else if (RAND_bytes_ex(ctx, sstr, saltlen, 0) <= 0)
crypto/openssl/crypto/asn1/p5_pbev2.c
213
} else if (RAND_bytes_ex(libctx, osalt->data, saltlen, 0) <= 0) {
crypto/openssl/crypto/asn1/p5_pbev2.c
86
else if (RAND_bytes_ex(libctx, iv, ivlen, 0) <= 0)
crypto/openssl/crypto/bn/bn_rand.c
50
b = flag == NORMAL ? RAND_bytes_ex(libctx, buf, bytes, strength)
crypto/openssl/crypto/bn/bn_rand.c
63
if (RAND_bytes_ex(libctx, &c, 1, strength) <= 0)
crypto/openssl/crypto/cmp/cmp_hdr.c
126
if (bytes == NULL || RAND_bytes_ex(ctx->libctx, bytes, len, 0) <= 0)
crypto/openssl/crypto/cms/cms_enc.c
97
if (RAND_bytes_ex(libctx, iv, ivlen, 0) <= 0)
crypto/openssl/crypto/cms/cms_ess.c
135
if (RAND_bytes_ex(libctx, rr->signedContentIdentifier->data, 32,
crypto/openssl/crypto/cms/cms_pwri.c
106
if (RAND_bytes_ex(ossl_cms_ctx_get0_libctx(cms_ctx), iv, ivlen, 0) <= 0)
crypto/openssl/crypto/cms/cms_pwri.c
289
&& RAND_bytes_ex(ossl_cms_ctx_get0_libctx(cms_ctx), out + 4 + inlen,
crypto/openssl/crypto/crmf/crmf_pbm.c
56
if (RAND_bytes_ex(libctx, salt, slen, 0) <= 0) {
crypto/openssl/crypto/ffc/ffc_params_generate.c
335
&& RAND_bytes_ex(libctx, seed, seedlen, 0) <= 0)
crypto/openssl/crypto/ffc/ffc_params_generate.c
405
if (generate_seed && RAND_bytes_ex(libctx, seed, qsize, 0) <= 0)
crypto/openssl/crypto/hpke/hpke.c
1431
if (RAND_bytes_ex(libctx, ct, ctlen, 0) <= 0) {
crypto/openssl/crypto/ml_kem/ml_kem.c
2275
if (RAND_bytes_ex(key->libctx, r, ML_KEM_RANDOM_BYTES,
crypto/openssl/crypto/ml_kem/ml_kem.c
2303
(void)RAND_bytes_ex(key->libctx, shared_secret,
crypto/openssl/crypto/pem/pvkfmt.c
1074
if (RAND_bytes_ex(libctx, p, PVK_SALTLEN, 0) <= 0)
crypto/openssl/crypto/pkcs12/p12_mutl.c
429
if (RAND_bytes_ex(p12->authsafes->ctx.libctx, p12->mac->salt->data,
crypto/openssl/crypto/pkcs12/p12_mutl.c
494
if (RAND_bytes_ex(NULL, known_salt, saltlen, 0) <= 0) {
crypto/openssl/crypto/pkcs7/pk7_doit.c
332
if (RAND_bytes_ex(libctx, iv, ivlen, 0) <= 0)
crypto/openssl/crypto/rand/rand_lib.c
515
return RAND_bytes_ex(NULL, buf, (size_t)num, 0);
crypto/openssl/crypto/rand/rand_uniform.c
41
if (RAND_bytes_ex(ctx, (unsigned char *)&rand, sizeof(rand), 0) <= 0) {
crypto/openssl/crypto/rand/rand_uniform.c
77
if (RAND_bytes_ex(ctx, (unsigned char *)&rand, sizeof(rand), 0) <= 0) {
crypto/openssl/crypto/rsa/rsa_oaep.c
122
if (RAND_bytes_ex(libctx, seed, mdlen, 0) <= 0)
crypto/openssl/crypto/rsa/rsa_pk1.c
147
if (RAND_bytes_ex(libctx, p, j, 0) <= 0)
crypto/openssl/crypto/rsa/rsa_pk1.c
152
if (RAND_bytes_ex(libctx, p, 1, 0) <= 0)
crypto/openssl/crypto/rsa/rsa_pss.c
242
if (RAND_bytes_ex(rsa->libctx, salt, sLen, 0) <= 0)
crypto/openssl/crypto/slh_dsa/slh_dsa_key.c
384
|| RAND_bytes_ex(lib_ctx, pub, pk_seed_len, 0) <= 0)
crypto/openssl/crypto/srp/srp_vfy.c
651
if (RAND_bytes_ex(libctx, tmp2, SRP_RANDOM_SALT_LEN, 0) <= 0)
crypto/openssl/crypto/srp/srp_vfy.c
731
if (RAND_bytes_ex(libctx, tmp2, SRP_RANDOM_SALT_LEN, 0) <= 0)
crypto/openssl/fuzz/ml-dsa.c
324
|| !RAND_bytes_ex(NULL, tbs, tbslen, 0)) {
crypto/openssl/fuzz/ml-dsa.c
401
|| !RAND_bytes_ex(NULL, tbs, tbslen, 0)) {
crypto/openssl/include/openssl/rand.h
77
int RAND_bytes_ex(OSSL_LIB_CTX *ctx, unsigned char *buf, size_t num,
crypto/openssl/providers/fips/fipsprov.c
138
return RAND_bytes_ex(libctx, buf, n, strength);
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
146
if (RAND_bytes_ex(ctx->base.libctx, (IVs = blocks[0].c), 16 * x4, 0) <= 0)
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
150
if (RAND_bytes_ex(ctx->base.libctx, (IVs = blocks[0].c), 16 * x4, 0) <= 0)
crypto/openssl/providers/implementations/ciphers/cipher_tdes_wrap.c
99
if (RAND_bytes_ex(ctx->libctx, ctx->iv, ivlen, 0) <= 0)
crypto/openssl/providers/implementations/ciphers/ciphercommon_gcm.c
404
if (RAND_bytes_ex(ctx->libctx, ctx->iv + offset, sz, 0) <= 0)
crypto/openssl/providers/implementations/ciphers/ciphercommon_gcm.c
517
if (RAND_bytes_ex(ctx->libctx, ctx->iv + len, ctx->ivlen - len, 0) <= 0)
crypto/openssl/ssl/quic/quic_lcidm.c
122
if (!RAND_bytes_ex(libctx, (unsigned char *)&lcidm->hash_key,
crypto/openssl/ssl/quic/quic_port.c
1452
if (!RAND_bytes_ex(ch->port->engine->libctx, rscid.id, 8, 0)) {
crypto/openssl/ssl/quic/quic_port.c
181
|| !RAND_bytes_ex(port->engine->libctx, token_key, key_len, 0)
crypto/openssl/ssl/quic/quic_port.c
967
if (!RAND_bytes_ex(port->engine->libctx, ciphertext, iv_len, 0)
crypto/openssl/ssl/quic/quic_types.c
22
if (RAND_bytes_ex(libctx, cid->id, len, len * 8) != 1) {
crypto/openssl/ssl/record/methods/ktls_meth.c
196
if (RAND_bytes_ex(libctx, geniv,
crypto/openssl/ssl/record/methods/tls1_meth.c
221
} else if (RAND_bytes_ex(rl->libctx, recs[ctr].input,
crypto/openssl/ssl/record/methods/tls_pad.c
240
if (RAND_bytes_ex(libctx, randmac, mac_size, 0) <= 0)
crypto/openssl/ssl/s3_lib.c
5185
ret = RAND_bytes_ex(SSL_CONNECTION_GET_CTX(s)->libctx, p, len - 4, 0);
crypto/openssl/ssl/s3_lib.c
5187
ret = RAND_bytes_ex(SSL_CONNECTION_GET_CTX(s)->libctx, result, len, 0);
crypto/openssl/ssl/ssl_lib.c
4148
if ((RAND_bytes_ex(libctx, ret->ext.tick_key_name,
crypto/openssl/ssl/ssl_sess.c
326
if (RAND_bytes_ex(ssl->ctx->libctx, id, *id_len, 0) <= 0)
crypto/openssl/ssl/statem/statem_clnt.c
1277
&& RAND_bytes_ex(sctx->libctx, s->tmp_session_id,
crypto/openssl/ssl/statem/statem_clnt.c
3140
if (RAND_bytes_ex(sctx->libctx, pms + 2, pmslen - 2, 0) <= 0) {
crypto/openssl/ssl/statem/statem_clnt.c
3346
|| RAND_bytes_ex(sctx->libctx, pms, pmslen, 0) <= 0) {
crypto/openssl/ssl/statem/statem_clnt.c
3478
if (RAND_bytes_ex(sctx->libctx, pms, pmslen, 0) <= 0) {
crypto/openssl/ssl/statem/statem_srvr.c
2875
if (RAND_bytes_ex(SSL_CONNECTION_GET_CTX(s)->libctx,
crypto/openssl/ssl/statem/statem_srvr.c
4109
|| RAND_bytes_ex(sctx->libctx, iv, iv_len, 0) <= 0
crypto/openssl/ssl/statem/statem_srvr.c
4253
if (RAND_bytes_ex(SSL_CONNECTION_GET_CTX(s)->libctx,
crypto/openssl/test/cmp_client_test.c
581
|| !TEST_int_eq(1, RAND_bytes_ex(libctx, ref, sizeof(ref), 0))) { /* not actually used */
crypto/openssl/test/cmp_msg_test.c
149
if (!TEST_int_eq(1, RAND_bytes_ex(libctx, secret, sizeof(secret), 0))
crypto/openssl/test/cmp_msg_test.c
560
|| !TEST_int_eq(1, RAND_bytes_ex(libctx, ref, sizeof(ref), 0))) {
crypto/openssl/test/provfetchtest.c
216
if (RAND_bytes_ex(libctx, buf, sizeof(buf), 0) <= 0)
crypto/openssl/test/provfetchtest.c
274
|| !TEST_int_ge(RAND_bytes_ex(libctx, buf, sizeof(buf), 0), 1))
crypto/openssl/test/quicapitest.c
1059
if (!TEST_int_eq(RAND_bytes_ex(libctx, msg, msglen, 0), 1))
crypto/openssl/test/rand_test.c
232
|| !RAND_bytes_ex(ctx, buf, sizeof(buf), 256)
crypto/openssl/test/rand_test.c
240
|| !RAND_bytes_ex(ctx, buf, sizeof(buf), 256)
crypto/openssl/test/rand_test.c
246
|| !RAND_bytes_ex(ctx, buf, sizeof(buf), 256)
crypto/openssl/test/sslapitest.c
11698
if (!TEST_int_gt(RAND_bytes_ex(libctx, msg, msglen, 0), 0))
crypto/openssl/test/sslapitest.c
1385
if (!TEST_int_gt(RAND_bytes_ex(libctx, buf, SENDFILE_SZ, 0), 0))
crypto/openssl/test/threadstest.c
1207
if (!TEST_int_eq(RAND_bytes_ex(multi_libctx, &ch, 1, 64), 1))
crypto/openssl/test/tls-provider.c
3171
if (RAND_bytes_ex(libctx, (unsigned char *)&id, sizeof(id), 0) <= 0)
crypto/openssl/test/tls-provider.c
982
if (RAND_bytes_ex(gctx->libctx, key->privkey, XOR_KEY_SIZE, 0) <= 0) {