Lines Matching refs:test
145 int (*test)(const struct alg_test_desc *desc, const char *driver, member
3656 static int drbg_cavs_test(const struct drbg_testvec *test, int pr, in drbg_cavs_test() argument
3663 unsigned char *buf = kzalloc(test->expectedlen, GFP_KERNEL); in drbg_cavs_test()
3677 drbg_string_fill(&testentropy, test->entropy, test->entropylen); in drbg_cavs_test()
3678 drbg_string_fill(&pers, test->pers, test->perslen); in drbg_cavs_test()
3685 drbg_string_fill(&addtl, test->addtla, test->addtllen); in drbg_cavs_test()
3687 drbg_string_fill(&testentropy, test->entpra, test->entprlen); in drbg_cavs_test()
3689 buf, test->expectedlen, &addtl, &test_data); in drbg_cavs_test()
3692 buf, test->expectedlen, &addtl); in drbg_cavs_test()
3700 drbg_string_fill(&addtl, test->addtlb, test->addtllen); in drbg_cavs_test()
3702 drbg_string_fill(&testentropy, test->entprb, test->entprlen); in drbg_cavs_test()
3704 buf, test->expectedlen, &addtl, &test_data); in drbg_cavs_test()
3707 buf, test->expectedlen, &addtl); in drbg_cavs_test()
3715 ret = memcmp(test->expected, buf, test->expectedlen); in drbg_cavs_test()
4169 .test = alg_test_skcipher,
4176 .test = alg_test_skcipher,
4182 .test = alg_test_aead,
4188 .test = alg_test_cprng,
4194 .test = alg_test_aead,
4200 .test = alg_test_aead,
4207 .test = alg_test_aead,
4213 .test = alg_test_aead,
4220 .test = alg_test_null,
4224 .test = alg_test_aead,
4230 .test = alg_test_null,
4234 .test = alg_test_aead,
4240 .test = alg_test_aead,
4247 .test = alg_test_aead,
4254 .test = alg_test_aead,
4260 .test = alg_test_aead,
4267 .test = alg_test_null,
4271 .test = alg_test_null,
4275 .test = alg_test_aead,
4281 .test = alg_test_aead,
4288 .test = alg_test_null,
4292 .test = alg_test_null,
4297 .test = alg_test_aead,
4303 .test = alg_test_aead,
4309 .test = alg_test_aead,
4316 .test = alg_test_null,
4320 .test = alg_test_null,
4324 .test = alg_test_hash,
4331 .test = alg_test_hash,
4338 .test = alg_test_hash,
4345 .test = alg_test_hash,
4352 .test = alg_test_hash,
4358 .test = alg_test_hash,
4364 .test = alg_test_hash,
4370 .test = alg_test_hash,
4376 .test = alg_test_skcipher,
4383 .test = alg_test_skcipher,
4389 .test = alg_test_skcipher,
4395 .test = alg_test_skcipher,
4401 .test = alg_test_skcipher,
4407 .test = alg_test_skcipher,
4413 .test = alg_test_skcipher,
4419 .test = alg_test_skcipher,
4429 .test = alg_test_null,
4436 .test = alg_test_null,
4439 .test = alg_test_skcipher,
4445 .test = alg_test_skcipher,
4451 .test = alg_test_skcipher,
4459 .test = alg_test_skcipher,
4467 .test = alg_test_hash,
4474 .test = alg_test_aead,
4484 .test = alg_test_skcipher,
4491 .test = alg_test_skcipher,
4497 .test = alg_test_skcipher,
4504 .test = alg_test_hash,
4511 .test = alg_test_hash,
4517 .test = alg_test_null,
4520 .test = alg_test_hash,
4527 .test = alg_test_crc32c,
4534 .test = alg_test_hash,
4541 .test = alg_test_skcipher,
4548 .test = alg_test_skcipher,
4554 .test = alg_test_skcipher,
4560 .test = alg_test_skcipher,
4566 .test = alg_test_skcipher,
4572 .test = alg_test_skcipher,
4578 .test = alg_test_skcipher,
4588 .test = alg_test_null,
4596 .test = alg_test_null,
4599 .test = alg_test_skcipher,
4605 .test = alg_test_skcipher,
4611 .test = alg_test_skcipher,
4619 .test = alg_test_skcipher,
4626 .test = alg_test_skcipher,
4636 .test = alg_test_null,
4640 .test = alg_test_kpp,
4646 .test = alg_test_comp,
4656 .test = alg_test_kpp,
4663 .test = alg_test_null,
4666 .test = alg_test_drbg,
4673 .test = alg_test_drbg,
4680 .test = alg_test_drbg,
4692 .test = alg_test_null,
4695 .test = alg_test_drbg,
4704 .test = alg_test_null,
4707 .test = alg_test_null,
4712 .test = alg_test_null,
4715 .test = alg_test_drbg,
4724 .test = alg_test_null,
4728 .test = alg_test_null,
4731 .test = alg_test_drbg,
4740 .test = alg_test_null,
4744 .test = alg_test_null,
4748 .test = alg_test_null,
4751 .test = alg_test_drbg,
4760 .test = alg_test_null,
4763 .test = alg_test_null,
4768 .test = alg_test_null,
4771 .test = alg_test_drbg,
4780 .test = alg_test_null,
4784 .test = alg_test_null,
4787 .test = alg_test_skcipher,
4794 .test = alg_test_skcipher,
4801 .test = alg_test_skcipher,
4807 .test = alg_test_skcipher,
4813 .test = alg_test_skcipher,
4819 .test = alg_test_skcipher,
4825 .test = alg_test_skcipher,
4831 .test = alg_test_null,
4835 .test = alg_test_skcipher,
4841 .test = alg_test_skcipher,
4848 .test = alg_test_skcipher,
4857 .test = alg_test_skcipher,
4866 .test = alg_test_null,
4870 .test = alg_test_skcipher,
4876 .test = alg_test_skcipher,
4882 .test = alg_test_skcipher,
4888 .test = alg_test_skcipher,
4894 .test = alg_test_skcipher,
4900 .test = alg_test_skcipher,
4906 .test = alg_test_skcipher,
4912 .test = alg_test_skcipher,
4920 .test = alg_test_skcipher,
4927 .test = alg_test_kpp,
4934 .test = alg_test_akcipher,
4940 .test = alg_test_aead,
4947 .test = alg_test_skcipher,
4955 .test = alg_test_aead,
4962 .test = alg_test_hash,
4969 .test = alg_test_hash,
4975 .test = alg_test_hash,
4981 .test = alg_test_hash,
4987 .test = alg_test_hash,
4994 .test = alg_test_hash,
5001 .test = alg_test_hash,
5008 .test = alg_test_hash,
5015 .test = alg_test_hash,
5022 .test = alg_test_hash,
5029 .test = alg_test_hash,
5036 .test = alg_test_hash,
5043 .test = alg_test_hash,
5050 .test = alg_test_hash,
5056 .test = alg_test_hash,
5062 .test = alg_test_hash,
5069 .test = alg_test_null,
5072 .test = alg_test_skcipher,
5080 .test = alg_test_skcipher,
5087 .test = alg_test_skcipher,
5094 .test = alg_test_skcipher,
5101 .test = alg_test_skcipher,
5108 .test = alg_test_skcipher,
5114 .test = alg_test_comp,
5124 .test = alg_test_comp,
5134 .test = alg_test_comp,
5144 .test = alg_test_comp,
5154 .test = alg_test_hash,
5160 .test = alg_test_hash,
5166 .test = alg_test_hash,
5172 .test = alg_test_hash,
5178 .test = alg_test_skcipher,
5188 .test = alg_test_null,
5192 .test = alg_test_skcipher,
5198 .test = alg_test_skcipher,
5204 .test = alg_test_null,
5208 .test = alg_test_akcipher,
5215 .test = alg_test_null,
5219 .test = alg_test_null,
5223 .test = alg_test_hash,
5229 .test = alg_test_skcipher,
5236 .test = alg_test_skcipher,
5243 .test = alg_test_aead,
5255 .test = alg_test_aead,
5267 .test = alg_test_aead,
5277 .test = alg_test_aead,
5283 .test = alg_test_aead,
5293 .test = alg_test_hash,
5299 .test = alg_test_hash,
5305 .test = alg_test_hash,
5311 .test = alg_test_hash,
5317 .test = alg_test_akcipher,
5324 .test = alg_test_skcipher,
5330 .test = alg_test_hash,
5337 .test = alg_test_hash,
5344 .test = alg_test_hash,
5351 .test = alg_test_hash,
5358 .test = alg_test_hash,
5365 .test = alg_test_hash,
5372 .test = alg_test_hash,
5379 .test = alg_test_hash,
5386 .test = alg_test_hash,
5393 .test = alg_test_akcipher,
5399 .test = alg_test_hash,
5405 .test = alg_test_hash,
5411 .test = alg_test_hash,
5417 .test = alg_test_hash,
5423 .test = alg_test_hash,
5429 .test = alg_test_hash,
5435 .test = alg_test_hash,
5441 .test = alg_test_hash,
5447 .test = alg_test_hash,
5453 .test = alg_test_hash,
5459 .test = alg_test_hash,
5465 .test = alg_test_skcipher,
5471 .test = alg_test_skcipher,
5478 .test = alg_test_skcipher,
5486 .test = alg_test_skcipher,
5493 .test = alg_test_skcipher,
5502 .test = alg_test_null,
5507 .test = alg_test_skcipher,
5514 .test = alg_test_skcipher,
5522 .test = alg_test_skcipher,
5529 .test = alg_test_null,
5533 .test = alg_test_null,
5537 .test = alg_test_hash,
5544 .test = alg_test_comp,
5554 .test = alg_test_comp,
5676 rc |= alg_test_descs[i].test(alg_test_descs + i, driver, in alg_test()
5679 rc |= alg_test_descs[j].test(alg_test_descs + j, driver, in alg_test()