Skip to content

script: Implement encrypt/decrypt operation of ChaCha20-Poly1305#41003

Merged
TimvdLippe merged 1 commit intoservo:mainfrom
kkoyung:chacha20poly1305-encrypt-decrypt
Dec 2, 2025
Merged

script: Implement encrypt/decrypt operation of ChaCha20-Poly1305#41003
TimvdLippe merged 1 commit intoservo:mainfrom
kkoyung:chacha20poly1305-encrypt-decrypt

Conversation

@kkoyung
Copy link
Copy Markdown
Member

@kkoyung kkoyung commented Dec 2, 2025

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

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 <[email protected]>
@kkoyung kkoyung requested a review from gterzian as a code owner December 2, 2025 07:32
@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Dec 2, 2025
@servo-highfive servo-highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Dec 2, 2025
@TimvdLippe TimvdLippe enabled auto-merge December 2, 2025 07:36
@TimvdLippe TimvdLippe added this pull request to the merge queue Dec 2, 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 Dec 2, 2025
Merged via the queue into servo:main with commit ff82112 Dec 2, 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 Dec 2, 2025
@kkoyung kkoyung deleted the chacha20poly1305-encrypt-decrypt branch December 2, 2025 15:54
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