mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 02:37:28 +02:00
This commit is contained in:
@ -16455,7 +16455,7 @@ static WC_INLINE int VerifyMac(WOLFSSL* ssl, const byte* input, word32 msgSz,
|
||||
pad = 0; /* no bad read */
|
||||
badPadLen = 1;
|
||||
}
|
||||
PadCheck(dummy, (byte)pad, MAX_PAD_SIZE); /* timing only */
|
||||
(void)PadCheck(dummy, (byte)pad, MAX_PAD_SIZE); /* timing only */
|
||||
ret = ssl->hmac(ssl, verify, input, msgSz - digestSz - pad - 1,
|
||||
pad, content, 1, PEER_ORDER);
|
||||
if (ConstantCompare(verify, input + msgSz - digestSz - pad - 1,
|
||||
|
Reference in New Issue
Block a user