Lines Matching refs:drbg_algs
2040 static struct rng_alg drbg_algs[22];
2043 * Fill the array drbg_algs used to register the different DRBGs
2086 unsigned int i = 0; /* pointer to drbg_algs */
2094 if (ARRAY_SIZE(drbg_cores) * 2 > ARRAY_SIZE(drbg_algs)) {
2097 ARRAY_SIZE(drbg_cores) * 2, ARRAY_SIZE(drbg_algs));
2105 * As the order of placing them into the drbg_algs array matters
2111 drbg_fill_array(&drbg_algs[i], &drbg_cores[j], 1);
2113 drbg_fill_array(&drbg_algs[i], &drbg_cores[j], 0);
2114 return crypto_register_rngs(drbg_algs, (ARRAY_SIZE(drbg_cores) * 2));
2119 crypto_unregister_rngs(drbg_algs, (ARRAY_SIZE(drbg_cores) * 2));