summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatteo Brichese <matteo.brichese@wunderbar.com>2017-07-08 00:21:15 +0200
committerMatteo Brichese <matteo.brichese@wunderbar.com>2017-07-08 00:21:15 +0200
commit85278d01f6203ba17aff6f596714ae1c1d61cc47 (patch)
treeea6117e093d14445bc66346b22fb4e9ec99448e3
parentremoved unecessary blockcopy (diff)
downloadtiny-AES-c-85278d01f6203ba17aff6f596714ae1c1d61cc47.tar
tiny-AES-c-85278d01f6203ba17aff6f596714ae1c1d61cc47.tar.gz
tiny-AES-c-85278d01f6203ba17aff6f596714ae1c1d61cc47.tar.bz2
tiny-AES-c-85278d01f6203ba17aff6f596714ae1c1d61cc47.tar.lz
tiny-AES-c-85278d01f6203ba17aff6f596714ae1c1d61cc47.tar.xz
tiny-AES-c-85278d01f6203ba17aff6f596714ae1c1d61cc47.tar.zst
tiny-AES-c-85278d01f6203ba17aff6f596714ae1c1d61cc47.zip
-rw-r--r--aes.c6
1 files changed, 0 insertions, 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)
{