Lines Matching refs:mask
25 unsigned int (*ctxsize)(struct crypto_alg *alg, u32 type, u32 mask);
27 int (*init)(struct crypto_tfm *tfm, u32 type, u32 mask);
31 struct crypto_alg *(*lookup)(const char *name, u32 type, u32 mask);
65 u32 mask; member
143 struct crypto_instance *inst, u32 mask);
150 u32 mask);
164 u32 type, u32 mask);
167 u32 type, u32 mask) in crypto_attr_alg() argument
169 return crypto_attr_alg2(rta, NULL, type, mask); in crypto_attr_alg()
262 u32 mask = CRYPTO_ALG_TYPE_MASK; in crypto_spawn_blkcipher() local
264 return __crypto_blkcipher_cast(crypto_spawn_tfm(spawn, type, mask)); in crypto_spawn_blkcipher()
281 u32 mask = CRYPTO_ALG_TYPE_MASK; in crypto_spawn_cipher() local
283 return __crypto_cipher_cast(crypto_spawn_tfm(spawn, type, mask)); in crypto_spawn_cipher()
294 u32 mask = CRYPTO_ALG_TYPE_HASH_MASK; in crypto_spawn_hash() local
296 return __crypto_hash_cast(crypto_spawn_tfm(spawn, type, mask)); in crypto_spawn_hash()
382 u32 type, u32 mask) in crypto_get_attr_alg() argument
384 return crypto_attr_alg(tb[1], type, mask); in crypto_get_attr_alg()
391 static inline int crypto_requires_sync(u32 type, u32 mask) in crypto_requires_sync() argument
393 return (type ^ CRYPTO_ALG_ASYNC) & mask & CRYPTO_ALG_ASYNC; in crypto_requires_sync()