Lines Matching refs:drbg_cores
116 static const struct drbg_core drbg_cores[] = { variable
1578 drbg->core = &drbg_cores[coreref]; in drbg_instantiate()
1913 for (i = 0; ARRAY_SIZE(drbg_cores) > i; i++) { in drbg_convert_tfm_core()
1914 if (!memcmp(cra_driver_name + start, drbg_cores[i].cra_name, in drbg_convert_tfm_core()
2029 drbg->core = &drbg_cores[coreref]; in drbg_healthcheck_sanity()
2117 if (ARRAY_SIZE(drbg_cores) * 2 > ARRAY_SIZE(drbg_algs)) { in drbg_init()
2120 ARRAY_SIZE(drbg_cores) * 2, ARRAY_SIZE(drbg_algs)); in drbg_init()
2133 for (j = 0; ARRAY_SIZE(drbg_cores) > j; j++, i++) in drbg_init()
2134 drbg_fill_array(&drbg_algs[i], &drbg_cores[j], 1); in drbg_init()
2135 for (j = 0; ARRAY_SIZE(drbg_cores) > j; j++, i++) in drbg_init()
2136 drbg_fill_array(&drbg_algs[i], &drbg_cores[j], 0); in drbg_init()
2137 return crypto_register_rngs(drbg_algs, (ARRAY_SIZE(drbg_cores) * 2)); in drbg_init()
2142 crypto_unregister_rngs(drbg_algs, (ARRAY_SIZE(drbg_cores) * 2)); in drbg_exit()