Home
last modified time | relevance | path

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

/openbmc/linux/crypto/
H A Ddrbg.c2066 static struct rng_alg drbg_algs[22]; variable
2120 if (ARRAY_SIZE(drbg_cores) * 2 > ARRAY_SIZE(drbg_algs)) { in drbg_init()
2123 ARRAY_SIZE(drbg_cores) * 2, ARRAY_SIZE(drbg_algs)); in drbg_init()
2137 drbg_fill_array(&drbg_algs[i], &drbg_cores[j], 1); in drbg_init()
2139 drbg_fill_array(&drbg_algs[i], &drbg_cores[j], 0); in drbg_init()
2140 return crypto_register_rngs(drbg_algs, (ARRAY_SIZE(drbg_cores) * 2)); in drbg_init()
2145 crypto_unregister_rngs(drbg_algs, (ARRAY_SIZE(drbg_cores) * 2)); in drbg_exit()