Lines Matching refs:crypto_tfm
145 struct crypto_tfm;
161 struct crypto_tfm *tfm;
255 int (*setkey)(struct crypto_tfm *tfm, const u8 *key,
319 int (*cia_setkey)(struct crypto_tfm *tfm, const u8 *key,
321 void (*cia_encrypt)(struct crypto_tfm *tfm, u8 *dst, const u8 *src);
322 void (*cia_decrypt)(struct crypto_tfm *tfm, u8 *dst, const u8 *src);
337 int (*coa_compress)(struct crypto_tfm *tfm, const u8 *src,
339 int (*coa_decompress)(struct crypto_tfm *tfm, const u8 *src,
574 int (*cra_init)(struct crypto_tfm *tfm);
575 void (*cra_exit)(struct crypto_tfm *tfm);
732 int (*setkey)(struct crypto_tfm *tfm, const u8 *key,
741 int (*cit_setkey)(struct crypto_tfm *tfm,
743 void (*cit_encrypt_one)(struct crypto_tfm *tfm, u8 *dst, const u8 *src);
744 void (*cit_decrypt_one)(struct crypto_tfm *tfm, u8 *dst, const u8 *src);
748 int (*cot_compress)(struct crypto_tfm *tfm,
751 int (*cot_decompress)(struct crypto_tfm *tfm,
761 struct crypto_tfm { struct
772 void (*exit)(struct crypto_tfm *tfm); argument
780 struct crypto_tfm base; argument
784 struct crypto_tfm base;
788 struct crypto_tfm base;
792 struct crypto_tfm base;
825 struct crypto_tfm *crypto_alloc_base(const char *alg_name, u32 type, u32 mask);
826 void crypto_destroy_tfm(void *mem, struct crypto_tfm *tfm);
828 static inline void crypto_free_tfm(struct crypto_tfm *tfm) in crypto_free_tfm()
838 static inline const char *crypto_tfm_alg_name(struct crypto_tfm *tfm) in crypto_tfm_alg_name()
843 static inline const char *crypto_tfm_alg_driver_name(struct crypto_tfm *tfm) in crypto_tfm_alg_driver_name()
848 static inline int crypto_tfm_alg_priority(struct crypto_tfm *tfm) in crypto_tfm_alg_priority()
853 static inline u32 crypto_tfm_alg_type(struct crypto_tfm *tfm) in crypto_tfm_alg_type()
858 static inline unsigned int crypto_tfm_alg_blocksize(struct crypto_tfm *tfm) in crypto_tfm_alg_blocksize()
863 static inline unsigned int crypto_tfm_alg_alignmask(struct crypto_tfm *tfm) in crypto_tfm_alg_alignmask()
868 static inline u32 crypto_tfm_get_flags(struct crypto_tfm *tfm) in crypto_tfm_get_flags()
873 static inline void crypto_tfm_set_flags(struct crypto_tfm *tfm, u32 flags) in crypto_tfm_set_flags()
878 static inline void crypto_tfm_clear_flags(struct crypto_tfm *tfm, u32 flags) in crypto_tfm_clear_flags()
883 static inline void *crypto_tfm_ctx(struct crypto_tfm *tfm) in crypto_tfm_ctx()
890 struct crypto_tfm *tfm; in crypto_tfm_ctx_alignment()
898 struct crypto_tfm *tfm) in __crypto_ablkcipher_cast()
947 static inline struct crypto_tfm *crypto_ablkcipher_tfm( in crypto_ablkcipher_tfm()
1297 struct crypto_tfm *tfm) in __crypto_blkcipher_cast()
1303 struct crypto_tfm *tfm) in crypto_blkcipher_cast()
1333 static inline struct crypto_tfm *crypto_blkcipher_tfm( in crypto_blkcipher_tfm()
1618 static inline struct crypto_cipher *__crypto_cipher_cast(struct crypto_tfm *tfm) in __crypto_cipher_cast()
1623 static inline struct crypto_cipher *crypto_cipher_cast(struct crypto_tfm *tfm) in crypto_cipher_cast()
1653 static inline struct crypto_tfm *crypto_cipher_tfm(struct crypto_cipher *tfm) in crypto_cipher_tfm()
1783 static inline struct crypto_comp *__crypto_comp_cast(struct crypto_tfm *tfm) in __crypto_comp_cast()
1788 static inline struct crypto_comp *crypto_comp_cast(struct crypto_tfm *tfm) in crypto_comp_cast()
1805 static inline struct crypto_tfm *crypto_comp_tfm(struct crypto_comp *tfm) in crypto_comp_tfm()