Lines Matching refs:crypto_cipher
16 struct crypto_cipher { struct
37 static inline struct crypto_cipher *__crypto_cipher_cast(struct crypto_tfm *tfm) in __crypto_cipher_cast() argument
39 return (struct crypto_cipher *)tfm; in __crypto_cipher_cast()
56 static inline struct crypto_cipher *crypto_alloc_cipher(const char *alg_name, in crypto_alloc_cipher()
66 static inline struct crypto_tfm *crypto_cipher_tfm(struct crypto_cipher *tfm) in crypto_cipher_tfm()
75 static inline void crypto_free_cipher(struct crypto_cipher *tfm) in crypto_free_cipher()
109 static inline unsigned int crypto_cipher_blocksize(struct crypto_cipher *tfm) in crypto_cipher_blocksize()
114 static inline unsigned int crypto_cipher_alignmask(struct crypto_cipher *tfm) in crypto_cipher_alignmask()
119 static inline u32 crypto_cipher_get_flags(struct crypto_cipher *tfm) in crypto_cipher_get_flags()
124 static inline void crypto_cipher_set_flags(struct crypto_cipher *tfm, in crypto_cipher_set_flags()
130 static inline void crypto_cipher_clear_flags(struct crypto_cipher *tfm, in crypto_cipher_clear_flags()
152 int crypto_cipher_setkey(struct crypto_cipher *tfm,
164 void crypto_cipher_encrypt_one(struct crypto_cipher *tfm,
176 void crypto_cipher_decrypt_one(struct crypto_cipher *tfm,
204 static inline struct crypto_cipher *crypto_spawn_cipher( in crypto_spawn_cipher()
213 static inline struct cipher_alg *crypto_cipher_alg(struct crypto_cipher *tfm) in crypto_cipher_alg()