Lines Matching refs:crypto_tfm
164 struct crypto_tfm;
180 struct crypto_tfm *tfm;
242 int (*cia_setkey)(struct crypto_tfm *tfm, const u8 *key,
244 void (*cia_encrypt)(struct crypto_tfm *tfm, u8 *dst, const u8 *src);
245 void (*cia_decrypt)(struct crypto_tfm *tfm, u8 *dst, const u8 *src);
260 int (*coa_compress)(struct crypto_tfm *tfm, const u8 *src,
262 int (*coa_decompress)(struct crypto_tfm *tfm, const u8 *src,
488 int (*cra_init)(struct crypto_tfm *tfm);
489 void (*cra_exit)(struct crypto_tfm *tfm);
626 struct crypto_tfm { struct
632 void (*exit)(struct crypto_tfm *tfm); argument
640 struct crypto_tfm base; argument
644 struct crypto_tfm base;
677 struct crypto_tfm *crypto_alloc_base(const char *alg_name, u32 type, u32 mask);
678 void crypto_destroy_tfm(void *mem, struct crypto_tfm *tfm);
680 static inline void crypto_free_tfm(struct crypto_tfm *tfm) in crypto_free_tfm()
690 static inline const char *crypto_tfm_alg_name(struct crypto_tfm *tfm) in crypto_tfm_alg_name()
695 static inline const char *crypto_tfm_alg_driver_name(struct crypto_tfm *tfm) in crypto_tfm_alg_driver_name()
700 static inline int crypto_tfm_alg_priority(struct crypto_tfm *tfm) in crypto_tfm_alg_priority()
705 static inline u32 crypto_tfm_alg_type(struct crypto_tfm *tfm) in crypto_tfm_alg_type()
710 static inline unsigned int crypto_tfm_alg_blocksize(struct crypto_tfm *tfm) in crypto_tfm_alg_blocksize()
715 static inline unsigned int crypto_tfm_alg_alignmask(struct crypto_tfm *tfm) in crypto_tfm_alg_alignmask()
720 static inline u32 crypto_tfm_get_flags(struct crypto_tfm *tfm) in crypto_tfm_get_flags()
725 static inline void crypto_tfm_set_flags(struct crypto_tfm *tfm, u32 flags) in crypto_tfm_set_flags()
730 static inline void crypto_tfm_clear_flags(struct crypto_tfm *tfm, u32 flags) in crypto_tfm_clear_flags()
735 static inline void *crypto_tfm_ctx(struct crypto_tfm *tfm) in crypto_tfm_ctx()
742 struct crypto_tfm *tfm; in crypto_tfm_ctx_alignment()
763 static inline struct crypto_cipher *__crypto_cipher_cast(struct crypto_tfm *tfm) in __crypto_cipher_cast()
792 static inline struct crypto_tfm *crypto_cipher_tfm(struct crypto_cipher *tfm) in crypto_cipher_tfm()
905 static inline struct crypto_comp *__crypto_comp_cast(struct crypto_tfm *tfm) in __crypto_comp_cast()
920 static inline struct crypto_tfm *crypto_comp_tfm(struct crypto_comp *tfm) in crypto_comp_tfm()