Searched refs:drbg (Results 1 – 3 of 3) sorted by relevance
194 static int drbg_uninstantiate(struct drbg_state *drbg);241 static int drbg_fips_continuous_test(struct drbg_state *drbg, in drbg_fips_continuous_test() argument244 unsigned short entropylen = drbg_sec_strength(drbg->core->flags); in drbg_fips_continuous_test()251 if (list_empty(&drbg->test_data.list)) in drbg_fips_continuous_test()257 if (!drbg->fips_primed) { in drbg_fips_continuous_test()259 memcpy(drbg->prev, entropy, entropylen); in drbg_fips_continuous_test()260 drbg->fips_primed = true; in drbg_fips_continuous_test()264 ret = memcmp(drbg->prev, entropy, entropylen); in drbg_fips_continuous_test()267 memcpy(drbg->prev, entropy, entropylen); in drbg_fips_continuous_test()306 static void drbg_kcapi_symsetkey(struct drbg_state *drbg,[all …]
137 struct drbg_test_suite drbg; member3442 const struct drbg_testvec *template = desc->suite.drbg.vecs; in alg_test_drbg()3443 unsigned int tcount = desc->suite.drbg.count; in alg_test_drbg()4287 .drbg = __VECS(drbg_nopr_ctr_aes128_tv_template)4294 .drbg = __VECS(drbg_nopr_ctr_aes192_tv_template)4301 .drbg = __VECS(drbg_nopr_ctr_aes256_tv_template)4316 .drbg = __VECS(drbg_nopr_hmac_sha256_tv_template)4336 .drbg = __VECS(drbg_nopr_sha256_tv_template)4352 .drbg = __VECS(drbg_pr_ctr_aes128_tv_template)4372 .drbg = __VECS(drbg_pr_hmac_sha256_tv_template)[all …]
152 obj-$(CONFIG_CRYPTO_DRBG) += drbg.o