1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-06 05:17:36 +00:00
serenity/Userland/Libraries/LibCrypto/Curves
Michiel Visser 8f7219c6fa LibCrypto: Implement the SECP256r1 elliptic curve
This implementation of the secp256r1 elliptic curve uses two techniques
to improve the performance of the operations.

1. All coordinates are stored in Jacobian form, (X/Z^2, Y/Z^3, Z), which
   removes the need for division operations during point addition or
   doubling. The points are converted at the start of the computation,
   and converted back at the end.

2. All values are transformed to Montgomery form, to allow for faster
   modular multiplication using the Montgomery modular multiplication
   method. This means that all coordinates have to be converted into
   this form, and back out of this form before returning them.
2022-03-18 07:56:47 +03:30
..
SECP256r1.cpp LibCrypto: Implement the SECP256r1 elliptic curve 2022-03-18 07:56:47 +03:30
SECP256r1.h LibCrypto: Implement the SECP256r1 elliptic curve 2022-03-18 07:56:47 +03:30
X448.cpp LibCrypto: Add curve X448 2022-03-09 13:04:48 +03:30
X448.h LibCrypto: Add curve X448 2022-03-09 13:04:48 +03:30
X25519.cpp LibCrypto: Add curve x25519 2022-02-18 12:34:23 +02:00
X25519.h LibCrypto: Add curve x25519 2022-02-18 12:34:23 +02:00