Lines Matching refs:drbg_algs
2066 static struct rng_alg drbg_algs[22];
2069 * Fill the array drbg_algs used to register the different DRBGs
2112 unsigned int i = 0; /* pointer to drbg_algs */
2120 if (ARRAY_SIZE(drbg_cores) * 2 > ARRAY_SIZE(drbg_algs)) {
2123 ARRAY_SIZE(drbg_cores) * 2, ARRAY_SIZE(drbg_algs));
2131 * As the order of placing them into the drbg_algs array matters
2137 drbg_fill_array(&drbg_algs[i], &drbg_cores[j], 1);
2139 drbg_fill_array(&drbg_algs[i], &drbg_cores[j], 0);
2140 return crypto_register_rngs(drbg_algs, (ARRAY_SIZE(drbg_cores) * 2));
2145 crypto_unregister_rngs(drbg_algs, (ARRAY_SIZE(drbg_cores) * 2));