Lines Matching refs:ctx
100 * @ctx: Context pointer from aes_encrypt_init()
104 void aes_encrypt(void *ctx, const u8 *plain, u8 *crypt);
108 * @ctx: Context pointer from aes_encrypt_init()
110 void aes_encrypt_deinit(void *ctx);
122 * @ctx: Context pointer from aes_encrypt_init()
126 void aes_decrypt(void *ctx, const u8 *crypt, u8 *plain);
130 * @ctx: Context pointer from aes_encrypt_init()
132 void aes_decrypt_deinit(void *ctx);
159 * @ctx: Context pointer from crypto_hash_init()
167 void crypto_hash_update(struct crypto_hash *ctx, const u8 *data, size_t len);
171 * @ctx: Context pointer from crypto_hash_init()
186 int crypto_hash_finish(struct crypto_hash *ctx, u8 *hash, size_t *len);
215 * @ctx: Context pointer from crypto_cipher_init()
225 int crypto_cipher_encrypt(struct crypto_cipher *ctx, const u8 *plain,
230 * @ctx: Context pointer from crypto_cipher_init()
240 int crypto_cipher_decrypt(struct crypto_cipher *ctx, const u8 *crypt,
245 * @ctx: Context pointer from crypto_cipher_init()
251 void crypto_cipher_deinit(struct crypto_cipher *ctx);