1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-30 21:28:11 +00:00
serenity/Libraries/LibCrypto
Andreas Kling e6922c0d40 LibCrypto: Manage vector sizing manually in performance-critical places
Use Vector::resize_and_keep_capacity() to resize BigInt vectors to just
the right size without risking deallocation. Then do direct indexed
accesses to the underlying words (or use memset/memcpy.)

This gives a ~40% speed-up on the RSA tests in "test-crypto -t pk" :^)
2020-05-03 19:14:50 +02:00
..
ASN1 LibCrypto+LibTLS: Reformat everything 2020-05-02 12:24:10 +02:00
Authentication LibCrypto: Add a Hash::Manager that can act as any one of the hashes 2020-05-02 12:24:10 +02:00
BigInt LibCrypto: Manage vector sizing manually in performance-critical places 2020-05-03 19:14:50 +02:00
Cipher LibCrypto: Correct RFC5246 un-padding behaviour 2020-05-03 11:46:40 +02:00
Hash LibTLS: Switch to Hash::Manager for hashing and add SHA1 2020-05-02 12:24:10 +02:00
NumberTheory LibCrypto: Added BigInteger 'division by u16' operator 2020-05-03 14:31:26 +02:00
PK LibCrypto: Rename UnsignedBigInteger APIs to match their actions 2020-05-02 12:24:10 +02:00
Makefile LibCrypto: Implement SHA1 Hash Function 2020-05-02 12:24:10 +02:00