tls: fix a thinko in GHASH optimization
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
624066f0cc
commit
985702c892
@ -87,7 +87,7 @@ static void GMULT(byte* X, byte* Y)
|
|||||||
// Resulting auth tag in s[] is also always AES_BLOCK_SIZE bytes.
|
// Resulting auth tag in s[] is also always AES_BLOCK_SIZE bytes.
|
||||||
//
|
//
|
||||||
// This allows some simplifications.
|
// This allows some simplifications.
|
||||||
#define aSz AES_BLOCK_SIZE
|
#define aSz 13
|
||||||
#define sSz AES_BLOCK_SIZE
|
#define sSz AES_BLOCK_SIZE
|
||||||
void FAST_FUNC aesgcm_GHASH(byte* h,
|
void FAST_FUNC aesgcm_GHASH(byte* h,
|
||||||
const byte* a, //unsigned aSz,
|
const byte* a, //unsigned aSz,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user