Lines Matching refs:mask
32 unsigned int (*ctxsize)(struct crypto_alg *alg, u32 type, u32 mask);
34 int (*init)(struct crypto_tfm *tfm, u32 type, u32 mask);
72 u32 mask; member
151 struct crypto_instance *inst, u32 mask);
156 u32 type, u32 mask);
160 u32 mask);
174 u32 type, u32 mask);
177 u32 type, u32 mask) in crypto_attr_alg() argument
179 return crypto_attr_alg2(rta, NULL, type, mask); in crypto_attr_alg()
293 u32 mask = CRYPTO_ALG_TYPE_MASK; in crypto_spawn_blkcipher() local
295 return __crypto_blkcipher_cast(crypto_spawn_tfm(spawn, type, mask)); in crypto_spawn_blkcipher()
312 u32 mask = CRYPTO_ALG_TYPE_MASK; in crypto_spawn_cipher() local
314 return __crypto_cipher_cast(crypto_spawn_tfm(spawn, type, mask)); in crypto_spawn_cipher()
374 u32 type, u32 mask) in crypto_get_attr_alg() argument
376 return crypto_attr_alg(tb[1], type, mask); in crypto_get_attr_alg()
379 static inline int crypto_requires_off(u32 type, u32 mask, u32 off) in crypto_requires_off() argument
381 return (type ^ off) & mask & off; in crypto_requires_off()
388 static inline int crypto_requires_sync(u32 type, u32 mask) in crypto_requires_sync() argument
390 return crypto_requires_off(type, mask, CRYPTO_ALG_ASYNC); in crypto_requires_sync()