1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-23 04:07:34 +00:00
serenity/Userland/Libraries/LibCrypto
DexesTTP fd80e7a339 LibCrypto: Reduce the UnsignedBigInteger inline size to 32 words
We never really needed the 512 words in the first place, and this does
reduce the stack allocations in montgomery modular power from 32Kb to
a more manageable 2Kb :^)

Note that the 32 words size doesn't provide any performance benefits or
drawbacks compared to other values. All values seem to have equivalent
performances (the tested values were 1, 2, 4, ..., 512). But since the
previous value of 512 was definitely too big, let's reduce it for now!
2021-05-13 19:18:07 +01:00
..
ASN1 AK+Userland: Use mpfard@serenityos.org for my copyright headers 2021-04-22 22:19:09 +02:00
Authentication LibCrypto: Remove all uses of VLAs 2021-05-13 17:53:32 +02:00
BigInt LibCrypto: Reduce the UnsignedBigInteger inline size to 32 words 2021-05-13 19:18:07 +01:00
Checksum Everywhere: Use "the SerenityOS developers." in copyright headers 2021-04-29 00:59:26 +02:00
Cipher LibCrypto: Remove all uses of VLAs 2021-05-13 17:53:32 +02:00
Hash LibCrypto: Remove all uses of VLAs 2021-05-13 17:53:32 +02:00
NumberTheory LibCrypto: Add the montgomery modular power algorithm 2021-05-13 19:18:07 +01:00
PK LibCrypto: Remove all uses of VLAs 2021-05-13 17:53:32 +02:00
CMakeLists.txt LibCrypto: Split BigInteger operations into an Algorithms class 2021-05-13 19:18:07 +01:00
Verification.h AK+Userland: Use mpfard@serenityos.org for my copyright headers 2021-04-22 22:19:09 +02:00