Lines Matching refs:mask
982 const char *name, u32 type, u32 mask) in crypto_grab_skcipher() argument
985 return crypto_grab_spawn(&spawn->base, name, type, mask); in crypto_grab_skcipher()
990 u32 type, u32 mask) in crypto_alloc_skcipher() argument
992 return crypto_alloc_tfm(alg_name, &crypto_skcipher_type2, type, mask); in crypto_alloc_skcipher()
997 const char *alg_name, u32 type, u32 mask) in crypto_alloc_sync_skcipher() argument
1002 mask |= CRYPTO_ALG_ASYNC; in crypto_alloc_sync_skcipher()
1004 tfm = crypto_alloc_tfm(alg_name, &crypto_skcipher_type2, type, mask); in crypto_alloc_sync_skcipher()
1020 int crypto_has_skcipher2(const char *alg_name, u32 type, u32 mask) in crypto_has_skcipher2() argument
1023 type, mask); in crypto_has_skcipher2()
1177 u32 mask; in skcipher_alloc_instance_simple() local
1184 if ((algt->type ^ CRYPTO_ALG_TYPE_SKCIPHER) & algt->mask) in skcipher_alloc_instance_simple()
1187 mask = CRYPTO_ALG_TYPE_MASK | in skcipher_alloc_instance_simple()
1188 crypto_requires_off(algt->type, algt->mask, in skcipher_alloc_instance_simple()
1191 cipher_alg = crypto_get_attr_alg(tb, CRYPTO_ALG_TYPE_CIPHER, mask); in skcipher_alloc_instance_simple()