Home
last modified time | relevance | path

Searched refs:crypto_default_rng (Results 1 – 8 of 8) sorted by relevance

/linux-5.19.10/crypto/
Drng.c27 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()
Dgeniv.c122 err = crypto_rng_get_bytes(crypto_default_rng, ctx->salt, in aead_init_geniv()
Ddh.c391 err = crypto_rng_get_bytes(crypto_default_rng, (u8 *)key, in dh_safe_prime_gen_privkey()
Decc.c1493 err = crypto_rng_get_bytes(crypto_default_rng, (u8 *)priv, nbytes); in ecc_gen_privkey()
/linux-5.19.10/include/crypto/
Drng.h58 extern struct crypto_rng *crypto_default_rng;
/linux-5.19.10/drivers/crypto/keembay/
Dkeembay-ocs-ecc.c242 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/
Dcrypto.c375 rc = crypto_rng_get_bytes(crypto_default_rng, skey->key, in tipc_aead_key_generate()
/linux-5.19.10/drivers/crypto/hisilicon/hpre/
Dhpre_crypto.c1361 ret = crypto_rng_get_bytes(crypto_default_rng, (u8 *)params->key, in ecdh_gen_privkey()