Home
last modified time | relevance | path

Searched refs:RAND_priv_bytes_ex (Results 1 – 11 of 11) sorted by relevance

/crypto/evp/
A Dp_seal.c46 if (len < 0 || RAND_priv_bytes_ex(libctx, iv, len, 0) <= 0) in EVP_SealInit()
A Devp_enc.c1760 if (kl <= 0 || RAND_priv_bytes_ex(libctx, key, kl, 0) <= 0) in EVP_CIPHER_CTX_rand_key()
/crypto/bn/
A Dbn_rand.c49 : RAND_priv_bytes_ex(libctx, buf, bytes, strength); in bnrand()
346 if (RAND_priv_bytes_ex(libctx, random_bytes, sizeof(random_bytes), in ossl_bn_gen_dsa_nonce_fixed_top()
/crypto/ec/
A Decx_meth.c963 if (RAND_priv_bytes_ex(ctx->libctx, privkey, X25519_KEYLEN, 0) <= 0) in s390x_pkey_ecx_keygen25519()
1006 if (RAND_priv_bytes_ex(ctx->libctx, privkey, X448_KEYLEN, 0) <= 0) in s390x_pkey_ecx_keygen448()
1055 if (RAND_priv_bytes_ex(ctx->libctx, privkey, ED25519_KEYLEN, 0) <= 0) in s390x_pkey_ecd_keygen25519()
1121 if (RAND_priv_bytes_ex(ctx->libctx, privkey, ED448_KEYLEN, 0) <= 0) in s390x_pkey_ecd_keygen448()
A Decx_backend.c203 if (RAND_priv_bytes_ex(libctx, privkey, KEYLENID(id), 0) <= 0) in ossl_ecx_key_op()
A Decp_s390x_nistp.c187 if (RAND_priv_bytes_ex(eckey->libctx, param + S390X_OFF_RN(len), in ecdsa_s390x_nistp_sign_sig()
/crypto/rand/
A Drand_lib.c417 int RAND_priv_bytes_ex(OSSL_LIB_CTX *ctx, unsigned char *buf, size_t num, in RAND_priv_bytes_ex() function
457 return RAND_priv_bytes_ex(NULL, buf, (size_t)num, 0); in RAND_priv_bytes()
/crypto/slh_dsa/
A Dslh_dsa_key.c364 if (RAND_priv_bytes_ex(lib_ctx, priv, secret_key_len, 0) <= 0 in ossl_slh_dsa_generate_key()
/crypto/rsa/
A Drsa_pk1.c570 if (RAND_priv_bytes_ex(libctx, rand_premaster_secret, in ossl_rsa_padding_check_PKCS1_type_2_TLS()
/crypto/ml_dsa/
A Dml_dsa_key.c474 if (RAND_priv_bytes_ex(out->libctx, out->seed, seed_len, 0) <= 0) { in ossl_ml_dsa_generate_key()
/crypto/ml_kem/
A Dml_kem.c1897 } else if (RAND_priv_bytes_ex(key->libctx, seed, sizeof(seed), in ossl_ml_kem_genkey()

Completed in 43 milliseconds