Lines Matching refs:drbg_cores
116 static const struct drbg_core drbg_cores[] = { variable
1476 drbg->core = &drbg_cores[coreref]; in drbg_instantiate()
1810 for (i = 0; ARRAY_SIZE(drbg_cores) > i; i++) { in drbg_convert_tfm_core()
1811 if (!memcmp(cra_driver_name + start, drbg_cores[i].cra_name, in drbg_convert_tfm_core()
1926 drbg->core = &drbg_cores[coreref]; in drbg_healthcheck_sanity()
2014 if (ARRAY_SIZE(drbg_cores) * 2 > ARRAY_SIZE(drbg_algs)) { in drbg_init()
2017 ARRAY_SIZE(drbg_cores) * 2, ARRAY_SIZE(drbg_algs)); in drbg_init()
2030 for (j = 0; ARRAY_SIZE(drbg_cores) > j; j++, i++) in drbg_init()
2031 drbg_fill_array(&drbg_algs[i], &drbg_cores[j], 1); in drbg_init()
2032 for (j = 0; ARRAY_SIZE(drbg_cores) > j; j++, i++) in drbg_init()
2033 drbg_fill_array(&drbg_algs[i], &drbg_cores[j], 0); in drbg_init()
2034 return crypto_register_rngs(drbg_algs, (ARRAY_SIZE(drbg_cores) * 2)); in drbg_init()
2039 crypto_unregister_rngs(drbg_algs, (ARRAY_SIZE(drbg_cores) * 2)); in drbg_exit()