Lines Matching refs:crypto_tfm

158 struct crypto_tfm;
175 struct crypto_tfm *tfm;
200 struct crypto_tfm *tfm;
201 void (*crfn)(struct crypto_tfm *tfm, u8 *dst, const u8 *src);
293 int (*setkey)(struct crypto_tfm *tfm, const u8 *key,
359 int (*cia_setkey)(struct crypto_tfm *tfm, const u8 *key,
361 void (*cia_encrypt)(struct crypto_tfm *tfm, u8 *dst, const u8 *src);
362 void (*cia_decrypt)(struct crypto_tfm *tfm, u8 *dst, const u8 *src);
366 int (*coa_compress)(struct crypto_tfm *tfm, const u8 *src,
368 int (*coa_decompress)(struct crypto_tfm *tfm, const u8 *src,
485 int (*cra_init)(struct crypto_tfm *tfm);
486 void (*cra_exit)(struct crypto_tfm *tfm);
564 int (*setkey)(struct crypto_tfm *tfm, const u8 *key,
573 int (*cit_setkey)(struct crypto_tfm *tfm,
575 void (*cit_encrypt_one)(struct crypto_tfm *tfm, u8 *dst, const u8 *src);
576 void (*cit_decrypt_one)(struct crypto_tfm *tfm, u8 *dst, const u8 *src);
580 int (*cot_compress)(struct crypto_tfm *tfm,
583 int (*cot_decompress)(struct crypto_tfm *tfm,
593 struct crypto_tfm { struct
604 void (*exit)(struct crypto_tfm *tfm); argument
612 struct crypto_tfm base; argument
616 struct crypto_tfm base;
620 struct crypto_tfm base;
624 struct crypto_tfm base;
657 struct crypto_tfm *crypto_alloc_base(const char *alg_name, u32 type, u32 mask);
658 void crypto_destroy_tfm(void *mem, struct crypto_tfm *tfm);
660 static inline void crypto_free_tfm(struct crypto_tfm *tfm) in crypto_free_tfm()
670 static inline const char *crypto_tfm_alg_name(struct crypto_tfm *tfm) in crypto_tfm_alg_name()
675 static inline const char *crypto_tfm_alg_driver_name(struct crypto_tfm *tfm) in crypto_tfm_alg_driver_name()
680 static inline int crypto_tfm_alg_priority(struct crypto_tfm *tfm) in crypto_tfm_alg_priority()
685 static inline u32 crypto_tfm_alg_type(struct crypto_tfm *tfm) in crypto_tfm_alg_type()
690 static inline unsigned int crypto_tfm_alg_blocksize(struct crypto_tfm *tfm) in crypto_tfm_alg_blocksize()
695 static inline unsigned int crypto_tfm_alg_alignmask(struct crypto_tfm *tfm) in crypto_tfm_alg_alignmask()
700 static inline u32 crypto_tfm_get_flags(struct crypto_tfm *tfm) in crypto_tfm_get_flags()
705 static inline void crypto_tfm_set_flags(struct crypto_tfm *tfm, u32 flags) in crypto_tfm_set_flags()
710 static inline void crypto_tfm_clear_flags(struct crypto_tfm *tfm, u32 flags) in crypto_tfm_clear_flags()
715 static inline void *crypto_tfm_ctx(struct crypto_tfm *tfm) in crypto_tfm_ctx()
722 struct crypto_tfm *tfm; in crypto_tfm_ctx_alignment()
730 struct crypto_tfm *tfm) in __crypto_ablkcipher_cast()
779 static inline struct crypto_tfm *crypto_ablkcipher_tfm( in crypto_ablkcipher_tfm()
1115 struct crypto_tfm *tfm) in __crypto_blkcipher_cast()
1121 struct crypto_tfm *tfm) in crypto_blkcipher_cast()
1151 static inline struct crypto_tfm *crypto_blkcipher_tfm( in crypto_blkcipher_tfm()
1436 static inline struct crypto_cipher *__crypto_cipher_cast(struct crypto_tfm *tfm) in __crypto_cipher_cast()
1441 static inline struct crypto_cipher *crypto_cipher_cast(struct crypto_tfm *tfm) in crypto_cipher_cast()
1471 static inline struct crypto_tfm *crypto_cipher_tfm(struct crypto_cipher *tfm) in crypto_cipher_tfm()
1601 static inline struct crypto_comp *__crypto_comp_cast(struct crypto_tfm *tfm) in __crypto_comp_cast()
1606 static inline struct crypto_comp *crypto_comp_cast(struct crypto_tfm *tfm) in crypto_comp_cast()
1623 static inline struct crypto_tfm *crypto_comp_tfm(struct crypto_comp *tfm) in crypto_comp_tfm()