[git commit] tls: fix a thinko in GHASH optimization
Denys Vlasenko
vda.linux at googlemail.com
Sat Nov 24 12:47:44 UTC 2018
commit: https://git.busybox.net/busybox/commit/?id=985702c892d94ac9656754b94402dee933abb156
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
networking/tls_aesgcm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/networking/tls_aesgcm.c b/networking/tls_aesgcm.c
index 84c90314f..b9a6a9b0a 100644
--- a/networking/tls_aesgcm.c
+++ b/networking/tls_aesgcm.c
@@ -87,7 +87,7 @@ static void GMULT(byte* X, byte* Y)
// Resulting auth tag in s[] is also always AES_BLOCK_SIZE bytes.
//
// This allows some simplifications.
-#define aSz AES_BLOCK_SIZE
+#define aSz 13
#define sSz AES_BLOCK_SIZE
void FAST_FUNC aesgcm_GHASH(byte* h,
const byte* a, //unsigned aSz,
More information about the busybox-cvs
mailing list