devgianlu
daa81c9b32
LibCrypto: Remove OpenSSL as a public header dependency
...
Add a forwarding header for OpenSSL types so that we can build without
propagating the OpenSSL dependency.
2025-01-13 17:00:18 +01:00
devgianlu
559c5a7311
LibCrypto: Move OpenSSL RAII helper methods out of line
2025-01-13 17:00:18 +01:00
devgianlu
fef1f62ecc
LibCrypto: Use OpenSSL to generate RSA keys
...
Replace our slow, possibly incorrect RSA key generation with OpenSSL.
This should fix many WPT tests that are timing out because we were too
slow at computing keys.
2025-01-12 01:13:19 +01:00
devgianlu
130f890497
LibCrypto: Add methods to convert OpenSSL BN <-> UnsignedBigInteger
...
These methods allow to convert between OpenSSL big numbers and ours.
2025-01-12 01:13:19 +01:00
devgianlu
7b38923144
LibCrypto: Refactor OpenSSL RAII wrappers to a macro
2025-01-12 01:13:19 +01:00
devgianlu
4817ca489f
LibCrypto: Add useful macros and classes for working with OpenSSL
...
Add a couple of macros to aid error handling with OpenSSL and some RAII
classes that manage the lifetime of some OpenSSL objects.
2025-01-11 11:13:06 +01:00