Lines Matching refs:crypto_skcipher

37 struct crypto_skcipher {  struct
38 int (*setkey)(struct crypto_skcipher *tfm, const u8 *key, argument
51 struct crypto_skcipher base; argument
112 int (*setkey)(struct crypto_skcipher *tfm, const u8 *key,
116 int (*init)(struct crypto_skcipher *tfm);
117 void (*exit)(struct crypto_skcipher *tfm);
171 static inline struct crypto_skcipher *__crypto_skcipher_cast( in __crypto_skcipher_cast()
174 return container_of(tfm, struct crypto_skcipher, base); in __crypto_skcipher_cast()
191 struct crypto_skcipher *crypto_alloc_skcipher(const char *alg_name,
198 struct crypto_skcipher *tfm) in crypto_skcipher_tfm()
207 static inline void crypto_free_skcipher(struct crypto_skcipher *tfm) in crypto_free_skcipher()
247 struct crypto_skcipher *tfm) in crypto_skcipher_driver_name()
253 struct crypto_skcipher *tfm) in crypto_skcipher_alg()
280 static inline unsigned int crypto_skcipher_ivsize(struct crypto_skcipher *tfm) in crypto_skcipher_ivsize()
302 struct crypto_skcipher *tfm) in crypto_skcipher_blocksize()
314 struct crypto_skcipher *tfm) in crypto_skcipher_alignmask()
319 static inline u32 crypto_skcipher_get_flags(struct crypto_skcipher *tfm) in crypto_skcipher_get_flags()
324 static inline void crypto_skcipher_set_flags(struct crypto_skcipher *tfm, in crypto_skcipher_set_flags()
330 static inline void crypto_skcipher_clear_flags(struct crypto_skcipher *tfm, in crypto_skcipher_clear_flags()
370 static inline int crypto_skcipher_setkey(struct crypto_skcipher *tfm, in crypto_skcipher_setkey()
383 struct crypto_skcipher *tfm) in crypto_skcipher_default_keysize()
397 static inline struct crypto_skcipher *crypto_skcipher_reqtfm( in crypto_skcipher_reqtfm()
406 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in crypto_sync_skcipher_reqtfm()
454 static inline unsigned int crypto_skcipher_reqsize(struct crypto_skcipher *tfm) in crypto_skcipher_reqsize()
468 struct crypto_skcipher *tfm) in skcipher_request_set_tfm()
497 struct crypto_skcipher *tfm, gfp_t gfp) in skcipher_request_alloc()
521 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in skcipher_request_zero()