From 202c3b9b4247277f5df8bfa7578569894a8312cf Mon Sep 17 00:00:00 2001 From: RaptorFactor Date: Tue, 3 Jan 2017 16:41:41 -0800 Subject: Make ECB API const-correct. --- aes.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'aes.h') diff --git a/aes.h b/aes.h index 708a09c..e86ab7f 100644 --- a/aes.h +++ b/aes.h @@ -22,8 +22,8 @@ #if defined(ECB) && ECB -void AES128_ECB_encrypt(uint8_t* input, const uint8_t* key, uint8_t *output); -void AES128_ECB_decrypt(uint8_t* input, const uint8_t* key, uint8_t *output); +void AES128_ECB_encrypt(const uint8_t* input, const uint8_t* key, uint8_t *output); +void AES128_ECB_decrypt(const uint8_t* input, const uint8_t* key, uint8_t *output); #endif // #if defined(ECB) && ECB -- cgit v1.2.3