Lines Matching refs:type
64 int alg_test(const char *driver, const char *alg, u32 type, u32 mask) in alg_test() argument
149 u32 type, u32 mask);
1263 static int check_hash_result(const char *type, in check_hash_result() argument
1272 type, driver, vec_name, cfg->name); in check_hash_result()
1277 type, driver, vec_name, cfg->name); in check_hash_result()
1871 static int alloc_shash(const char *driver, u32 type, u32 mask, in alloc_shash() argument
1878 tfm = crypto_alloc_shash(driver, type, mask); in alloc_shash()
1906 u32 type, u32 mask, in __alg_test_hash() argument
1924 atfm = crypto_alloc_ahash(driver, type, mask); in __alg_test_hash()
1946 err = alloc_shash(driver, type, mask, &stfm, &desc); in __alg_test_hash()
1996 u32 type, u32 mask) in alg_test_hash() argument
2026 err = __alg_test_hash(template, nr_unkeyed, driver, type, mask, in alg_test_hash()
2032 err = __alg_test_hash(template, nr_keyed, driver, type, mask, in alg_test_hash()
2664 u32 type, u32 mask) in alg_test_aead() argument
2677 tfm = crypto_alloc_aead(driver, type, mask); in alg_test_aead()
3221 const char *driver, u32 type, u32 mask) in alg_test_skcipher() argument
3234 tfm = crypto_alloc_skcipher(driver, type, mask); in alg_test_skcipher()
3508 const char *driver, u32 type, u32 mask) in alg_test_cipher() argument
3514 tfm = crypto_alloc_cipher(driver, type, mask); in alg_test_cipher()
3532 u32 type, u32 mask) in alg_test_comp() argument
3537 acomp = crypto_alloc_acomp(driver, type, mask); in alg_test_comp()
3554 u32 type, u32 mask) in alg_test_cprng() argument
3559 rng = crypto_alloc_rng(driver, type, mask); in alg_test_cprng()
3577 const char *driver, u32 type, u32 mask) in drbg_cavs_test() argument
3588 drng = crypto_alloc_rng(driver, type, mask); in drbg_cavs_test()
3647 u32 type, u32 mask) in alg_test_drbg() argument
3659 err = drbg_cavs_test(&template[i], pr, driver, type, mask); in alg_test_drbg()
3830 u32 type, u32 mask) in alg_test_kpp() argument
3835 tfm = crypto_alloc_kpp(driver, type, mask); in alg_test_kpp()
4013 const char *driver, u32 type, u32 mask) in alg_test_akcipher() argument
4018 tfm = crypto_alloc_akcipher(driver, type, mask); in alg_test_akcipher()
4123 u32 type, u32 mask) in alg_test_sig() argument
4128 tfm = crypto_alloc_sig(driver, type, mask); in alg_test_sig()
4143 const char *driver, u32 type, u32 mask) in alg_test_null() argument
5761 int alg_test(const char *driver, const char *alg, u32 type, u32 mask) in alg_test() argument
5774 if ((type & CRYPTO_ALG_TYPE_MASK) == CRYPTO_ALG_TYPE_CIPHER) { in alg_test()
5788 rc = alg_test_cipher(alg_test_descs + i, driver, type, mask); in alg_test()
5808 type, mask); in alg_test()
5811 type, mask); in alg_test()
5834 if ((type & CRYPTO_ALG_TYPE_MASK) == CRYPTO_ALG_TYPE_LSKCIPHER) { in alg_test()
5848 rc = alg_test_skcipher(alg_test_descs + i, driver, type, mask); in alg_test()
5855 if (type & CRYPTO_ALG_FIPS_INTERNAL) in alg_test()