Lines Matching defs:crypto_cipher
16 struct crypto_cipher {
37 static inline struct crypto_cipher *__crypto_cipher_cast(struct crypto_tfm *tfm)
39 return (struct crypto_cipher *)tfm;
50 * crypto_cipher is the cipher handle that is required for any subsequent API
56 static inline struct crypto_cipher *crypto_alloc_cipher(const char *alg_name,
66 static inline struct crypto_tfm *crypto_cipher_tfm(struct crypto_cipher *tfm)
75 static inline void crypto_free_cipher(struct crypto_cipher *tfm)
109 static inline unsigned int crypto_cipher_blocksize(struct crypto_cipher *tfm)
114 static inline unsigned int crypto_cipher_alignmask(struct crypto_cipher *tfm)
119 static inline u32 crypto_cipher_get_flags(struct crypto_cipher *tfm)
124 static inline void crypto_cipher_set_flags(struct crypto_cipher *tfm,
130 static inline void crypto_cipher_clear_flags(struct crypto_cipher *tfm,
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,
179 struct crypto_cipher *crypto_clone_cipher(struct crypto_cipher *cipher);
206 static inline struct crypto_cipher *crypto_spawn_cipher(
215 static inline struct cipher_alg *crypto_cipher_alg(struct crypto_cipher *tfm)