Home
last modified time | relevance | path

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

/crypto/
Dtestmgr.c142 int (*test)(const struct alg_test_desc *desc, const char *driver, member
3865 static int drbg_cavs_test(const struct drbg_testvec *test, int pr, in drbg_cavs_test() argument
3872 unsigned char *buf = kzalloc(test->expectedlen, GFP_KERNEL); in drbg_cavs_test()
3886 drbg_string_fill(&testentropy, test->entropy, test->entropylen); in drbg_cavs_test()
3887 drbg_string_fill(&pers, test->pers, test->perslen); in drbg_cavs_test()
3894 drbg_string_fill(&addtl, test->addtla, test->addtllen); in drbg_cavs_test()
3896 drbg_string_fill(&testentropy, test->entpra, test->entprlen); in drbg_cavs_test()
3898 buf, test->expectedlen, &addtl, &test_data); in drbg_cavs_test()
3901 buf, test->expectedlen, &addtl); in drbg_cavs_test()
3909 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.c239 u32 test = 0; in crypto_alg_lookup() local
242 test |= CRYPTO_ALG_TESTED; in crypto_alg_lookup()
245 alg = __crypto_alg_lookup(name, (type | test) & ~fips, in crypto_alg_lookup()
246 (mask | test) & ~fips); in crypto_alg_lookup()
258 } else if (test) { in crypto_alg_lookup()
Dalgapi.c375 struct crypto_larval *test; in crypto_alg_tested() local
386 test = (struct crypto_larval *)q; in crypto_alg_tested()
397 alg = test->adult; in crypto_alg_tested()
432 complete_all(&test->completion); in crypto_alg_tested()
DKconfig298 Quick & dirty crypto test module.
1367 The test interface allows a privileged process to capture
/crypto/asymmetric_keys/
Dselftest.c203 const struct certs_test *test = &certs_tests[i]; in fips_signature_selftest() local
206 pkcs7 = pkcs7_parse_message(test->pkcs7, test->pkcs7_len); in fips_signature_selftest()
210 pkcs7_supply_detached_data(pkcs7, test->data, test->data_len); in fips_signature_selftest()
/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()