Files
node/test/fixtures/wpt/WebCryptoAPI/serialization/mlkem.tentative.https.any.js
T
2026-05-20 20:21:23 +00:00

33 lines
821 B
JavaScript

// META: title=WebCryptoAPI: CryptoKey serialization
// META: script=../util/helpers.js
// META: script=serialization.js
run_test([
{
name: 'ML-KEM-512',
resultType: 'CryptoKeyPair',
usages: [
'decapsulateBits', 'decapsulateKey', 'encapsulateBits', 'encapsulateKey'
],
publicFormat: 'raw-public',
privateFormat: 'raw-seed'
},
{
name: 'ML-KEM-768',
resultType: 'CryptoKeyPair',
usages: [
'decapsulateBits', 'decapsulateKey', 'encapsulateBits', 'encapsulateKey'
],
publicFormat: 'raw-public',
privateFormat: 'raw-seed'
},
{
name: 'ML-KEM-1024',
resultType: 'CryptoKeyPair',
usages: [
'decapsulateBits', 'decapsulateKey', 'encapsulateBits', 'encapsulateKey'
],
publicFormat: 'raw-public',
privateFormat: 'raw-seed'
},
]);