Lines Matching refs:crypto_tfm

162 struct crypto_tfm;
179 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);
349 int (*cra_init)(struct crypto_tfm *tfm);
350 void (*cra_exit)(struct crypto_tfm *tfm);
406 struct crypto_tfm { struct
413 void (*exit)(struct crypto_tfm *tfm); argument
424 struct crypto_tfm *crypto_alloc_base(const char *alg_name, u32 type, u32 mask); argument
425 void crypto_destroy_tfm(void *mem, struct crypto_tfm *tfm);
427 static inline void crypto_free_tfm(struct crypto_tfm *tfm) in crypto_free_tfm()
435 static inline const char *crypto_tfm_alg_name(struct crypto_tfm *tfm) in crypto_tfm_alg_name()
440 static inline const char *crypto_tfm_alg_driver_name(struct crypto_tfm *tfm) in crypto_tfm_alg_driver_name()
445 static inline unsigned int crypto_tfm_alg_blocksize(struct crypto_tfm *tfm) in crypto_tfm_alg_blocksize()
450 static inline unsigned int crypto_tfm_alg_alignmask(struct crypto_tfm *tfm) in crypto_tfm_alg_alignmask()
455 static inline u32 crypto_tfm_get_flags(struct crypto_tfm *tfm) in crypto_tfm_get_flags()
460 static inline void crypto_tfm_set_flags(struct crypto_tfm *tfm, u32 flags) in crypto_tfm_set_flags()
465 static inline void crypto_tfm_clear_flags(struct crypto_tfm *tfm, u32 flags) in crypto_tfm_clear_flags()
472 struct crypto_tfm *tfm; in crypto_tfm_ctx_alignment()
489 static inline bool crypto_tfm_is_async(struct crypto_tfm *tfm) in crypto_tfm_is_async()