Searched refs:drbg (Results 1 – 4 of 4) sorted by relevance
195 static int drbg_uninstantiate(struct drbg_state *drbg);242 static int drbg_fips_continuous_test(struct drbg_state *drbg, in drbg_fips_continuous_test() argument245 unsigned short entropylen = drbg_sec_strength(drbg->core->flags); in drbg_fips_continuous_test()252 if (list_empty(&drbg->test_data.list)) in drbg_fips_continuous_test()258 if (!drbg->fips_primed) { in drbg_fips_continuous_test()260 memcpy(drbg->prev, entropy, entropylen); in drbg_fips_continuous_test()261 drbg->fips_primed = true; in drbg_fips_continuous_test()265 ret = memcmp(drbg->prev, entropy, entropylen); in drbg_fips_continuous_test()268 memcpy(drbg->prev, entropy, entropylen); in drbg_fips_continuous_test()307 static void drbg_kcapi_symsetkey(struct drbg_state *drbg,[all …]
138 struct drbg_testvec drbg; member466 const struct drbg_testvec *vec = &test->drbg; in fips_test_drbg()525 if (test->drbg.entpr_size) { in fips_test_drbg()907 .drbg = {
162 obj-$(CONFIG_CRYPTO_DRBG) += drbg.o218 crypto-fips-objs := drbg.o ecb.o cbc.o ctr.o cts.o gcm.o xts.o hmac.o cmac.o \
155 struct drbg_test_suite drbg; member3712 const struct drbg_testvec *template = desc->suite.drbg.vecs; in alg_test_drbg()3713 unsigned int tcount = desc->suite.drbg.count; in alg_test_drbg()4649 .drbg = __VECS(drbg_nopr_ctr_aes128_tv_template)4656 .drbg = __VECS(drbg_nopr_ctr_aes192_tv_template)4663 .drbg = __VECS(drbg_nopr_ctr_aes256_tv_template)4678 .drbg = __VECS(drbg_nopr_hmac_sha256_tv_template)4690 .drbg = __VECS(drbg_nopr_hmac_sha512_tv_template)4701 .drbg = __VECS(drbg_nopr_sha256_tv_template)4717 .drbg = __VECS(drbg_pr_ctr_aes128_tv_template)[all …]