mirror of
https://github.com/servo/servo
synced 2026-04-26 01:25:32 +02:00
script: Implement sign and verify operations of ML-DSA (#41676)
Finish adding ML-DSA support to WebCrypto API. This patch implements the sign and verify operations of ML-DSA, with `ml-dsa` crate. Specification: https://wicg.github.io/webcrypto-modern-algos/#ml-dsa-operations-sign https://wicg.github.io/webcrypto-modern-algos/#ml-dsa-operations-verify Testing: Pass some WPT tests that were expected to fail. Fixes: Part of #41626 Signed-off-by: Kingsley Yung <kingsley@kkoyung.dev>
This commit is contained in:
@@ -315,6 +315,12 @@ partial interface SubtleCrypto {
|
||||
|
||||
enum KeyFormat { "raw-public", "raw-private", "raw-seed", "raw-secret", "raw", "spki", "pkcs8", "jwk" };
|
||||
|
||||
// https://wicg.github.io/webcrypto-modern-algos/#context-params
|
||||
|
||||
dictionary ContextParams : Algorithm {
|
||||
BufferSource context;
|
||||
};
|
||||
|
||||
// https://wicg.github.io/webcrypto-modern-algos/#aead-params
|
||||
|
||||
dictionary AeadParams : Algorithm {
|
||||
|
||||
Reference in New Issue
Block a user