ladybird/Libraries/LibCrypto/Curves
devgianlu 12ca074671 LibCrypto: Always handle SECPxxxr1 scalars with leading zeros
It may happen that the scalars used by SECPxxxr1 turn out to be slightly
smaller than their actual size when serialized to `UnsignedBigInteger`,
especially for P521. Handle this case by serializing zeros instead of
failing.

Originally discovered as a flaky WPT test.
2025-01-29 12:46:46 +01:00
..
Curve25519.cpp
Curve25519.h
Ed448.cpp LibCrypto: Implement Ed448 2025-01-11 11:13:06 +01:00
Ed448.h LibCrypto: Implement Ed448 2025-01-11 11:13:06 +01:00
Ed25519.cpp Meta+LibCrypto: Add SecureRandom and replace PRNG usage with it 2024-12-24 17:54:52 +01:00
Ed25519.h
EllipticCurve.h
SECPxxxr1.cpp LibCrypto: De-templetize and move SECPxxxr1 methods out of line 2025-01-27 12:24:48 +01:00
SECPxxxr1.h LibCrypto: Always handle SECPxxxr1 scalars with leading zeros 2025-01-29 12:46:46 +01:00
X448.cpp Meta+LibCrypto: Add SecureRandom and replace PRNG usage with it 2024-12-24 17:54:52 +01:00
X448.h
X25519.cpp Meta+LibCrypto: Add SecureRandom and replace PRNG usage with it 2024-12-24 17:54:52 +01:00
X25519.h