Lines Matching defs:crypto_skcipher
37 struct crypto_skcipher {
44 struct crypto_skcipher base;
105 int (*setkey)(struct crypto_skcipher *tfm, const u8 *key,
109 int (*init)(struct crypto_skcipher *tfm);
110 void (*exit)(struct crypto_skcipher *tfm);
164 static inline struct crypto_skcipher *__crypto_skcipher_cast(
167 return container_of(tfm, struct crypto_skcipher, base);
178 * crypto_skcipher is the cipher handle that is required for any subsequent
184 struct crypto_skcipher *crypto_alloc_skcipher(const char *alg_name,
191 struct crypto_skcipher *tfm)
202 static inline void crypto_free_skcipher(struct crypto_skcipher *tfm)
225 struct crypto_skcipher *tfm)
231 struct crypto_skcipher *tfm)
251 static inline unsigned int crypto_skcipher_ivsize(struct crypto_skcipher *tfm)
273 struct crypto_skcipher *tfm)
296 struct crypto_skcipher *tfm)
308 struct crypto_skcipher *tfm)
313 static inline u32 crypto_skcipher_get_flags(struct crypto_skcipher *tfm)
318 static inline void crypto_skcipher_set_flags(struct crypto_skcipher *tfm,
324 static inline void crypto_skcipher_clear_flags(struct crypto_skcipher *tfm,
364 int crypto_skcipher_setkey(struct crypto_skcipher *tfm,
374 struct crypto_skcipher *tfm)
380 struct crypto_skcipher *tfm)
389 * Return the crypto_skcipher handle when furnishing an skcipher_request
392 * Return: crypto_skcipher handle
394 static inline struct crypto_skcipher *crypto_skcipher_reqtfm(
403 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req);
451 static inline unsigned int crypto_skcipher_reqsize(struct crypto_skcipher *tfm)
465 struct crypto_skcipher *tfm)
494 struct crypto_skcipher *tfm, gfp_t gfp)
518 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req);