Skip to content

script: Implement import key operation of AES-OCB#41791

Merged
TimvdLippe merged 1 commit intoservo:mainfrom
kkoyung:aes-ocb-import
Jan 9, 2026
Merged

script: Implement import key operation of AES-OCB#41791
TimvdLippe merged 1 commit intoservo:mainfrom
kkoyung:aes-ocb-import

Conversation

@kkoyung
Copy link
Copy Markdown
Member

@kkoyung kkoyung commented Jan 9, 2026

Start adding AES-OCB support to WebCrypto API.

This patch implements the import key operations of AES-OCB, with the aes crate.

Specification: https://wicg.github.io/webcrypto-modern-algos/#aes-ocb-operations-import-key

Testing:

  • Pass some WPT tests that were expected to fail.
  • Some new FAIL expectations are added. They were skipped by WPT when the import key operation of AES-OCB had not been implemented, and requires other not-yet-implemented operations to pass.

Fixes: Part of #41762

Start adding AES-OCB support to WebCrypto API.

This patch implements the import key operations of AES-OCB, with the
`aes` crate.

Specification: https://wicg.github.io/webcrypto-modern-algos/#aes-ocb-operations-import-key

Testing:
- Pass some WPT tests that were expected to fail.
- Some new FAIL expectations are added. They were skipped by WPT when
  the import key operation of AES-OCB had not been implemented, and
  requires other not-yet-implemented operations to pass.

Fixes: Part of 41762

Signed-off-by: Kingsley Yung <[email protected]>
@kkoyung kkoyung requested a review from gterzian as a code owner January 9, 2026 06:41
@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Jan 9, 2026
@servo-highfive servo-highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Jan 9, 2026
@TimvdLippe TimvdLippe added this pull request to the merge queue Jan 9, 2026
@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 Jan 9, 2026
Merged via the queue into servo:main with commit b5aa03e Jan 9, 2026
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 Jan 9, 2026
@kkoyung kkoyung deleted the aes-ocb-import branch February 3, 2026 10:50
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