diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2018-11-24 13:47:44 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2018-11-24 13:47:44 +0100 |
commit | 985702c892d94ac9656754b94402dee933abb156 (patch) | |
tree | 0352c2d14161f86ee4295bf97ac35c423af05a7d | |
parent | 624066f0cce8acaf2feb973f24942883b0600a0b (diff) | |
download | busybox-w32-985702c892d94ac9656754b94402dee933abb156.tar.gz busybox-w32-985702c892d94ac9656754b94402dee933abb156.tar.bz2 busybox-w32-985702c892d94ac9656754b94402dee933abb156.zip |
tls: fix a thinko in GHASH optimization
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | networking/tls_aesgcm.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
87 | // Resulting auth tag in s[] is also always AES_BLOCK_SIZE bytes. | 87 | // Resulting auth tag in s[] is also always AES_BLOCK_SIZE bytes. |
88 | // | 88 | // |
89 | // This allows some simplifications. | 89 | // This allows some simplifications. |
90 | #define aSz AES_BLOCK_SIZE | 90 | #define aSz 13 |
91 | #define sSz AES_BLOCK_SIZE | 91 | #define sSz AES_BLOCK_SIZE |
92 | void FAST_FUNC aesgcm_GHASH(byte* h, | 92 | void FAST_FUNC aesgcm_GHASH(byte* h, |
93 | const byte* a, //unsigned aSz, | 93 | const byte* a, //unsigned aSz, |