Lines Matching refs:crypto_tfm
159 struct crypto_tfm;
176 struct crypto_tfm *tfm;
238 int (*cia_setkey)(struct crypto_tfm *tfm, const u8 *key,
240 void (*cia_encrypt)(struct crypto_tfm *tfm, u8 *dst, const u8 *src);
241 void (*cia_decrypt)(struct crypto_tfm *tfm, u8 *dst, const u8 *src);
256 int (*coa_compress)(struct crypto_tfm *tfm, const u8 *src,
258 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 { struct
429 void (*exit)(struct crypto_tfm *tfm); argument
437 struct crypto_tfm base; argument
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) in crypto_free_tfm()
455 static inline const char *crypto_tfm_alg_name(struct crypto_tfm *tfm) in crypto_tfm_alg_name()
460 static inline const char *crypto_tfm_alg_driver_name(struct crypto_tfm *tfm) in crypto_tfm_alg_driver_name()
465 static inline unsigned int crypto_tfm_alg_blocksize(struct crypto_tfm *tfm) in crypto_tfm_alg_blocksize()
470 static inline unsigned int crypto_tfm_alg_alignmask(struct crypto_tfm *tfm) in crypto_tfm_alg_alignmask()
475 static inline u32 crypto_tfm_get_flags(struct crypto_tfm *tfm) in crypto_tfm_get_flags()
480 static inline void crypto_tfm_set_flags(struct crypto_tfm *tfm, u32 flags) in crypto_tfm_set_flags()
485 static inline void crypto_tfm_clear_flags(struct crypto_tfm *tfm, u32 flags) in crypto_tfm_clear_flags()
492 struct crypto_tfm *tfm; in crypto_tfm_ctx_alignment()
496 static inline struct crypto_comp *__crypto_comp_cast(struct crypto_tfm *tfm) in __crypto_comp_cast()
511 static inline struct crypto_tfm *crypto_comp_tfm(struct crypto_comp *tfm) in crypto_comp_tfm()