Lines Matching refs:crypto_tfm
142 struct crypto_tfm;
160 struct crypto_tfm *tfm;
211 struct crypto_tfm *tfm;
212 void (*crfn)(struct crypto_tfm *tfm, u8 *dst, const u8 *src);
350 int (*setkey)(struct crypto_tfm *tfm, const u8 *key,
416 int (*cia_setkey)(struct crypto_tfm *tfm, const u8 *key,
418 void (*cia_encrypt)(struct crypto_tfm *tfm, u8 *dst, const u8 *src);
419 void (*cia_decrypt)(struct crypto_tfm *tfm, u8 *dst, const u8 *src);
423 int (*coa_compress)(struct crypto_tfm *tfm, const u8 *src,
425 int (*coa_decompress)(struct crypto_tfm *tfm, const u8 *src,
565 int (*cra_init)(struct crypto_tfm *tfm);
566 void (*cra_exit)(struct crypto_tfm *tfm);
622 int (*setkey)(struct crypto_tfm *tfm, const u8 *key,
631 int (*cit_setkey)(struct crypto_tfm *tfm,
633 void (*cit_encrypt_one)(struct crypto_tfm *tfm, u8 *dst, const u8 *src);
634 void (*cit_decrypt_one)(struct crypto_tfm *tfm, u8 *dst, const u8 *src);
650 int (*cot_compress)(struct crypto_tfm *tfm,
653 int (*cot_decompress)(struct crypto_tfm *tfm,
672 struct crypto_tfm { struct
686 void (*exit)(struct crypto_tfm *tfm); argument
694 struct crypto_tfm base; argument
698 struct crypto_tfm base;
702 struct crypto_tfm base;
706 struct crypto_tfm base;
710 struct crypto_tfm base;
714 struct crypto_tfm base;
718 struct crypto_tfm base;
751 struct crypto_tfm *crypto_alloc_base(const char *alg_name, u32 type, u32 mask);
752 void crypto_destroy_tfm(void *mem, struct crypto_tfm *tfm);
754 static inline void crypto_free_tfm(struct crypto_tfm *tfm) in crypto_free_tfm()
764 static inline const char *crypto_tfm_alg_name(struct crypto_tfm *tfm) in crypto_tfm_alg_name()
769 static inline const char *crypto_tfm_alg_driver_name(struct crypto_tfm *tfm) in crypto_tfm_alg_driver_name()
774 static inline int crypto_tfm_alg_priority(struct crypto_tfm *tfm) in crypto_tfm_alg_priority()
779 static inline u32 crypto_tfm_alg_type(struct crypto_tfm *tfm) in crypto_tfm_alg_type()
784 static inline unsigned int crypto_tfm_alg_blocksize(struct crypto_tfm *tfm) in crypto_tfm_alg_blocksize()
789 static inline unsigned int crypto_tfm_alg_alignmask(struct crypto_tfm *tfm) in crypto_tfm_alg_alignmask()
794 static inline u32 crypto_tfm_get_flags(struct crypto_tfm *tfm) in crypto_tfm_get_flags()
799 static inline void crypto_tfm_set_flags(struct crypto_tfm *tfm, u32 flags) in crypto_tfm_set_flags()
804 static inline void crypto_tfm_clear_flags(struct crypto_tfm *tfm, u32 flags) in crypto_tfm_clear_flags()
809 static inline void *crypto_tfm_ctx(struct crypto_tfm *tfm) in crypto_tfm_ctx()
816 struct crypto_tfm *tfm; in crypto_tfm_ctx_alignment()
824 struct crypto_tfm *tfm) in __crypto_ablkcipher_cast()
890 static inline struct crypto_tfm *crypto_ablkcipher_tfm( in crypto_ablkcipher_tfm()
1226 static inline struct crypto_aead *__crypto_aead_cast(struct crypto_tfm *tfm) in __crypto_aead_cast()
1247 static inline struct crypto_tfm *crypto_aead_tfm(struct crypto_aead *tfm) in crypto_aead_tfm()
1621 struct crypto_tfm *tfm) in __crypto_blkcipher_cast()
1627 struct crypto_tfm *tfm) in crypto_blkcipher_cast()
1657 static inline struct crypto_tfm *crypto_blkcipher_tfm( in crypto_blkcipher_tfm()
1942 static inline struct crypto_cipher *__crypto_cipher_cast(struct crypto_tfm *tfm) in __crypto_cipher_cast()
1947 static inline struct crypto_cipher *crypto_cipher_cast(struct crypto_tfm *tfm) in crypto_cipher_cast()
1977 static inline struct crypto_tfm *crypto_cipher_tfm(struct crypto_cipher *tfm) in crypto_cipher_tfm()
2114 static inline struct crypto_hash *__crypto_hash_cast(struct crypto_tfm *tfm) in __crypto_hash_cast()
2119 static inline struct crypto_hash *crypto_hash_cast(struct crypto_tfm *tfm) in crypto_hash_cast()
2151 static inline struct crypto_tfm *crypto_hash_tfm(struct crypto_hash *tfm) in crypto_hash_tfm()
2334 static inline struct crypto_comp *__crypto_comp_cast(struct crypto_tfm *tfm) in __crypto_comp_cast()
2339 static inline struct crypto_comp *crypto_comp_cast(struct crypto_tfm *tfm) in crypto_comp_cast()
2356 static inline struct crypto_tfm *crypto_comp_tfm(struct crypto_comp *tfm) in crypto_comp_tfm()