Lines Matching refs:test

119 	int (*test)(const struct alg_test_desc *desc, const char *driver,  member
1724 static int drbg_cavs_test(struct drbg_testvec *test, int pr, in drbg_cavs_test() argument
1731 unsigned char *buf = kzalloc(test->expectedlen, GFP_KERNEL); in drbg_cavs_test()
1745 drbg_string_fill(&testentropy, test->entropy, test->entropylen); in drbg_cavs_test()
1746 drbg_string_fill(&pers, test->pers, test->perslen); in drbg_cavs_test()
1753 drbg_string_fill(&addtl, test->addtla, test->addtllen); in drbg_cavs_test()
1755 drbg_string_fill(&testentropy, test->entpra, test->entprlen); in drbg_cavs_test()
1757 buf, test->expectedlen, &addtl, &test_data); in drbg_cavs_test()
1760 buf, test->expectedlen, &addtl); in drbg_cavs_test()
1768 drbg_string_fill(&addtl, test->addtlb, test->addtllen); in drbg_cavs_test()
1770 drbg_string_fill(&testentropy, test->entprb, test->entprlen); in drbg_cavs_test()
1772 buf, test->expectedlen, &addtl, &test_data); in drbg_cavs_test()
1775 buf, test->expectedlen, &addtl); in drbg_cavs_test()
1783 ret = memcmp(test->expected, buf, test->expectedlen); in drbg_cavs_test()
1827 .test = alg_test_null,
1830 .test = alg_test_null,
1833 .test = alg_test_null,
1836 .test = alg_test_null,
1839 .test = alg_test_null,
1842 .test = alg_test_null,
1845 .test = alg_test_null,
1849 .test = alg_test_null,
1852 .test = alg_test_null,
1855 .test = alg_test_null,
1858 .test = alg_test_null,
1861 .test = alg_test_null,
1864 .test = alg_test_null,
1867 .test = alg_test_null,
1870 .test = alg_test_null,
1873 .test = alg_test_null,
1877 .test = alg_test_null,
1880 .test = alg_test_null,
1883 .test = alg_test_null,
1886 .test = alg_test_null,
1889 .test = alg_test_null,
1892 .test = alg_test_null,
1895 .test = alg_test_null,
1898 .test = alg_test_null,
1901 .test = alg_test_null,
1905 .test = alg_test_cprng,
1915 .test = alg_test_aead,
1931 .test = alg_test_aead,
1945 .test = alg_test_aead,
1959 .test = alg_test_aead,
1973 .test = alg_test_aead,
1993 .test = alg_test_aead,
2007 .test = alg_test_aead,
2021 .test = alg_test_aead,
2035 .test = alg_test_aead,
2049 .test = alg_test_aead,
2063 .test = alg_test_aead,
2077 .test = alg_test_aead,
2091 .test = alg_test_aead,
2105 .test = alg_test_aead,
2119 .test = alg_test_aead,
2133 .test = alg_test_skcipher,
2149 .test = alg_test_skcipher,
2164 .test = alg_test_skcipher,
2179 .test = alg_test_skcipher,
2194 .test = alg_test_skcipher,
2209 .test = alg_test_skcipher,
2224 .test = alg_test_skcipher,
2239 .test = alg_test_skcipher,
2255 .test = alg_test_skcipher,
2270 .test = alg_test_skcipher,
2285 .test = alg_test_aead,
2301 .test = alg_test_hash,
2310 .test = alg_test_hash,
2319 .test = alg_test_null,
2322 .test = alg_test_crc32c,
2332 .test = alg_test_hash,
2342 .test = alg_test_null,
2346 .test = alg_test_null,
2349 .test = alg_test_null,
2352 .test = alg_test_null,
2355 .test = alg_test_null,
2359 .test = alg_test_null,
2362 .test = alg_test_null,
2365 .test = alg_test_null,
2368 .test = alg_test_null,
2371 .test = alg_test_null,
2374 .test = alg_test_null,
2377 .test = alg_test_null,
2380 .test = alg_test_null,
2383 .test = alg_test_null,
2387 .test = alg_test_null,
2391 .test = alg_test_skcipher,
2407 .test = alg_test_skcipher,
2422 .test = alg_test_skcipher,
2437 .test = alg_test_skcipher,
2452 .test = alg_test_skcipher,
2467 .test = alg_test_skcipher,
2482 .test = alg_test_skcipher,
2497 .test = alg_test_skcipher,
2512 .test = alg_test_skcipher,
2527 .test = alg_test_skcipher,
2542 .test = alg_test_comp,
2558 .test = alg_test_null,
2561 .test = alg_test_drbg,
2571 .test = alg_test_drbg,
2581 .test = alg_test_drbg,
2596 .test = alg_test_null,
2599 .test = alg_test_drbg,
2612 .test = alg_test_null,
2615 .test = alg_test_null,
2620 .test = alg_test_null,
2623 .test = alg_test_drbg,
2635 .test = alg_test_null,
2639 .test = alg_test_null,
2642 .test = alg_test_drbg,
2654 .test = alg_test_null,
2658 .test = alg_test_null,
2662 .test = alg_test_null,
2665 .test = alg_test_drbg,
2677 .test = alg_test_null,
2680 .test = alg_test_null,
2685 .test = alg_test_null,
2688 .test = alg_test_drbg,
2700 .test = alg_test_null,
2704 .test = alg_test_null,
2707 .test = alg_test_null,
2711 .test = alg_test_skcipher,
2727 .test = alg_test_skcipher,
2742 .test = alg_test_skcipher,
2757 .test = alg_test_skcipher,
2772 .test = alg_test_skcipher,
2787 .test = alg_test_skcipher,
2802 .test = alg_test_skcipher,
2817 .test = alg_test_null,
2820 .test = alg_test_skcipher,
2836 .test = alg_test_skcipher,
2852 .test = alg_test_skcipher,
2867 .test = alg_test_skcipher,
2882 .test = alg_test_skcipher,
2897 .test = alg_test_skcipher,
2912 .test = alg_test_skcipher,
2927 .test = alg_test_skcipher,
2942 .test = alg_test_skcipher,
2957 .test = alg_test_skcipher,
2972 .test = alg_test_skcipher,
2987 .test = alg_test_aead,
3003 .test = alg_test_hash,
3013 .test = alg_test_hash,
3022 .test = alg_test_hash,
3031 .test = alg_test_hash,
3040 .test = alg_test_hash,
3049 .test = alg_test_hash,
3059 .test = alg_test_hash,
3069 .test = alg_test_hash,
3079 .test = alg_test_hash,
3089 .test = alg_test_hash,
3099 .test = alg_test_skcipher,
3114 .test = alg_test_skcipher,
3129 .test = alg_test_skcipher,
3144 .test = alg_test_skcipher,
3159 .test = alg_test_skcipher,
3174 .test = alg_test_comp,
3190 .test = alg_test_comp,
3206 .test = alg_test_comp,
3222 .test = alg_test_hash,
3231 .test = alg_test_hash,
3240 .test = alg_test_hash,
3249 .test = alg_test_skcipher,
3265 .test = alg_test_skcipher,
3280 .test = alg_test_skcipher,
3296 .test = alg_test_aead,
3312 .test = alg_test_aead,
3328 .test = alg_test_aead,
3343 .test = alg_test_hash,
3352 .test = alg_test_hash,
3361 .test = alg_test_hash,
3370 .test = alg_test_hash,
3379 .test = alg_test_skcipher,
3390 .test = alg_test_hash,
3400 .test = alg_test_hash,
3410 .test = alg_test_hash,
3420 .test = alg_test_hash,
3430 .test = alg_test_hash,
3440 .test = alg_test_hash,
3449 .test = alg_test_hash,
3458 .test = alg_test_hash,
3467 .test = alg_test_hash,
3476 .test = alg_test_hash,
3485 .test = alg_test_hash,
3494 .test = alg_test_hash,
3503 .test = alg_test_hash,
3512 .test = alg_test_skcipher,
3528 .test = alg_test_skcipher,
3543 .test = alg_test_skcipher,
3558 .test = alg_test_skcipher,
3573 .test = alg_test_skcipher,
3588 .test = alg_test_pcomp,
3696 rc |= alg_test_descs[i].test(alg_test_descs + i, driver, in alg_test()
3699 rc |= alg_test_descs[j].test(alg_test_descs + j, driver, in alg_test()