mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-31 19:24:42 +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 */
|
pad = 0; /* no bad read */
|
||||||
badPadLen = 1;
|
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,
|
ret = ssl->hmac(ssl, verify, input, msgSz - digestSz - pad - 1,
|
||||||
pad, content, 1, PEER_ORDER);
|
pad, content, 1, PEER_ORDER);
|
||||||
if (ConstantCompare(verify, input + msgSz - digestSz - pad - 1,
|
if (ConstantCompare(verify, input + msgSz - digestSz - pad - 1,
|
||||||
|
Reference in New Issue
Block a user