From: Denys Vlasenko Date: Fri, 23 Nov 2018 18:07:05 +0000 (+0100) Subject: tls: code shrink X-Git-Tag: 1_30_0~383 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=fbf5e6363b11c3381d077c6bb24f224f4e3bc802;p=oweals%2Fbusybox.git tls: code shrink function old new delta aesgcm_GHASH 262 233 -29 Signed-off-by: Denys Vlasenko --- diff --git a/networking/tls_aesgcm.c b/networking/tls_aesgcm.c index a06f8c8c5..84c90314f 100644 --- a/networking/tls_aesgcm.c +++ b/networking/tls_aesgcm.c @@ -130,9 +130,10 @@ void FAST_FUNC aesgcm_GHASH(byte* h, c += AES_BLOCK_SIZE; } if (partial != 0) { - XMEMSET(scratch, 0, AES_BLOCK_SIZE); - XMEMCPY(scratch, c, partial); - xorbuf(x, scratch, AES_BLOCK_SIZE); + //XMEMSET(scratch, 0, AES_BLOCK_SIZE); + //XMEMCPY(scratch, c, partial); + //xorbuf(x, scratch, AES_BLOCK_SIZE); + xorbuf(x, c, partial); GMULT(x, h); } }