Files
Filip Skokan 9f9775e272 Bug 2040457 [wpt PR 59947] - [WebCrypto] add Hybrid KEMs, a=testonly
Automatic update from web-platform-tests
[WebCryptoAPI] Add tests for Hybrid KEMs (#59947)
--

wpt-commits: 55ce71bb9deaf4b8a30fe80f95558a10699fb433
wpt-pr: 59947
2026-09-11 14:45:34 +00:00

33 lines
843 B
JavaScript

// 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'
},
]);