Searched refs:crypto_rng_get_bytes (Results 1 – 10 of 10) sorted by relevance
/linux/Documentation/crypto/ |
H A D | api-rng.rst | 14 :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 D | api-samples.rst | 176 ret = crypto_rng_get_bytes(rng, buf, len);
|
/linux/include/crypto/ |
H A D | rng.h | 148 * 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 D | geniv.c | 121 err = crypto_rng_get_bytes(crypto_default_rng, ctx->salt, in aead_init_geniv()
|
H A D | dh.c | 395 err = crypto_rng_get_bytes(crypto_default_rng, (u8 *)key, in dh_safe_prime_gen_privkey()
|
H A D | drbg.c | 58 * 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 D | ecc.c | 1552 err = crypto_rng_get_bytes(crypto_default_rng, in ecc_gen_privkey()
|
H A D | testmgr.c | 3480 err = crypto_rng_get_bytes(tfm, result, in test_cprng()
|
/linux/drivers/crypto/intel/keembay/ |
H A D | keembay-ocs-ecc.c | 237 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 D | hpre_crypto.c | 1391 ret = crypto_rng_get_bytes(crypto_default_rng, (u8 *)params->key, in ecdh_gen_privkey()
|