Lines Matching refs:drbg_cores
117 static const struct drbg_core drbg_cores[] = { variable
1561 drbg->core = &drbg_cores[coreref]; in drbg_instantiate()
1891 for (i = 0; ARRAY_SIZE(drbg_cores) > i; i++) { in drbg_convert_tfm_core()
1892 if (!memcmp(cra_driver_name + start, drbg_cores[i].cra_name, in drbg_convert_tfm_core()
2007 drbg->core = &drbg_cores[coreref]; in drbg_healthcheck_sanity()
2095 if (ARRAY_SIZE(drbg_cores) * 2 > ARRAY_SIZE(drbg_algs)) { in drbg_init()
2098 ARRAY_SIZE(drbg_cores) * 2, ARRAY_SIZE(drbg_algs)); in drbg_init()
2111 for (j = 0; ARRAY_SIZE(drbg_cores) > j; j++, i++) in drbg_init()
2112 drbg_fill_array(&drbg_algs[i], &drbg_cores[j], 1); in drbg_init()
2113 for (j = 0; ARRAY_SIZE(drbg_cores) > j; j++, i++) in drbg_init()
2114 drbg_fill_array(&drbg_algs[i], &drbg_cores[j], 0); in drbg_init()
2115 return crypto_register_rngs(drbg_algs, (ARRAY_SIZE(drbg_cores) * 2)); in drbg_init()
2120 crypto_unregister_rngs(drbg_algs, (ARRAY_SIZE(drbg_cores) * 2)); in drbg_exit()