mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 02:37:28 +02:00
Merge pull request #3001 from DKubasekRA/DKubasekRA-fix-ctMask16LT
Reverted comparison in ctMask16LT
This commit is contained in:
@ -363,7 +363,7 @@ WC_STATIC WC_INLINE word16 ctMask16GT(int a, int b)
|
||||
|
||||
WC_STATIC WC_INLINE word16 ctMask16LT(int a, int b)
|
||||
{
|
||||
return (((word32)a - b - 1) >> 31) - 1;
|
||||
return (((word32)b - a - 1) >> 31) - 1;
|
||||
}
|
||||
|
||||
WC_STATIC WC_INLINE word16 ctMask16Eq(int a, int b)
|
||||
|
Reference in New Issue
Block a user