Lines Matching refs:suite

155 	} suite;  member
1930 const struct hash_testvec *template = desc->suite.hash.vecs; in alg_test_hash()
1931 unsigned int tcount = desc->suite.hash.count; in alg_test_hash()
2244 const struct aead_test_suite *suite, in generate_aead_message() argument
2256 if (suite->aad_iv && vec->alen >= ivsize) in generate_aead_message()
2294 mutate_aead_message(vec, suite->aad_iv, ivsize); in generate_aead_message()
2297 if (suite->einval_allowed) in generate_aead_message()
2310 const struct aead_test_suite *suite, in generate_random_aead_testvec() argument
2359 generate_aead_message(req, suite, vec, prefer_inauthentic); in generate_random_aead_testvec()
2372 &ctx->test_desc->suite.aead, in try_to_generate_inauthentic_testvec()
2493 &ctx->test_desc->suite.aead, in test_aead_vs_generic_impl()
2542 for (i = 0; i < test_desc->suite.aead.count; i++) in test_aead_extra()
2544 test_desc->suite.aead.vecs[i].klen); in test_aead_extra()
2580 static int test_aead(int enc, const struct aead_test_suite *suite, in test_aead() argument
2587 for (i = 0; i < suite->count; i++) { in test_aead()
2588 err = test_aead_vec(enc, &suite->vecs[i], i, req, tsgls); in test_aead()
2599 const struct aead_test_suite *suite = &desc->suite.aead; in alg_test_aead() local
2605 if (suite->count <= 0) { in alg_test_aead()
2634 err = test_aead(ENCRYPT, suite, req, tsgls); in alg_test_aead()
2638 err = test_aead(DECRYPT, suite, req, tsgls); in alg_test_aead()
3148 static int test_skcipher(int enc, const struct cipher_test_suite *suite, in test_skcipher() argument
3155 for (i = 0; i < suite->count; i++) { in test_skcipher()
3156 err = test_skcipher_vec(enc, &suite->vecs[i], i, req, tsgls); in test_skcipher()
3167 const struct cipher_test_suite *suite = &desc->suite.cipher; in alg_test_skcipher() local
3173 if (suite->count <= 0) { in alg_test_skcipher()
3202 err = test_skcipher(ENCRYPT, suite, req, tsgls); in alg_test_skcipher()
3206 err = test_skcipher(DECRYPT, suite, req, tsgls); in alg_test_skcipher()
3558 const struct cipher_test_suite *suite = &desc->suite.cipher; in alg_test_cipher() local
3569 err = test_cipher(tfm, ENCRYPT, suite->vecs, suite->count); in alg_test_cipher()
3571 err = test_cipher(tfm, DECRYPT, suite->vecs, suite->count); in alg_test_cipher()
3592 err = test_acomp(acomp, desc->suite.comp.comp.vecs, in alg_test_comp()
3593 desc->suite.comp.decomp.vecs, in alg_test_comp()
3594 desc->suite.comp.comp.count, in alg_test_comp()
3595 desc->suite.comp.decomp.count); in alg_test_comp()
3605 err = test_comp(comp, desc->suite.comp.comp.vecs, in alg_test_comp()
3606 desc->suite.comp.decomp.vecs, in alg_test_comp()
3607 desc->suite.comp.comp.count, in alg_test_comp()
3608 desc->suite.comp.decomp.count); in alg_test_comp()
3681 err = test_cprng(rng, desc->suite.cprng.vecs, desc->suite.cprng.count); in alg_test_cprng()
3763 const struct drbg_testvec *template = desc->suite.drbg.vecs; in alg_test_drbg()
3764 unsigned int tcount = desc->suite.drbg.count; in alg_test_drbg()
3952 if (desc->suite.kpp.vecs) in alg_test_kpp()
3953 err = test_kpp(tfm, desc->alg, desc->suite.kpp.vecs, in alg_test_kpp()
3954 desc->suite.kpp.count); in alg_test_kpp()
4180 if (desc->suite.akcipher.vecs) in alg_test_akcipher()
4181 err = test_akcipher(tfm, desc->alg, desc->suite.akcipher.vecs, in alg_test_akcipher()
4182 desc->suite.akcipher.count); in alg_test_akcipher()
4203 .suite = {
4210 .suite = {
4216 .suite = {
4222 .suite = {
4228 .suite = {
4235 .suite = {
4241 .suite = {
4247 .suite = {
4257 .suite = {
4267 .suite = {
4273 .suite = {
4280 .suite = {
4286 .suite = {
4292 .suite = {
4306 .suite = {
4312 .suite = {
4327 .suite = {
4333 .suite = {
4339 .suite = {
4354 .suite = {
4361 .suite = {
4368 .suite = {
4375 .suite = {
4382 .suite = {
4388 .suite = {
4394 .suite = {
4400 .suite = {
4406 .suite = {
4412 .suite = {
4418 .suite = {
4424 .suite = {
4443 .suite = {
4449 .suite = {
4455 .suite = {
4463 .suite = {
4471 .suite = {
4477 .suite = {
4485 .suite = {
4495 .suite = {
4505 .suite = {
4511 .suite = {
4517 .suite = {
4524 .suite = {
4530 .suite = {
4536 .suite = {
4546 .suite = {
4553 .suite = {
4560 .suite = {
4567 .suite = {
4574 .suite = {
4580 .suite = {
4586 .suite = {
4592 .suite = {
4598 .suite = {
4604 .suite = {
4610 .suite = {
4630 .suite = {
4636 .suite = {
4642 .suite = {
4650 .suite = {
4658 .suite = {
4671 .suite = {
4678 .suite = {
4687 .suite = {
4697 .suite = {
4704 .suite = {
4711 .suite = {
4726 .suite = {
4738 .suite = {
4749 .suite = {
4765 .suite = {
4785 .suite = {
4805 .suite = {
4821 .suite = {
4827 .suite = {
4834 .suite = {
4840 .suite = {
4846 .suite = {
4852 .suite = {
4858 .suite = {
4868 .suite = {
4874 .suite = {
4880 .suite = {
4889 .suite = {
4902 .suite = {
4908 .suite = {
4914 .suite = {
4920 .suite = {
4926 .suite = {
4932 .suite = {
4938 .suite = {
4946 .suite = {
4953 .suite = {
4960 .suite = {
4967 .suite = {
4973 .suite = {
4979 .suite = {
4985 .suite = {
4991 .suite = {
4998 .suite = {
5005 .suite = {
5013 .suite = {
5020 .suite = {
5027 .suite = {
5034 .suite = {
5041 .suite = {
5050 .suite = {
5057 .suite = {
5064 .suite = {
5070 .suite = {
5076 .suite = {
5083 .suite = {
5090 .suite = {
5097 .suite = {
5104 .suite = {
5111 .suite = {
5118 .suite = {
5125 .suite = {
5132 .suite = {
5139 .suite = {
5145 .suite = {
5151 .suite = {
5157 .suite = {
5168 .suite = {
5175 .suite = {
5182 .suite = {
5189 .suite = {
5196 .suite = {
5203 .suite = {
5210 .suite = {
5220 .suite = {
5230 .suite = {
5240 .suite = {
5249 .suite = {
5255 .suite = {
5261 .suite = {
5267 .suite = {
5274 .suite = {
5287 .suite = {
5293 .suite = {
5304 .suite = {
5318 .suite = {
5325 .suite = {
5331 .suite = {
5339 .suite = {
5351 .suite = {
5362 .suite = {
5372 .suite = {
5378 .suite = {
5388 .suite = {
5395 .suite = {
5402 .suite = {
5409 .suite = {
5416 .suite = {
5423 .suite = {
5430 .suite = {
5437 .suite = {
5444 .suite = {
5451 .suite = {
5458 .suite = {
5464 .suite = {
5470 .suite = {
5476 .suite = {
5482 .suite = {
5488 .suite = {
5494 .suite = {
5500 .suite = {
5506 .suite = {
5512 .suite = {
5518 .suite = {
5524 .suite = {
5532 .suite = {
5539 .suite = {
5546 .suite = {
5560 .suite = {
5567 .suite = {
5575 .suite = {
5591 .suite = {
5598 .suite = {
5608 .suite = {