Lines Matching refs:drbg_cores
116 static const struct drbg_core drbg_cores[] = { variable
1531 drbg->core = &drbg_cores[coreref]; in drbg_instantiate()
1758 for (i = 0; ARRAY_SIZE(drbg_cores) > i; i++) { in drbg_convert_tfm_core()
1759 if (!memcmp(cra_driver_name + start, drbg_cores[i].cra_name, in drbg_convert_tfm_core()
1969 if (ARRAY_SIZE(drbg_cores) * 2 > ARRAY_SIZE(drbg_algs)) { in drbg_init()
1972 ARRAY_SIZE(drbg_cores) * 2, ARRAY_SIZE(drbg_algs)); in drbg_init()
1985 for (j = 0; ARRAY_SIZE(drbg_cores) > j; j++, i++) in drbg_init()
1986 drbg_fill_array(&drbg_algs[i], &drbg_cores[j], 1); in drbg_init()
1987 for (j = 0; ARRAY_SIZE(drbg_cores) > j; j++, i++) in drbg_init()
1988 drbg_fill_array(&drbg_algs[i], &drbg_cores[j], 0); in drbg_init()
1989 return crypto_register_rngs(drbg_algs, (ARRAY_SIZE(drbg_cores) * 2)); in drbg_init()
1994 crypto_unregister_rngs(drbg_algs, (ARRAY_SIZE(drbg_cores) * 2)); in drbg_exit()