Lines Matching refs:test
127 int (*test)(const struct alg_test_desc *desc, const char *driver, member
3368 static int drbg_cavs_test(const struct drbg_testvec *test, int pr, in drbg_cavs_test() argument
3375 unsigned char *buf = kzalloc(test->expectedlen, GFP_KERNEL); in drbg_cavs_test()
3389 drbg_string_fill(&testentropy, test->entropy, test->entropylen); in drbg_cavs_test()
3390 drbg_string_fill(&pers, test->pers, test->perslen); in drbg_cavs_test()
3397 drbg_string_fill(&addtl, test->addtla, test->addtllen); in drbg_cavs_test()
3399 drbg_string_fill(&testentropy, test->entpra, test->entprlen); in drbg_cavs_test()
3401 buf, test->expectedlen, &addtl, &test_data); in drbg_cavs_test()
3404 buf, test->expectedlen, &addtl); in drbg_cavs_test()
3412 drbg_string_fill(&addtl, test->addtlb, test->addtllen); in drbg_cavs_test()
3414 drbg_string_fill(&testentropy, test->entprb, test->entprlen); in drbg_cavs_test()
3416 buf, test->expectedlen, &addtl, &test_data); in drbg_cavs_test()
3419 buf, test->expectedlen, &addtl); in drbg_cavs_test()
3427 ret = memcmp(test->expected, buf, test->expectedlen); in drbg_cavs_test()
3872 .test = alg_test_skcipher,
3879 .test = alg_test_skcipher,
3885 .test = alg_test_aead,
3891 .test = alg_test_cprng,
3897 .test = alg_test_aead,
3903 .test = alg_test_aead,
3910 .test = alg_test_aead,
3916 .test = alg_test_aead,
3923 .test = alg_test_null,
3927 .test = alg_test_aead,
3933 .test = alg_test_null,
3937 .test = alg_test_aead,
3943 .test = alg_test_aead,
3950 .test = alg_test_aead,
3957 .test = alg_test_aead,
3963 .test = alg_test_aead,
3970 .test = alg_test_null,
3974 .test = alg_test_null,
3978 .test = alg_test_aead,
3984 .test = alg_test_aead,
3991 .test = alg_test_null,
3995 .test = alg_test_null,
4000 .test = alg_test_aead,
4006 .test = alg_test_aead,
4012 .test = alg_test_aead,
4019 .test = alg_test_null,
4023 .test = alg_test_null,
4027 .test = alg_test_skcipher,
4034 .test = alg_test_skcipher,
4040 .test = alg_test_skcipher,
4046 .test = alg_test_skcipher,
4052 .test = alg_test_skcipher,
4058 .test = alg_test_skcipher,
4064 .test = alg_test_skcipher,
4070 .test = alg_test_skcipher,
4080 .test = alg_test_null,
4087 .test = alg_test_null,
4090 .test = alg_test_skcipher,
4096 .test = alg_test_skcipher,
4102 .test = alg_test_skcipher,
4109 .test = alg_test_hash,
4116 .test = alg_test_aead,
4123 .test = alg_test_skcipher,
4130 .test = alg_test_skcipher,
4137 .test = alg_test_hash,
4144 .test = alg_test_hash,
4150 .test = alg_test_null,
4153 .test = alg_test_hash,
4160 .test = alg_test_crc32c,
4167 .test = alg_test_hash,
4174 .test = alg_test_skcipher,
4181 .test = alg_test_skcipher,
4187 .test = alg_test_skcipher,
4193 .test = alg_test_skcipher,
4199 .test = alg_test_skcipher,
4205 .test = alg_test_skcipher,
4211 .test = alg_test_skcipher,
4221 .test = alg_test_null,
4229 .test = alg_test_null,
4232 .test = alg_test_skcipher,
4238 .test = alg_test_skcipher,
4244 .test = alg_test_skcipher,
4250 .test = alg_test_skcipher,
4260 .test = alg_test_null,
4264 .test = alg_test_comp,
4274 .test = alg_test_kpp,
4281 .test = alg_test_null,
4284 .test = alg_test_drbg,
4291 .test = alg_test_drbg,
4298 .test = alg_test_drbg,
4310 .test = alg_test_null,
4313 .test = alg_test_drbg,
4322 .test = alg_test_null,
4325 .test = alg_test_null,
4330 .test = alg_test_null,
4333 .test = alg_test_drbg,
4342 .test = alg_test_null,
4346 .test = alg_test_null,
4349 .test = alg_test_drbg,
4358 .test = alg_test_null,
4362 .test = alg_test_null,
4366 .test = alg_test_null,
4369 .test = alg_test_drbg,
4378 .test = alg_test_null,
4381 .test = alg_test_null,
4386 .test = alg_test_null,
4389 .test = alg_test_drbg,
4398 .test = alg_test_null,
4402 .test = alg_test_null,
4405 .test = alg_test_skcipher,
4412 .test = alg_test_skcipher,
4419 .test = alg_test_skcipher,
4425 .test = alg_test_skcipher,
4431 .test = alg_test_skcipher,
4437 .test = alg_test_skcipher,
4443 .test = alg_test_skcipher,
4449 .test = alg_test_null,
4453 .test = alg_test_skcipher,
4459 .test = alg_test_skcipher,
4466 .test = alg_test_skcipher,
4475 .test = alg_test_skcipher,
4484 .test = alg_test_null,
4488 .test = alg_test_skcipher,
4494 .test = alg_test_skcipher,
4500 .test = alg_test_skcipher,
4506 .test = alg_test_skcipher,
4512 .test = alg_test_skcipher,
4518 .test = alg_test_skcipher,
4524 .test = alg_test_skcipher,
4530 .test = alg_test_skcipher,
4536 .test = alg_test_kpp,
4543 .test = alg_test_akcipher,
4549 .test = alg_test_aead,
4556 .test = alg_test_skcipher,
4564 .test = alg_test_aead,
4571 .test = alg_test_hash,
4578 .test = alg_test_hash,
4584 .test = alg_test_hash,
4590 .test = alg_test_hash,
4596 .test = alg_test_hash,
4603 .test = alg_test_hash,
4610 .test = alg_test_hash,
4617 .test = alg_test_hash,
4624 .test = alg_test_hash,
4631 .test = alg_test_hash,
4638 .test = alg_test_hash,
4645 .test = alg_test_hash,
4652 .test = alg_test_hash,
4659 .test = alg_test_hash,
4665 .test = alg_test_hash,
4672 .test = alg_test_null,
4675 .test = alg_test_skcipher,
4683 .test = alg_test_skcipher,
4690 .test = alg_test_skcipher,
4697 .test = alg_test_skcipher,
4704 .test = alg_test_skcipher,
4711 .test = alg_test_skcipher,
4717 .test = alg_test_comp,
4727 .test = alg_test_comp,
4737 .test = alg_test_comp,
4747 .test = alg_test_comp,
4757 .test = alg_test_hash,
4763 .test = alg_test_hash,
4769 .test = alg_test_hash,
4775 .test = alg_test_hash,
4781 .test = alg_test_skcipher,
4791 .test = alg_test_null,
4795 .test = alg_test_skcipher,
4801 .test = alg_test_null,
4805 .test = alg_test_akcipher,
4812 .test = alg_test_null,
4816 .test = alg_test_null,
4820 .test = alg_test_hash,
4826 .test = alg_test_skcipher,
4834 .test = alg_test_aead,
4842 .test = alg_test_aead,
4850 .test = alg_test_aead,
4856 .test = alg_test_aead,
4862 .test = alg_test_aead,
4868 .test = alg_test_hash,
4874 .test = alg_test_hash,
4880 .test = alg_test_hash,
4886 .test = alg_test_hash,
4892 .test = alg_test_akcipher,
4899 .test = alg_test_skcipher,
4905 .test = alg_test_hash,
4912 .test = alg_test_hash,
4919 .test = alg_test_hash,
4926 .test = alg_test_hash,
4933 .test = alg_test_hash,
4940 .test = alg_test_hash,
4947 .test = alg_test_hash,
4954 .test = alg_test_hash,
4961 .test = alg_test_hash,
4968 .test = alg_test_hash,
4974 .test = alg_test_hash,
4980 .test = alg_test_hash,
4986 .test = alg_test_hash,
4992 .test = alg_test_hash,
4998 .test = alg_test_hash,
5004 .test = alg_test_hash,
5010 .test = alg_test_hash,
5016 .test = alg_test_hash,
5022 .test = alg_test_hash,
5028 .test = alg_test_hash,
5034 .test = alg_test_skcipher,
5040 .test = alg_test_skcipher,
5047 .test = alg_test_skcipher,
5055 .test = alg_test_skcipher,
5062 .test = alg_test_skcipher,
5071 .test = alg_test_null,
5076 .test = alg_test_skcipher,
5083 .test = alg_test_skcipher,
5089 .test = alg_test_null,
5093 .test = alg_test_null,
5097 .test = alg_test_hash,
5104 .test = alg_test_comp,
5114 .test = alg_test_comp,
5236 rc |= alg_test_descs[i].test(alg_test_descs + i, driver, in alg_test()
5239 rc |= alg_test_descs[j].test(alg_test_descs + j, driver, in alg_test()