Lines Matching refs:type
66 int alg_test(const char *driver, const char *alg, u32 type, u32 mask) in alg_test() argument
146 u32 type, u32 mask);
1141 static int check_hash_result(const char *type, in check_hash_result() argument
1150 type, driver, vec_name, cfg->name); in check_hash_result()
1155 type, driver, vec_name, cfg->name); in check_hash_result()
1767 static int alloc_shash(const char *driver, u32 type, u32 mask, in alloc_shash() argument
1774 tfm = crypto_alloc_shash(driver, type, mask); in alloc_shash()
1802 u32 type, u32 mask, in __alg_test_hash() argument
1820 atfm = crypto_alloc_ahash(driver, type, mask); in __alg_test_hash()
1839 err = alloc_shash(driver, type, mask, &stfm, &desc); in __alg_test_hash()
1887 u32 type, u32 mask) in alg_test_hash() argument
1917 err = __alg_test_hash(template, nr_unkeyed, driver, type, mask, in alg_test_hash()
1923 err = __alg_test_hash(template, nr_keyed, driver, type, mask, in alg_test_hash()
2562 u32 type, u32 mask) in alg_test_aead() argument
2575 tfm = crypto_alloc_aead(driver, type, mask); in alg_test_aead()
3133 const char *driver, u32 type, u32 mask) in alg_test_skcipher() argument
3146 tfm = crypto_alloc_skcipher(driver, type, mask); in alg_test_skcipher()
3524 const char *driver, u32 type, u32 mask) in alg_test_cipher() argument
3530 tfm = crypto_alloc_cipher(driver, type, mask); in alg_test_cipher()
3546 u32 type, u32 mask) in alg_test_comp() argument
3551 u32 algo_type = type & CRYPTO_ALG_TYPE_ACOMPRESS_MASK; in alg_test_comp()
3554 acomp = crypto_alloc_acomp(driver, type, mask); in alg_test_comp()
3566 comp = crypto_alloc_comp(driver, type, mask); in alg_test_comp()
3584 const char *driver, u32 type, u32 mask) in alg_test_crc32c() argument
3590 err = alg_test_hash(desc, driver, type, mask); in alg_test_crc32c()
3594 tfm = crypto_alloc_shash(driver, type, mask); in alg_test_crc32c()
3636 u32 type, u32 mask) in alg_test_cprng() argument
3641 rng = crypto_alloc_rng(driver, type, mask); in alg_test_cprng()
3657 const char *driver, u32 type, u32 mask) in drbg_cavs_test() argument
3668 drng = crypto_alloc_rng(driver, type, mask); in drbg_cavs_test()
3725 u32 type, u32 mask) in alg_test_drbg() argument
3737 err = drbg_cavs_test(&template[i], pr, driver, type, mask); in alg_test_drbg()
3908 u32 type, u32 mask) in alg_test_kpp() argument
3913 tfm = crypto_alloc_kpp(driver, type, mask); in alg_test_kpp()
4136 const char *driver, u32 type, u32 mask) in alg_test_akcipher() argument
4141 tfm = crypto_alloc_akcipher(driver, type, mask); in alg_test_akcipher()
4156 const char *driver, u32 type, u32 mask) in alg_test_null() argument
5634 int alg_test(const char *driver, const char *alg, u32 type, u32 mask) in alg_test() argument
5647 if ((type & CRYPTO_ALG_TYPE_MASK) == CRYPTO_ALG_TYPE_CIPHER) { in alg_test()
5661 rc = alg_test_cipher(alg_test_descs + i, driver, type, mask); in alg_test()
5677 type, mask); in alg_test()
5680 type, mask); in alg_test()