Searched refs:crypto_default_rng (Results 1 – 8 of 8) sorted by relevance
/linux-5.19.10/crypto/ |
D | rng.c | 27 struct crypto_rng *crypto_default_rng; variable 28 EXPORT_SYMBOL_GPL(crypto_default_rng); 122 if (!crypto_default_rng) { in crypto_get_default_rng() 134 crypto_default_rng = rng; in crypto_get_default_rng() 164 crypto_free_rng(crypto_default_rng); in crypto_del_default_rng() 165 crypto_default_rng = NULL; in crypto_del_default_rng()
|
D | geniv.c | 122 err = crypto_rng_get_bytes(crypto_default_rng, ctx->salt, in aead_init_geniv()
|
D | dh.c | 391 err = crypto_rng_get_bytes(crypto_default_rng, (u8 *)key, in dh_safe_prime_gen_privkey()
|
D | ecc.c | 1493 err = crypto_rng_get_bytes(crypto_default_rng, (u8 *)priv, nbytes); in ecc_gen_privkey()
|
/linux-5.19.10/include/crypto/ |
D | rng.h | 58 extern struct crypto_rng *crypto_default_rng;
|
/linux-5.19.10/drivers/crypto/keembay/ |
D | keembay-ocs-ecc.c | 242 rc = crypto_rng_get_bytes(crypto_default_rng, sca, nbytes); in kmb_ecc_point_mult() 523 rc = crypto_rng_get_bytes(crypto_default_rng, (u8 *)priv, nbytes); in kmb_ecc_gen_privkey()
|
/linux-5.19.10/net/tipc/ |
D | crypto.c | 375 rc = crypto_rng_get_bytes(crypto_default_rng, skey->key, in tipc_aead_key_generate()
|
/linux-5.19.10/drivers/crypto/hisilicon/hpre/ |
D | hpre_crypto.c | 1361 ret = crypto_rng_get_bytes(crypto_default_rng, (u8 *)params->key, in ecdh_gen_privkey()
|