ladybird/Libraries/LibTLS
devgianlu 9240d38273 LibCrypto+LibTLS+LibWeb: Store EC key size + refactor serialization
In order for public/private key serialization to work correctly we must
store the size of the key because P-521 cannot be stored as full words
inside `UnsignedBigInteger` and therefore is exported as the wrong
length (68 instead of 66).

This makes it also possible to refactor some methods and cleanup
constants scattered around.

Gets almost all import/export tests, expect the JWK ones that calculate
the public key on export. The `SECPxxxr1` implementation currently fails
to do calculations for P-521.
2024-12-14 01:52:16 +01:00
..
CipherSuite.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
CMakeLists.txt LibTLS+LibWeb+LibCrypto: Move Certificate to LibCrypto 2024-11-25 13:38:38 +01:00
Extensions.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Handshake.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
HandshakeCertificate.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
HandshakeClient.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
HandshakeServer.cpp LibCrypto+LibTLS+LibWeb: Store EC key size + refactor serialization 2024-12-14 01:52:16 +01:00
Record.cpp LibCrypto: Clean up #include directives 2024-11-21 14:08:33 +01:00
Socket.cpp LibTLS: Change connection state to disconnected after server CloseNotify 2024-11-24 22:33:58 +01:00
TLSPacketBuilder.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
TLSv12.cpp LibCrypto+LibTLS+LibWeb: Store EC key size + refactor serialization 2024-12-14 01:52:16 +01:00
TLSv12.h LibTLS+LibWeb+LibCrypto: Move Certificate to LibCrypto 2024-11-25 13:38:38 +01:00