Lines Matching defs:crypto_tfm

144  * declaration) is used to ensure that the crypto_tfm context structure is
157 struct crypto_tfm;
174 struct crypto_tfm *tfm;
236 int (*cia_setkey)(struct crypto_tfm *tfm, const u8 *key,
238 void (*cia_encrypt)(struct crypto_tfm *tfm, u8 *dst, const u8 *src);
239 void (*cia_decrypt)(struct crypto_tfm *tfm, u8 *dst, const u8 *src);
254 int (*coa_compress)(struct crypto_tfm *tfm, const u8 *src,
256 int (*coa_decompress)(struct crypto_tfm *tfm, const u8 *src,
365 int (*cra_init)(struct crypto_tfm *tfm);
366 void (*cra_exit)(struct crypto_tfm *tfm);
422 struct crypto_tfm {
429 void (*exit)(struct crypto_tfm *tfm);
437 struct crypto_tfm base;
444 struct crypto_tfm *crypto_alloc_base(const char *alg_name, u32 type, u32 mask);
445 void crypto_destroy_tfm(void *mem, struct crypto_tfm *tfm);
447 static inline void crypto_free_tfm(struct crypto_tfm *tfm)
455 static inline const char *crypto_tfm_alg_name(struct crypto_tfm *tfm)
460 static inline const char *crypto_tfm_alg_driver_name(struct crypto_tfm *tfm)
465 static inline unsigned int crypto_tfm_alg_blocksize(struct crypto_tfm *tfm)
470 static inline unsigned int crypto_tfm_alg_alignmask(struct crypto_tfm *tfm)
475 static inline u32 crypto_tfm_get_flags(struct crypto_tfm *tfm)
480 static inline void crypto_tfm_set_flags(struct crypto_tfm *tfm, u32 flags)
485 static inline void crypto_tfm_clear_flags(struct crypto_tfm *tfm, u32 flags)
492 struct crypto_tfm *tfm;
496 static inline struct crypto_comp *__crypto_comp_cast(struct crypto_tfm *tfm)
511 static inline struct crypto_tfm *crypto_comp_tfm(struct crypto_comp *tfm)