Lines Matching refs:mask
57 u32 type, u32 mask) in crypto_alloc_cipher() argument
61 mask |= CRYPTO_ALG_TYPE_MASK; in crypto_alloc_cipher()
63 return __crypto_cipher_cast(crypto_alloc_base(alg_name, type, mask)); in crypto_alloc_cipher()
90 static inline int crypto_has_cipher(const char *alg_name, u32 type, u32 mask) in crypto_has_cipher() argument
94 mask |= CRYPTO_ALG_TYPE_MASK; in crypto_has_cipher()
96 return crypto_has_alg(alg_name, type, mask); in crypto_has_cipher()
185 const char *name, u32 type, u32 mask) in crypto_grab_cipher() argument
189 mask |= CRYPTO_ALG_TYPE_MASK; in crypto_grab_cipher()
190 return crypto_grab_spawn(&spawn->base, inst, name, type, mask); in crypto_grab_cipher()
208 u32 mask = CRYPTO_ALG_TYPE_MASK; in crypto_spawn_cipher() local
210 return __crypto_cipher_cast(crypto_spawn_tfm(&spawn->base, type, mask)); in crypto_spawn_cipher()