Commit Graph

6 Commits

Author SHA1 Message Date
mikiubo
17fe3ae00c LibWeb: Update SubtleCrypto.encrypt() and decrypt() to match the spec
The WebCrypto spec was updated to normalize the algorithm before
getting a copy of the data bytes, and to queue a global task on the
crypto task source when rejecting or resolving the promise.
2026-03-06 14:21:46 +01:00
mikiubo
8baad1dc4c LibWeb: Re-Import encrypt_decrypt WPT tests 2026-03-06 14:21:46 +01:00
mikiubo
d6049586be LibWeb: Import AES-OCB encrypt_decrypt WPT tests 2026-02-27 12:03:19 +01:00
mikiubo
ba75d4c014 LibCrypto: Add ChaCha20-Poly1305 support
Implement ChaCha20-Poly1305 AEAD using OpenSSL and expose it through
the WebCrypto API, including key management and AEAD parameters.

Add WPT:
/encrypt_decrypt/chacha20_poly1305.tentative.https.any.worker.html
2026-01-26 10:03:09 +01:00
devgianlu
4b832b67fb LibWeb: Add RSA-OAEP WPT tests
This serve as a regression check for the next commits
2025-01-13 17:00:18 +01:00
devgianlu
6ef8b54d21 LibWeb: Add support for AES-GCM encrypt and decrypt
Adds ~400 WPT test passes.
2024-12-16 13:27:53 +01:00