Lines Matching refs:crypto_tfm

167 struct crypto_tfm;
183 struct crypto_tfm *tfm;
245 int (*cia_setkey)(struct crypto_tfm *tfm, const u8 *key,
247 void (*cia_encrypt)(struct crypto_tfm *tfm, u8 *dst, const u8 *src);
248 void (*cia_decrypt)(struct crypto_tfm *tfm, u8 *dst, const u8 *src);
263 int (*coa_compress)(struct crypto_tfm *tfm, const u8 *src,
265 int (*coa_decompress)(struct crypto_tfm *tfm, const u8 *src,
491 int (*cra_init)(struct crypto_tfm *tfm);
492 void (*cra_exit)(struct crypto_tfm *tfm);
629 struct crypto_tfm { struct
635 void (*exit)(struct crypto_tfm *tfm); argument
643 struct crypto_tfm base; argument
676 struct crypto_tfm *crypto_alloc_base(const char *alg_name, u32 type, u32 mask);
677 void crypto_destroy_tfm(void *mem, struct crypto_tfm *tfm);
679 static inline void crypto_free_tfm(struct crypto_tfm *tfm) in crypto_free_tfm()
689 static inline const char *crypto_tfm_alg_name(struct crypto_tfm *tfm) in crypto_tfm_alg_name()
694 static inline const char *crypto_tfm_alg_driver_name(struct crypto_tfm *tfm) in crypto_tfm_alg_driver_name()
699 static inline int crypto_tfm_alg_priority(struct crypto_tfm *tfm) in crypto_tfm_alg_priority()
704 static inline u32 crypto_tfm_alg_type(struct crypto_tfm *tfm) in crypto_tfm_alg_type()
709 static inline unsigned int crypto_tfm_alg_blocksize(struct crypto_tfm *tfm) in crypto_tfm_alg_blocksize()
714 static inline unsigned int crypto_tfm_alg_alignmask(struct crypto_tfm *tfm) in crypto_tfm_alg_alignmask()
719 static inline u32 crypto_tfm_get_flags(struct crypto_tfm *tfm) in crypto_tfm_get_flags()
724 static inline void crypto_tfm_set_flags(struct crypto_tfm *tfm, u32 flags) in crypto_tfm_set_flags()
729 static inline void crypto_tfm_clear_flags(struct crypto_tfm *tfm, u32 flags) in crypto_tfm_clear_flags()
734 static inline void *crypto_tfm_ctx(struct crypto_tfm *tfm) in crypto_tfm_ctx()
741 struct crypto_tfm *tfm; in crypto_tfm_ctx_alignment()
745 static inline struct crypto_comp *__crypto_comp_cast(struct crypto_tfm *tfm) in __crypto_comp_cast()
760 static inline struct crypto_tfm *crypto_comp_tfm(struct crypto_comp *tfm) in crypto_comp_tfm()