LibWeb: Implement message signing for ML-DSA algorithm

This commit is contained in:
Tete17
2025-11-22 22:13:01 +01:00
committed by Jelle Raaijmakers
parent a9ade1c238
commit ef0205ec86
Notes: github-actions[bot] 2025-12-10 20:29:23 +00:00
3 changed files with 40 additions and 0 deletions

View File

@@ -1367,6 +1367,7 @@ SupportedAlgorithmsMap const& supported_algorithms()
// https://wicg.github.io/webcrypto-modern-algos/#ml-dsa-registration
for (auto const& name : { "ML-DSA-44"_string, "ML-DSA-65"_string, "ML-DSA-87"_string }) {
define_an_algorithm<MLDSA, ContextParams>("sign"_string, name);
define_an_algorithm<MLDSA>("generateKey"_string, name);
}