Searched refs:rng (Results 1 – 6 of 6) sorted by relevance
/crypto/ |
D | rng.c | 113 struct crypto_rng *rng; in crypto_get_default_rng() local 118 rng = crypto_alloc_rng("stdrng", 0, 0); in crypto_get_default_rng() 119 err = PTR_ERR(rng); in crypto_get_default_rng() 120 if (IS_ERR(rng)) in crypto_get_default_rng() 123 err = crypto_rng_reset(rng, NULL, crypto_rng_seedsize(rng)); in crypto_get_default_rng() 125 crypto_free_rng(rng); in crypto_get_default_rng() 129 crypto_default_rng = rng; in crypto_get_default_rng()
|
D | krng.c | 39 .rng = {
|
D | ansi_cprng.c | 434 .rng = { 452 .rng = {
|
D | Makefile | 95 obj-$(CONFIG_CRYPTO_RNG2) += rng.o
|
D | testmgr.c | 1711 struct crypto_rng *rng; in alg_test_cprng() local 1714 rng = crypto_alloc_rng(driver, type, mask); in alg_test_cprng() 1715 if (IS_ERR(rng)) { in alg_test_cprng() 1717 "%ld\n", driver, PTR_ERR(rng)); in alg_test_cprng() 1718 return PTR_ERR(rng); in alg_test_cprng() 1721 err = test_cprng(rng, desc->suite.cprng.vecs, desc->suite.cprng.count); in alg_test_cprng() 1723 crypto_free_rng(rng); in alg_test_cprng()
|
D | drbg.c | 1931 alg->cra_u.rng.rng_make_random = drbg_kcapi_random; in drbg_fill_array() 1932 alg->cra_u.rng.rng_reset = drbg_kcapi_reset; in drbg_fill_array() 1933 alg->cra_u.rng.seedsize = 0; in drbg_fill_array()
|