Lines Matching refs:test
127 int (*test)(const struct alg_test_desc *desc, const char *driver, member
3380 static int drbg_cavs_test(const struct drbg_testvec *test, int pr, in drbg_cavs_test() argument
3387 unsigned char *buf = kzalloc(test->expectedlen, GFP_KERNEL); in drbg_cavs_test()
3401 drbg_string_fill(&testentropy, test->entropy, test->entropylen); in drbg_cavs_test()
3402 drbg_string_fill(&pers, test->pers, test->perslen); in drbg_cavs_test()
3409 drbg_string_fill(&addtl, test->addtla, test->addtllen); in drbg_cavs_test()
3411 drbg_string_fill(&testentropy, test->entpra, test->entprlen); in drbg_cavs_test()
3413 buf, test->expectedlen, &addtl, &test_data); in drbg_cavs_test()
3416 buf, test->expectedlen, &addtl); in drbg_cavs_test()
3424 drbg_string_fill(&addtl, test->addtlb, test->addtllen); in drbg_cavs_test()
3426 drbg_string_fill(&testentropy, test->entprb, test->entprlen); in drbg_cavs_test()
3428 buf, test->expectedlen, &addtl, &test_data); in drbg_cavs_test()
3431 buf, test->expectedlen, &addtl); in drbg_cavs_test()
3439 ret = memcmp(test->expected, buf, test->expectedlen); in drbg_cavs_test()
3884 .test = alg_test_skcipher,
3891 .test = alg_test_skcipher,
3897 .test = alg_test_aead,
3903 .test = alg_test_cprng,
3909 .test = alg_test_aead,
3915 .test = alg_test_aead,
3922 .test = alg_test_aead,
3928 .test = alg_test_aead,
3935 .test = alg_test_null,
3939 .test = alg_test_aead,
3945 .test = alg_test_null,
3949 .test = alg_test_aead,
3955 .test = alg_test_aead,
3962 .test = alg_test_aead,
3969 .test = alg_test_aead,
3975 .test = alg_test_aead,
3982 .test = alg_test_null,
3986 .test = alg_test_null,
3990 .test = alg_test_aead,
3996 .test = alg_test_aead,
4003 .test = alg_test_null,
4007 .test = alg_test_null,
4012 .test = alg_test_aead,
4018 .test = alg_test_aead,
4024 .test = alg_test_aead,
4031 .test = alg_test_null,
4035 .test = alg_test_null,
4039 .test = alg_test_hash,
4046 .test = alg_test_hash,
4053 .test = alg_test_hash,
4060 .test = alg_test_hash,
4067 .test = alg_test_hash,
4073 .test = alg_test_hash,
4079 .test = alg_test_hash,
4085 .test = alg_test_hash,
4091 .test = alg_test_skcipher,
4098 .test = alg_test_skcipher,
4104 .test = alg_test_skcipher,
4110 .test = alg_test_skcipher,
4116 .test = alg_test_skcipher,
4122 .test = alg_test_skcipher,
4128 .test = alg_test_skcipher,
4134 .test = alg_test_skcipher,
4144 .test = alg_test_null,
4151 .test = alg_test_null,
4154 .test = alg_test_skcipher,
4160 .test = alg_test_skcipher,
4166 .test = alg_test_skcipher,
4173 .test = alg_test_hash,
4180 .test = alg_test_aead,
4187 .test = alg_test_skcipher,
4194 .test = alg_test_skcipher,
4201 .test = alg_test_hash,
4208 .test = alg_test_hash,
4214 .test = alg_test_null,
4217 .test = alg_test_hash,
4224 .test = alg_test_crc32c,
4231 .test = alg_test_hash,
4238 .test = alg_test_skcipher,
4245 .test = alg_test_skcipher,
4251 .test = alg_test_skcipher,
4257 .test = alg_test_skcipher,
4263 .test = alg_test_skcipher,
4269 .test = alg_test_skcipher,
4275 .test = alg_test_skcipher,
4285 .test = alg_test_null,
4293 .test = alg_test_null,
4296 .test = alg_test_skcipher,
4302 .test = alg_test_skcipher,
4308 .test = alg_test_skcipher,
4314 .test = alg_test_skcipher,
4324 .test = alg_test_null,
4328 .test = alg_test_comp,
4338 .test = alg_test_kpp,
4345 .test = alg_test_null,
4348 .test = alg_test_drbg,
4355 .test = alg_test_drbg,
4362 .test = alg_test_drbg,
4374 .test = alg_test_null,
4377 .test = alg_test_drbg,
4386 .test = alg_test_null,
4389 .test = alg_test_null,
4394 .test = alg_test_null,
4397 .test = alg_test_drbg,
4406 .test = alg_test_null,
4410 .test = alg_test_null,
4413 .test = alg_test_drbg,
4422 .test = alg_test_null,
4426 .test = alg_test_null,
4430 .test = alg_test_null,
4433 .test = alg_test_drbg,
4442 .test = alg_test_null,
4445 .test = alg_test_null,
4450 .test = alg_test_null,
4453 .test = alg_test_drbg,
4462 .test = alg_test_null,
4466 .test = alg_test_null,
4469 .test = alg_test_skcipher,
4476 .test = alg_test_skcipher,
4483 .test = alg_test_skcipher,
4489 .test = alg_test_skcipher,
4495 .test = alg_test_skcipher,
4501 .test = alg_test_skcipher,
4507 .test = alg_test_skcipher,
4513 .test = alg_test_null,
4517 .test = alg_test_skcipher,
4523 .test = alg_test_skcipher,
4530 .test = alg_test_skcipher,
4539 .test = alg_test_skcipher,
4548 .test = alg_test_null,
4552 .test = alg_test_skcipher,
4558 .test = alg_test_skcipher,
4564 .test = alg_test_skcipher,
4570 .test = alg_test_skcipher,
4576 .test = alg_test_skcipher,
4582 .test = alg_test_skcipher,
4588 .test = alg_test_skcipher,
4594 .test = alg_test_skcipher,
4600 .test = alg_test_kpp,
4607 .test = alg_test_akcipher,
4613 .test = alg_test_aead,
4620 .test = alg_test_skcipher,
4628 .test = alg_test_aead,
4635 .test = alg_test_hash,
4642 .test = alg_test_hash,
4648 .test = alg_test_hash,
4654 .test = alg_test_hash,
4660 .test = alg_test_hash,
4667 .test = alg_test_hash,
4674 .test = alg_test_hash,
4681 .test = alg_test_hash,
4688 .test = alg_test_hash,
4695 .test = alg_test_hash,
4702 .test = alg_test_hash,
4709 .test = alg_test_hash,
4716 .test = alg_test_hash,
4723 .test = alg_test_hash,
4729 .test = alg_test_hash,
4736 .test = alg_test_null,
4739 .test = alg_test_skcipher,
4747 .test = alg_test_skcipher,
4754 .test = alg_test_skcipher,
4761 .test = alg_test_skcipher,
4768 .test = alg_test_skcipher,
4775 .test = alg_test_skcipher,
4781 .test = alg_test_comp,
4791 .test = alg_test_comp,
4801 .test = alg_test_comp,
4811 .test = alg_test_comp,
4821 .test = alg_test_hash,
4827 .test = alg_test_hash,
4833 .test = alg_test_hash,
4839 .test = alg_test_hash,
4845 .test = alg_test_skcipher,
4855 .test = alg_test_null,
4859 .test = alg_test_skcipher,
4865 .test = alg_test_null,
4869 .test = alg_test_akcipher,
4876 .test = alg_test_null,
4880 .test = alg_test_null,
4884 .test = alg_test_hash,
4890 .test = alg_test_skcipher,
4898 .test = alg_test_aead,
4906 .test = alg_test_aead,
4914 .test = alg_test_aead,
4920 .test = alg_test_aead,
4926 .test = alg_test_aead,
4932 .test = alg_test_hash,
4938 .test = alg_test_hash,
4944 .test = alg_test_hash,
4950 .test = alg_test_hash,
4956 .test = alg_test_akcipher,
4963 .test = alg_test_skcipher,
4969 .test = alg_test_hash,
4976 .test = alg_test_hash,
4983 .test = alg_test_hash,
4990 .test = alg_test_hash,
4997 .test = alg_test_hash,
5004 .test = alg_test_hash,
5011 .test = alg_test_hash,
5018 .test = alg_test_hash,
5025 .test = alg_test_hash,
5032 .test = alg_test_hash,
5038 .test = alg_test_hash,
5044 .test = alg_test_hash,
5050 .test = alg_test_hash,
5056 .test = alg_test_hash,
5062 .test = alg_test_hash,
5068 .test = alg_test_hash,
5074 .test = alg_test_hash,
5080 .test = alg_test_hash,
5086 .test = alg_test_hash,
5092 .test = alg_test_hash,
5098 .test = alg_test_skcipher,
5104 .test = alg_test_skcipher,
5111 .test = alg_test_skcipher,
5119 .test = alg_test_skcipher,
5126 .test = alg_test_skcipher,
5135 .test = alg_test_null,
5140 .test = alg_test_skcipher,
5147 .test = alg_test_skcipher,
5153 .test = alg_test_null,
5157 .test = alg_test_null,
5161 .test = alg_test_hash,
5168 .test = alg_test_comp,
5178 .test = alg_test_comp,
5300 rc |= alg_test_descs[i].test(alg_test_descs + i, driver, in alg_test()
5303 rc |= alg_test_descs[j].test(alg_test_descs + j, driver, in alg_test()