Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test has a WPT meta file that expects 6 subtest issues.
- This WPT test may be referenced by the following Test IDs:
- /WebCryptoAPI/serialization/hybridkem.tentative.https.window.html - WPT Dashboard Interop Dashboard
// META: title=WebCryptoAPI: Hybrid KEM CryptoKey serialization
// META: script=../util/helpers.js
// META: script=serialization.js
run_test([
{
name: 'MLKEM768-P256',
resultType: 'CryptoKeyPair',
usages: [
'decapsulateBits', 'decapsulateKey', 'encapsulateBits', 'encapsulateKey'
],
publicFormat: 'raw-public',
privateFormat: 'raw-seed'
},
{
name: 'MLKEM768-X25519',
resultType: 'CryptoKeyPair',
usages: [
'decapsulateBits', 'decapsulateKey', 'encapsulateBits', 'encapsulateKey'
],
publicFormat: 'raw-public',
privateFormat: 'raw-seed'
},
{
name: 'MLKEM1024-P384',
resultType: 'CryptoKeyPair',
usages: [
'decapsulateBits', 'decapsulateKey', 'encapsulateBits', 'encapsulateKey'
],
publicFormat: 'raw-public',
privateFormat: 'raw-seed'
},
]);