1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-18 08:15:06 +00:00
serenity/Userland/Libraries/LibCrypto/BigInt
AnotherTest 2601441486 LibCrypto: Avoid overly big allocs in intermediate ModularPower results
If we don't limit the sizes of the intermediate results, they will grow
indefinitely, causing each iteration to take longer and longer (in both
memcpy time, and algorithm runtime).
While calculating the trimmed length is fairly expensive, it's a small
cost to pay for uniform iteration times.
2021-04-03 11:22:01 +02:00
..
SignedBigInteger.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
SignedBigInteger.h Everywhere: Remove klog(), dbg() and purge all LogStream usage :^) 2021-03-12 17:29:37 +01:00
UnsignedBigInteger.cpp LibCrypto: Avoid overly big allocs in intermediate ModularPower results 2021-04-03 11:22:01 +02:00
UnsignedBigInteger.h LibCrypto: Avoid overly big allocs in intermediate ModularPower results 2021-04-03 11:22:01 +02:00