1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 11:18:13 +00:00
serenity/Tests/LibCrypto
Linus Groh 58c6a156bf LibCrypto: Fix subtracting two negative SignedBigIntegers
Currently, we get the following results

    -1 - -2 = -1
    -2 - -1 =  1

Correct would be:

    -1 - -2 =  1
    -2 - -1 = -1

This was already attempted to be fixed in 7ed8970, but that change was
incorrect. This directly translates to LibJS BigInts having the same
incorrect behavior - it even was tested.
2021-11-16 10:06:53 +00:00
..
CMakeLists.txt Tests: Remove all file(GLOB) from CMakeLists in Tests 2021-09-02 09:08:23 +02:00
TestAES.cpp Everywhere: Make ByteBuffer::{create_*,copy}() OOM-safe 2021-09-06 01:53:26 +02:00
TestBigInteger.cpp LibCrypto: Fix subtracting two negative SignedBigIntegers 2021-11-16 10:06:53 +00:00
TestChecksum.cpp LibCrypto+LibTLS: Split and move test suite into Tests directory 2021-06-19 19:05:36 +04:30
TestHash.cpp LibCrypto+LibTLS: Split and move test suite into Tests directory 2021-06-19 19:05:36 +04:30
TestHMAC.cpp LibCrypto+LibTLS: Split and move test suite into Tests directory 2021-06-19 19:05:36 +04:30
TestRSA.cpp Everywhere: Make ByteBuffer::{create_*,copy}() OOM-safe 2021-09-06 01:53:26 +02:00