Lines Matching refs:test

128 	int (*test)(const struct alg_test_desc *desc, const char *driver,  member
1756 static int drbg_cavs_test(struct drbg_testvec *test, int pr, in drbg_cavs_test() argument
1763 unsigned char *buf = kzalloc(test->expectedlen, GFP_KERNEL); in drbg_cavs_test()
1777 drbg_string_fill(&testentropy, test->entropy, test->entropylen); in drbg_cavs_test()
1778 drbg_string_fill(&pers, test->pers, test->perslen); in drbg_cavs_test()
1785 drbg_string_fill(&addtl, test->addtla, test->addtllen); in drbg_cavs_test()
1787 drbg_string_fill(&testentropy, test->entpra, test->entprlen); in drbg_cavs_test()
1789 buf, test->expectedlen, &addtl, &test_data); in drbg_cavs_test()
1792 buf, test->expectedlen, &addtl); in drbg_cavs_test()
1800 drbg_string_fill(&addtl, test->addtlb, test->addtllen); in drbg_cavs_test()
1802 drbg_string_fill(&testentropy, test->entprb, test->entprlen); in drbg_cavs_test()
1804 buf, test->expectedlen, &addtl, &test_data); in drbg_cavs_test()
1807 buf, test->expectedlen, &addtl); in drbg_cavs_test()
1815 ret = memcmp(test->expected, buf, test->expectedlen); in drbg_cavs_test()
2018 .test = alg_test_null,
2021 .test = alg_test_null,
2024 .test = alg_test_null,
2027 .test = alg_test_null,
2030 .test = alg_test_null,
2033 .test = alg_test_null,
2036 .test = alg_test_null,
2040 .test = alg_test_null,
2043 .test = alg_test_null,
2046 .test = alg_test_null,
2049 .test = alg_test_null,
2052 .test = alg_test_null,
2055 .test = alg_test_null,
2058 .test = alg_test_null,
2061 .test = alg_test_null,
2064 .test = alg_test_null,
2068 .test = alg_test_null,
2071 .test = alg_test_null,
2074 .test = alg_test_null,
2077 .test = alg_test_null,
2080 .test = alg_test_null,
2083 .test = alg_test_null,
2086 .test = alg_test_null,
2089 .test = alg_test_null,
2092 .test = alg_test_null,
2096 .test = alg_test_null,
2100 .test = alg_test_cprng,
2110 .test = alg_test_aead,
2125 .test = alg_test_aead,
2138 .test = alg_test_aead,
2151 .test = alg_test_aead,
2164 .test = alg_test_aead,
2183 .test = alg_test_aead,
2196 .test = alg_test_aead,
2209 .test = alg_test_aead,
2222 .test = alg_test_aead,
2235 .test = alg_test_aead,
2248 .test = alg_test_aead,
2261 .test = alg_test_aead,
2274 .test = alg_test_aead,
2287 .test = alg_test_aead,
2300 .test = alg_test_aead,
2313 .test = alg_test_skcipher,
2329 .test = alg_test_skcipher,
2344 .test = alg_test_skcipher,
2359 .test = alg_test_skcipher,
2374 .test = alg_test_skcipher,
2389 .test = alg_test_skcipher,
2404 .test = alg_test_skcipher,
2419 .test = alg_test_skcipher,
2435 .test = alg_test_skcipher,
2450 .test = alg_test_skcipher,
2465 .test = alg_test_aead,
2481 .test = alg_test_skcipher,
2497 .test = alg_test_hash,
2507 .test = alg_test_hash,
2516 .test = alg_test_null,
2519 .test = alg_test_hash,
2528 .test = alg_test_crc32c,
2538 .test = alg_test_hash,
2548 .test = alg_test_null,
2552 .test = alg_test_null,
2555 .test = alg_test_null,
2558 .test = alg_test_null,
2561 .test = alg_test_null,
2565 .test = alg_test_null,
2568 .test = alg_test_null,
2571 .test = alg_test_null,
2574 .test = alg_test_null,
2577 .test = alg_test_null,
2580 .test = alg_test_null,
2583 .test = alg_test_null,
2586 .test = alg_test_null,
2589 .test = alg_test_null,
2593 .test = alg_test_null,
2597 .test = alg_test_skcipher,
2613 .test = alg_test_skcipher,
2628 .test = alg_test_skcipher,
2643 .test = alg_test_skcipher,
2658 .test = alg_test_skcipher,
2673 .test = alg_test_skcipher,
2688 .test = alg_test_skcipher,
2703 .test = alg_test_skcipher,
2718 .test = alg_test_skcipher,
2733 .test = alg_test_skcipher,
2748 .test = alg_test_comp,
2764 .test = alg_test_null,
2767 .test = alg_test_drbg,
2777 .test = alg_test_drbg,
2787 .test = alg_test_drbg,
2802 .test = alg_test_null,
2805 .test = alg_test_drbg,
2818 .test = alg_test_null,
2821 .test = alg_test_null,
2826 .test = alg_test_null,
2829 .test = alg_test_drbg,
2841 .test = alg_test_null,
2845 .test = alg_test_null,
2848 .test = alg_test_drbg,
2860 .test = alg_test_null,
2864 .test = alg_test_null,
2868 .test = alg_test_null,
2871 .test = alg_test_drbg,
2883 .test = alg_test_null,
2886 .test = alg_test_null,
2891 .test = alg_test_null,
2894 .test = alg_test_drbg,
2906 .test = alg_test_null,
2910 .test = alg_test_null,
2913 .test = alg_test_null,
2917 .test = alg_test_skcipher,
2933 .test = alg_test_skcipher,
2948 .test = alg_test_skcipher,
2963 .test = alg_test_skcipher,
2978 .test = alg_test_skcipher,
2993 .test = alg_test_skcipher,
3008 .test = alg_test_skcipher,
3023 .test = alg_test_null,
3026 .test = alg_test_skcipher,
3041 .test = alg_test_skcipher,
3057 .test = alg_test_skcipher,
3072 .test = alg_test_skcipher,
3087 .test = alg_test_skcipher,
3102 .test = alg_test_skcipher,
3117 .test = alg_test_skcipher,
3132 .test = alg_test_skcipher,
3147 .test = alg_test_skcipher,
3162 .test = alg_test_skcipher,
3177 .test = alg_test_skcipher,
3192 .test = alg_test_aead,
3208 .test = alg_test_hash,
3218 .test = alg_test_hash,
3227 .test = alg_test_hash,
3236 .test = alg_test_hash,
3245 .test = alg_test_hash,
3254 .test = alg_test_hash,
3264 .test = alg_test_hash,
3274 .test = alg_test_hash,
3284 .test = alg_test_hash,
3294 .test = alg_test_hash,
3305 .test = alg_test_null,
3308 .test = alg_test_skcipher,
3324 .test = alg_test_skcipher,
3339 .test = alg_test_skcipher,
3354 .test = alg_test_skcipher,
3369 .test = alg_test_skcipher,
3384 .test = alg_test_skcipher,
3399 .test = alg_test_comp,
3415 .test = alg_test_comp,
3431 .test = alg_test_comp,
3447 .test = alg_test_hash,
3456 .test = alg_test_hash,
3465 .test = alg_test_hash,
3474 .test = alg_test_skcipher,
3490 .test = alg_test_skcipher,
3505 .test = alg_test_hash,
3514 .test = alg_test_skcipher,
3530 .test = alg_test_aead,
3546 .test = alg_test_aead,
3562 .test = alg_test_aead,
3577 .test = alg_test_aead,
3592 .test = alg_test_aead,
3607 .test = alg_test_hash,
3616 .test = alg_test_hash,
3625 .test = alg_test_hash,
3634 .test = alg_test_hash,
3643 .test = alg_test_akcipher,
3653 .test = alg_test_skcipher,
3664 .test = alg_test_hash,
3674 .test = alg_test_hash,
3684 .test = alg_test_hash,
3694 .test = alg_test_hash,
3704 .test = alg_test_hash,
3714 .test = alg_test_hash,
3723 .test = alg_test_hash,
3732 .test = alg_test_hash,
3741 .test = alg_test_hash,
3750 .test = alg_test_hash,
3759 .test = alg_test_hash,
3768 .test = alg_test_hash,
3777 .test = alg_test_hash,
3786 .test = alg_test_skcipher,
3802 .test = alg_test_skcipher,
3817 .test = alg_test_skcipher,
3832 .test = alg_test_skcipher,
3847 .test = alg_test_skcipher,
3862 .test = alg_test_pcomp,
3970 rc |= alg_test_descs[i].test(alg_test_descs + i, driver, in alg_test()
3973 rc |= alg_test_descs[j].test(alg_test_descs + j, driver, in alg_test()