Skip to content

Conversation

@kkoyung
Copy link
Member

@kkoyung kkoyung commented Nov 29, 2025

Start adding ChaCha20-Poly1305 support to WebCrypto API.

This patch implements "import key" operation and "export key" operation of ChaCha20-Poly1305, using the crate chacha20poly1305 to support the cryptographic calculation.

Testing: Pass some WPT tests that were expected to fail.
Fixes: Part of #40687

Start adding ChaCha20-Poly1305 support to WebCrypto API.

This patch implements "import key" operation and "export key" operation
of ChaCha20-Poly1305, using the crate `chacha20poly1305` to support the
cryptographic calculation.

Testing: Pass some WPT tests that were expected to fail.
Fixes: Part of 40687

Signed-off-by: Kingsley Yung <kingsley@kkoyung.dev>
@kkoyung kkoyung requested a review from gterzian as a code owner November 29, 2025 05:43
@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Nov 29, 2025
@servo-highfive servo-highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Nov 29, 2025
@TimvdLippe TimvdLippe added this pull request to the merge queue Nov 29, 2025
@servo-highfive servo-highfive added the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Nov 29, 2025
Merged via the queue into servo:main with commit b5e7819 Nov 29, 2025
32 checks passed
@servo-highfive servo-highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Nov 29, 2025
@kkoyung kkoyung deleted the chacha20poly1305-import-export branch November 29, 2025 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants