Home
last modified time | relevance | path

Searched refs:crypto_rng_get_bytes (Results 1 – 10 of 10) sorted by relevance

/linux/Documentation/crypto/
H A Dapi-rng.rst14 :functions: crypto_alloc_rng crypto_rng_alg crypto_free_rng crypto_rng_generate crypto_rng_get_bytes crypto_rng_reset crypto_rng_seedsize
H A Dapi-samples.rst176 ret = crypto_rng_get_bytes(rng, buf, len);
/linux/include/crypto/
H A Drng.h148 * crypto_rng_get_bytes() - get random number
158 static inline int crypto_rng_get_bytes(struct crypto_rng *tfm, in crypto_rng_get_bytes() function
/linux/crypto/
H A Dgeniv.c121 err = crypto_rng_get_bytes(crypto_default_rng, ctx->salt, in aead_init_geniv()
H A Ddh.c395 err = crypto_rng_get_bytes(crypto_default_rng, (u8 *)key, in dh_safe_prime_gen_privkey()
H A Ddrbg.c58 * err = crypto_rng_get_bytes(drng, &data, DATALEN);
75 * err = crypto_rng_get_bytes(drng, &data, DATALEN);
89 * // The following call is a wrapper to crypto_rng_get_bytes() and returns
1185 ret = crypto_rng_get_bytes(drbg->jent, in drbg_seed()
H A Decc.c1552 err = crypto_rng_get_bytes(crypto_default_rng, in ecc_gen_privkey()
H A Dtestmgr.c3480 err = crypto_rng_get_bytes(tfm, result, in test_cprng()
/linux/drivers/crypto/intel/keembay/
H A Dkeembay-ocs-ecc.c237 rc = crypto_rng_get_bytes(crypto_default_rng, sca, nbytes); in kmb_ecc_point_mult()
518 rc = crypto_rng_get_bytes(crypto_default_rng, (u8 *)priv, nbytes); in kmb_ecc_gen_privkey()
/linux/drivers/crypto/hisilicon/hpre/
H A Dhpre_crypto.c1391 ret = crypto_rng_get_bytes(crypto_default_rng, (u8 *)params->key, in ecdh_gen_privkey()