mirror of
https://github.com/yuzu-emu/mbedtls
synced 2024-11-24 18:38:32 +00:00
Remove unused arrays.
This commit is contained in:
parent
1ebc0c592c
commit
541529e770
2 changed files with 0 additions and 6 deletions
|
@ -837,15 +837,12 @@ int des_self_test( int verbose )
|
||||||
int i, j, u, v;
|
int i, j, u, v;
|
||||||
des_context ctx;
|
des_context ctx;
|
||||||
des3_context ctx3;
|
des3_context ctx3;
|
||||||
unsigned char key[24];
|
|
||||||
unsigned char buf[8];
|
unsigned char buf[8];
|
||||||
#if defined(POLARSSL_CIPHER_MODE_CBC)
|
#if defined(POLARSSL_CIPHER_MODE_CBC)
|
||||||
unsigned char prv[8];
|
unsigned char prv[8];
|
||||||
unsigned char iv[8];
|
unsigned char iv[8];
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
memset( key, 0, 24 );
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ECB mode
|
* ECB mode
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -195,7 +195,6 @@ static void gcm_mult( gcm_context *ctx, const unsigned char x[16],
|
||||||
unsigned char output[16] )
|
unsigned char output[16] )
|
||||||
{
|
{
|
||||||
int i = 0;
|
int i = 0;
|
||||||
unsigned char z[16];
|
|
||||||
unsigned char lo, hi, rem;
|
unsigned char lo, hi, rem;
|
||||||
uint64_t zh, zl;
|
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 */
|
#endif /* POLARSSL_AESNI_C && POLARSSL_HAVE_X86_64 */
|
||||||
|
|
||||||
memset( z, 0x00, 16 );
|
|
||||||
|
|
||||||
lo = x[15] & 0xf;
|
lo = x[15] & 0xf;
|
||||||
hi = x[15] >> 4;
|
hi = x[15] >> 4;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue