Lines Matching refs:crypto_tfm

176 struct crypto_tfm;
192 struct crypto_tfm *tfm;
254 int (*cia_setkey)(struct crypto_tfm *tfm, const u8 *key,
256 void (*cia_encrypt)(struct crypto_tfm *tfm, u8 *dst, const u8 *src);
257 void (*cia_decrypt)(struct crypto_tfm *tfm, u8 *dst, const u8 *src);
272 int (*coa_compress)(struct crypto_tfm *tfm, const u8 *src,
274 int (*coa_decompress)(struct crypto_tfm *tfm, const u8 *src,
500 int (*cra_init)(struct crypto_tfm *tfm);
501 void (*cra_exit)(struct crypto_tfm *tfm);
638 struct crypto_tfm { struct
644 void (*exit)(struct crypto_tfm *tfm); argument
652 struct crypto_tfm base; argument
659 struct crypto_tfm *crypto_alloc_base(const char *alg_name, u32 type, u32 mask);
660 void crypto_destroy_tfm(void *mem, struct crypto_tfm *tfm);
662 static inline void crypto_free_tfm(struct crypto_tfm *tfm) in crypto_free_tfm()
672 static inline const char *crypto_tfm_alg_name(struct crypto_tfm *tfm) in crypto_tfm_alg_name()
677 static inline const char *crypto_tfm_alg_driver_name(struct crypto_tfm *tfm) in crypto_tfm_alg_driver_name()
682 static inline int crypto_tfm_alg_priority(struct crypto_tfm *tfm) in crypto_tfm_alg_priority()
687 static inline u32 crypto_tfm_alg_type(struct crypto_tfm *tfm) in crypto_tfm_alg_type()
692 static inline unsigned int crypto_tfm_alg_blocksize(struct crypto_tfm *tfm) in crypto_tfm_alg_blocksize()
697 static inline unsigned int crypto_tfm_alg_alignmask(struct crypto_tfm *tfm) in crypto_tfm_alg_alignmask()
702 static inline u32 crypto_tfm_get_flags(struct crypto_tfm *tfm) in crypto_tfm_get_flags()
707 static inline void crypto_tfm_set_flags(struct crypto_tfm *tfm, u32 flags) in crypto_tfm_set_flags()
712 static inline void crypto_tfm_clear_flags(struct crypto_tfm *tfm, u32 flags) in crypto_tfm_clear_flags()
717 static inline void *crypto_tfm_ctx(struct crypto_tfm *tfm) in crypto_tfm_ctx()
724 struct crypto_tfm *tfm; in crypto_tfm_ctx_alignment()
728 static inline struct crypto_comp *__crypto_comp_cast(struct crypto_tfm *tfm) in __crypto_comp_cast()
743 static inline struct crypto_tfm *crypto_comp_tfm(struct crypto_comp *tfm) in crypto_comp_tfm()