Home
last modified time | relevance | path

Searched refs:test (Results 1 – 6 of 6) sorted by relevance

/crypto/
Dtestmgr.c145 int (*test)(const struct alg_test_desc *desc, const char *driver, member
3638 static int drbg_cavs_test(const struct drbg_testvec *test, int pr, in drbg_cavs_test() argument
3645 unsigned char *buf = kzalloc(test->expectedlen, GFP_KERNEL); in drbg_cavs_test()
3659 drbg_string_fill(&testentropy, test->entropy, test->entropylen); in drbg_cavs_test()
3660 drbg_string_fill(&pers, test->pers, test->perslen); in drbg_cavs_test()
3667 drbg_string_fill(&addtl, test->addtla, test->addtllen); in drbg_cavs_test()
3669 drbg_string_fill(&testentropy, test->entpra, test->entprlen); in drbg_cavs_test()
3671 buf, test->expectedlen, &addtl, &test_data); in drbg_cavs_test()
3674 buf, test->expectedlen, &addtl); in drbg_cavs_test()
3682 drbg_string_fill(&addtl, test->addtlb, test->addtllen); in drbg_cavs_test()
[all …]
Dfips140-selftests.c130 int __must_check (*func)(const struct fips_test *test,
198 fips_test_aes_library(const struct fips_test *test, const char *impl) in fips_test_aes_library() argument
200 const struct skcipher_testvec *vec = &test->skcipher; in fips_test_aes_library()
225 fips_test_skcipher(const struct fips_test *test, const char *impl) in fips_test_skcipher() argument
227 const struct skcipher_testvec *vec = &test->skcipher; in fips_test_skcipher()
300 fips_test_aead(const struct fips_test *test, const char *impl) in fips_test_aead() argument
302 const struct aead_testvec *vec = &test->aead; in fips_test_aead()
405 fips_test_hash(const struct fips_test *test, const char *impl) in fips_test_hash() argument
407 const struct hash_testvec *vec = &test->hash; in fips_test_hash()
449 fips_test_sha256_library(const struct fips_test *test, const char *impl) in fips_test_sha256_library() argument
[all …]
Dapi.c236 u32 test = 0; in crypto_alg_lookup() local
239 test |= CRYPTO_ALG_TESTED; in crypto_alg_lookup()
242 alg = __crypto_alg_lookup(name, type | test, mask | test); in crypto_alg_lookup()
243 if (!alg && test) { in crypto_alg_lookup()
Dalgapi.c359 struct crypto_larval *test; in crypto_alg_tested() local
370 test = (struct crypto_larval *)q; in crypto_alg_tested()
381 alg = test->adult; in crypto_alg_tested()
408 complete_all(&test->completion); in crypto_alg_tested()
DKconfig260 Quick & dirty crypto test module.
797 Stress test for CRC32c and CRC-T10DIF algorithms implemented with
/crypto/async_tx/
Draid6test.c152 static int test(int disks, int *tests) in test() function
209 err += test(4, &tests); in raid6_test()
211 err += test(5, &tests); in raid6_test()
216 err += test(11, &tests); in raid6_test()
217 err += test(12, &tests); in raid6_test()
225 err += test(24, &tests); in raid6_test()
227 err += test(NDISKS, &tests); in raid6_test()