mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-07 08:39:22 +00:00
LibCrypto+LibWeb: Refactor AES implementation with OpenSSL
This commit is contained in:
parent
75841f5920
commit
05f3b1f361
Notes:
github-actions[bot]
2025-03-02 14:12:42 +00:00
Author: https://github.com/devgianlu
Commit: 05f3b1f361
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3749
Reviewed-by: https://github.com/konradekk
16 changed files with 339 additions and 2011 deletions
|
@ -111,6 +111,13 @@ class OpenSSL_KDF_CTX {
|
|||
OPENSSL_WRAPPER_CLASS(OpenSSL_KDF_CTX, EVP_KDF_CTX, EVP_KDF_CTX);
|
||||
};
|
||||
|
||||
class OpenSSL_CIPHER_CTX {
|
||||
OPENSSL_WRAPPER_CLASS(OpenSSL_CIPHER_CTX, EVP_CIPHER_CTX, EVP_CIPHER_CTX);
|
||||
|
||||
public:
|
||||
static ErrorOr<OpenSSL_CIPHER_CTX> create();
|
||||
};
|
||||
|
||||
#undef OPENSSL_WRAPPER_CLASS
|
||||
|
||||
ErrorOr<OpenSSL_BN> unsigned_big_integer_to_openssl_bignum(UnsignedBigInteger const& integer);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue