Lines Matching refs:mask
793 const char *name, u32 type, u32 mask) in crypto_grab_skcipher() argument
796 return crypto_grab_spawn(&spawn->base, inst, name, type, mask); in crypto_grab_skcipher()
801 u32 type, u32 mask) in crypto_alloc_skcipher() argument
803 return crypto_alloc_tfm(alg_name, &crypto_skcipher_type, type, mask); in crypto_alloc_skcipher()
808 const char *alg_name, u32 type, u32 mask) in crypto_alloc_sync_skcipher() argument
813 mask |= CRYPTO_ALG_ASYNC | CRYPTO_ALG_SKCIPHER_REQSIZE_LARGE; in crypto_alloc_sync_skcipher()
815 tfm = crypto_alloc_tfm(alg_name, &crypto_skcipher_type, type, mask); in crypto_alloc_sync_skcipher()
831 int crypto_has_skcipher(const char *alg_name, u32 type, u32 mask) in crypto_has_skcipher() argument
833 return crypto_type_has_alg(alg_name, &crypto_skcipher_type, type, mask); in crypto_has_skcipher()
983 u32 mask; in skcipher_alloc_instance_simple() local
989 err = crypto_check_attr_type(tb, CRYPTO_ALG_TYPE_SKCIPHER, &mask); in skcipher_alloc_instance_simple()
999 crypto_attr_alg_name(tb[1]), 0, mask); in skcipher_alloc_instance_simple()