Remove unused arrays.
diff --git a/library/des.c b/library/des.c
index 79c81bc..2f06af3 100644
--- a/library/des.c
+++ b/library/des.c
@@ -837,15 +837,12 @@
int i, j, u, v;
des_context ctx;
des3_context ctx3;
- unsigned char key[24];
unsigned char buf[8];
#if defined(POLARSSL_CIPHER_MODE_CBC)
unsigned char prv[8];
unsigned char iv[8];
#endif
- memset( key, 0, 24 );
-
/*
* ECB mode
*/
diff --git a/library/gcm.c b/library/gcm.c
index a892076..62fe185 100644
--- a/library/gcm.c
+++ b/library/gcm.c
@@ -195,7 +195,6 @@
unsigned char output[16] )
{
int i = 0;
- unsigned char z[16];
unsigned char lo, hi, rem;
uint64_t zh, zl;
@@ -213,8 +212,6 @@
}
#endif /* POLARSSL_AESNI_C && POLARSSL_HAVE_X86_64 */
- memset( z, 0x00, 16 );
-
lo = x[15] & 0xf;
hi = x[15] >> 4;