mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 02:37:28 +02:00
fix comment explaining ConstantCompare() in AES_GCM_decrypt_C().
This commit is contained in:
@ -8246,7 +8246,9 @@ int WARN_UNUSED_RESULT AES_GCM_decrypt_C(
|
||||
XMEMCPY(p, scratch, partial);
|
||||
}
|
||||
|
||||
/* ConstantCompare returns cumulative or of the bytewise XOR. */
|
||||
/* ConstantCompare returns the cumulative bitwise or of the bitwise xor of
|
||||
* the pairwise bytes in the strings.
|
||||
*/
|
||||
res = ConstantCompare(authTag, Tprime, authTagSz);
|
||||
/* convert positive retval from ConstantCompare() to all-1s word, in
|
||||
* constant time.
|
||||
|
Reference in New Issue
Block a user