mirror of
https://github.com/servo/servo
synced 2026-05-13 02:17:06 +02:00
Finish adding ChaCha20-Poly1305 support to WebCrypto API. This patch implements encrypt operation and decrypt operation of ChaCha20-Poly1305, using the crate `chacha20poly1305` to support the cryptographic calculation. The get key length operation of ChaCha20-Poly1305 is also included in this patch. Testing: Pass some WPT tests that were expected to fail. Fixes: Part of #40687 Signed-off-by: Kingsley Yung <kingsley@kkoyung.dev>