Lines Matching defs:tfm
160 struct crypto_tfm *tfm; member
205 struct crypto_blkcipher *tfm; member
211 struct crypto_tfm *tfm; member
219 struct crypto_hash *tfm; member
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() local
824 struct crypto_tfm *tfm) in __crypto_ablkcipher_cast()
891 struct crypto_ablkcipher *tfm) in crypto_ablkcipher_tfm()
900 static inline void crypto_free_ablkcipher(struct crypto_ablkcipher *tfm) in crypto_free_ablkcipher()
923 struct crypto_ablkcipher *tfm) in crypto_ablkcipher_crt()
938 struct crypto_ablkcipher *tfm) in crypto_ablkcipher_ivsize()
954 struct crypto_ablkcipher *tfm) in crypto_ablkcipher_blocksize()
960 struct crypto_ablkcipher *tfm) in crypto_ablkcipher_alignmask()
965 static inline u32 crypto_ablkcipher_get_flags(struct crypto_ablkcipher *tfm) in crypto_ablkcipher_get_flags()
970 static inline void crypto_ablkcipher_set_flags(struct crypto_ablkcipher *tfm, in crypto_ablkcipher_set_flags()
976 static inline void crypto_ablkcipher_clear_flags(struct crypto_ablkcipher *tfm, in crypto_ablkcipher_clear_flags()
998 static inline int crypto_ablkcipher_setkey(struct crypto_ablkcipher *tfm, in crypto_ablkcipher_setkey()
1075 struct crypto_ablkcipher *tfm) in crypto_ablkcipher_reqsize()
1089 struct ablkcipher_request *req, struct crypto_ablkcipher *tfm) in ablkcipher_request_set_tfm()
1113 struct crypto_ablkcipher *tfm, gfp_t gfp) in ablkcipher_request_alloc()
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()
1256 static inline void crypto_free_aead(struct crypto_aead *tfm) in crypto_free_aead()
1261 static inline struct aead_tfm *crypto_aead_crt(struct crypto_aead *tfm) in crypto_aead_crt()
1275 static inline unsigned int crypto_aead_ivsize(struct crypto_aead *tfm) in crypto_aead_ivsize()
1292 static inline unsigned int crypto_aead_authsize(struct crypto_aead *tfm) in crypto_aead_authsize()
1307 static inline unsigned int crypto_aead_blocksize(struct crypto_aead *tfm) in crypto_aead_blocksize()
1312 static inline unsigned int crypto_aead_alignmask(struct crypto_aead *tfm) in crypto_aead_alignmask()
1317 static inline u32 crypto_aead_get_flags(struct crypto_aead *tfm) in crypto_aead_get_flags()
1322 static inline void crypto_aead_set_flags(struct crypto_aead *tfm, u32 flags) in crypto_aead_set_flags()
1327 static inline void crypto_aead_clear_flags(struct crypto_aead *tfm, u32 flags) in crypto_aead_clear_flags()
1348 static inline int crypto_aead_setkey(struct crypto_aead *tfm, const u8 *key, in crypto_aead_setkey()
1444 static inline unsigned int crypto_aead_reqsize(struct crypto_aead *tfm) in crypto_aead_reqsize()
1458 struct crypto_aead *tfm) in aead_request_set_tfm()
1475 static inline struct aead_request *aead_request_alloc(struct crypto_aead *tfm, in aead_request_alloc()
1621 struct crypto_tfm *tfm) in __crypto_blkcipher_cast()
1627 struct crypto_tfm *tfm) in crypto_blkcipher_cast()
1658 struct crypto_blkcipher *tfm) in crypto_blkcipher_tfm()
1667 static inline void crypto_free_blkcipher(struct crypto_blkcipher *tfm) in crypto_free_blkcipher()
1697 static inline const char *crypto_blkcipher_name(struct crypto_blkcipher *tfm) in crypto_blkcipher_name()
1703 struct crypto_blkcipher *tfm) in crypto_blkcipher_crt()
1709 struct crypto_blkcipher *tfm) in crypto_blkcipher_alg()
1723 static inline unsigned int crypto_blkcipher_ivsize(struct crypto_blkcipher *tfm) in crypto_blkcipher_ivsize()
1739 struct crypto_blkcipher *tfm) in crypto_blkcipher_blocksize()
1745 struct crypto_blkcipher *tfm) in crypto_blkcipher_alignmask()
1750 static inline u32 crypto_blkcipher_get_flags(struct crypto_blkcipher *tfm) in crypto_blkcipher_get_flags()
1755 static inline void crypto_blkcipher_set_flags(struct crypto_blkcipher *tfm, in crypto_blkcipher_set_flags()
1761 static inline void crypto_blkcipher_clear_flags(struct crypto_blkcipher *tfm, in crypto_blkcipher_clear_flags()
1783 static inline int crypto_blkcipher_setkey(struct crypto_blkcipher *tfm, in crypto_blkcipher_setkey()
1903 static inline void crypto_blkcipher_set_iv(struct crypto_blkcipher *tfm, in crypto_blkcipher_set_iv()
1919 static inline void crypto_blkcipher_get_iv(struct crypto_blkcipher *tfm, in crypto_blkcipher_get_iv()
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()
1986 static inline void crypto_free_cipher(struct crypto_cipher *tfm) in crypto_free_cipher()
2010 static inline struct cipher_tfm *crypto_cipher_crt(struct crypto_cipher *tfm) in crypto_cipher_crt()
2025 static inline unsigned int crypto_cipher_blocksize(struct crypto_cipher *tfm) in crypto_cipher_blocksize()
2030 static inline unsigned int crypto_cipher_alignmask(struct crypto_cipher *tfm) in crypto_cipher_alignmask()
2035 static inline u32 crypto_cipher_get_flags(struct crypto_cipher *tfm) in crypto_cipher_get_flags()
2040 static inline void crypto_cipher_set_flags(struct crypto_cipher *tfm, in crypto_cipher_set_flags()
2046 static inline void crypto_cipher_clear_flags(struct crypto_cipher *tfm, in crypto_cipher_clear_flags()
2068 static inline int crypto_cipher_setkey(struct crypto_cipher *tfm, in crypto_cipher_setkey()
2084 static inline void crypto_cipher_encrypt_one(struct crypto_cipher *tfm, in crypto_cipher_encrypt_one()
2100 static inline void crypto_cipher_decrypt_one(struct crypto_cipher *tfm, in crypto_cipher_decrypt_one()
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()
2160 static inline void crypto_free_hash(struct crypto_hash *tfm) in crypto_free_hash()
2185 static inline struct hash_tfm *crypto_hash_crt(struct crypto_hash *tfm) in crypto_hash_crt()
2199 static inline unsigned int crypto_hash_blocksize(struct crypto_hash *tfm) in crypto_hash_blocksize()
2204 static inline unsigned int crypto_hash_alignmask(struct crypto_hash *tfm) in crypto_hash_alignmask()
2218 static inline unsigned int crypto_hash_digestsize(struct crypto_hash *tfm) in crypto_hash_digestsize()
2223 static inline u32 crypto_hash_get_flags(struct crypto_hash *tfm) in crypto_hash_get_flags()
2228 static inline void crypto_hash_set_flags(struct crypto_hash *tfm, u32 flags) in crypto_hash_set_flags()
2233 static inline void crypto_hash_clear_flags(struct crypto_hash *tfm, u32 flags) in crypto_hash_clear_flags()
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()
2361 static inline void crypto_free_comp(struct crypto_comp *tfm) in crypto_free_comp()
2375 static inline const char *crypto_comp_name(struct crypto_comp *tfm) in crypto_comp_name()
2380 static inline struct compress_tfm *crypto_comp_crt(struct crypto_comp *tfm) in crypto_comp_crt()
2385 static inline int crypto_comp_compress(struct crypto_comp *tfm, in crypto_comp_compress()
2393 static inline int crypto_comp_decompress(struct crypto_comp *tfm, in crypto_comp_decompress()