From 85278d01f6203ba17aff6f596714ae1c1d61cc47 Mon Sep 17 00:00:00 2001 From: Matteo Brichese Date: Fri, 7 Jul 2017 15:21:15 -0700 Subject: removed unecessary blockcopy --- aes.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/aes.c b/aes.c index 66dc4f6..0bafcb0 100644 --- a/aes.c +++ b/aes.c @@ -506,9 +506,6 @@ void AES_CBC_encrypt_buffer(uint8_t* output, uint8_t* input, uint32_t length, co uintptr_t i; uint8_t extra = length % BLOCKLEN; /* Remaining bytes in the last non-full block */ - //memcpy(output, input, BLOCKLEN); - //state = (state_t*)output; - // Skip the key expansion if key is passed as 0 if(0 != key) { @@ -546,9 +543,6 @@ void AES_CBC_decrypt_buffer(uint8_t* output, uint8_t* input, uint32_t length, co uintptr_t i; uint8_t extra = length % BLOCKLEN; /* Remaining bytes in the last non-full block */ - //memcpy(output, input, BLOCKLEN); - //state = (state_t*)output; - // Skip the key expansion if key is passed as 0 if(0 != key) { -- cgit v1.2.3