devgianlu
05f3b1f361
LibCrypto+LibWeb: Refactor AES implementation with OpenSSL
2025-03-02 15:11:38 +01:00
devgianlu
75841f5920
LibCrypto: Do not print OpenSSL errors with redundant newline
2025-03-02 15:11:38 +01:00
devgianlu
e90d2a5713
LibCrypto+LibWeb: Refactor HKDF
and PBKDF2
classes with OpenSSL
2025-02-24 11:11:05 +01:00
devgianlu
b6ec31b590
LibCrypto: Move OPENSSL_TRY
helper function outside namespace
...
This allows using `OPENSSL_TRY` and `OPENSSL_TRY_PTR` outside of the
`Crypto` namespace.
2025-02-17 19:52:43 +01:00
devgianlu
de6f77e7e3
LibCrypto: Print all descriptive OpenSSL errors
...
The code was printing one error message only, but multiple can be
generated in one call. Additionally, using this builtin produces
a much more descriptive output.
2025-01-27 12:24:48 +01:00
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