ladybird/Tests/LibCrypto
Nico Weber 1f98639396 LibCrypto+LibJS: Better bigint bitwise_and binop
Bitwise and is defined in terms of two's complement, so some converting
needs to happen for SignedBigInteger's sign/magnitude representation to
work out.

UnsignedBigInteger::bitwise_not() is repurposed to convert all
high-order zero bits to ones up to a limit, for the two's complement
conversion to work.

Fixes test262/test/language/expressions/bitwise-and/bigint.js.
2022-01-18 20:04:06 +03:30
..
CMakeLists.txt Tests: Remove all file(GLOB) from CMakeLists in Tests 2021-09-02 09:08:23 +02:00
TestAES.cpp LibCrypto+Tests: Avoid implicitly copying ByteBuffer 2021-12-08 09:46:13 -08:00
TestBigInteger.cpp LibCrypto+LibJS: Better bigint bitwise_and binop 2022-01-18 20:04:06 +03:30
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