RAND_bytes_ex
r = RAND_bytes_ex(app_get0_libctx(), buf, chunk, 0);
if (RAND_bytes_ex(libctx, (unsigned char *)bound, 32, 0) <= 0)
else if (RAND_bytes_ex(ctx, sstr, saltlen, 0) <= 0)
} else if (RAND_bytes_ex(libctx, osalt->data, saltlen, 0) <= 0) {
else if (RAND_bytes_ex(libctx, iv, ivlen, 0) <= 0)
b = flag == NORMAL ? RAND_bytes_ex(libctx, buf, bytes, strength)
if (RAND_bytes_ex(libctx, &c, 1, strength) <= 0)
if (bytes == NULL || RAND_bytes_ex(ctx->libctx, bytes, len, 0) <= 0)
if (RAND_bytes_ex(libctx, iv, ivlen, 0) <= 0)
if (RAND_bytes_ex(libctx, rr->signedContentIdentifier->data, 32,
if (RAND_bytes_ex(ossl_cms_ctx_get0_libctx(cms_ctx), iv, ivlen, 0) <= 0)
&& RAND_bytes_ex(ossl_cms_ctx_get0_libctx(cms_ctx), out + 4 + inlen,
if (RAND_bytes_ex(libctx, salt, slen, 0) <= 0) {
&& RAND_bytes_ex(libctx, seed, seedlen, 0) <= 0)
if (generate_seed && RAND_bytes_ex(libctx, seed, qsize, 0) <= 0)
if (RAND_bytes_ex(libctx, ct, ctlen, 0) <= 0) {
if (RAND_bytes_ex(key->libctx, r, ML_KEM_RANDOM_BYTES,
(void)RAND_bytes_ex(key->libctx, shared_secret,
if (RAND_bytes_ex(libctx, p, PVK_SALTLEN, 0) <= 0)
if (RAND_bytes_ex(p12->authsafes->ctx.libctx, p12->mac->salt->data,
if (RAND_bytes_ex(NULL, known_salt, saltlen, 0) <= 0) {
if (RAND_bytes_ex(libctx, iv, ivlen, 0) <= 0)
return RAND_bytes_ex(NULL, buf, (size_t)num, 0);
if (RAND_bytes_ex(ctx, (unsigned char *)&rand, sizeof(rand), 0) <= 0) {
if (RAND_bytes_ex(ctx, (unsigned char *)&rand, sizeof(rand), 0) <= 0) {
if (RAND_bytes_ex(libctx, seed, mdlen, 0) <= 0)
if (RAND_bytes_ex(libctx, p, j, 0) <= 0)
if (RAND_bytes_ex(libctx, p, 1, 0) <= 0)
if (RAND_bytes_ex(rsa->libctx, salt, sLen, 0) <= 0)
|| RAND_bytes_ex(lib_ctx, pub, pk_seed_len, 0) <= 0)
if (RAND_bytes_ex(libctx, tmp2, SRP_RANDOM_SALT_LEN, 0) <= 0)
if (RAND_bytes_ex(libctx, tmp2, SRP_RANDOM_SALT_LEN, 0) <= 0)
|| !RAND_bytes_ex(NULL, tbs, tbslen, 0)) {
|| !RAND_bytes_ex(NULL, tbs, tbslen, 0)) {
int RAND_bytes_ex(OSSL_LIB_CTX *ctx, unsigned char *buf, size_t num,
return RAND_bytes_ex(libctx, buf, n, strength);
if (RAND_bytes_ex(ctx->base.libctx, (IVs = blocks[0].c), 16 * x4, 0) <= 0)
if (RAND_bytes_ex(ctx->base.libctx, (IVs = blocks[0].c), 16 * x4, 0) <= 0)
if (RAND_bytes_ex(ctx->libctx, ctx->iv, ivlen, 0) <= 0)
if (RAND_bytes_ex(ctx->libctx, ctx->iv + offset, sz, 0) <= 0)
if (RAND_bytes_ex(ctx->libctx, ctx->iv + len, ctx->ivlen - len, 0) <= 0)
if (!RAND_bytes_ex(libctx, (unsigned char *)&lcidm->hash_key,
if (!RAND_bytes_ex(ch->port->engine->libctx, rscid.id, 8, 0)) {
|| !RAND_bytes_ex(port->engine->libctx, token_key, key_len, 0)
if (!RAND_bytes_ex(port->engine->libctx, ciphertext, iv_len, 0)
if (RAND_bytes_ex(libctx, cid->id, len, len * 8) != 1) {
if (RAND_bytes_ex(libctx, geniv,
} else if (RAND_bytes_ex(rl->libctx, recs[ctr].input,
if (RAND_bytes_ex(libctx, randmac, mac_size, 0) <= 0)
ret = RAND_bytes_ex(SSL_CONNECTION_GET_CTX(s)->libctx, p, len - 4, 0);
ret = RAND_bytes_ex(SSL_CONNECTION_GET_CTX(s)->libctx, result, len, 0);
if ((RAND_bytes_ex(libctx, ret->ext.tick_key_name,
if (RAND_bytes_ex(ssl->ctx->libctx, id, *id_len, 0) <= 0)
&& RAND_bytes_ex(sctx->libctx, s->tmp_session_id,
if (RAND_bytes_ex(sctx->libctx, pms + 2, pmslen - 2, 0) <= 0) {
|| RAND_bytes_ex(sctx->libctx, pms, pmslen, 0) <= 0) {
if (RAND_bytes_ex(sctx->libctx, pms, pmslen, 0) <= 0) {
if (RAND_bytes_ex(SSL_CONNECTION_GET_CTX(s)->libctx,
|| RAND_bytes_ex(sctx->libctx, iv, iv_len, 0) <= 0
if (RAND_bytes_ex(SSL_CONNECTION_GET_CTX(s)->libctx,
|| !TEST_int_eq(1, RAND_bytes_ex(libctx, ref, sizeof(ref), 0))) { /* not actually used */
if (!TEST_int_eq(1, RAND_bytes_ex(libctx, secret, sizeof(secret), 0))
|| !TEST_int_eq(1, RAND_bytes_ex(libctx, ref, sizeof(ref), 0))) {
if (RAND_bytes_ex(libctx, buf, sizeof(buf), 0) <= 0)
|| !TEST_int_ge(RAND_bytes_ex(libctx, buf, sizeof(buf), 0), 1))
if (!TEST_int_eq(RAND_bytes_ex(libctx, msg, msglen, 0), 1))
|| !RAND_bytes_ex(ctx, buf, sizeof(buf), 256)
|| !RAND_bytes_ex(ctx, buf, sizeof(buf), 256)
|| !RAND_bytes_ex(ctx, buf, sizeof(buf), 256)
if (!TEST_int_gt(RAND_bytes_ex(libctx, msg, msglen, 0), 0))
if (!TEST_int_gt(RAND_bytes_ex(libctx, buf, SENDFILE_SZ, 0), 0))
if (!TEST_int_eq(RAND_bytes_ex(multi_libctx, &ch, 1, 64), 1))
if (RAND_bytes_ex(libctx, (unsigned char *)&id, sizeof(id), 0) <= 0)
if (RAND_bytes_ex(gctx->libctx, key->privkey, XOR_KEY_SIZE, 0) <= 0) {