summaryrefslogtreecommitdiff
path: root/include/my_crypt.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/my_crypt.h')
-rw-r--r--include/my_crypt.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/include/my_crypt.h b/include/my_crypt.h
index b760af75bfa..bfde4d3c0f7 100644
--- a/include/my_crypt.h
+++ b/include/my_crypt.h
@@ -41,14 +41,9 @@ extern "C" {
int my_aes_encrypt_ctr(const uchar* source, uint source_length,
uchar* dest, uint* dest_length,
const uchar* key, uint key_length,
- const uchar* iv, uint iv_length,
- int no_padding);
+ const uchar* iv, uint iv_length);
-int my_aes_decrypt_ctr(const uchar* source, uint source_length,
- uchar* dest, uint* dest_length,
- const uchar* key, uint key_length,
- const uchar* iv, uint iv_length,
- int no_padding);
+#define my_aes_decrypt_ctr my_aes_encrypt_ctr
#endif