Lines Matching refs:test
148 int (*test)(const struct alg_test_desc *desc, const char *driver, member
3576 static int drbg_cavs_test(const struct drbg_testvec *test, int pr, in drbg_cavs_test() argument
3583 unsigned char *buf = kzalloc(test->expectedlen, GFP_KERNEL); in drbg_cavs_test()
3599 drbg_string_fill(&testentropy, test->entropy, test->entropylen); in drbg_cavs_test()
3600 drbg_string_fill(&pers, test->pers, test->perslen); in drbg_cavs_test()
3607 drbg_string_fill(&addtl, test->addtla, test->addtllen); in drbg_cavs_test()
3609 drbg_string_fill(&testentropy, test->entpra, test->entprlen); in drbg_cavs_test()
3611 buf, test->expectedlen, &addtl, &test_data); in drbg_cavs_test()
3614 buf, test->expectedlen, &addtl); in drbg_cavs_test()
3622 drbg_string_fill(&addtl, test->addtlb, test->addtllen); in drbg_cavs_test()
3624 drbg_string_fill(&testentropy, test->entprb, test->entprlen); in drbg_cavs_test()
3626 buf, test->expectedlen, &addtl, &test_data); in drbg_cavs_test()
3629 buf, test->expectedlen, &addtl); in drbg_cavs_test()
3637 ret = memcmp(test->expected, buf, test->expectedlen); in drbg_cavs_test()
4156 .test = alg_test_skcipher,
4163 .test = alg_test_skcipher,
4169 .test = alg_test_aead,
4175 .test = alg_test_cprng,
4181 .test = alg_test_aead,
4188 .test = alg_test_aead,
4195 .test = alg_test_aead,
4202 .test = alg_test_aead,
4208 .test = alg_test_null,
4212 .test = alg_test_aead,
4218 .test = alg_test_null,
4222 .test = alg_test_aead,
4229 .test = alg_test_aead,
4236 .test = alg_test_aead,
4244 .test = alg_test_aead,
4251 .test = alg_test_aead,
4257 .test = alg_test_null,
4262 .test = alg_test_aead,
4268 .test = alg_test_null,
4273 .test = alg_test_aead,
4280 .test = alg_test_aead,
4286 .test = alg_test_null,
4291 .test = alg_test_aead,
4297 .test = alg_test_null,
4303 .test = alg_test_aead,
4310 .test = alg_test_aead,
4317 .test = alg_test_aead,
4323 .test = alg_test_null,
4327 .test = alg_test_null,
4331 .test = alg_test_hash,
4338 .test = alg_test_hash,
4345 .test = alg_test_hash,
4352 .test = alg_test_hash,
4359 .test = alg_test_skcipher,
4366 .test = alg_test_skcipher,
4372 .test = alg_test_skcipher,
4378 .test = alg_test_skcipher,
4384 .test = alg_test_skcipher,
4390 .test = alg_test_skcipher,
4396 .test = alg_test_skcipher,
4402 .test = alg_test_skcipher,
4408 .test = alg_test_skcipher,
4417 .test = alg_test_null,
4424 .test = alg_test_null,
4427 .test = alg_test_skcipher,
4433 .test = alg_test_skcipher,
4439 .test = alg_test_skcipher,
4447 .test = alg_test_skcipher,
4454 .test = alg_test_hash,
4460 .test = alg_test_hash,
4467 .test = alg_test_aead,
4478 .test = alg_test_aead,
4487 .test = alg_test_skcipher,
4494 .test = alg_test_hash,
4500 .test = alg_test_hash,
4506 .test = alg_test_hash,
4512 .test = alg_test_hash,
4519 .test = alg_test_hash,
4527 .test = alg_test_hash,
4534 .test = alg_test_skcipher,
4541 .test = alg_test_skcipher,
4547 .test = alg_test_skcipher,
4553 .test = alg_test_skcipher,
4559 .test = alg_test_skcipher,
4565 .test = alg_test_skcipher,
4571 .test = alg_test_skcipher,
4577 .test = alg_test_skcipher,
4586 .test = alg_test_null,
4594 .test = alg_test_null,
4597 .test = alg_test_skcipher,
4603 .test = alg_test_skcipher,
4609 .test = alg_test_skcipher,
4617 .test = alg_test_skcipher,
4624 .test = alg_test_skcipher,
4634 .test = alg_test_null,
4638 .test = alg_test_skcipher,
4644 .test = alg_test_kpp,
4650 .test = alg_test_comp,
4660 .test = alg_test_comp,
4670 .test = alg_test_kpp,
4676 .test = alg_test_null,
4679 .test = alg_test_drbg,
4686 .test = alg_test_drbg,
4693 .test = alg_test_drbg,
4700 .test = alg_test_drbg,
4711 .test = alg_test_null,
4715 .test = alg_test_drbg,
4722 .test = alg_test_drbg,
4730 .test = alg_test_null,
4735 .test = alg_test_null,
4738 .test = alg_test_drbg,
4747 .test = alg_test_null,
4751 .test = alg_test_null,
4754 .test = alg_test_drbg,
4762 .test = alg_test_null,
4766 .test = alg_test_null,
4770 .test = alg_test_drbg,
4778 .test = alg_test_null,
4783 .test = alg_test_null,
4786 .test = alg_test_skcipher,
4793 .test = alg_test_skcipher,
4800 .test = alg_test_skcipher,
4806 .test = alg_test_skcipher,
4812 .test = alg_test_skcipher,
4818 .test = alg_test_skcipher,
4824 .test = alg_test_skcipher,
4830 .test = alg_test_skcipher,
4836 .test = alg_test_null,
4840 .test = alg_test_skcipher,
4846 .test = alg_test_skcipher,
4852 .test = alg_test_skcipher,
4861 .test = alg_test_skcipher,
4870 .test = alg_test_null,
4874 .test = alg_test_skcipher,
4880 .test = alg_test_skcipher,
4886 .test = alg_test_skcipher,
4892 .test = alg_test_skcipher,
4898 .test = alg_test_skcipher,
4904 .test = alg_test_skcipher,
4910 .test = alg_test_skcipher,
4918 .test = alg_test_skcipher,
4925 .test = alg_test_kpp,
4931 .test = alg_test_kpp,
4938 .test = alg_test_kpp,
4945 .test = alg_test_sig,
4951 .test = alg_test_sig,
4958 .test = alg_test_sig,
4965 .test = alg_test_sig,
4972 .test = alg_test_sig,
4979 .test = alg_test_aead,
4987 .test = alg_test_skcipher,
4995 .test = alg_test_kpp,
5002 .test = alg_test_kpp,
5009 .test = alg_test_kpp,
5016 .test = alg_test_kpp,
5023 .test = alg_test_kpp,
5032 .test = alg_test_aead,
5040 .test = alg_test_aead,
5047 .test = alg_test_aead,
5053 .test = alg_test_hash,
5061 .test = alg_test_skcipher,
5067 .test = alg_test_hash,
5073 .test = alg_test_hash,
5080 .test = alg_test_hash,
5087 .test = alg_test_hash,
5095 .test = alg_test_hash,
5102 .test = alg_test_hash,
5109 .test = alg_test_hash,
5116 .test = alg_test_hash,
5123 .test = alg_test_hash,
5131 .test = alg_test_hash,
5139 .test = alg_test_hash,
5146 .test = alg_test_hash,
5152 .test = alg_test_hash,
5158 .test = alg_test_hash,
5165 .test = alg_test_null,
5168 .test = alg_test_aead,
5173 .test = alg_test_skcipher,
5180 .test = alg_test_skcipher,
5187 .test = alg_test_skcipher,
5194 .test = alg_test_skcipher,
5201 .test = alg_test_skcipher,
5207 .test = alg_test_comp,
5217 .test = alg_test_comp,
5227 .test = alg_test_comp,
5237 .test = alg_test_comp,
5247 .test = alg_test_hash,
5253 .test = alg_test_hash,
5259 .test = alg_test_hash,
5265 .test = alg_test_hash,
5271 .test = alg_test_null,
5274 .test = alg_test_sig,
5281 .test = alg_test_null,
5285 .test = alg_test_null,
5289 .test = alg_test_skcipher,
5296 .test = alg_test_hash,
5303 .test = alg_test_hash,
5310 .test = alg_test_hash,
5317 .test = alg_test_hash,
5325 .test = alg_test_sig,
5331 .test = alg_test_null,
5335 .test = alg_test_sig,
5342 .test = alg_test_null,
5346 .test = alg_test_null,
5350 .test = alg_test_null,
5354 .test = alg_test_null,
5358 .test = alg_test_null,
5362 .test = alg_test_null,
5366 .test = alg_test_hash,
5372 .test = alg_test_skcipher,
5379 .test = alg_test_skcipher,
5386 .test = alg_test_aead,
5398 .test = alg_test_aead,
5410 .test = alg_test_aead,
5420 .test = alg_test_aead,
5426 .test = alg_test_aead,
5436 .test = alg_test_hash,
5442 .test = alg_test_akcipher,
5450 .test = alg_test_hash,
5457 .test = alg_test_hash,
5465 .test = alg_test_hash,
5472 .test = alg_test_hash,
5479 .test = alg_test_hash,
5486 .test = alg_test_hash,
5493 .test = alg_test_hash,
5501 .test = alg_test_hash,
5509 .test = alg_test_hash,
5516 .test = alg_test_hash,
5522 .test = alg_test_hash,
5528 .test = alg_test_hash,
5534 .test = alg_test_hash,
5540 .test = alg_test_hash,
5546 .test = alg_test_hash,
5552 .test = alg_test_sig,
5558 .test = alg_test_sig,
5565 .test = alg_test_sig,
5572 .test = alg_test_sig,
5579 .test = alg_test_hash,
5585 .test = alg_test_hash,
5591 .test = alg_test_skcipher,
5597 .test = alg_test_skcipher,
5603 .test = alg_test_skcipher,
5610 .test = alg_test_skcipher,
5618 .test = alg_test_skcipher,
5625 .test = alg_test_skcipher,
5634 .test = alg_test_null,
5639 .test = alg_test_skcipher,
5646 .test = alg_test_skcipher,
5653 .test = alg_test_skcipher,
5661 .test = alg_test_skcipher,
5668 .test = alg_test_hash,
5675 .test = alg_test_comp,
5807 rc |= alg_test_descs[i].test(alg_test_descs + i, driver, in alg_test()
5810 rc |= alg_test_descs[j].test(alg_test_descs + j, driver, in alg_test()