Lines Matching refs:crypto_tfm
141 struct crypto_tfm;
158 struct crypto_tfm *tfm;
183 struct crypto_tfm *tfm;
184 void (*crfn)(struct crypto_tfm *tfm, u8 *dst, const u8 *src);
281 int (*setkey)(struct crypto_tfm *tfm, const u8 *key,
347 int (*cia_setkey)(struct crypto_tfm *tfm, const u8 *key,
349 void (*cia_encrypt)(struct crypto_tfm *tfm, u8 *dst, const u8 *src);
350 void (*cia_decrypt)(struct crypto_tfm *tfm, u8 *dst, const u8 *src);
354 int (*coa_compress)(struct crypto_tfm *tfm, const u8 *src,
356 int (*coa_decompress)(struct crypto_tfm *tfm, const u8 *src,
465 int (*cra_init)(struct crypto_tfm *tfm);
466 void (*cra_exit)(struct crypto_tfm *tfm);
507 int (*setkey)(struct crypto_tfm *tfm, const u8 *key,
516 int (*cit_setkey)(struct crypto_tfm *tfm,
518 void (*cit_encrypt_one)(struct crypto_tfm *tfm, u8 *dst, const u8 *src);
519 void (*cit_decrypt_one)(struct crypto_tfm *tfm, u8 *dst, const u8 *src);
535 int (*cot_compress)(struct crypto_tfm *tfm,
538 int (*cot_decompress)(struct crypto_tfm *tfm,
549 struct crypto_tfm { struct
561 void (*exit)(struct crypto_tfm *tfm); argument
569 struct crypto_tfm base; argument
573 struct crypto_tfm base;
577 struct crypto_tfm base;
581 struct crypto_tfm base;
585 struct crypto_tfm base;
618 struct crypto_tfm *crypto_alloc_base(const char *alg_name, u32 type, u32 mask);
619 void crypto_destroy_tfm(void *mem, struct crypto_tfm *tfm);
621 static inline void crypto_free_tfm(struct crypto_tfm *tfm) in crypto_free_tfm()
631 static inline const char *crypto_tfm_alg_name(struct crypto_tfm *tfm) in crypto_tfm_alg_name()
636 static inline const char *crypto_tfm_alg_driver_name(struct crypto_tfm *tfm) in crypto_tfm_alg_driver_name()
641 static inline int crypto_tfm_alg_priority(struct crypto_tfm *tfm) in crypto_tfm_alg_priority()
646 static inline u32 crypto_tfm_alg_type(struct crypto_tfm *tfm) in crypto_tfm_alg_type()
651 static inline unsigned int crypto_tfm_alg_blocksize(struct crypto_tfm *tfm) in crypto_tfm_alg_blocksize()
656 static inline unsigned int crypto_tfm_alg_alignmask(struct crypto_tfm *tfm) in crypto_tfm_alg_alignmask()
661 static inline u32 crypto_tfm_get_flags(struct crypto_tfm *tfm) in crypto_tfm_get_flags()
666 static inline void crypto_tfm_set_flags(struct crypto_tfm *tfm, u32 flags) in crypto_tfm_set_flags()
671 static inline void crypto_tfm_clear_flags(struct crypto_tfm *tfm, u32 flags) in crypto_tfm_clear_flags()
676 static inline void *crypto_tfm_ctx(struct crypto_tfm *tfm) in crypto_tfm_ctx()
683 struct crypto_tfm *tfm; in crypto_tfm_ctx_alignment()
691 struct crypto_tfm *tfm) in __crypto_ablkcipher_cast()
757 static inline struct crypto_tfm *crypto_ablkcipher_tfm( in crypto_ablkcipher_tfm()
1094 struct crypto_tfm *tfm) in __crypto_blkcipher_cast()
1100 struct crypto_tfm *tfm) in crypto_blkcipher_cast()
1130 static inline struct crypto_tfm *crypto_blkcipher_tfm( in crypto_blkcipher_tfm()
1415 static inline struct crypto_cipher *__crypto_cipher_cast(struct crypto_tfm *tfm) in __crypto_cipher_cast()
1420 static inline struct crypto_cipher *crypto_cipher_cast(struct crypto_tfm *tfm) in crypto_cipher_cast()
1450 static inline struct crypto_tfm *crypto_cipher_tfm(struct crypto_cipher *tfm) in crypto_cipher_tfm()
1587 static inline struct crypto_hash *__crypto_hash_cast(struct crypto_tfm *tfm) in __crypto_hash_cast()
1592 static inline struct crypto_hash *crypto_hash_cast(struct crypto_tfm *tfm) in crypto_hash_cast()
1624 static inline struct crypto_tfm *crypto_hash_tfm(struct crypto_hash *tfm) in crypto_hash_tfm()
1807 static inline struct crypto_comp *__crypto_comp_cast(struct crypto_tfm *tfm) in __crypto_comp_cast()
1812 static inline struct crypto_comp *crypto_comp_cast(struct crypto_tfm *tfm) in crypto_comp_cast()
1829 static inline struct crypto_tfm *crypto_comp_tfm(struct crypto_comp *tfm) in crypto_comp_tfm()