Lines Matching defs:crypto_skcipher

42 struct crypto_skcipher {
49 struct crypto_skcipher base;
127 int (*setkey)(struct crypto_skcipher *tfm, const u8 *key,
131 int (*init)(struct crypto_skcipher *tfm);
132 void (*exit)(struct crypto_skcipher *tfm);
190 static inline struct crypto_skcipher *__crypto_skcipher_cast(
193 return container_of(tfm, struct crypto_skcipher, base);
204 * crypto_skcipher is the cipher handle that is required for any subsequent
210 struct crypto_skcipher *crypto_alloc_skcipher(const char *alg_name,
217 struct crypto_skcipher *tfm)
228 static inline void crypto_free_skcipher(struct crypto_skcipher *tfm)
251 struct crypto_skcipher *tfm)
257 struct crypto_skcipher *tfm)
277 static inline unsigned int crypto_skcipher_ivsize(struct crypto_skcipher *tfm)
299 struct crypto_skcipher *tfm)
322 struct crypto_skcipher *tfm)
334 struct crypto_skcipher *tfm)
339 static inline u32 crypto_skcipher_get_flags(struct crypto_skcipher *tfm)
344 static inline void crypto_skcipher_set_flags(struct crypto_skcipher *tfm,
350 static inline void crypto_skcipher_clear_flags(struct crypto_skcipher *tfm,
390 int crypto_skcipher_setkey(struct crypto_skcipher *tfm,
400 struct crypto_skcipher *tfm)
406 struct crypto_skcipher *tfm)
415 * Return the crypto_skcipher handle when furnishing an skcipher_request
418 * Return: crypto_skcipher handle
420 static inline struct crypto_skcipher *crypto_skcipher_reqtfm(
429 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req);
477 static inline unsigned int crypto_skcipher_reqsize(struct crypto_skcipher *tfm)
491 struct crypto_skcipher *tfm)
520 struct crypto_skcipher *tfm, gfp_t gfp)
544 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req);