Lines Matching refs:mask
27 unsigned int (*ctxsize)(struct crypto_alg *alg, u32 type, u32 mask);
29 int (*init)(struct crypto_tfm *tfm, u32 type, u32 mask);
33 struct crypto_alg *(*lookup)(const char *name, u32 type, u32 mask);
68 u32 mask; member
145 struct crypto_instance *inst, u32 mask);
150 u32 type, u32 mask);
154 u32 mask);
168 u32 type, u32 mask);
171 u32 type, u32 mask) in crypto_attr_alg() argument
173 return crypto_attr_alg2(rta, NULL, type, mask); in crypto_attr_alg()
249 u32 mask = CRYPTO_ALG_TYPE_MASK; in crypto_spawn_blkcipher() local
251 return __crypto_blkcipher_cast(crypto_spawn_tfm(spawn, type, mask)); in crypto_spawn_blkcipher()
268 u32 mask = CRYPTO_ALG_TYPE_MASK; in crypto_spawn_cipher() local
270 return __crypto_cipher_cast(crypto_spawn_tfm(spawn, type, mask)); in crypto_spawn_cipher()
281 u32 mask = CRYPTO_ALG_TYPE_HASH_MASK; in crypto_spawn_hash() local
283 return __crypto_hash_cast(crypto_spawn_tfm(spawn, type, mask)); in crypto_spawn_hash()
354 u32 type, u32 mask) in crypto_get_attr_alg() argument
356 return crypto_attr_alg(tb[1], type, mask); in crypto_get_attr_alg()
363 static inline int crypto_requires_sync(u32 type, u32 mask) in crypto_requires_sync() argument
365 return (type ^ CRYPTO_ALG_ASYNC) & mask & CRYPTO_ALG_ASYNC; in crypto_requires_sync()