Automatic update from web-platform-tests [WebCryptoAPI] Add tests for Hybrid KEMs (#59947) -- wpt-commits: 55ce71bb9deaf4b8a30fe80f95558a10699fb433 wpt-pr: 59947
33 lines
843 B
JavaScript
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'
|
|
},
|
|
]);
|