script: Implement sign and verify operations of KMAC - #46622
Conversation
Finalize the KMAC support in WebCrypto API implementation. This patch implements the "sign" and "verify" operations of KMAC. RustCrypto currently does not provide a dedicated crate for KMAC. Fortunately, we can build KMAC128 and KMAC256 from cSHAKE128 and cSHAKE256 supported by the `cshake` crate. Specification: <https://wicg.github.io/webcrypto-modern-algos/#kmac-operations-sign> <https://wicg.github.io/webcrypto-modern-algos/#kmac-operations-verify> Testing: Pass more WPT tests in `WebCryptoAPI/sign_verify` directory Part-of: 46582 Signed-off-by: Kingsley Yung <kingsley@kkoyung.dev>
|
Someone thinks this change could be added to the monthly blog post! To help with this, we need someone to answer the following questions: 😄
If this change is part of a broader feature/project please make sure the PR description contains a Please add Thanks for helping us prepare the monthly blog post! ❤️ |
|
@servo-highfive monthly update answer Combined with PRs #46583, #46606.
|
Finalize the KMAC support in WebCrypto API implementation.
This patch implements the "sign" and "verify" operations of KMAC.
RustCrypto currently does not provide a dedicated crate for KMAC. Fortunately, we can build KMAC128 and KMAC256 from cSHAKE128 and cSHAKE256 supported by the
cshakecrate.Specification:
https://wicg.github.io/webcrypto-modern-algos/#kmac-operations-sign
https://wicg.github.io/webcrypto-modern-algos/#kmac-operations-verify
Testing: Pass more WPT tests in
WebCryptoAPI/sign_verifydirectoryPart-of: #46582