Remove unused arrays.

This commit is contained in:
Peter Vaskovic 2014-05-24 13:15:31 +02:00 committed by Paul Bakker
parent 1ebc0c592c
commit 541529e770
2 changed files with 0 additions and 6 deletions

View File

@ -837,15 +837,12 @@ int des_self_test( int verbose )
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
*/

View File

@ -195,7 +195,6 @@ static void gcm_mult( gcm_context *ctx, const unsigned char x[16],
unsigned char output[16] )
{
int i = 0;
unsigned char z[16];
unsigned char lo, hi, rem;
uint64_t zh, zl;
@ -213,8 +212,6 @@ static void gcm_mult( gcm_context *ctx, const unsigned char x[16],
}
#endif /* POLARSSL_AESNI_C && POLARSSL_HAVE_X86_64 */
memset( z, 0x00, 16 );
lo = x[15] & 0xf;
hi = x[15] >> 4;