blob: 465f86df55a85456344d4f5fecffed0473b81352 [file] [edit]
// 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'
},
]);