Lines Matching refs:crypto_skcipher

55 struct crypto_skcipher {  struct
56 int (*setkey)(struct crypto_skcipher *tfm, const u8 *key, argument
180 static inline struct crypto_skcipher *__crypto_skcipher_cast( in __crypto_skcipher_cast()
183 return container_of(tfm, struct crypto_skcipher, base); in __crypto_skcipher_cast()
200 struct crypto_skcipher *crypto_alloc_skcipher(const char *alg_name,
204 struct crypto_skcipher *tfm) in crypto_skcipher_tfm()
213 static inline void crypto_free_skcipher(struct crypto_skcipher *tfm) in crypto_free_skcipher()
244 static inline unsigned int crypto_skcipher_ivsize(struct crypto_skcipher *tfm) in crypto_skcipher_ivsize()
260 struct crypto_skcipher *tfm) in crypto_skcipher_blocksize()
266 struct crypto_skcipher *tfm) in crypto_skcipher_alignmask()
271 static inline u32 crypto_skcipher_get_flags(struct crypto_skcipher *tfm) in crypto_skcipher_get_flags()
276 static inline void crypto_skcipher_set_flags(struct crypto_skcipher *tfm, in crypto_skcipher_set_flags()
282 static inline void crypto_skcipher_clear_flags(struct crypto_skcipher *tfm, in crypto_skcipher_clear_flags()
304 static inline int crypto_skcipher_setkey(struct crypto_skcipher *tfm, in crypto_skcipher_setkey()
310 static inline bool crypto_skcipher_has_setkey(struct crypto_skcipher *tfm) in crypto_skcipher_has_setkey()
324 static inline struct crypto_skcipher *crypto_skcipher_reqtfm( in crypto_skcipher_reqtfm()
343 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in crypto_skcipher_encrypt()
361 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in crypto_skcipher_decrypt()
383 static inline unsigned int crypto_skcipher_reqsize(struct crypto_skcipher *tfm) in crypto_skcipher_reqsize()
397 struct crypto_skcipher *tfm) in skcipher_request_set_tfm()
421 struct crypto_skcipher *tfm, gfp_t gfp) in skcipher_request_alloc()