1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-22 02:05:07 +00:00
serenity/Userland/Libraries/LibCrypto/BigInt
Linus Groh 1c6fd749dc LibCrypto: memcmp() all bytes in UnsignedBigInteger::operator==
`length` is only the (trimmed) size of the word vector, so we have to
multiply it with the size of each element to ensure all bytes are
compared.

Fixes #5335.
2021-02-14 10:51:00 +01:00
..
SignedBigInteger.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
SignedBigInteger.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
UnsignedBigInteger.cpp LibCrypto: memcmp() all bytes in UnsignedBigInteger::operator== 2021-02-14 10:51:00 +01:00
UnsignedBigInteger.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00