Lines Matching refs:ctx
123 * @ctx: Context pointer from aes_encrypt_init()
128 int aes_encrypt(void *ctx, const u8 *plain, u8 *crypt);
132 * @ctx: Context pointer from aes_encrypt_init()
134 void aes_encrypt_deinit(void *ctx);
146 * @ctx: Context pointer from aes_encrypt_init()
151 int aes_decrypt(void *ctx, const u8 *crypt, u8 *plain);
155 * @ctx: Context pointer from aes_encrypt_init()
157 void aes_decrypt_deinit(void *ctx);
186 * @ctx: Context pointer from crypto_hash_init()
194 void crypto_hash_update(struct crypto_hash *ctx, const u8 *data, size_t len);
198 * @ctx: Context pointer from crypto_hash_init()
213 int crypto_hash_finish(struct crypto_hash *ctx, u8 *hash, size_t *len);
242 * @ctx: Context pointer from crypto_cipher_init()
252 int __must_check crypto_cipher_encrypt(struct crypto_cipher *ctx,
257 * @ctx: Context pointer from crypto_cipher_init()
267 int __must_check crypto_cipher_decrypt(struct crypto_cipher *ctx,
272 * @ctx: Context pointer from crypto_cipher_init()
278 void crypto_cipher_deinit(struct crypto_cipher *ctx);