Skip to content

script: Resolve name referencing issue during ML-DSA export#42984

Merged
TimvdLippe merged 1 commit into
servo:mainfrom
kkoyung:ml-dsa-export-algorithm-name
Mar 3, 2026
Merged

script: Resolve name referencing issue during ML-DSA export#42984
TimvdLippe merged 1 commit into
servo:mainfrom
kkoyung:ml-dsa-export-algorithm-name

Conversation

@kkoyung
Copy link
Copy Markdown
Member

@kkoyung kkoyung commented Mar 3, 2026

In the WebCrypto modern algorithm specification, the issue (WICG/webcrypto-modern-algos#47) on algorithm name referencing in the export key operation of ML-KEM had been resolved by the following commit in the specification repository:

WICG/webcrypto-modern-algos@705f8ec

Our implementation actually matches the new specification. We simply update the specification text, with some minor refactoring accordingly.

This is equivalent the changes on ML-KEM in #42918 in which I forgot to include the counterpart for ML-DSA :(

Testing: Refactoring. Existing tests suffice.

In the WebCrypto modern algorithm specification, the issue
(WICG/webcrypto-modern-algos#47) on algorithm
name referencing in the export key operation of ML-KEM had been resolved
by the following commit in the specification repository:

WICG/webcrypto-modern-algos@705f8ec

Our implementation actually matches the new specification. We simply
update the specification text, with some minor refactoring accordingly.

This is equivalent the changes on ML-KEM in 42918 in which I forgot to
include the counterpart for ML-DSA :(

Testing: Refactoring. Existing tests suffice.

Signed-off-by: Kingsley Yung <[email protected]>
@kkoyung kkoyung requested a review from gterzian as a code owner March 3, 2026 10:24
@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Mar 3, 2026
@servo-highfive servo-highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Mar 3, 2026
@TimvdLippe TimvdLippe added this pull request to the merge queue Mar 3, 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 Mar 3, 2026
Merged via the queue into servo:main with commit 059d39a Mar 3, 2026
33 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 Mar 3, 2026
@kkoyung kkoyung deleted the ml-dsa-export-algorithm-name branch April 17, 2026 10:02
offline-ant pushed a commit to offline-ant/havi that referenced this pull request Jun 4, 2026
)

In the WebCrypto modern algorithm specification, the issue
(WICG/webcrypto-modern-algos#47) on algorithm
name referencing in the export key operation of ML-KEM had been resolved
by the following commit in the specification repository:


WICG/webcrypto-modern-algos@705f8ec

Our implementation actually matches the new specification. We simply
update the specification text, with some minor refactoring accordingly.

This is equivalent the changes on ML-KEM in servo#42918 in which I forgot to
include the counterpart for ML-DSA :(

Testing: Refactoring. Existing tests suffice.

Signed-off-by: Kingsley Yung <[email protected]>
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.

4 participants