summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--aes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/aes.h b/aes.h
index dd16622..1daab47 100644
--- a/aes.h
+++ b/aes.h
@@ -58,8 +58,8 @@ void AES_ctx_set_iv(struct AES_ctx* ctx, const uint8_t* iv);
// buffer size is exactly AES_BLOCKLEN bytes;
// you need only AES_init_ctx as IV is not used in ECB
// NB: ECB is considered insecure for most uses
-void AES_ECB_encrypt(struct AES_ctx* ctx, const uint8_t* buf);
-void AES_ECB_decrypt(struct AES_ctx* ctx, const uint8_t* buf);
+void AES_ECB_encrypt(struct AES_ctx* ctx, uint8_t* buf);
+void AES_ECB_decrypt(struct AES_ctx* ctx, uint8_t* buf);
#endif // #if defined(ECB) && (ECB == !)