Truly independent web browser
Tests/LibWeb: Update WPT's WebCryptoAPI tests
Shannon Boothb8ae0728b656
diff --git a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/digest/digest.https.any.txt b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/digest/digest.https.any.txtindex 0a214e9597f..57b4155232a 100644--- a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/digest/digest.https.any.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/digest/digest.https.any.txt@@ -16,89 +16,89 @@ Pass SHA-512 with empty source dataPass sha-512 with empty source dataPass Sha-512 with empty source dataPass SHA-1 with short source data-Pass sha-1 with short source data-Pass Sha-1 with short source dataPass SHA-1 with short source data and altered buffer during callPass SHA-1 with short source data and altered buffer after callPass SHA-1 with short source data and transferred buffer during callPass SHA-1 with short source data and transferred buffer after call+Pass sha-1 with short source data+Pass Sha-1 with short source dataPass SHA-256 with short source data-Pass sha-256 with short source data-Pass Sha-256 with short source dataPass SHA-256 with short source data and altered buffer during callPass SHA-256 with short source data and altered buffer after callPass SHA-256 with short source data and transferred buffer during callPass SHA-256 with short source data and transferred buffer after call+Pass sha-256 with short source data+Pass Sha-256 with short source dataPass SHA-384 with short source data-Pass sha-384 with short source data-Pass Sha-384 with short source dataPass SHA-384 with short source data and altered buffer during callPass SHA-384 with short source data and altered buffer after callPass SHA-384 with short source data and transferred buffer during callPass SHA-384 with short source data and transferred buffer after call+Pass sha-384 with short source data+Pass Sha-384 with short source dataPass SHA-512 with short source data-Pass sha-512 with short source data-Pass Sha-512 with short source dataPass SHA-512 with short source data and altered buffer during callPass SHA-512 with short source data and altered buffer after callPass SHA-512 with short source data and transferred buffer during callPass SHA-512 with short source data and transferred buffer after call+Pass sha-512 with short source data+Pass Sha-512 with short source dataPass SHA-1 with medium source data-Pass sha-1 with medium source data-Pass Sha-1 with medium source dataPass SHA-1 with medium source data and altered buffer during callPass SHA-1 with medium source data and altered buffer after callPass SHA-1 with medium source data and transferred buffer during callPass SHA-1 with medium source data and transferred buffer after call+Pass sha-1 with medium source data+Pass Sha-1 with medium source dataPass SHA-256 with medium source data-Pass sha-256 with medium source data-Pass Sha-256 with medium source dataPass SHA-256 with medium source data and altered buffer during callPass SHA-256 with medium source data and altered buffer after callPass SHA-256 with medium source data and transferred buffer during callPass SHA-256 with medium source data and transferred buffer after call+Pass sha-256 with medium source data+Pass Sha-256 with medium source dataPass SHA-384 with medium source data-Pass sha-384 with medium source data-Pass Sha-384 with medium source dataPass SHA-384 with medium source data and altered buffer during callPass SHA-384 with medium source data and altered buffer after callPass SHA-384 with medium source data and transferred buffer during callPass SHA-384 with medium source data and transferred buffer after call+Pass sha-384 with medium source data+Pass Sha-384 with medium source dataPass SHA-512 with medium source data-Pass sha-512 with medium source data-Pass Sha-512 with medium source dataPass SHA-512 with medium source data and altered buffer during callPass SHA-512 with medium source data and altered buffer after callPass SHA-512 with medium source data and transferred buffer during callPass SHA-512 with medium source data and transferred buffer after call+Pass sha-512 with medium source data+Pass Sha-512 with medium source dataPass SHA-1 with long source data-Pass sha-1 with long source data-Pass Sha-1 with long source dataPass SHA-1 with long source data and altered buffer during callPass SHA-1 with long source data and altered buffer after callPass SHA-1 with long source data and transferred buffer during callPass SHA-1 with long source data and transferred buffer after call+Pass sha-1 with long source data+Pass Sha-1 with long source dataPass SHA-256 with long source data-Pass sha-256 with long source data-Pass Sha-256 with long source dataPass SHA-256 with long source data and altered buffer during callPass SHA-256 with long source data and altered buffer after callPass SHA-256 with long source data and transferred buffer during callPass SHA-256 with long source data and transferred buffer after call+Pass sha-256 with long source data+Pass Sha-256 with long source dataPass SHA-384 with long source data-Pass sha-384 with long source data-Pass Sha-384 with long source dataPass SHA-384 with long source data and altered buffer during callPass SHA-384 with long source data and altered buffer after callPass SHA-384 with long source data and transferred buffer during callPass SHA-384 with long source data and transferred buffer after call+Pass sha-384 with long source data+Pass Sha-384 with long source dataPass SHA-512 with long source data-Pass sha-512 with long source data-Pass Sha-512 with long source dataPass SHA-512 with long source data and altered buffer during callPass SHA-512 with long source data and altered buffer after callPass SHA-512 with long source data and transferred buffer during callPass SHA-512 with long source data and transferred buffer after call+Pass sha-512 with long source data+Pass Sha-512 with long source dataPass AES-GCM with emptyPass RSA-OAEP with emptyPass PBKDF2 with emptydiff --git a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/encap_decap/encap_decap_bits.tentative.https.any.txt b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/encap_decap/encap_decap_bits.tentative.https.any.txtdeleted file mode 100644index c1eb00d7bbe..00000000000--- a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/encap_decap/encap_decap_bits.tentative.https.any.txt+++ /dev/null@@ -1,14 +0,0 @@-Harness status: OK--Found 9 tests--9 Pass-Pass ML-KEM-512 encapsulateBits basic functionality-Pass ML-KEM-512 encapsulateBits/decapsulateBits round-trip compatibility-Pass ML-KEM-512 vector-based sampleCiphertext decapsulation-Pass ML-KEM-768 encapsulateBits basic functionality-Pass ML-KEM-768 encapsulateBits/decapsulateBits round-trip compatibility-Pass ML-KEM-768 vector-based sampleCiphertext decapsulation-Pass ML-KEM-1024 encapsulateBits basic functionality-Pass ML-KEM-1024 encapsulateBits/decapsulateBits round-trip compatibility-Pass ML-KEM-1024 vector-based sampleCiphertext decapsulation\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/encap_decap/encap_decap_keys.tentative.https.any.txt b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/encap_decap/encap_decap_keys.tentative.https.any.txtdeleted file mode 100644index 965af9efdde..00000000000--- a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/encap_decap/encap_decap_keys.tentative.https.any.txt+++ /dev/null@@ -1,125 +0,0 @@-Harness status: OK--Found 120 tests--120 Pass-Pass ML-KEM-512 encapsulateKey with AES-GCM-256 (extractable=true)-Pass ML-KEM-512 decapsulateKey with AES-GCM-256 (extractable=true)-Pass ML-KEM-512 encapsulateKey/decapsulateKey round-trip with AES-GCM-256 (extractable=true)-Pass ML-KEM-512 vector-based sampleCiphertext decapsulation with AES-GCM-256 (extractable=true)-Pass ML-KEM-512 encapsulateKey with AES-GCM-256 (extractable=false)-Pass ML-KEM-512 decapsulateKey with AES-GCM-256 (extractable=false)-Pass ML-KEM-512 encapsulateKey/decapsulateKey round-trip with AES-GCM-256 (extractable=false)-Pass ML-KEM-512 vector-based sampleCiphertext decapsulation with AES-GCM-256 (extractable=false)-Pass ML-KEM-512 encapsulateKey with AES-CBC-256 (extractable=true)-Pass ML-KEM-512 decapsulateKey with AES-CBC-256 (extractable=true)-Pass ML-KEM-512 encapsulateKey/decapsulateKey round-trip with AES-CBC-256 (extractable=true)-Pass ML-KEM-512 vector-based sampleCiphertext decapsulation with AES-CBC-256 (extractable=true)-Pass ML-KEM-512 encapsulateKey with AES-CBC-256 (extractable=false)-Pass ML-KEM-512 decapsulateKey with AES-CBC-256 (extractable=false)-Pass ML-KEM-512 encapsulateKey/decapsulateKey round-trip with AES-CBC-256 (extractable=false)-Pass ML-KEM-512 vector-based sampleCiphertext decapsulation with AES-CBC-256 (extractable=false)-Pass ML-KEM-512 encapsulateKey with AES-CTR-256 (extractable=true)-Pass ML-KEM-512 decapsulateKey with AES-CTR-256 (extractable=true)-Pass ML-KEM-512 encapsulateKey/decapsulateKey round-trip with AES-CTR-256 (extractable=true)-Pass ML-KEM-512 vector-based sampleCiphertext decapsulation with AES-CTR-256 (extractable=true)-Pass ML-KEM-512 encapsulateKey with AES-CTR-256 (extractable=false)-Pass ML-KEM-512 decapsulateKey with AES-CTR-256 (extractable=false)-Pass ML-KEM-512 encapsulateKey/decapsulateKey round-trip with AES-CTR-256 (extractable=false)-Pass ML-KEM-512 vector-based sampleCiphertext decapsulation with AES-CTR-256 (extractable=false)-Pass ML-KEM-512 encapsulateKey with AES-KW-256 (extractable=true)-Pass ML-KEM-512 decapsulateKey with AES-KW-256 (extractable=true)-Pass ML-KEM-512 encapsulateKey/decapsulateKey round-trip with AES-KW-256 (extractable=true)-Pass ML-KEM-512 vector-based sampleCiphertext decapsulation with AES-KW-256 (extractable=true)-Pass ML-KEM-512 encapsulateKey with AES-KW-256 (extractable=false)-Pass ML-KEM-512 decapsulateKey with AES-KW-256 (extractable=false)-Pass ML-KEM-512 encapsulateKey/decapsulateKey round-trip with AES-KW-256 (extractable=false)-Pass ML-KEM-512 vector-based sampleCiphertext decapsulation with AES-KW-256 (extractable=false)-Pass ML-KEM-512 encapsulateKey with HMAC-SHA-256 (extractable=true)-Pass ML-KEM-512 decapsulateKey with HMAC-SHA-256 (extractable=true)-Pass ML-KEM-512 encapsulateKey/decapsulateKey round-trip with HMAC-SHA-256 (extractable=true)-Pass ML-KEM-512 vector-based sampleCiphertext decapsulation with HMAC-SHA-256 (extractable=true)-Pass ML-KEM-512 encapsulateKey with HMAC-SHA-256 (extractable=false)-Pass ML-KEM-512 decapsulateKey with HMAC-SHA-256 (extractable=false)-Pass ML-KEM-512 encapsulateKey/decapsulateKey round-trip with HMAC-SHA-256 (extractable=false)-Pass ML-KEM-512 vector-based sampleCiphertext decapsulation with HMAC-SHA-256 (extractable=false)-Pass ML-KEM-768 encapsulateKey with AES-GCM-256 (extractable=true)-Pass ML-KEM-768 decapsulateKey with AES-GCM-256 (extractable=true)-Pass ML-KEM-768 encapsulateKey/decapsulateKey round-trip with AES-GCM-256 (extractable=true)-Pass ML-KEM-768 vector-based sampleCiphertext decapsulation with AES-GCM-256 (extractable=true)-Pass ML-KEM-768 encapsulateKey with AES-GCM-256 (extractable=false)-Pass ML-KEM-768 decapsulateKey with AES-GCM-256 (extractable=false)-Pass ML-KEM-768 encapsulateKey/decapsulateKey round-trip with AES-GCM-256 (extractable=false)-Pass ML-KEM-768 vector-based sampleCiphertext decapsulation with AES-GCM-256 (extractable=false)-Pass ML-KEM-768 encapsulateKey with AES-CBC-256 (extractable=true)-Pass ML-KEM-768 decapsulateKey with AES-CBC-256 (extractable=true)-Pass ML-KEM-768 encapsulateKey/decapsulateKey round-trip with AES-CBC-256 (extractable=true)-Pass ML-KEM-768 vector-based sampleCiphertext decapsulation with AES-CBC-256 (extractable=true)-Pass ML-KEM-768 encapsulateKey with AES-CBC-256 (extractable=false)-Pass ML-KEM-768 decapsulateKey with AES-CBC-256 (extractable=false)-Pass ML-KEM-768 encapsulateKey/decapsulateKey round-trip with AES-CBC-256 (extractable=false)-Pass ML-KEM-768 vector-based sampleCiphertext decapsulation with AES-CBC-256 (extractable=false)-Pass ML-KEM-768 encapsulateKey with AES-CTR-256 (extractable=true)-Pass ML-KEM-768 decapsulateKey with AES-CTR-256 (extractable=true)-Pass ML-KEM-768 encapsulateKey/decapsulateKey round-trip with AES-CTR-256 (extractable=true)-Pass ML-KEM-768 vector-based sampleCiphertext decapsulation with AES-CTR-256 (extractable=true)-Pass ML-KEM-768 encapsulateKey with AES-CTR-256 (extractable=false)-Pass ML-KEM-768 decapsulateKey with AES-CTR-256 (extractable=false)-Pass ML-KEM-768 encapsulateKey/decapsulateKey round-trip with AES-CTR-256 (extractable=false)-Pass ML-KEM-768 vector-based sampleCiphertext decapsulation with AES-CTR-256 (extractable=false)-Pass ML-KEM-768 encapsulateKey with AES-KW-256 (extractable=true)-Pass ML-KEM-768 decapsulateKey with AES-KW-256 (extractable=true)-Pass ML-KEM-768 encapsulateKey/decapsulateKey round-trip with AES-KW-256 (extractable=true)-Pass ML-KEM-768 vector-based sampleCiphertext decapsulation with AES-KW-256 (extractable=true)-Pass ML-KEM-768 encapsulateKey with AES-KW-256 (extractable=false)-Pass ML-KEM-768 decapsulateKey with AES-KW-256 (extractable=false)-Pass ML-KEM-768 encapsulateKey/decapsulateKey round-trip with AES-KW-256 (extractable=false)-Pass ML-KEM-768 vector-based sampleCiphertext decapsulation with AES-KW-256 (extractable=false)-Pass ML-KEM-768 encapsulateKey with HMAC-SHA-256 (extractable=true)-Pass ML-KEM-768 decapsulateKey with HMAC-SHA-256 (extractable=true)-Pass ML-KEM-768 encapsulateKey/decapsulateKey round-trip with HMAC-SHA-256 (extractable=true)-Pass ML-KEM-768 vector-based sampleCiphertext decapsulation with HMAC-SHA-256 (extractable=true)-Pass ML-KEM-768 encapsulateKey with HMAC-SHA-256 (extractable=false)-Pass ML-KEM-768 decapsulateKey with HMAC-SHA-256 (extractable=false)-Pass ML-KEM-768 encapsulateKey/decapsulateKey round-trip with HMAC-SHA-256 (extractable=false)-Pass ML-KEM-768 vector-based sampleCiphertext decapsulation with HMAC-SHA-256 (extractable=false)-Pass ML-KEM-1024 encapsulateKey with AES-GCM-256 (extractable=true)-Pass ML-KEM-1024 decapsulateKey with AES-GCM-256 (extractable=true)-Pass ML-KEM-1024 encapsulateKey/decapsulateKey round-trip with AES-GCM-256 (extractable=true)-Pass ML-KEM-1024 vector-based sampleCiphertext decapsulation with AES-GCM-256 (extractable=true)-Pass ML-KEM-1024 encapsulateKey with AES-GCM-256 (extractable=false)-Pass ML-KEM-1024 decapsulateKey with AES-GCM-256 (extractable=false)-Pass ML-KEM-1024 encapsulateKey/decapsulateKey round-trip with AES-GCM-256 (extractable=false)-Pass ML-KEM-1024 vector-based sampleCiphertext decapsulation with AES-GCM-256 (extractable=false)-Pass ML-KEM-1024 encapsulateKey with AES-CBC-256 (extractable=true)-Pass ML-KEM-1024 decapsulateKey with AES-CBC-256 (extractable=true)-Pass ML-KEM-1024 encapsulateKey/decapsulateKey round-trip with AES-CBC-256 (extractable=true)-Pass ML-KEM-1024 vector-based sampleCiphertext decapsulation with AES-CBC-256 (extractable=true)-Pass ML-KEM-1024 encapsulateKey with AES-CBC-256 (extractable=false)-Pass ML-KEM-1024 decapsulateKey with AES-CBC-256 (extractable=false)-Pass ML-KEM-1024 encapsulateKey/decapsulateKey round-trip with AES-CBC-256 (extractable=false)-Pass ML-KEM-1024 vector-based sampleCiphertext decapsulation with AES-CBC-256 (extractable=false)-Pass ML-KEM-1024 encapsulateKey with AES-CTR-256 (extractable=true)-Pass ML-KEM-1024 decapsulateKey with AES-CTR-256 (extractable=true)-Pass ML-KEM-1024 encapsulateKey/decapsulateKey round-trip with AES-CTR-256 (extractable=true)-Pass ML-KEM-1024 vector-based sampleCiphertext decapsulation with AES-CTR-256 (extractable=true)-Pass ML-KEM-1024 encapsulateKey with AES-CTR-256 (extractable=false)-Pass ML-KEM-1024 decapsulateKey with AES-CTR-256 (extractable=false)-Pass ML-KEM-1024 encapsulateKey/decapsulateKey round-trip with AES-CTR-256 (extractable=false)-Pass ML-KEM-1024 vector-based sampleCiphertext decapsulation with AES-CTR-256 (extractable=false)-Pass ML-KEM-1024 encapsulateKey with AES-KW-256 (extractable=true)-Pass ML-KEM-1024 decapsulateKey with AES-KW-256 (extractable=true)-Pass ML-KEM-1024 encapsulateKey/decapsulateKey round-trip with AES-KW-256 (extractable=true)-Pass ML-KEM-1024 vector-based sampleCiphertext decapsulation with AES-KW-256 (extractable=true)-Pass ML-KEM-1024 encapsulateKey with AES-KW-256 (extractable=false)-Pass ML-KEM-1024 decapsulateKey with AES-KW-256 (extractable=false)-Pass ML-KEM-1024 encapsulateKey/decapsulateKey round-trip with AES-KW-256 (extractable=false)-Pass ML-KEM-1024 vector-based sampleCiphertext decapsulation with AES-KW-256 (extractable=false)-Pass ML-KEM-1024 encapsulateKey with HMAC-SHA-256 (extractable=true)-Pass ML-KEM-1024 decapsulateKey with HMAC-SHA-256 (extractable=true)-Pass ML-KEM-1024 encapsulateKey/decapsulateKey round-trip with HMAC-SHA-256 (extractable=true)-Pass ML-KEM-1024 vector-based sampleCiphertext decapsulation with HMAC-SHA-256 (extractable=true)-Pass ML-KEM-1024 encapsulateKey with HMAC-SHA-256 (extractable=false)-Pass ML-KEM-1024 decapsulateKey with HMAC-SHA-256 (extractable=false)-Pass ML-KEM-1024 encapsulateKey/decapsulateKey round-trip with HMAC-SHA-256 (extractable=false)-Pass ML-KEM-1024 vector-based sampleCiphertext decapsulation with HMAC-SHA-256 (extractable=false)\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/generateKey/failures_AES-KW.https.any.txt b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/generateKey/failures_AES-KW.https.any.txtindex 42f9900d103..f56b25d6c35 100644--- a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/generateKey/failures_AES-KW.https.any.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/generateKey/failures_AES-KW.https.any.txt@@ -1,368 +1,9 @@Harness status: OK-Found 516 tests+Found 236 tests-516 Pass-Pass Bad algorithm: generateKey(AES, false, [decrypt])-Pass Bad algorithm: generateKey(AES, true, [decrypt])-Pass Bad algorithm: generateKey(AES, RED, [decrypt])-Pass Bad algorithm: generateKey(AES, 7, [decrypt])-Pass Bad algorithm: generateKey(AES, false, [sign, decrypt])-Pass Bad algorithm: generateKey(AES, true, [sign, decrypt])-Pass Bad algorithm: generateKey(AES, RED, [sign, decrypt])-Pass Bad algorithm: generateKey(AES, 7, [sign, decrypt])-Pass Bad algorithm: generateKey(AES, false, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey(AES, true, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey(AES, RED, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey(AES, 7, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey(AES, false, [deriveBits, decrypt])-Pass Bad algorithm: generateKey(AES, true, [deriveBits, decrypt])-Pass Bad algorithm: generateKey(AES, RED, [deriveBits, decrypt])-Pass Bad algorithm: generateKey(AES, 7, [deriveBits, decrypt])-Pass Bad algorithm: generateKey(AES, false, [sign])-Pass Bad algorithm: generateKey(AES, true, [sign])-Pass Bad algorithm: generateKey(AES, RED, [sign])-Pass Bad algorithm: generateKey(AES, 7, [sign])-Pass Bad algorithm: generateKey(AES, false, [deriveBits, sign])-Pass Bad algorithm: generateKey(AES, true, [deriveBits, sign])-Pass Bad algorithm: generateKey(AES, RED, [deriveBits, sign])-Pass Bad algorithm: generateKey(AES, 7, [deriveBits, sign])-Pass Bad algorithm: generateKey(AES, false, [deriveBits])-Pass Bad algorithm: generateKey(AES, true, [deriveBits])-Pass Bad algorithm: generateKey(AES, RED, [deriveBits])-Pass Bad algorithm: generateKey(AES, 7, [deriveBits])-Pass Bad algorithm: generateKey(AES, false, [])-Pass Bad algorithm: generateKey(AES, true, [])-Pass Bad algorithm: generateKey(AES, RED, [])-Pass Bad algorithm: generateKey(AES, 7, [])-Pass Bad algorithm: generateKey(AES, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey(AES, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey(AES, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey(AES, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({name: AES}, false, [decrypt])-Pass Bad algorithm: generateKey({name: AES}, true, [decrypt])-Pass Bad algorithm: generateKey({name: AES}, RED, [decrypt])-Pass Bad algorithm: generateKey({name: AES}, 7, [decrypt])-Pass Bad algorithm: generateKey({name: AES}, false, [sign, decrypt])-Pass Bad algorithm: generateKey({name: AES}, true, [sign, decrypt])-Pass Bad algorithm: generateKey({name: AES}, RED, [sign, decrypt])-Pass Bad algorithm: generateKey({name: AES}, 7, [sign, decrypt])-Pass Bad algorithm: generateKey({name: AES}, false, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({name: AES}, true, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({name: AES}, RED, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({name: AES}, 7, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({name: AES}, false, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({name: AES}, true, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({name: AES}, RED, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({name: AES}, 7, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({name: AES}, false, [sign])-Pass Bad algorithm: generateKey({name: AES}, true, [sign])-Pass Bad algorithm: generateKey({name: AES}, RED, [sign])-Pass Bad algorithm: generateKey({name: AES}, 7, [sign])-Pass Bad algorithm: generateKey({name: AES}, false, [deriveBits, sign])-Pass Bad algorithm: generateKey({name: AES}, true, [deriveBits, sign])-Pass Bad algorithm: generateKey({name: AES}, RED, [deriveBits, sign])-Pass Bad algorithm: generateKey({name: AES}, 7, [deriveBits, sign])-Pass Bad algorithm: generateKey({name: AES}, false, [deriveBits])-Pass Bad algorithm: generateKey({name: AES}, true, [deriveBits])-Pass Bad algorithm: generateKey({name: AES}, RED, [deriveBits])-Pass Bad algorithm: generateKey({name: AES}, 7, [deriveBits])-Pass Bad algorithm: generateKey({name: AES}, false, [])-Pass Bad algorithm: generateKey({name: AES}, true, [])-Pass Bad algorithm: generateKey({name: AES}, RED, [])-Pass Bad algorithm: generateKey({name: AES}, 7, [])-Pass Bad algorithm: generateKey({name: AES}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({name: AES}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({name: AES}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({name: AES}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES}, false, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, true, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, RED, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, 7, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, false, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, true, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, RED, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, 7, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, false, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES}, true, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES}, RED, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES}, 7, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES}, false, [])-Pass Bad algorithm: generateKey({length: 128, name: AES}, true, [])-Pass Bad algorithm: generateKey({length: 128, name: AES}, RED, [])-Pass Bad algorithm: generateKey({length: 128, name: AES}, 7, [])-Pass Bad algorithm: generateKey({length: 128, name: AES}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [sign])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [sign])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [sign])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [sign])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [sign, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [sign, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [sign, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [sign, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [sign])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [sign])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [sign])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [sign])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits, sign])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits, sign])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits, sign])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits, sign])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Empty algorithm: generateKey({}, false, [decrypt])-Pass Empty algorithm: generateKey({}, true, [decrypt])-Pass Empty algorithm: generateKey({}, RED, [decrypt])-Pass Empty algorithm: generateKey({}, 7, [decrypt])-Pass Empty algorithm: generateKey({}, false, [sign, decrypt])-Pass Empty algorithm: generateKey({}, true, [sign, decrypt])-Pass Empty algorithm: generateKey({}, RED, [sign, decrypt])-Pass Empty algorithm: generateKey({}, 7, [sign, decrypt])-Pass Empty algorithm: generateKey({}, false, [deriveBits, sign, decrypt])-Pass Empty algorithm: generateKey({}, true, [deriveBits, sign, decrypt])-Pass Empty algorithm: generateKey({}, RED, [deriveBits, sign, decrypt])-Pass Empty algorithm: generateKey({}, 7, [deriveBits, sign, decrypt])-Pass Empty algorithm: generateKey({}, false, [deriveBits, decrypt])-Pass Empty algorithm: generateKey({}, true, [deriveBits, decrypt])-Pass Empty algorithm: generateKey({}, RED, [deriveBits, decrypt])-Pass Empty algorithm: generateKey({}, 7, [deriveBits, decrypt])-Pass Empty algorithm: generateKey({}, false, [sign])-Pass Empty algorithm: generateKey({}, true, [sign])-Pass Empty algorithm: generateKey({}, RED, [sign])-Pass Empty algorithm: generateKey({}, 7, [sign])-Pass Empty algorithm: generateKey({}, false, [deriveBits, sign])-Pass Empty algorithm: generateKey({}, true, [deriveBits, sign])-Pass Empty algorithm: generateKey({}, RED, [deriveBits, sign])-Pass Empty algorithm: generateKey({}, 7, [deriveBits, sign])-Pass Empty algorithm: generateKey({}, false, [deriveBits])-Pass Empty algorithm: generateKey({}, true, [deriveBits])-Pass Empty algorithm: generateKey({}, RED, [deriveBits])-Pass Empty algorithm: generateKey({}, 7, [deriveBits])-Pass Empty algorithm: generateKey({}, false, [])-Pass Empty algorithm: generateKey({}, true, [])-Pass Empty algorithm: generateKey({}, RED, [])-Pass Empty algorithm: generateKey({}, 7, [])-Pass Empty algorithm: generateKey({}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Empty algorithm: generateKey({}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Empty algorithm: generateKey({}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Empty algorithm: generateKey({}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])+216 Pass+20 FailPass Bad usages: generateKey({length: 128, name: AES-KW}, true, [encrypt])Pass Bad usages: generateKey({length: 128, name: AES-KW}, true, [wrapKey, encrypt])Pass Bad usages: generateKey({length: 128, name: AES-KW}, true, [unwrapKey, wrapKey, encrypt])@@ -393,6 +34,26 @@ Pass Bad usages: generateKey({length: 128, name: AES-KW}, true, [wrapKey, derivePass Bad usages: generateKey({length: 128, name: AES-KW}, true, [unwrapKey, wrapKey, deriveBits])Pass Bad usages: generateKey({length: 128, name: AES-KW}, true, [unwrapKey, deriveBits])Pass Bad usages: generateKey({length: 128, name: AES-KW}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey, deriveBits])+Pass Bad usages: generateKey({length: 128, name: AES-KW}, true, [encapsulateKey])+Pass Bad usages: generateKey({length: 128, name: AES-KW}, true, [wrapKey, encapsulateKey])+Pass Bad usages: generateKey({length: 128, name: AES-KW}, true, [unwrapKey, wrapKey, encapsulateKey])+Pass Bad usages: generateKey({length: 128, name: AES-KW}, true, [unwrapKey, encapsulateKey])+Pass Bad usages: generateKey({length: 128, name: AES-KW}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey, encapsulateKey])+Pass Bad usages: generateKey({length: 128, name: AES-KW}, true, [encapsulateBits])+Pass Bad usages: generateKey({length: 128, name: AES-KW}, true, [wrapKey, encapsulateBits])+Pass Bad usages: generateKey({length: 128, name: AES-KW}, true, [unwrapKey, wrapKey, encapsulateBits])+Pass Bad usages: generateKey({length: 128, name: AES-KW}, true, [unwrapKey, encapsulateBits])+Pass Bad usages: generateKey({length: 128, name: AES-KW}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey, encapsulateBits])+Pass Bad usages: generateKey({length: 128, name: AES-KW}, true, [decapsulateKey])+Pass Bad usages: generateKey({length: 128, name: AES-KW}, true, [wrapKey, decapsulateKey])+Pass Bad usages: generateKey({length: 128, name: AES-KW}, true, [unwrapKey, wrapKey, decapsulateKey])+Pass Bad usages: generateKey({length: 128, name: AES-KW}, true, [unwrapKey, decapsulateKey])+Pass Bad usages: generateKey({length: 128, name: AES-KW}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey, decapsulateKey])+Pass Bad usages: generateKey({length: 128, name: AES-KW}, true, [decapsulateBits])+Pass Bad usages: generateKey({length: 128, name: AES-KW}, true, [wrapKey, decapsulateBits])+Pass Bad usages: generateKey({length: 128, name: AES-KW}, true, [unwrapKey, wrapKey, decapsulateBits])+Pass Bad usages: generateKey({length: 128, name: AES-KW}, true, [unwrapKey, decapsulateBits])+Pass Bad usages: generateKey({length: 128, name: AES-KW}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey, decapsulateBits])Pass Bad usages: generateKey({length: 192, name: AES-KW}, true, [encrypt])Pass Bad usages: generateKey({length: 192, name: AES-KW}, true, [wrapKey, encrypt])Pass Bad usages: generateKey({length: 192, name: AES-KW}, true, [unwrapKey, wrapKey, encrypt])@@ -423,6 +84,26 @@ Pass Bad usages: generateKey({length: 192, name: AES-KW}, true, [wrapKey, derivePass Bad usages: generateKey({length: 192, name: AES-KW}, true, [unwrapKey, wrapKey, deriveBits])Pass Bad usages: generateKey({length: 192, name: AES-KW}, true, [unwrapKey, deriveBits])Pass Bad usages: generateKey({length: 192, name: AES-KW}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey, deriveBits])+Pass Bad usages: generateKey({length: 192, name: AES-KW}, true, [encapsulateKey])+Pass Bad usages: generateKey({length: 192, name: AES-KW}, true, [wrapKey, encapsulateKey])+Pass Bad usages: generateKey({length: 192, name: AES-KW}, true, [unwrapKey, wrapKey, encapsulateKey])+Pass Bad usages: generateKey({length: 192, name: AES-KW}, true, [unwrapKey, encapsulateKey])+Pass Bad usages: generateKey({length: 192, name: AES-KW}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey, encapsulateKey])+Pass Bad usages: generateKey({length: 192, name: AES-KW}, true, [encapsulateBits])+Pass Bad usages: generateKey({length: 192, name: AES-KW}, true, [wrapKey, encapsulateBits])+Pass Bad usages: generateKey({length: 192, name: AES-KW}, true, [unwrapKey, wrapKey, encapsulateBits])+Pass Bad usages: generateKey({length: 192, name: AES-KW}, true, [unwrapKey, encapsulateBits])+Pass Bad usages: generateKey({length: 192, name: AES-KW}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey, encapsulateBits])+Pass Bad usages: generateKey({length: 192, name: AES-KW}, true, [decapsulateKey])+Pass Bad usages: generateKey({length: 192, name: AES-KW}, true, [wrapKey, decapsulateKey])+Pass Bad usages: generateKey({length: 192, name: AES-KW}, true, [unwrapKey, wrapKey, decapsulateKey])+Pass Bad usages: generateKey({length: 192, name: AES-KW}, true, [unwrapKey, decapsulateKey])+Pass Bad usages: generateKey({length: 192, name: AES-KW}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey, decapsulateKey])+Pass Bad usages: generateKey({length: 192, name: AES-KW}, true, [decapsulateBits])+Pass Bad usages: generateKey({length: 192, name: AES-KW}, true, [wrapKey, decapsulateBits])+Pass Bad usages: generateKey({length: 192, name: AES-KW}, true, [unwrapKey, wrapKey, decapsulateBits])+Pass Bad usages: generateKey({length: 192, name: AES-KW}, true, [unwrapKey, decapsulateBits])+Pass Bad usages: generateKey({length: 192, name: AES-KW}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey, decapsulateBits])Pass Bad usages: generateKey({length: 256, name: AES-KW}, true, [encrypt])Pass Bad usages: generateKey({length: 256, name: AES-KW}, true, [wrapKey, encrypt])Pass Bad usages: generateKey({length: 256, name: AES-KW}, true, [unwrapKey, wrapKey, encrypt])@@ -453,6 +134,26 @@ Pass Bad usages: generateKey({length: 256, name: AES-KW}, true, [wrapKey, derivePass Bad usages: generateKey({length: 256, name: AES-KW}, true, [unwrapKey, wrapKey, deriveBits])Pass Bad usages: generateKey({length: 256, name: AES-KW}, true, [unwrapKey, deriveBits])Pass Bad usages: generateKey({length: 256, name: AES-KW}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey, deriveBits])+Pass Bad usages: generateKey({length: 256, name: AES-KW}, true, [encapsulateKey])+Pass Bad usages: generateKey({length: 256, name: AES-KW}, true, [wrapKey, encapsulateKey])+Pass Bad usages: generateKey({length: 256, name: AES-KW}, true, [unwrapKey, wrapKey, encapsulateKey])+Pass Bad usages: generateKey({length: 256, name: AES-KW}, true, [unwrapKey, encapsulateKey])+Pass Bad usages: generateKey({length: 256, name: AES-KW}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey, encapsulateKey])+Pass Bad usages: generateKey({length: 256, name: AES-KW}, true, [encapsulateBits])+Pass Bad usages: generateKey({length: 256, name: AES-KW}, true, [wrapKey, encapsulateBits])+Pass Bad usages: generateKey({length: 256, name: AES-KW}, true, [unwrapKey, wrapKey, encapsulateBits])+Pass Bad usages: generateKey({length: 256, name: AES-KW}, true, [unwrapKey, encapsulateBits])+Pass Bad usages: generateKey({length: 256, name: AES-KW}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey, encapsulateBits])+Pass Bad usages: generateKey({length: 256, name: AES-KW}, true, [decapsulateKey])+Pass Bad usages: generateKey({length: 256, name: AES-KW}, true, [wrapKey, decapsulateKey])+Pass Bad usages: generateKey({length: 256, name: AES-KW}, true, [unwrapKey, wrapKey, decapsulateKey])+Pass Bad usages: generateKey({length: 256, name: AES-KW}, true, [unwrapKey, decapsulateKey])+Pass Bad usages: generateKey({length: 256, name: AES-KW}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey, decapsulateKey])+Pass Bad usages: generateKey({length: 256, name: AES-KW}, true, [decapsulateBits])+Pass Bad usages: generateKey({length: 256, name: AES-KW}, true, [wrapKey, decapsulateBits])+Pass Bad usages: generateKey({length: 256, name: AES-KW}, true, [unwrapKey, wrapKey, decapsulateBits])+Pass Bad usages: generateKey({length: 256, name: AES-KW}, true, [unwrapKey, decapsulateBits])+Pass Bad usages: generateKey({length: 256, name: AES-KW}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey, decapsulateBits])Pass Bad algorithm property: generateKey({length: 64, name: AES-KW}, false, [wrapKey])Pass Bad algorithm property: generateKey({length: 64, name: AES-KW}, true, [wrapKey])Pass Bad algorithm property: generateKey({length: 64, name: AES-KW}, false, [unwrapKey, wrapKey])@@ -513,6 +214,26 @@ Pass Bad algorithm property: generateKey({length: 512, name: AES-KW}, false, [])Pass Bad algorithm property: generateKey({length: 512, name: AES-KW}, true, [])Pass Bad algorithm property: generateKey({length: 512, name: AES-KW}, false, [wrapKey, unwrapKey, wrapKey, unwrapKey])Pass Bad algorithm property: generateKey({length: 512, name: AES-KW}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey])+Fail Bad algorithm property: generateKey({length: 4294967424, name: AES-KW}, false, [wrapKey])+Fail Bad algorithm property: generateKey({length: 4294967424, name: AES-KW}, true, [wrapKey])+Fail Bad algorithm property: generateKey({length: 4294967424, name: AES-KW}, false, [unwrapKey, wrapKey])+Fail Bad algorithm property: generateKey({length: 4294967424, name: AES-KW}, true, [unwrapKey, wrapKey])+Fail Bad algorithm property: generateKey({length: 4294967424, name: AES-KW}, false, [unwrapKey])+Fail Bad algorithm property: generateKey({length: 4294967424, name: AES-KW}, true, [unwrapKey])+Fail Bad algorithm property: generateKey({length: 4294967424, name: AES-KW}, false, [])+Fail Bad algorithm property: generateKey({length: 4294967424, name: AES-KW}, true, [])+Fail Bad algorithm property: generateKey({length: 4294967424, name: AES-KW}, false, [wrapKey, unwrapKey, wrapKey, unwrapKey])+Fail Bad algorithm property: generateKey({length: 4294967424, name: AES-KW}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey])+Fail Bad algorithm property: generateKey({length: -4294967168, name: AES-KW}, false, [wrapKey])+Fail Bad algorithm property: generateKey({length: -4294967168, name: AES-KW}, true, [wrapKey])+Fail Bad algorithm property: generateKey({length: -4294967168, name: AES-KW}, false, [unwrapKey, wrapKey])+Fail Bad algorithm property: generateKey({length: -4294967168, name: AES-KW}, true, [unwrapKey, wrapKey])+Fail Bad algorithm property: generateKey({length: -4294967168, name: AES-KW}, false, [unwrapKey])+Fail Bad algorithm property: generateKey({length: -4294967168, name: AES-KW}, true, [unwrapKey])+Fail Bad algorithm property: generateKey({length: -4294967168, name: AES-KW}, false, [])+Fail Bad algorithm property: generateKey({length: -4294967168, name: AES-KW}, true, [])+Fail Bad algorithm property: generateKey({length: -4294967168, name: AES-KW}, false, [wrapKey, unwrapKey, wrapKey, unwrapKey])+Fail Bad algorithm property: generateKey({length: -4294967168, name: AES-KW}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey])Pass Empty usages: generateKey({length: 128, name: AES-KW}, false, [])Pass Empty usages: generateKey({length: 128, name: AES-KW}, true, [])Pass Empty usages: generateKey({length: 192, name: AES-KW}, false, [])diff --git a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/generateKey/failures_ECDH.https.any.txt b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/generateKey/failures_ECDH.https.any.txtindex be1443a5cfa..52cc73e1662 100644--- a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/generateKey/failures_ECDH.https.any.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/generateKey/failures_ECDH.https.any.txt@@ -1,368 +1,8 @@Harness status: OK-Found 476 tests+Found 176 tests-476 Pass-Pass Bad algorithm: generateKey(AES, false, [decrypt])-Pass Bad algorithm: generateKey(AES, true, [decrypt])-Pass Bad algorithm: generateKey(AES, RED, [decrypt])-Pass Bad algorithm: generateKey(AES, 7, [decrypt])-Pass Bad algorithm: generateKey(AES, false, [sign, decrypt])-Pass Bad algorithm: generateKey(AES, true, [sign, decrypt])-Pass Bad algorithm: generateKey(AES, RED, [sign, decrypt])-Pass Bad algorithm: generateKey(AES, 7, [sign, decrypt])-Pass Bad algorithm: generateKey(AES, false, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey(AES, true, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey(AES, RED, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey(AES, 7, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey(AES, false, [deriveBits, decrypt])-Pass Bad algorithm: generateKey(AES, true, [deriveBits, decrypt])-Pass Bad algorithm: generateKey(AES, RED, [deriveBits, decrypt])-Pass Bad algorithm: generateKey(AES, 7, [deriveBits, decrypt])-Pass Bad algorithm: generateKey(AES, false, [sign])-Pass Bad algorithm: generateKey(AES, true, [sign])-Pass Bad algorithm: generateKey(AES, RED, [sign])-Pass Bad algorithm: generateKey(AES, 7, [sign])-Pass Bad algorithm: generateKey(AES, false, [deriveBits, sign])-Pass Bad algorithm: generateKey(AES, true, [deriveBits, sign])-Pass Bad algorithm: generateKey(AES, RED, [deriveBits, sign])-Pass Bad algorithm: generateKey(AES, 7, [deriveBits, sign])-Pass Bad algorithm: generateKey(AES, false, [deriveBits])-Pass Bad algorithm: generateKey(AES, true, [deriveBits])-Pass Bad algorithm: generateKey(AES, RED, [deriveBits])-Pass Bad algorithm: generateKey(AES, 7, [deriveBits])-Pass Bad algorithm: generateKey(AES, false, [])-Pass Bad algorithm: generateKey(AES, true, [])-Pass Bad algorithm: generateKey(AES, RED, [])-Pass Bad algorithm: generateKey(AES, 7, [])-Pass Bad algorithm: generateKey(AES, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey(AES, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey(AES, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey(AES, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({name: AES}, false, [decrypt])-Pass Bad algorithm: generateKey({name: AES}, true, [decrypt])-Pass Bad algorithm: generateKey({name: AES}, RED, [decrypt])-Pass Bad algorithm: generateKey({name: AES}, 7, [decrypt])-Pass Bad algorithm: generateKey({name: AES}, false, [sign, decrypt])-Pass Bad algorithm: generateKey({name: AES}, true, [sign, decrypt])-Pass Bad algorithm: generateKey({name: AES}, RED, [sign, decrypt])-Pass Bad algorithm: generateKey({name: AES}, 7, [sign, decrypt])-Pass Bad algorithm: generateKey({name: AES}, false, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({name: AES}, true, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({name: AES}, RED, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({name: AES}, 7, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({name: AES}, false, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({name: AES}, true, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({name: AES}, RED, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({name: AES}, 7, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({name: AES}, false, [sign])-Pass Bad algorithm: generateKey({name: AES}, true, [sign])-Pass Bad algorithm: generateKey({name: AES}, RED, [sign])-Pass Bad algorithm: generateKey({name: AES}, 7, [sign])-Pass Bad algorithm: generateKey({name: AES}, false, [deriveBits, sign])-Pass Bad algorithm: generateKey({name: AES}, true, [deriveBits, sign])-Pass Bad algorithm: generateKey({name: AES}, RED, [deriveBits, sign])-Pass Bad algorithm: generateKey({name: AES}, 7, [deriveBits, sign])-Pass Bad algorithm: generateKey({name: AES}, false, [deriveBits])-Pass Bad algorithm: generateKey({name: AES}, true, [deriveBits])-Pass Bad algorithm: generateKey({name: AES}, RED, [deriveBits])-Pass Bad algorithm: generateKey({name: AES}, 7, [deriveBits])-Pass Bad algorithm: generateKey({name: AES}, false, [])-Pass Bad algorithm: generateKey({name: AES}, true, [])-Pass Bad algorithm: generateKey({name: AES}, RED, [])-Pass Bad algorithm: generateKey({name: AES}, 7, [])-Pass Bad algorithm: generateKey({name: AES}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({name: AES}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({name: AES}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({name: AES}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES}, false, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, true, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, RED, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, 7, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, false, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, true, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, RED, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, 7, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, false, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES}, true, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES}, RED, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES}, 7, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES}, false, [])-Pass Bad algorithm: generateKey({length: 128, name: AES}, true, [])-Pass Bad algorithm: generateKey({length: 128, name: AES}, RED, [])-Pass Bad algorithm: generateKey({length: 128, name: AES}, 7, [])-Pass Bad algorithm: generateKey({length: 128, name: AES}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [sign])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [sign])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [sign])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [sign])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [sign, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [sign, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [sign, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [sign, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [sign])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [sign])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [sign])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [sign])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits, sign])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits, sign])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits, sign])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits, sign])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Empty algorithm: generateKey({}, false, [decrypt])-Pass Empty algorithm: generateKey({}, true, [decrypt])-Pass Empty algorithm: generateKey({}, RED, [decrypt])-Pass Empty algorithm: generateKey({}, 7, [decrypt])-Pass Empty algorithm: generateKey({}, false, [sign, decrypt])-Pass Empty algorithm: generateKey({}, true, [sign, decrypt])-Pass Empty algorithm: generateKey({}, RED, [sign, decrypt])-Pass Empty algorithm: generateKey({}, 7, [sign, decrypt])-Pass Empty algorithm: generateKey({}, false, [deriveBits, sign, decrypt])-Pass Empty algorithm: generateKey({}, true, [deriveBits, sign, decrypt])-Pass Empty algorithm: generateKey({}, RED, [deriveBits, sign, decrypt])-Pass Empty algorithm: generateKey({}, 7, [deriveBits, sign, decrypt])-Pass Empty algorithm: generateKey({}, false, [deriveBits, decrypt])-Pass Empty algorithm: generateKey({}, true, [deriveBits, decrypt])-Pass Empty algorithm: generateKey({}, RED, [deriveBits, decrypt])-Pass Empty algorithm: generateKey({}, 7, [deriveBits, decrypt])-Pass Empty algorithm: generateKey({}, false, [sign])-Pass Empty algorithm: generateKey({}, true, [sign])-Pass Empty algorithm: generateKey({}, RED, [sign])-Pass Empty algorithm: generateKey({}, 7, [sign])-Pass Empty algorithm: generateKey({}, false, [deriveBits, sign])-Pass Empty algorithm: generateKey({}, true, [deriveBits, sign])-Pass Empty algorithm: generateKey({}, RED, [deriveBits, sign])-Pass Empty algorithm: generateKey({}, 7, [deriveBits, sign])-Pass Empty algorithm: generateKey({}, false, [deriveBits])-Pass Empty algorithm: generateKey({}, true, [deriveBits])-Pass Empty algorithm: generateKey({}, RED, [deriveBits])-Pass Empty algorithm: generateKey({}, 7, [deriveBits])-Pass Empty algorithm: generateKey({}, false, [])-Pass Empty algorithm: generateKey({}, true, [])-Pass Empty algorithm: generateKey({}, RED, [])-Pass Empty algorithm: generateKey({}, 7, [])-Pass Empty algorithm: generateKey({}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Empty algorithm: generateKey({}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Empty algorithm: generateKey({}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Empty algorithm: generateKey({}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])+176 PassPass Bad usages: generateKey({name: ECDH, namedCurve: P-256}, true, [encrypt])Pass Bad usages: generateKey({name: ECDH, namedCurve: P-256}, true, [deriveKey, encrypt])Pass Bad usages: generateKey({name: ECDH, namedCurve: P-256}, true, [deriveBits, deriveKey, encrypt])@@ -393,6 +33,26 @@ Pass Bad usages: generateKey({name: ECDH, namedCurve: P-256}, true, [deriveKey,Pass Bad usages: generateKey({name: ECDH, namedCurve: P-256}, true, [deriveBits, deriveKey, unwrapKey])Pass Bad usages: generateKey({name: ECDH, namedCurve: P-256}, true, [deriveBits, unwrapKey])Pass Bad usages: generateKey({name: ECDH, namedCurve: P-256}, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits, unwrapKey])+Pass Bad usages: generateKey({name: ECDH, namedCurve: P-256}, true, [encapsulateKey])+Pass Bad usages: generateKey({name: ECDH, namedCurve: P-256}, true, [deriveKey, encapsulateKey])+Pass Bad usages: generateKey({name: ECDH, namedCurve: P-256}, true, [deriveBits, deriveKey, encapsulateKey])+Pass Bad usages: generateKey({name: ECDH, namedCurve: P-256}, true, [deriveBits, encapsulateKey])+Pass Bad usages: generateKey({name: ECDH, namedCurve: P-256}, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits, encapsulateKey])+Pass Bad usages: generateKey({name: ECDH, namedCurve: P-256}, true, [encapsulateBits])+Pass Bad usages: generateKey({name: ECDH, namedCurve: P-256}, true, [deriveKey, encapsulateBits])+Pass Bad usages: generateKey({name: ECDH, namedCurve: P-256}, true, [deriveBits, deriveKey, encapsulateBits])+Pass Bad usages: generateKey({name: ECDH, namedCurve: P-256}, true, [deriveBits, encapsulateBits])+Pass Bad usages: generateKey({name: ECDH, namedCurve: P-256}, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits, encapsulateBits])+Pass Bad usages: generateKey({name: ECDH, namedCurve: P-256}, true, [decapsulateKey])+Pass Bad usages: generateKey({name: ECDH, namedCurve: P-256}, true, [deriveKey, decapsulateKey])+Pass Bad usages: generateKey({name: ECDH, namedCurve: P-256}, true, [deriveBits, deriveKey, decapsulateKey])+Pass Bad usages: generateKey({name: ECDH, namedCurve: P-256}, true, [deriveBits, decapsulateKey])+Pass Bad usages: generateKey({name: ECDH, namedCurve: P-256}, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits, decapsulateKey])+Pass Bad usages: generateKey({name: ECDH, namedCurve: P-256}, true, [decapsulateBits])+Pass Bad usages: generateKey({name: ECDH, namedCurve: P-256}, true, [deriveKey, decapsulateBits])+Pass Bad usages: generateKey({name: ECDH, namedCurve: P-256}, true, [deriveBits, deriveKey, decapsulateBits])+Pass Bad usages: generateKey({name: ECDH, namedCurve: P-256}, true, [deriveBits, decapsulateBits])+Pass Bad usages: generateKey({name: ECDH, namedCurve: P-256}, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits, decapsulateBits])Pass Bad usages: generateKey({name: ECDH, namedCurve: P-384}, true, [encrypt])Pass Bad usages: generateKey({name: ECDH, namedCurve: P-384}, true, [deriveKey, encrypt])Pass Bad usages: generateKey({name: ECDH, namedCurve: P-384}, true, [deriveBits, deriveKey, encrypt])@@ -423,6 +83,26 @@ Pass Bad usages: generateKey({name: ECDH, namedCurve: P-384}, true, [deriveKey,Pass Bad usages: generateKey({name: ECDH, namedCurve: P-384}, true, [deriveBits, deriveKey, unwrapKey])Pass Bad usages: generateKey({name: ECDH, namedCurve: P-384}, true, [deriveBits, unwrapKey])Pass Bad usages: generateKey({name: ECDH, namedCurve: P-384}, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits, unwrapKey])+Pass Bad usages: generateKey({name: ECDH, namedCurve: P-384}, true, [encapsulateKey])+Pass Bad usages: generateKey({name: ECDH, namedCurve: P-384}, true, [deriveKey, encapsulateKey])+Pass Bad usages: generateKey({name: ECDH, namedCurve: P-384}, true, [deriveBits, deriveKey, encapsulateKey])+Pass Bad usages: generateKey({name: ECDH, namedCurve: P-384}, true, [deriveBits, encapsulateKey])+Pass Bad usages: generateKey({name: ECDH, namedCurve: P-384}, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits, encapsulateKey])+Pass Bad usages: generateKey({name: ECDH, namedCurve: P-384}, true, [encapsulateBits])+Pass Bad usages: generateKey({name: ECDH, namedCurve: P-384}, true, [deriveKey, encapsulateBits])+Pass Bad usages: generateKey({name: ECDH, namedCurve: P-384}, true, [deriveBits, deriveKey, encapsulateBits])+Pass Bad usages: generateKey({name: ECDH, namedCurve: P-384}, true, [deriveBits, encapsulateBits])+Pass Bad usages: generateKey({name: ECDH, namedCurve: P-384}, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits, encapsulateBits])+Pass Bad usages: generateKey({name: ECDH, namedCurve: P-384}, true, [decapsulateKey])+Pass Bad usages: generateKey({name: ECDH, namedCurve: P-384}, true, [deriveKey, decapsulateKey])+Pass Bad usages: generateKey({name: ECDH, namedCurve: P-384}, true, [deriveBits, deriveKey, decapsulateKey])+Pass Bad usages: generateKey({name: ECDH, namedCurve: P-384}, true, [deriveBits, decapsulateKey])+Pass Bad usages: generateKey({name: ECDH, namedCurve: P-384}, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits, decapsulateKey])+Pass Bad usages: generateKey({name: ECDH, namedCurve: P-384}, true, [decapsulateBits])+Pass Bad usages: generateKey({name: ECDH, namedCurve: P-384}, true, [deriveKey, decapsulateBits])+Pass Bad usages: generateKey({name: ECDH, namedCurve: P-384}, true, [deriveBits, deriveKey, decapsulateBits])+Pass Bad usages: generateKey({name: ECDH, namedCurve: P-384}, true, [deriveBits, decapsulateBits])+Pass Bad usages: generateKey({name: ECDH, namedCurve: P-384}, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits, decapsulateBits])Pass Bad usages: generateKey({name: ECDH, namedCurve: P-521}, true, [encrypt])Pass Bad usages: generateKey({name: ECDH, namedCurve: P-521}, true, [deriveKey, encrypt])Pass Bad usages: generateKey({name: ECDH, namedCurve: P-521}, true, [deriveBits, deriveKey, encrypt])@@ -453,6 +133,26 @@ Pass Bad usages: generateKey({name: ECDH, namedCurve: P-521}, true, [deriveKey,Pass Bad usages: generateKey({name: ECDH, namedCurve: P-521}, true, [deriveBits, deriveKey, unwrapKey])Pass Bad usages: generateKey({name: ECDH, namedCurve: P-521}, true, [deriveBits, unwrapKey])Pass Bad usages: generateKey({name: ECDH, namedCurve: P-521}, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits, unwrapKey])+Pass Bad usages: generateKey({name: ECDH, namedCurve: P-521}, true, [encapsulateKey])+Pass Bad usages: generateKey({name: ECDH, namedCurve: P-521}, true, [deriveKey, encapsulateKey])+Pass Bad usages: generateKey({name: ECDH, namedCurve: P-521}, true, [deriveBits, deriveKey, encapsulateKey])+Pass Bad usages: generateKey({name: ECDH, namedCurve: P-521}, true, [deriveBits, encapsulateKey])+Pass Bad usages: generateKey({name: ECDH, namedCurve: P-521}, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits, encapsulateKey])+Pass Bad usages: generateKey({name: ECDH, namedCurve: P-521}, true, [encapsulateBits])+Pass Bad usages: generateKey({name: ECDH, namedCurve: P-521}, true, [deriveKey, encapsulateBits])+Pass Bad usages: generateKey({name: ECDH, namedCurve: P-521}, true, [deriveBits, deriveKey, encapsulateBits])+Pass Bad usages: generateKey({name: ECDH, namedCurve: P-521}, true, [deriveBits, encapsulateBits])+Pass Bad usages: generateKey({name: ECDH, namedCurve: P-521}, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits, encapsulateBits])+Pass Bad usages: generateKey({name: ECDH, namedCurve: P-521}, true, [decapsulateKey])+Pass Bad usages: generateKey({name: ECDH, namedCurve: P-521}, true, [deriveKey, decapsulateKey])+Pass Bad usages: generateKey({name: ECDH, namedCurve: P-521}, true, [deriveBits, deriveKey, decapsulateKey])+Pass Bad usages: generateKey({name: ECDH, namedCurve: P-521}, true, [deriveBits, decapsulateKey])+Pass Bad usages: generateKey({name: ECDH, namedCurve: P-521}, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits, decapsulateKey])+Pass Bad usages: generateKey({name: ECDH, namedCurve: P-521}, true, [decapsulateBits])+Pass Bad usages: generateKey({name: ECDH, namedCurve: P-521}, true, [deriveKey, decapsulateBits])+Pass Bad usages: generateKey({name: ECDH, namedCurve: P-521}, true, [deriveBits, deriveKey, decapsulateBits])+Pass Bad usages: generateKey({name: ECDH, namedCurve: P-521}, true, [deriveBits, decapsulateBits])+Pass Bad usages: generateKey({name: ECDH, namedCurve: P-521}, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits, decapsulateBits])Pass Bad algorithm property: generateKey({name: ECDH, namedCurve: P-512}, false, [deriveKey])Pass Bad algorithm property: generateKey({name: ECDH, namedCurve: P-512}, true, [deriveKey])Pass Bad algorithm property: generateKey({name: ECDH, namedCurve: P-512}, false, [deriveBits, deriveKey])diff --git a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/generateKey/failures_Ed448.tentative.https.any.txt b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/generateKey/failures_Ed448.tentative.https.any.txtdeleted file mode 100644index 2a6a0253a62..00000000000--- a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/generateKey/failures_Ed448.tentative.https.any.txt+++ /dev/null@@ -1,417 +0,0 @@-Harness status: OK--Found 412 tests--412 Pass-Pass Bad algorithm: generateKey(AES, false, [decrypt])-Pass Bad algorithm: generateKey(AES, true, [decrypt])-Pass Bad algorithm: generateKey(AES, RED, [decrypt])-Pass Bad algorithm: generateKey(AES, 7, [decrypt])-Pass Bad algorithm: generateKey(AES, false, [sign, decrypt])-Pass Bad algorithm: generateKey(AES, true, [sign, decrypt])-Pass Bad algorithm: generateKey(AES, RED, [sign, decrypt])-Pass Bad algorithm: generateKey(AES, 7, [sign, decrypt])-Pass Bad algorithm: generateKey(AES, false, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey(AES, true, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey(AES, RED, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey(AES, 7, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey(AES, false, [deriveBits, decrypt])-Pass Bad algorithm: generateKey(AES, true, [deriveBits, decrypt])-Pass Bad algorithm: generateKey(AES, RED, [deriveBits, decrypt])-Pass Bad algorithm: generateKey(AES, 7, [deriveBits, decrypt])-Pass Bad algorithm: generateKey(AES, false, [sign])-Pass Bad algorithm: generateKey(AES, true, [sign])-Pass Bad algorithm: generateKey(AES, RED, [sign])-Pass Bad algorithm: generateKey(AES, 7, [sign])-Pass Bad algorithm: generateKey(AES, false, [deriveBits, sign])-Pass Bad algorithm: generateKey(AES, true, [deriveBits, sign])-Pass Bad algorithm: generateKey(AES, RED, [deriveBits, sign])-Pass Bad algorithm: generateKey(AES, 7, [deriveBits, sign])-Pass Bad algorithm: generateKey(AES, false, [deriveBits])-Pass Bad algorithm: generateKey(AES, true, [deriveBits])-Pass Bad algorithm: generateKey(AES, RED, [deriveBits])-Pass Bad algorithm: generateKey(AES, 7, [deriveBits])-Pass Bad algorithm: generateKey(AES, false, [])-Pass Bad algorithm: generateKey(AES, true, [])-Pass Bad algorithm: generateKey(AES, RED, [])-Pass Bad algorithm: generateKey(AES, 7, [])-Pass Bad algorithm: generateKey(AES, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey(AES, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey(AES, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey(AES, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({name: AES}, false, [decrypt])-Pass Bad algorithm: generateKey({name: AES}, true, [decrypt])-Pass Bad algorithm: generateKey({name: AES}, RED, [decrypt])-Pass Bad algorithm: generateKey({name: AES}, 7, [decrypt])-Pass Bad algorithm: generateKey({name: AES}, false, [sign, decrypt])-Pass Bad algorithm: generateKey({name: AES}, true, [sign, decrypt])-Pass Bad algorithm: generateKey({name: AES}, RED, [sign, decrypt])-Pass Bad algorithm: generateKey({name: AES}, 7, [sign, decrypt])-Pass Bad algorithm: generateKey({name: AES}, false, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({name: AES}, true, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({name: AES}, RED, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({name: AES}, 7, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({name: AES}, false, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({name: AES}, true, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({name: AES}, RED, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({name: AES}, 7, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({name: AES}, false, [sign])-Pass Bad algorithm: generateKey({name: AES}, true, [sign])-Pass Bad algorithm: generateKey({name: AES}, RED, [sign])-Pass Bad algorithm: generateKey({name: AES}, 7, [sign])-Pass Bad algorithm: generateKey({name: AES}, false, [deriveBits, sign])-Pass Bad algorithm: generateKey({name: AES}, true, [deriveBits, sign])-Pass Bad algorithm: generateKey({name: AES}, RED, [deriveBits, sign])-Pass Bad algorithm: generateKey({name: AES}, 7, [deriveBits, sign])-Pass Bad algorithm: generateKey({name: AES}, false, [deriveBits])-Pass Bad algorithm: generateKey({name: AES}, true, [deriveBits])-Pass Bad algorithm: generateKey({name: AES}, RED, [deriveBits])-Pass Bad algorithm: generateKey({name: AES}, 7, [deriveBits])-Pass Bad algorithm: generateKey({name: AES}, false, [])-Pass Bad algorithm: generateKey({name: AES}, true, [])-Pass Bad algorithm: generateKey({name: AES}, RED, [])-Pass Bad algorithm: generateKey({name: AES}, 7, [])-Pass Bad algorithm: generateKey({name: AES}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({name: AES}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({name: AES}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({name: AES}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES}, false, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, true, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, RED, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, 7, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, false, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, true, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, RED, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, 7, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, false, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES}, true, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES}, RED, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES}, 7, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES}, false, [])-Pass Bad algorithm: generateKey({length: 128, name: AES}, true, [])-Pass Bad algorithm: generateKey({length: 128, name: AES}, RED, [])-Pass Bad algorithm: generateKey({length: 128, name: AES}, 7, [])-Pass Bad algorithm: generateKey({length: 128, name: AES}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [sign])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [sign])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [sign])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [sign])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [sign, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [sign, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [sign, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [sign, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [sign])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [sign])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [sign])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [sign])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits, sign])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits, sign])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits, sign])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits, sign])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Empty algorithm: generateKey({}, false, [decrypt])-Pass Empty algorithm: generateKey({}, true, [decrypt])-Pass Empty algorithm: generateKey({}, RED, [decrypt])-Pass Empty algorithm: generateKey({}, 7, [decrypt])-Pass Empty algorithm: generateKey({}, false, [sign, decrypt])-Pass Empty algorithm: generateKey({}, true, [sign, decrypt])-Pass Empty algorithm: generateKey({}, RED, [sign, decrypt])-Pass Empty algorithm: generateKey({}, 7, [sign, decrypt])-Pass Empty algorithm: generateKey({}, false, [deriveBits, sign, decrypt])-Pass Empty algorithm: generateKey({}, true, [deriveBits, sign, decrypt])-Pass Empty algorithm: generateKey({}, RED, [deriveBits, sign, decrypt])-Pass Empty algorithm: generateKey({}, 7, [deriveBits, sign, decrypt])-Pass Empty algorithm: generateKey({}, false, [deriveBits, decrypt])-Pass Empty algorithm: generateKey({}, true, [deriveBits, decrypt])-Pass Empty algorithm: generateKey({}, RED, [deriveBits, decrypt])-Pass Empty algorithm: generateKey({}, 7, [deriveBits, decrypt])-Pass Empty algorithm: generateKey({}, false, [sign])-Pass Empty algorithm: generateKey({}, true, [sign])-Pass Empty algorithm: generateKey({}, RED, [sign])-Pass Empty algorithm: generateKey({}, 7, [sign])-Pass Empty algorithm: generateKey({}, false, [deriveBits, sign])-Pass Empty algorithm: generateKey({}, true, [deriveBits, sign])-Pass Empty algorithm: generateKey({}, RED, [deriveBits, sign])-Pass Empty algorithm: generateKey({}, 7, [deriveBits, sign])-Pass Empty algorithm: generateKey({}, false, [deriveBits])-Pass Empty algorithm: generateKey({}, true, [deriveBits])-Pass Empty algorithm: generateKey({}, RED, [deriveBits])-Pass Empty algorithm: generateKey({}, 7, [deriveBits])-Pass Empty algorithm: generateKey({}, false, [])-Pass Empty algorithm: generateKey({}, true, [])-Pass Empty algorithm: generateKey({}, RED, [])-Pass Empty algorithm: generateKey({}, 7, [])-Pass Empty algorithm: generateKey({}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Empty algorithm: generateKey({}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Empty algorithm: generateKey({}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Empty algorithm: generateKey({}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad usages: generateKey(Ed448, true, [encrypt])-Pass Bad usages: generateKey(Ed448, true, [sign, encrypt])-Pass Bad usages: generateKey(Ed448, true, [verify, sign, encrypt])-Pass Bad usages: generateKey(Ed448, true, [sign, verify, sign, sign, verify, encrypt])-Pass Bad usages: generateKey(Ed448, true, [decrypt])-Pass Bad usages: generateKey(Ed448, true, [sign, decrypt])-Pass Bad usages: generateKey(Ed448, true, [verify, sign, decrypt])-Pass Bad usages: generateKey(Ed448, true, [sign, verify, sign, sign, verify, decrypt])-Pass Bad usages: generateKey(Ed448, true, [wrapKey])-Pass Bad usages: generateKey(Ed448, true, [sign, wrapKey])-Pass Bad usages: generateKey(Ed448, true, [verify, sign, wrapKey])-Pass Bad usages: generateKey(Ed448, true, [sign, verify, sign, sign, verify, wrapKey])-Pass Bad usages: generateKey(Ed448, true, [unwrapKey])-Pass Bad usages: generateKey(Ed448, true, [sign, unwrapKey])-Pass Bad usages: generateKey(Ed448, true, [verify, sign, unwrapKey])-Pass Bad usages: generateKey(Ed448, true, [sign, verify, sign, sign, verify, unwrapKey])-Pass Bad usages: generateKey(Ed448, true, [deriveKey])-Pass Bad usages: generateKey(Ed448, true, [sign, deriveKey])-Pass Bad usages: generateKey(Ed448, true, [verify, sign, deriveKey])-Pass Bad usages: generateKey(Ed448, true, [sign, verify, sign, sign, verify, deriveKey])-Pass Bad usages: generateKey(Ed448, true, [deriveBits])-Pass Bad usages: generateKey(Ed448, true, [sign, deriveBits])-Pass Bad usages: generateKey(Ed448, true, [verify, sign, deriveBits])-Pass Bad usages: generateKey(Ed448, true, [sign, verify, sign, sign, verify, deriveBits])-Pass Bad usages: generateKey({name: Ed448}, true, [encrypt])-Pass Bad usages: generateKey({name: Ed448}, true, [sign, encrypt])-Pass Bad usages: generateKey({name: Ed448}, true, [verify, sign, encrypt])-Pass Bad usages: generateKey({name: Ed448}, true, [sign, verify, sign, sign, verify, encrypt])-Pass Bad usages: generateKey({name: Ed448}, true, [decrypt])-Pass Bad usages: generateKey({name: Ed448}, true, [sign, decrypt])-Pass Bad usages: generateKey({name: Ed448}, true, [verify, sign, decrypt])-Pass Bad usages: generateKey({name: Ed448}, true, [sign, verify, sign, sign, verify, decrypt])-Pass Bad usages: generateKey({name: Ed448}, true, [wrapKey])-Pass Bad usages: generateKey({name: Ed448}, true, [sign, wrapKey])-Pass Bad usages: generateKey({name: Ed448}, true, [verify, sign, wrapKey])-Pass Bad usages: generateKey({name: Ed448}, true, [sign, verify, sign, sign, verify, wrapKey])-Pass Bad usages: generateKey({name: Ed448}, true, [unwrapKey])-Pass Bad usages: generateKey({name: Ed448}, true, [sign, unwrapKey])-Pass Bad usages: generateKey({name: Ed448}, true, [verify, sign, unwrapKey])-Pass Bad usages: generateKey({name: Ed448}, true, [sign, verify, sign, sign, verify, unwrapKey])-Pass Bad usages: generateKey({name: Ed448}, true, [deriveKey])-Pass Bad usages: generateKey({name: Ed448}, true, [sign, deriveKey])-Pass Bad usages: generateKey({name: Ed448}, true, [verify, sign, deriveKey])-Pass Bad usages: generateKey({name: Ed448}, true, [sign, verify, sign, sign, verify, deriveKey])-Pass Bad usages: generateKey({name: Ed448}, true, [deriveBits])-Pass Bad usages: generateKey({name: Ed448}, true, [sign, deriveBits])-Pass Bad usages: generateKey({name: Ed448}, true, [verify, sign, deriveBits])-Pass Bad usages: generateKey({name: Ed448}, true, [sign, verify, sign, sign, verify, deriveBits])-Pass Empty usages: generateKey(Ed448, false, [])-Pass Empty usages: generateKey(Ed448, true, [])-Pass Empty usages: generateKey({name: Ed448}, false, [])-Pass Empty usages: generateKey({name: Ed448}, true, [])\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/generateKey/failures_ML-DSA.tentative.https.any.txt b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/generateKey/failures_ML-DSA.tentative.https.any.txtdeleted file mode 100644index a011005cc2a..00000000000--- a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/generateKey/failures_ML-DSA.tentative.https.any.txt+++ /dev/null@@ -1,521 +0,0 @@-Harness status: OK--Found 516 tests--516 Pass-Pass Bad algorithm: generateKey(AES, false, [decrypt])-Pass Bad algorithm: generateKey(AES, true, [decrypt])-Pass Bad algorithm: generateKey(AES, RED, [decrypt])-Pass Bad algorithm: generateKey(AES, 7, [decrypt])-Pass Bad algorithm: generateKey(AES, false, [sign, decrypt])-Pass Bad algorithm: generateKey(AES, true, [sign, decrypt])-Pass Bad algorithm: generateKey(AES, RED, [sign, decrypt])-Pass Bad algorithm: generateKey(AES, 7, [sign, decrypt])-Pass Bad algorithm: generateKey(AES, false, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey(AES, true, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey(AES, RED, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey(AES, 7, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey(AES, false, [deriveBits, decrypt])-Pass Bad algorithm: generateKey(AES, true, [deriveBits, decrypt])-Pass Bad algorithm: generateKey(AES, RED, [deriveBits, decrypt])-Pass Bad algorithm: generateKey(AES, 7, [deriveBits, decrypt])-Pass Bad algorithm: generateKey(AES, false, [sign])-Pass Bad algorithm: generateKey(AES, true, [sign])-Pass Bad algorithm: generateKey(AES, RED, [sign])-Pass Bad algorithm: generateKey(AES, 7, [sign])-Pass Bad algorithm: generateKey(AES, false, [deriveBits, sign])-Pass Bad algorithm: generateKey(AES, true, [deriveBits, sign])-Pass Bad algorithm: generateKey(AES, RED, [deriveBits, sign])-Pass Bad algorithm: generateKey(AES, 7, [deriveBits, sign])-Pass Bad algorithm: generateKey(AES, false, [deriveBits])-Pass Bad algorithm: generateKey(AES, true, [deriveBits])-Pass Bad algorithm: generateKey(AES, RED, [deriveBits])-Pass Bad algorithm: generateKey(AES, 7, [deriveBits])-Pass Bad algorithm: generateKey(AES, false, [])-Pass Bad algorithm: generateKey(AES, true, [])-Pass Bad algorithm: generateKey(AES, RED, [])-Pass Bad algorithm: generateKey(AES, 7, [])-Pass Bad algorithm: generateKey(AES, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey(AES, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey(AES, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey(AES, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({name: AES}, false, [decrypt])-Pass Bad algorithm: generateKey({name: AES}, true, [decrypt])-Pass Bad algorithm: generateKey({name: AES}, RED, [decrypt])-Pass Bad algorithm: generateKey({name: AES}, 7, [decrypt])-Pass Bad algorithm: generateKey({name: AES}, false, [sign, decrypt])-Pass Bad algorithm: generateKey({name: AES}, true, [sign, decrypt])-Pass Bad algorithm: generateKey({name: AES}, RED, [sign, decrypt])-Pass Bad algorithm: generateKey({name: AES}, 7, [sign, decrypt])-Pass Bad algorithm: generateKey({name: AES}, false, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({name: AES}, true, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({name: AES}, RED, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({name: AES}, 7, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({name: AES}, false, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({name: AES}, true, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({name: AES}, RED, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({name: AES}, 7, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({name: AES}, false, [sign])-Pass Bad algorithm: generateKey({name: AES}, true, [sign])-Pass Bad algorithm: generateKey({name: AES}, RED, [sign])-Pass Bad algorithm: generateKey({name: AES}, 7, [sign])-Pass Bad algorithm: generateKey({name: AES}, false, [deriveBits, sign])-Pass Bad algorithm: generateKey({name: AES}, true, [deriveBits, sign])-Pass Bad algorithm: generateKey({name: AES}, RED, [deriveBits, sign])-Pass Bad algorithm: generateKey({name: AES}, 7, [deriveBits, sign])-Pass Bad algorithm: generateKey({name: AES}, false, [deriveBits])-Pass Bad algorithm: generateKey({name: AES}, true, [deriveBits])-Pass Bad algorithm: generateKey({name: AES}, RED, [deriveBits])-Pass Bad algorithm: generateKey({name: AES}, 7, [deriveBits])-Pass Bad algorithm: generateKey({name: AES}, false, [])-Pass Bad algorithm: generateKey({name: AES}, true, [])-Pass Bad algorithm: generateKey({name: AES}, RED, [])-Pass Bad algorithm: generateKey({name: AES}, 7, [])-Pass Bad algorithm: generateKey({name: AES}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({name: AES}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({name: AES}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({name: AES}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES}, false, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, true, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, RED, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, 7, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, false, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, true, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, RED, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, 7, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, false, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES}, true, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES}, RED, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES}, 7, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES}, false, [])-Pass Bad algorithm: generateKey({length: 128, name: AES}, true, [])-Pass Bad algorithm: generateKey({length: 128, name: AES}, RED, [])-Pass Bad algorithm: generateKey({length: 128, name: AES}, 7, [])-Pass Bad algorithm: generateKey({length: 128, name: AES}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [sign])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [sign])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [sign])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [sign])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [sign, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [sign, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [sign, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [sign, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [sign])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [sign])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [sign])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [sign])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits, sign])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits, sign])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits, sign])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits, sign])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Empty algorithm: generateKey({}, false, [decrypt])-Pass Empty algorithm: generateKey({}, true, [decrypt])-Pass Empty algorithm: generateKey({}, RED, [decrypt])-Pass Empty algorithm: generateKey({}, 7, [decrypt])-Pass Empty algorithm: generateKey({}, false, [sign, decrypt])-Pass Empty algorithm: generateKey({}, true, [sign, decrypt])-Pass Empty algorithm: generateKey({}, RED, [sign, decrypt])-Pass Empty algorithm: generateKey({}, 7, [sign, decrypt])-Pass Empty algorithm: generateKey({}, false, [deriveBits, sign, decrypt])-Pass Empty algorithm: generateKey({}, true, [deriveBits, sign, decrypt])-Pass Empty algorithm: generateKey({}, RED, [deriveBits, sign, decrypt])-Pass Empty algorithm: generateKey({}, 7, [deriveBits, sign, decrypt])-Pass Empty algorithm: generateKey({}, false, [deriveBits, decrypt])-Pass Empty algorithm: generateKey({}, true, [deriveBits, decrypt])-Pass Empty algorithm: generateKey({}, RED, [deriveBits, decrypt])-Pass Empty algorithm: generateKey({}, 7, [deriveBits, decrypt])-Pass Empty algorithm: generateKey({}, false, [sign])-Pass Empty algorithm: generateKey({}, true, [sign])-Pass Empty algorithm: generateKey({}, RED, [sign])-Pass Empty algorithm: generateKey({}, 7, [sign])-Pass Empty algorithm: generateKey({}, false, [deriveBits, sign])-Pass Empty algorithm: generateKey({}, true, [deriveBits, sign])-Pass Empty algorithm: generateKey({}, RED, [deriveBits, sign])-Pass Empty algorithm: generateKey({}, 7, [deriveBits, sign])-Pass Empty algorithm: generateKey({}, false, [deriveBits])-Pass Empty algorithm: generateKey({}, true, [deriveBits])-Pass Empty algorithm: generateKey({}, RED, [deriveBits])-Pass Empty algorithm: generateKey({}, 7, [deriveBits])-Pass Empty algorithm: generateKey({}, false, [])-Pass Empty algorithm: generateKey({}, true, [])-Pass Empty algorithm: generateKey({}, RED, [])-Pass Empty algorithm: generateKey({}, 7, [])-Pass Empty algorithm: generateKey({}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Empty algorithm: generateKey({}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Empty algorithm: generateKey({}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Empty algorithm: generateKey({}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad usages: generateKey(ML-DSA-44, true, [encrypt])-Pass Bad usages: generateKey(ML-DSA-44, true, [sign, encrypt])-Pass Bad usages: generateKey(ML-DSA-44, true, [verify, sign, encrypt])-Pass Bad usages: generateKey(ML-DSA-44, true, [sign, verify, sign, sign, verify, encrypt])-Pass Bad usages: generateKey(ML-DSA-44, true, [decrypt])-Pass Bad usages: generateKey(ML-DSA-44, true, [sign, decrypt])-Pass Bad usages: generateKey(ML-DSA-44, true, [verify, sign, decrypt])-Pass Bad usages: generateKey(ML-DSA-44, true, [sign, verify, sign, sign, verify, decrypt])-Pass Bad usages: generateKey(ML-DSA-44, true, [wrapKey])-Pass Bad usages: generateKey(ML-DSA-44, true, [sign, wrapKey])-Pass Bad usages: generateKey(ML-DSA-44, true, [verify, sign, wrapKey])-Pass Bad usages: generateKey(ML-DSA-44, true, [sign, verify, sign, sign, verify, wrapKey])-Pass Bad usages: generateKey(ML-DSA-44, true, [unwrapKey])-Pass Bad usages: generateKey(ML-DSA-44, true, [sign, unwrapKey])-Pass Bad usages: generateKey(ML-DSA-44, true, [verify, sign, unwrapKey])-Pass Bad usages: generateKey(ML-DSA-44, true, [sign, verify, sign, sign, verify, unwrapKey])-Pass Bad usages: generateKey(ML-DSA-44, true, [deriveKey])-Pass Bad usages: generateKey(ML-DSA-44, true, [sign, deriveKey])-Pass Bad usages: generateKey(ML-DSA-44, true, [verify, sign, deriveKey])-Pass Bad usages: generateKey(ML-DSA-44, true, [sign, verify, sign, sign, verify, deriveKey])-Pass Bad usages: generateKey(ML-DSA-44, true, [deriveBits])-Pass Bad usages: generateKey(ML-DSA-44, true, [sign, deriveBits])-Pass Bad usages: generateKey(ML-DSA-44, true, [verify, sign, deriveBits])-Pass Bad usages: generateKey(ML-DSA-44, true, [sign, verify, sign, sign, verify, deriveBits])-Pass Bad usages: generateKey({name: ML-DSA-44}, true, [encrypt])-Pass Bad usages: generateKey({name: ML-DSA-44}, true, [sign, encrypt])-Pass Bad usages: generateKey({name: ML-DSA-44}, true, [verify, sign, encrypt])-Pass Bad usages: generateKey({name: ML-DSA-44}, true, [sign, verify, sign, sign, verify, encrypt])-Pass Bad usages: generateKey({name: ML-DSA-44}, true, [decrypt])-Pass Bad usages: generateKey({name: ML-DSA-44}, true, [sign, decrypt])-Pass Bad usages: generateKey({name: ML-DSA-44}, true, [verify, sign, decrypt])-Pass Bad usages: generateKey({name: ML-DSA-44}, true, [sign, verify, sign, sign, verify, decrypt])-Pass Bad usages: generateKey({name: ML-DSA-44}, true, [wrapKey])-Pass Bad usages: generateKey({name: ML-DSA-44}, true, [sign, wrapKey])-Pass Bad usages: generateKey({name: ML-DSA-44}, true, [verify, sign, wrapKey])-Pass Bad usages: generateKey({name: ML-DSA-44}, true, [sign, verify, sign, sign, verify, wrapKey])-Pass Bad usages: generateKey({name: ML-DSA-44}, true, [unwrapKey])-Pass Bad usages: generateKey({name: ML-DSA-44}, true, [sign, unwrapKey])-Pass Bad usages: generateKey({name: ML-DSA-44}, true, [verify, sign, unwrapKey])-Pass Bad usages: generateKey({name: ML-DSA-44}, true, [sign, verify, sign, sign, verify, unwrapKey])-Pass Bad usages: generateKey({name: ML-DSA-44}, true, [deriveKey])-Pass Bad usages: generateKey({name: ML-DSA-44}, true, [sign, deriveKey])-Pass Bad usages: generateKey({name: ML-DSA-44}, true, [verify, sign, deriveKey])-Pass Bad usages: generateKey({name: ML-DSA-44}, true, [sign, verify, sign, sign, verify, deriveKey])-Pass Bad usages: generateKey({name: ML-DSA-44}, true, [deriveBits])-Pass Bad usages: generateKey({name: ML-DSA-44}, true, [sign, deriveBits])-Pass Bad usages: generateKey({name: ML-DSA-44}, true, [verify, sign, deriveBits])-Pass Bad usages: generateKey({name: ML-DSA-44}, true, [sign, verify, sign, sign, verify, deriveBits])-Pass Bad usages: generateKey(ML-DSA-65, true, [encrypt])-Pass Bad usages: generateKey(ML-DSA-65, true, [sign, encrypt])-Pass Bad usages: generateKey(ML-DSA-65, true, [verify, sign, encrypt])-Pass Bad usages: generateKey(ML-DSA-65, true, [sign, verify, sign, sign, verify, encrypt])-Pass Bad usages: generateKey(ML-DSA-65, true, [decrypt])-Pass Bad usages: generateKey(ML-DSA-65, true, [sign, decrypt])-Pass Bad usages: generateKey(ML-DSA-65, true, [verify, sign, decrypt])-Pass Bad usages: generateKey(ML-DSA-65, true, [sign, verify, sign, sign, verify, decrypt])-Pass Bad usages: generateKey(ML-DSA-65, true, [wrapKey])-Pass Bad usages: generateKey(ML-DSA-65, true, [sign, wrapKey])-Pass Bad usages: generateKey(ML-DSA-65, true, [verify, sign, wrapKey])-Pass Bad usages: generateKey(ML-DSA-65, true, [sign, verify, sign, sign, verify, wrapKey])-Pass Bad usages: generateKey(ML-DSA-65, true, [unwrapKey])-Pass Bad usages: generateKey(ML-DSA-65, true, [sign, unwrapKey])-Pass Bad usages: generateKey(ML-DSA-65, true, [verify, sign, unwrapKey])-Pass Bad usages: generateKey(ML-DSA-65, true, [sign, verify, sign, sign, verify, unwrapKey])-Pass Bad usages: generateKey(ML-DSA-65, true, [deriveKey])-Pass Bad usages: generateKey(ML-DSA-65, true, [sign, deriveKey])-Pass Bad usages: generateKey(ML-DSA-65, true, [verify, sign, deriveKey])-Pass Bad usages: generateKey(ML-DSA-65, true, [sign, verify, sign, sign, verify, deriveKey])-Pass Bad usages: generateKey(ML-DSA-65, true, [deriveBits])-Pass Bad usages: generateKey(ML-DSA-65, true, [sign, deriveBits])-Pass Bad usages: generateKey(ML-DSA-65, true, [verify, sign, deriveBits])-Pass Bad usages: generateKey(ML-DSA-65, true, [sign, verify, sign, sign, verify, deriveBits])-Pass Bad usages: generateKey({name: ML-DSA-65}, true, [encrypt])-Pass Bad usages: generateKey({name: ML-DSA-65}, true, [sign, encrypt])-Pass Bad usages: generateKey({name: ML-DSA-65}, true, [verify, sign, encrypt])-Pass Bad usages: generateKey({name: ML-DSA-65}, true, [sign, verify, sign, sign, verify, encrypt])-Pass Bad usages: generateKey({name: ML-DSA-65}, true, [decrypt])-Pass Bad usages: generateKey({name: ML-DSA-65}, true, [sign, decrypt])-Pass Bad usages: generateKey({name: ML-DSA-65}, true, [verify, sign, decrypt])-Pass Bad usages: generateKey({name: ML-DSA-65}, true, [sign, verify, sign, sign, verify, decrypt])-Pass Bad usages: generateKey({name: ML-DSA-65}, true, [wrapKey])-Pass Bad usages: generateKey({name: ML-DSA-65}, true, [sign, wrapKey])-Pass Bad usages: generateKey({name: ML-DSA-65}, true, [verify, sign, wrapKey])-Pass Bad usages: generateKey({name: ML-DSA-65}, true, [sign, verify, sign, sign, verify, wrapKey])-Pass Bad usages: generateKey({name: ML-DSA-65}, true, [unwrapKey])-Pass Bad usages: generateKey({name: ML-DSA-65}, true, [sign, unwrapKey])-Pass Bad usages: generateKey({name: ML-DSA-65}, true, [verify, sign, unwrapKey])-Pass Bad usages: generateKey({name: ML-DSA-65}, true, [sign, verify, sign, sign, verify, unwrapKey])-Pass Bad usages: generateKey({name: ML-DSA-65}, true, [deriveKey])-Pass Bad usages: generateKey({name: ML-DSA-65}, true, [sign, deriveKey])-Pass Bad usages: generateKey({name: ML-DSA-65}, true, [verify, sign, deriveKey])-Pass Bad usages: generateKey({name: ML-DSA-65}, true, [sign, verify, sign, sign, verify, deriveKey])-Pass Bad usages: generateKey({name: ML-DSA-65}, true, [deriveBits])-Pass Bad usages: generateKey({name: ML-DSA-65}, true, [sign, deriveBits])-Pass Bad usages: generateKey({name: ML-DSA-65}, true, [verify, sign, deriveBits])-Pass Bad usages: generateKey({name: ML-DSA-65}, true, [sign, verify, sign, sign, verify, deriveBits])-Pass Bad usages: generateKey(ML-DSA-87, true, [encrypt])-Pass Bad usages: generateKey(ML-DSA-87, true, [sign, encrypt])-Pass Bad usages: generateKey(ML-DSA-87, true, [verify, sign, encrypt])-Pass Bad usages: generateKey(ML-DSA-87, true, [sign, verify, sign, sign, verify, encrypt])-Pass Bad usages: generateKey(ML-DSA-87, true, [decrypt])-Pass Bad usages: generateKey(ML-DSA-87, true, [sign, decrypt])-Pass Bad usages: generateKey(ML-DSA-87, true, [verify, sign, decrypt])-Pass Bad usages: generateKey(ML-DSA-87, true, [sign, verify, sign, sign, verify, decrypt])-Pass Bad usages: generateKey(ML-DSA-87, true, [wrapKey])-Pass Bad usages: generateKey(ML-DSA-87, true, [sign, wrapKey])-Pass Bad usages: generateKey(ML-DSA-87, true, [verify, sign, wrapKey])-Pass Bad usages: generateKey(ML-DSA-87, true, [sign, verify, sign, sign, verify, wrapKey])-Pass Bad usages: generateKey(ML-DSA-87, true, [unwrapKey])-Pass Bad usages: generateKey(ML-DSA-87, true, [sign, unwrapKey])-Pass Bad usages: generateKey(ML-DSA-87, true, [verify, sign, unwrapKey])-Pass Bad usages: generateKey(ML-DSA-87, true, [sign, verify, sign, sign, verify, unwrapKey])-Pass Bad usages: generateKey(ML-DSA-87, true, [deriveKey])-Pass Bad usages: generateKey(ML-DSA-87, true, [sign, deriveKey])-Pass Bad usages: generateKey(ML-DSA-87, true, [verify, sign, deriveKey])-Pass Bad usages: generateKey(ML-DSA-87, true, [sign, verify, sign, sign, verify, deriveKey])-Pass Bad usages: generateKey(ML-DSA-87, true, [deriveBits])-Pass Bad usages: generateKey(ML-DSA-87, true, [sign, deriveBits])-Pass Bad usages: generateKey(ML-DSA-87, true, [verify, sign, deriveBits])-Pass Bad usages: generateKey(ML-DSA-87, true, [sign, verify, sign, sign, verify, deriveBits])-Pass Bad usages: generateKey({name: ML-DSA-87}, true, [encrypt])-Pass Bad usages: generateKey({name: ML-DSA-87}, true, [sign, encrypt])-Pass Bad usages: generateKey({name: ML-DSA-87}, true, [verify, sign, encrypt])-Pass Bad usages: generateKey({name: ML-DSA-87}, true, [sign, verify, sign, sign, verify, encrypt])-Pass Bad usages: generateKey({name: ML-DSA-87}, true, [decrypt])-Pass Bad usages: generateKey({name: ML-DSA-87}, true, [sign, decrypt])-Pass Bad usages: generateKey({name: ML-DSA-87}, true, [verify, sign, decrypt])-Pass Bad usages: generateKey({name: ML-DSA-87}, true, [sign, verify, sign, sign, verify, decrypt])-Pass Bad usages: generateKey({name: ML-DSA-87}, true, [wrapKey])-Pass Bad usages: generateKey({name: ML-DSA-87}, true, [sign, wrapKey])-Pass Bad usages: generateKey({name: ML-DSA-87}, true, [verify, sign, wrapKey])-Pass Bad usages: generateKey({name: ML-DSA-87}, true, [sign, verify, sign, sign, verify, wrapKey])-Pass Bad usages: generateKey({name: ML-DSA-87}, true, [unwrapKey])-Pass Bad usages: generateKey({name: ML-DSA-87}, true, [sign, unwrapKey])-Pass Bad usages: generateKey({name: ML-DSA-87}, true, [verify, sign, unwrapKey])-Pass Bad usages: generateKey({name: ML-DSA-87}, true, [sign, verify, sign, sign, verify, unwrapKey])-Pass Bad usages: generateKey({name: ML-DSA-87}, true, [deriveKey])-Pass Bad usages: generateKey({name: ML-DSA-87}, true, [sign, deriveKey])-Pass Bad usages: generateKey({name: ML-DSA-87}, true, [verify, sign, deriveKey])-Pass Bad usages: generateKey({name: ML-DSA-87}, true, [sign, verify, sign, sign, verify, deriveKey])-Pass Bad usages: generateKey({name: ML-DSA-87}, true, [deriveBits])-Pass Bad usages: generateKey({name: ML-DSA-87}, true, [sign, deriveBits])-Pass Bad usages: generateKey({name: ML-DSA-87}, true, [verify, sign, deriveBits])-Pass Bad usages: generateKey({name: ML-DSA-87}, true, [sign, verify, sign, sign, verify, deriveBits])-Pass Empty usages: generateKey(ML-DSA-44, false, [])-Pass Empty usages: generateKey(ML-DSA-44, true, [])-Pass Empty usages: generateKey({name: ML-DSA-44}, false, [])-Pass Empty usages: generateKey({name: ML-DSA-44}, true, [])-Pass Empty usages: generateKey(ML-DSA-65, false, [])-Pass Empty usages: generateKey(ML-DSA-65, true, [])-Pass Empty usages: generateKey({name: ML-DSA-65}, false, [])-Pass Empty usages: generateKey({name: ML-DSA-65}, true, [])-Pass Empty usages: generateKey(ML-DSA-87, false, [])-Pass Empty usages: generateKey(ML-DSA-87, true, [])-Pass Empty usages: generateKey({name: ML-DSA-87}, false, [])-Pass Empty usages: generateKey({name: ML-DSA-87}, true, [])diff --git a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/generateKey/failures_X448.tentative.https.any.txt b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/generateKey/failures_X448.tentative.https.any.txtdeleted file mode 100644index 8b257d31f6f..00000000000--- a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/generateKey/failures_X448.tentative.https.any.txt+++ /dev/null@@ -1,429 +0,0 @@-Harness status: OK--Found 424 tests--424 Pass-Pass Bad algorithm: generateKey(AES, false, [decrypt])-Pass Bad algorithm: generateKey(AES, true, [decrypt])-Pass Bad algorithm: generateKey(AES, RED, [decrypt])-Pass Bad algorithm: generateKey(AES, 7, [decrypt])-Pass Bad algorithm: generateKey(AES, false, [sign, decrypt])-Pass Bad algorithm: generateKey(AES, true, [sign, decrypt])-Pass Bad algorithm: generateKey(AES, RED, [sign, decrypt])-Pass Bad algorithm: generateKey(AES, 7, [sign, decrypt])-Pass Bad algorithm: generateKey(AES, false, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey(AES, true, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey(AES, RED, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey(AES, 7, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey(AES, false, [deriveBits, decrypt])-Pass Bad algorithm: generateKey(AES, true, [deriveBits, decrypt])-Pass Bad algorithm: generateKey(AES, RED, [deriveBits, decrypt])-Pass Bad algorithm: generateKey(AES, 7, [deriveBits, decrypt])-Pass Bad algorithm: generateKey(AES, false, [sign])-Pass Bad algorithm: generateKey(AES, true, [sign])-Pass Bad algorithm: generateKey(AES, RED, [sign])-Pass Bad algorithm: generateKey(AES, 7, [sign])-Pass Bad algorithm: generateKey(AES, false, [deriveBits, sign])-Pass Bad algorithm: generateKey(AES, true, [deriveBits, sign])-Pass Bad algorithm: generateKey(AES, RED, [deriveBits, sign])-Pass Bad algorithm: generateKey(AES, 7, [deriveBits, sign])-Pass Bad algorithm: generateKey(AES, false, [deriveBits])-Pass Bad algorithm: generateKey(AES, true, [deriveBits])-Pass Bad algorithm: generateKey(AES, RED, [deriveBits])-Pass Bad algorithm: generateKey(AES, 7, [deriveBits])-Pass Bad algorithm: generateKey(AES, false, [])-Pass Bad algorithm: generateKey(AES, true, [])-Pass Bad algorithm: generateKey(AES, RED, [])-Pass Bad algorithm: generateKey(AES, 7, [])-Pass Bad algorithm: generateKey(AES, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey(AES, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey(AES, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey(AES, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({name: AES}, false, [decrypt])-Pass Bad algorithm: generateKey({name: AES}, true, [decrypt])-Pass Bad algorithm: generateKey({name: AES}, RED, [decrypt])-Pass Bad algorithm: generateKey({name: AES}, 7, [decrypt])-Pass Bad algorithm: generateKey({name: AES}, false, [sign, decrypt])-Pass Bad algorithm: generateKey({name: AES}, true, [sign, decrypt])-Pass Bad algorithm: generateKey({name: AES}, RED, [sign, decrypt])-Pass Bad algorithm: generateKey({name: AES}, 7, [sign, decrypt])-Pass Bad algorithm: generateKey({name: AES}, false, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({name: AES}, true, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({name: AES}, RED, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({name: AES}, 7, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({name: AES}, false, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({name: AES}, true, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({name: AES}, RED, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({name: AES}, 7, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({name: AES}, false, [sign])-Pass Bad algorithm: generateKey({name: AES}, true, [sign])-Pass Bad algorithm: generateKey({name: AES}, RED, [sign])-Pass Bad algorithm: generateKey({name: AES}, 7, [sign])-Pass Bad algorithm: generateKey({name: AES}, false, [deriveBits, sign])-Pass Bad algorithm: generateKey({name: AES}, true, [deriveBits, sign])-Pass Bad algorithm: generateKey({name: AES}, RED, [deriveBits, sign])-Pass Bad algorithm: generateKey({name: AES}, 7, [deriveBits, sign])-Pass Bad algorithm: generateKey({name: AES}, false, [deriveBits])-Pass Bad algorithm: generateKey({name: AES}, true, [deriveBits])-Pass Bad algorithm: generateKey({name: AES}, RED, [deriveBits])-Pass Bad algorithm: generateKey({name: AES}, 7, [deriveBits])-Pass Bad algorithm: generateKey({name: AES}, false, [])-Pass Bad algorithm: generateKey({name: AES}, true, [])-Pass Bad algorithm: generateKey({name: AES}, RED, [])-Pass Bad algorithm: generateKey({name: AES}, 7, [])-Pass Bad algorithm: generateKey({name: AES}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({name: AES}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({name: AES}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({name: AES}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES}, false, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, true, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, RED, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, 7, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, false, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, true, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, RED, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, 7, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, false, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES}, true, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES}, RED, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES}, 7, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES}, false, [])-Pass Bad algorithm: generateKey({length: 128, name: AES}, true, [])-Pass Bad algorithm: generateKey({length: 128, name: AES}, RED, [])-Pass Bad algorithm: generateKey({length: 128, name: AES}, 7, [])-Pass Bad algorithm: generateKey({length: 128, name: AES}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [sign])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [sign])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [sign])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [sign])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [sign, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [sign, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [sign, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [sign, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [sign])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [sign])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [sign])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [sign])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits, sign])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits, sign])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits, sign])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits, sign])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Empty algorithm: generateKey({}, false, [decrypt])-Pass Empty algorithm: generateKey({}, true, [decrypt])-Pass Empty algorithm: generateKey({}, RED, [decrypt])-Pass Empty algorithm: generateKey({}, 7, [decrypt])-Pass Empty algorithm: generateKey({}, false, [sign, decrypt])-Pass Empty algorithm: generateKey({}, true, [sign, decrypt])-Pass Empty algorithm: generateKey({}, RED, [sign, decrypt])-Pass Empty algorithm: generateKey({}, 7, [sign, decrypt])-Pass Empty algorithm: generateKey({}, false, [deriveBits, sign, decrypt])-Pass Empty algorithm: generateKey({}, true, [deriveBits, sign, decrypt])-Pass Empty algorithm: generateKey({}, RED, [deriveBits, sign, decrypt])-Pass Empty algorithm: generateKey({}, 7, [deriveBits, sign, decrypt])-Pass Empty algorithm: generateKey({}, false, [deriveBits, decrypt])-Pass Empty algorithm: generateKey({}, true, [deriveBits, decrypt])-Pass Empty algorithm: generateKey({}, RED, [deriveBits, decrypt])-Pass Empty algorithm: generateKey({}, 7, [deriveBits, decrypt])-Pass Empty algorithm: generateKey({}, false, [sign])-Pass Empty algorithm: generateKey({}, true, [sign])-Pass Empty algorithm: generateKey({}, RED, [sign])-Pass Empty algorithm: generateKey({}, 7, [sign])-Pass Empty algorithm: generateKey({}, false, [deriveBits, sign])-Pass Empty algorithm: generateKey({}, true, [deriveBits, sign])-Pass Empty algorithm: generateKey({}, RED, [deriveBits, sign])-Pass Empty algorithm: generateKey({}, 7, [deriveBits, sign])-Pass Empty algorithm: generateKey({}, false, [deriveBits])-Pass Empty algorithm: generateKey({}, true, [deriveBits])-Pass Empty algorithm: generateKey({}, RED, [deriveBits])-Pass Empty algorithm: generateKey({}, 7, [deriveBits])-Pass Empty algorithm: generateKey({}, false, [])-Pass Empty algorithm: generateKey({}, true, [])-Pass Empty algorithm: generateKey({}, RED, [])-Pass Empty algorithm: generateKey({}, 7, [])-Pass Empty algorithm: generateKey({}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Empty algorithm: generateKey({}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Empty algorithm: generateKey({}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Empty algorithm: generateKey({}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad usages: generateKey(X448, true, [encrypt])-Pass Bad usages: generateKey(X448, true, [deriveKey, encrypt])-Pass Bad usages: generateKey(X448, true, [deriveBits, deriveKey, encrypt])-Pass Bad usages: generateKey(X448, true, [deriveBits, encrypt])-Pass Bad usages: generateKey(X448, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits, encrypt])-Pass Bad usages: generateKey(X448, true, [decrypt])-Pass Bad usages: generateKey(X448, true, [deriveKey, decrypt])-Pass Bad usages: generateKey(X448, true, [deriveBits, deriveKey, decrypt])-Pass Bad usages: generateKey(X448, true, [deriveBits, decrypt])-Pass Bad usages: generateKey(X448, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits, decrypt])-Pass Bad usages: generateKey(X448, true, [sign])-Pass Bad usages: generateKey(X448, true, [deriveKey, sign])-Pass Bad usages: generateKey(X448, true, [deriveBits, deriveKey, sign])-Pass Bad usages: generateKey(X448, true, [deriveBits, sign])-Pass Bad usages: generateKey(X448, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits, sign])-Pass Bad usages: generateKey(X448, true, [verify])-Pass Bad usages: generateKey(X448, true, [deriveKey, verify])-Pass Bad usages: generateKey(X448, true, [deriveBits, deriveKey, verify])-Pass Bad usages: generateKey(X448, true, [deriveBits, verify])-Pass Bad usages: generateKey(X448, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits, verify])-Pass Bad usages: generateKey(X448, true, [wrapKey])-Pass Bad usages: generateKey(X448, true, [deriveKey, wrapKey])-Pass Bad usages: generateKey(X448, true, [deriveBits, deriveKey, wrapKey])-Pass Bad usages: generateKey(X448, true, [deriveBits, wrapKey])-Pass Bad usages: generateKey(X448, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits, wrapKey])-Pass Bad usages: generateKey(X448, true, [unwrapKey])-Pass Bad usages: generateKey(X448, true, [deriveKey, unwrapKey])-Pass Bad usages: generateKey(X448, true, [deriveBits, deriveKey, unwrapKey])-Pass Bad usages: generateKey(X448, true, [deriveBits, unwrapKey])-Pass Bad usages: generateKey(X448, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits, unwrapKey])-Pass Bad usages: generateKey({name: X448}, true, [encrypt])-Pass Bad usages: generateKey({name: X448}, true, [deriveKey, encrypt])-Pass Bad usages: generateKey({name: X448}, true, [deriveBits, deriveKey, encrypt])-Pass Bad usages: generateKey({name: X448}, true, [deriveBits, encrypt])-Pass Bad usages: generateKey({name: X448}, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits, encrypt])-Pass Bad usages: generateKey({name: X448}, true, [decrypt])-Pass Bad usages: generateKey({name: X448}, true, [deriveKey, decrypt])-Pass Bad usages: generateKey({name: X448}, true, [deriveBits, deriveKey, decrypt])-Pass Bad usages: generateKey({name: X448}, true, [deriveBits, decrypt])-Pass Bad usages: generateKey({name: X448}, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits, decrypt])-Pass Bad usages: generateKey({name: X448}, true, [sign])-Pass Bad usages: generateKey({name: X448}, true, [deriveKey, sign])-Pass Bad usages: generateKey({name: X448}, true, [deriveBits, deriveKey, sign])-Pass Bad usages: generateKey({name: X448}, true, [deriveBits, sign])-Pass Bad usages: generateKey({name: X448}, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits, sign])-Pass Bad usages: generateKey({name: X448}, true, [verify])-Pass Bad usages: generateKey({name: X448}, true, [deriveKey, verify])-Pass Bad usages: generateKey({name: X448}, true, [deriveBits, deriveKey, verify])-Pass Bad usages: generateKey({name: X448}, true, [deriveBits, verify])-Pass Bad usages: generateKey({name: X448}, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits, verify])-Pass Bad usages: generateKey({name: X448}, true, [wrapKey])-Pass Bad usages: generateKey({name: X448}, true, [deriveKey, wrapKey])-Pass Bad usages: generateKey({name: X448}, true, [deriveBits, deriveKey, wrapKey])-Pass Bad usages: generateKey({name: X448}, true, [deriveBits, wrapKey])-Pass Bad usages: generateKey({name: X448}, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits, wrapKey])-Pass Bad usages: generateKey({name: X448}, true, [unwrapKey])-Pass Bad usages: generateKey({name: X448}, true, [deriveKey, unwrapKey])-Pass Bad usages: generateKey({name: X448}, true, [deriveBits, deriveKey, unwrapKey])-Pass Bad usages: generateKey({name: X448}, true, [deriveBits, unwrapKey])-Pass Bad usages: generateKey({name: X448}, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits, unwrapKey])-Pass Empty usages: generateKey(X448, false, [])-Pass Empty usages: generateKey(X448, true, [])-Pass Empty usages: generateKey({name: X448}, false, [])-Pass Empty usages: generateKey({name: X448}, true, [])\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/generateKey/failures_kmac.tentative.https.any.txt b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/generateKey/failures_kmac.tentative.https.any.txtdeleted file mode 100644index 6f2726b8f1a..00000000000--- a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/generateKey/failures_kmac.tentative.https.any.txt+++ /dev/null@@ -1,557 +0,0 @@-Harness status: OK--Found 552 tests--552 Pass-Pass Bad algorithm: generateKey(AES, false, [decrypt])-Pass Bad algorithm: generateKey(AES, true, [decrypt])-Pass Bad algorithm: generateKey(AES, RED, [decrypt])-Pass Bad algorithm: generateKey(AES, 7, [decrypt])-Pass Bad algorithm: generateKey(AES, false, [sign, decrypt])-Pass Bad algorithm: generateKey(AES, true, [sign, decrypt])-Pass Bad algorithm: generateKey(AES, RED, [sign, decrypt])-Pass Bad algorithm: generateKey(AES, 7, [sign, decrypt])-Pass Bad algorithm: generateKey(AES, false, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey(AES, true, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey(AES, RED, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey(AES, 7, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey(AES, false, [deriveBits, decrypt])-Pass Bad algorithm: generateKey(AES, true, [deriveBits, decrypt])-Pass Bad algorithm: generateKey(AES, RED, [deriveBits, decrypt])-Pass Bad algorithm: generateKey(AES, 7, [deriveBits, decrypt])-Pass Bad algorithm: generateKey(AES, false, [sign])-Pass Bad algorithm: generateKey(AES, true, [sign])-Pass Bad algorithm: generateKey(AES, RED, [sign])-Pass Bad algorithm: generateKey(AES, 7, [sign])-Pass Bad algorithm: generateKey(AES, false, [deriveBits, sign])-Pass Bad algorithm: generateKey(AES, true, [deriveBits, sign])-Pass Bad algorithm: generateKey(AES, RED, [deriveBits, sign])-Pass Bad algorithm: generateKey(AES, 7, [deriveBits, sign])-Pass Bad algorithm: generateKey(AES, false, [deriveBits])-Pass Bad algorithm: generateKey(AES, true, [deriveBits])-Pass Bad algorithm: generateKey(AES, RED, [deriveBits])-Pass Bad algorithm: generateKey(AES, 7, [deriveBits])-Pass Bad algorithm: generateKey(AES, false, [])-Pass Bad algorithm: generateKey(AES, true, [])-Pass Bad algorithm: generateKey(AES, RED, [])-Pass Bad algorithm: generateKey(AES, 7, [])-Pass Bad algorithm: generateKey(AES, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey(AES, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey(AES, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey(AES, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({name: AES}, false, [decrypt])-Pass Bad algorithm: generateKey({name: AES}, true, [decrypt])-Pass Bad algorithm: generateKey({name: AES}, RED, [decrypt])-Pass Bad algorithm: generateKey({name: AES}, 7, [decrypt])-Pass Bad algorithm: generateKey({name: AES}, false, [sign, decrypt])-Pass Bad algorithm: generateKey({name: AES}, true, [sign, decrypt])-Pass Bad algorithm: generateKey({name: AES}, RED, [sign, decrypt])-Pass Bad algorithm: generateKey({name: AES}, 7, [sign, decrypt])-Pass Bad algorithm: generateKey({name: AES}, false, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({name: AES}, true, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({name: AES}, RED, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({name: AES}, 7, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({name: AES}, false, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({name: AES}, true, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({name: AES}, RED, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({name: AES}, 7, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({name: AES}, false, [sign])-Pass Bad algorithm: generateKey({name: AES}, true, [sign])-Pass Bad algorithm: generateKey({name: AES}, RED, [sign])-Pass Bad algorithm: generateKey({name: AES}, 7, [sign])-Pass Bad algorithm: generateKey({name: AES}, false, [deriveBits, sign])-Pass Bad algorithm: generateKey({name: AES}, true, [deriveBits, sign])-Pass Bad algorithm: generateKey({name: AES}, RED, [deriveBits, sign])-Pass Bad algorithm: generateKey({name: AES}, 7, [deriveBits, sign])-Pass Bad algorithm: generateKey({name: AES}, false, [deriveBits])-Pass Bad algorithm: generateKey({name: AES}, true, [deriveBits])-Pass Bad algorithm: generateKey({name: AES}, RED, [deriveBits])-Pass Bad algorithm: generateKey({name: AES}, 7, [deriveBits])-Pass Bad algorithm: generateKey({name: AES}, false, [])-Pass Bad algorithm: generateKey({name: AES}, true, [])-Pass Bad algorithm: generateKey({name: AES}, RED, [])-Pass Bad algorithm: generateKey({name: AES}, 7, [])-Pass Bad algorithm: generateKey({name: AES}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({name: AES}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({name: AES}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({name: AES}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES}, false, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, true, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, RED, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, 7, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, false, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, true, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, RED, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, 7, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES}, false, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES}, true, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES}, RED, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES}, 7, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES}, false, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES}, true, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES}, RED, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES}, 7, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES}, false, [])-Pass Bad algorithm: generateKey({length: 128, name: AES}, true, [])-Pass Bad algorithm: generateKey({length: 128, name: AES}, RED, [])-Pass Bad algorithm: generateKey({length: 128, name: AES}, 7, [])-Pass Bad algorithm: generateKey({length: 128, name: AES}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CMAC}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits, sign])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({length: 128, name: AES-CFB}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [sign])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [sign])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [sign])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [sign])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [deriveBits])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [deriveBits])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [deriveBits])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [deriveBits])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: MD5, name: HMAC}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: SHA-256, modulusLength: 2048, name: RSA, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [sign])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [sign])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [sign])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [sign])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits, sign])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [deriveBits])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [deriveBits])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [deriveBits])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [deriveBits])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({hash: SHA, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [sign, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [sign, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [sign, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [sign, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits, sign, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits, decrypt])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [sign])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [sign])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [sign])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [sign])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits, sign])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits, sign])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits, sign])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits, sign])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [deriveBits])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [deriveBits])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [deriveBits])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [deriveBits])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad algorithm: generateKey({name: EC, namedCurve: P521}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Empty algorithm: generateKey({}, false, [decrypt])-Pass Empty algorithm: generateKey({}, true, [decrypt])-Pass Empty algorithm: generateKey({}, RED, [decrypt])-Pass Empty algorithm: generateKey({}, 7, [decrypt])-Pass Empty algorithm: generateKey({}, false, [sign, decrypt])-Pass Empty algorithm: generateKey({}, true, [sign, decrypt])-Pass Empty algorithm: generateKey({}, RED, [sign, decrypt])-Pass Empty algorithm: generateKey({}, 7, [sign, decrypt])-Pass Empty algorithm: generateKey({}, false, [deriveBits, sign, decrypt])-Pass Empty algorithm: generateKey({}, true, [deriveBits, sign, decrypt])-Pass Empty algorithm: generateKey({}, RED, [deriveBits, sign, decrypt])-Pass Empty algorithm: generateKey({}, 7, [deriveBits, sign, decrypt])-Pass Empty algorithm: generateKey({}, false, [deriveBits, decrypt])-Pass Empty algorithm: generateKey({}, true, [deriveBits, decrypt])-Pass Empty algorithm: generateKey({}, RED, [deriveBits, decrypt])-Pass Empty algorithm: generateKey({}, 7, [deriveBits, decrypt])-Pass Empty algorithm: generateKey({}, false, [sign])-Pass Empty algorithm: generateKey({}, true, [sign])-Pass Empty algorithm: generateKey({}, RED, [sign])-Pass Empty algorithm: generateKey({}, 7, [sign])-Pass Empty algorithm: generateKey({}, false, [deriveBits, sign])-Pass Empty algorithm: generateKey({}, true, [deriveBits, sign])-Pass Empty algorithm: generateKey({}, RED, [deriveBits, sign])-Pass Empty algorithm: generateKey({}, 7, [deriveBits, sign])-Pass Empty algorithm: generateKey({}, false, [deriveBits])-Pass Empty algorithm: generateKey({}, true, [deriveBits])-Pass Empty algorithm: generateKey({}, RED, [deriveBits])-Pass Empty algorithm: generateKey({}, 7, [deriveBits])-Pass Empty algorithm: generateKey({}, false, [])-Pass Empty algorithm: generateKey({}, true, [])-Pass Empty algorithm: generateKey({}, RED, [])-Pass Empty algorithm: generateKey({}, 7, [])-Pass Empty algorithm: generateKey({}, false, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Empty algorithm: generateKey({}, true, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Empty algorithm: generateKey({}, RED, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Empty algorithm: generateKey({}, 7, [decrypt, sign, deriveBits, decrypt, sign, deriveBits])-Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [encrypt])-Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [sign, encrypt])-Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [verify, sign, encrypt])-Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [verify, encrypt])-Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [sign, verify, sign, verify, encrypt])-Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [decrypt])-Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [sign, decrypt])-Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [verify, sign, decrypt])-Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [verify, decrypt])-Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [sign, verify, sign, verify, decrypt])-Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [wrapKey])-Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [sign, wrapKey])-Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [verify, sign, wrapKey])-Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [verify, wrapKey])-Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [sign, verify, sign, verify, wrapKey])-Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [unwrapKey])-Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [sign, unwrapKey])-Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [verify, sign, unwrapKey])-Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [verify, unwrapKey])-Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [sign, verify, sign, verify, unwrapKey])-Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [deriveKey])-Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [sign, deriveKey])-Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [verify, sign, deriveKey])-Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [verify, deriveKey])-Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [sign, verify, sign, verify, deriveKey])-Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [deriveBits])-Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [sign, deriveBits])-Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [verify, sign, deriveBits])-Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [verify, deriveBits])-Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [sign, verify, sign, verify, deriveBits])-Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [encrypt])-Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [sign, encrypt])-Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [verify, sign, encrypt])-Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [verify, encrypt])-Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [sign, verify, sign, verify, encrypt])-Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [decrypt])-Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [sign, decrypt])-Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [verify, sign, decrypt])-Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [verify, decrypt])-Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [sign, verify, sign, verify, decrypt])-Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [wrapKey])-Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [sign, wrapKey])-Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [verify, sign, wrapKey])-Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [verify, wrapKey])-Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [sign, verify, sign, verify, wrapKey])-Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [unwrapKey])-Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [sign, unwrapKey])-Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [verify, sign, unwrapKey])-Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [verify, unwrapKey])-Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [sign, verify, sign, verify, unwrapKey])-Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [deriveKey])-Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [sign, deriveKey])-Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [verify, sign, deriveKey])-Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [verify, deriveKey])-Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [sign, verify, sign, verify, deriveKey])-Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [deriveBits])-Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [sign, deriveBits])-Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [verify, sign, deriveBits])-Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [verify, deriveBits])-Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [sign, verify, sign, verify, deriveBits])-Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [encrypt])-Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [sign, encrypt])-Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [verify, sign, encrypt])-Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [verify, encrypt])-Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [sign, verify, sign, verify, encrypt])-Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [decrypt])-Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [sign, decrypt])-Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [verify, sign, decrypt])-Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [verify, decrypt])-Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [sign, verify, sign, verify, decrypt])-Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [wrapKey])-Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [sign, wrapKey])-Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [verify, sign, wrapKey])-Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [verify, wrapKey])-Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [sign, verify, sign, verify, wrapKey])-Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [unwrapKey])-Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [sign, unwrapKey])-Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [verify, sign, unwrapKey])-Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [verify, unwrapKey])-Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [sign, verify, sign, verify, unwrapKey])-Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [deriveKey])-Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [sign, deriveKey])-Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [verify, sign, deriveKey])-Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [verify, deriveKey])-Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [sign, verify, sign, verify, deriveKey])-Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [deriveBits])-Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [sign, deriveBits])-Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [verify, sign, deriveBits])-Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [verify, deriveBits])-Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [sign, verify, sign, verify, deriveBits])-Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [encrypt])-Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [sign, encrypt])-Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [verify, sign, encrypt])-Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [verify, encrypt])-Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [sign, verify, sign, verify, encrypt])-Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [decrypt])-Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [sign, decrypt])-Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [verify, sign, decrypt])-Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [verify, decrypt])-Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [sign, verify, sign, verify, decrypt])-Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [wrapKey])-Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [sign, wrapKey])-Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [verify, sign, wrapKey])-Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [verify, wrapKey])-Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [sign, verify, sign, verify, wrapKey])-Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [unwrapKey])-Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [sign, unwrapKey])-Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [verify, sign, unwrapKey])-Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [verify, unwrapKey])-Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [sign, verify, sign, verify, unwrapKey])-Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [deriveKey])-Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [sign, deriveKey])-Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [verify, sign, deriveKey])-Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [verify, deriveKey])-Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [sign, verify, sign, verify, deriveKey])-Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [deriveBits])-Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [sign, deriveBits])-Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [verify, sign, deriveBits])-Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [verify, deriveBits])-Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [sign, verify, sign, verify, deriveBits])-Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [encrypt])-Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [sign, encrypt])-Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [verify, sign, encrypt])-Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [verify, encrypt])-Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [sign, verify, sign, verify, encrypt])-Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [decrypt])-Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [sign, decrypt])-Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [verify, sign, decrypt])-Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [verify, decrypt])-Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [sign, verify, sign, verify, decrypt])-Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [wrapKey])-Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [sign, wrapKey])-Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [verify, sign, wrapKey])-Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [verify, wrapKey])-Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [sign, verify, sign, verify, wrapKey])-Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [unwrapKey])-Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [sign, unwrapKey])-Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [verify, sign, unwrapKey])-Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [verify, unwrapKey])-Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [sign, verify, sign, verify, unwrapKey])-Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [deriveKey])-Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [sign, deriveKey])-Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [verify, sign, deriveKey])-Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [verify, deriveKey])-Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [sign, verify, sign, verify, deriveKey])-Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [deriveBits])-Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [sign, deriveBits])-Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [verify, sign, deriveBits])-Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [verify, deriveBits])-Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [sign, verify, sign, verify, deriveBits])-Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [encrypt])-Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [sign, encrypt])-Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [verify, sign, encrypt])-Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [verify, encrypt])-Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [sign, verify, sign, verify, encrypt])-Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [decrypt])-Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [sign, decrypt])-Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [verify, sign, decrypt])-Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [verify, decrypt])-Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [sign, verify, sign, verify, decrypt])-Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [wrapKey])-Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [sign, wrapKey])-Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [verify, sign, wrapKey])-Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [verify, wrapKey])-Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [sign, verify, sign, verify, wrapKey])-Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [unwrapKey])-Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [sign, unwrapKey])-Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [verify, sign, unwrapKey])-Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [verify, unwrapKey])-Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [sign, verify, sign, verify, unwrapKey])-Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [deriveKey])-Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [sign, deriveKey])-Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [verify, sign, deriveKey])-Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [verify, deriveKey])-Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [sign, verify, sign, verify, deriveKey])-Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [deriveBits])-Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [sign, deriveBits])-Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [verify, sign, deriveBits])-Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [verify, deriveBits])-Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [sign, verify, sign, verify, deriveBits])-Pass Empty usages: generateKey({length: 128, name: KMAC128}, false, [])-Pass Empty usages: generateKey({length: 128, name: KMAC128}, true, [])-Pass Empty usages: generateKey({length: 160, name: KMAC128}, false, [])-Pass Empty usages: generateKey({length: 160, name: KMAC128}, true, [])-Pass Empty usages: generateKey({length: 256, name: KMAC128}, false, [])-Pass Empty usages: generateKey({length: 256, name: KMAC128}, true, [])-Pass Empty usages: generateKey({length: 128, name: KMAC256}, false, [])-Pass Empty usages: generateKey({length: 128, name: KMAC256}, true, [])-Pass Empty usages: generateKey({length: 160, name: KMAC256}, false, [])-Pass Empty usages: generateKey({length: 160, name: KMAC256}, true, [])-Pass Empty usages: generateKey({length: 256, name: KMAC256}, false, [])-Pass Empty usages: generateKey({length: 256, name: KMAC256}, true, [])\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/generateKey/successes_AES-KW.https.any.txt b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/generateKey/successes_AES-KW.https.any.txtindex 553eadc7e90..7e8da54f750 100644--- a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/generateKey/successes_AES-KW.https.any.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/generateKey/successes_AES-KW.https.any.txt@@ -2,76 +2,77 @@ Harness status: OKFound 72 tests-72 Pass+54 Pass+18 FailPass Success: generateKey({length: 128, name: AES-KW}, false, [wrapKey])Pass Success: generateKey({length: 128, name: AES-KW}, true, [wrapKey])Pass Success: generateKey({length: 128, name: AES-KW}, false, [unwrapKey, wrapKey])Pass Success: generateKey({length: 128, name: AES-KW}, true, [unwrapKey, wrapKey])Pass Success: generateKey({length: 128, name: AES-KW}, false, [unwrapKey])Pass Success: generateKey({length: 128, name: AES-KW}, true, [unwrapKey])-Pass Success: generateKey({length: 128, name: AES-KW}, false, [wrapKey, unwrapKey, wrapKey, unwrapKey])-Pass Success: generateKey({length: 128, name: AES-KW}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey])+Fail Success: generateKey({length: 128, name: AES-KW}, false, [wrapKey, unwrapKey, wrapKey, unwrapKey])+Fail Success: generateKey({length: 128, name: AES-KW}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey])Pass Success: generateKey({length: 192, name: AES-KW}, false, [wrapKey])Pass Success: generateKey({length: 192, name: AES-KW}, true, [wrapKey])Pass Success: generateKey({length: 192, name: AES-KW}, false, [unwrapKey, wrapKey])Pass Success: generateKey({length: 192, name: AES-KW}, true, [unwrapKey, wrapKey])Pass Success: generateKey({length: 192, name: AES-KW}, false, [unwrapKey])Pass Success: generateKey({length: 192, name: AES-KW}, true, [unwrapKey])-Pass Success: generateKey({length: 192, name: AES-KW}, false, [wrapKey, unwrapKey, wrapKey, unwrapKey])-Pass Success: generateKey({length: 192, name: AES-KW}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey])+Fail Success: generateKey({length: 192, name: AES-KW}, false, [wrapKey, unwrapKey, wrapKey, unwrapKey])+Fail Success: generateKey({length: 192, name: AES-KW}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey])Pass Success: generateKey({length: 256, name: AES-KW}, false, [wrapKey])Pass Success: generateKey({length: 256, name: AES-KW}, true, [wrapKey])Pass Success: generateKey({length: 256, name: AES-KW}, false, [unwrapKey, wrapKey])Pass Success: generateKey({length: 256, name: AES-KW}, true, [unwrapKey, wrapKey])Pass Success: generateKey({length: 256, name: AES-KW}, false, [unwrapKey])Pass Success: generateKey({length: 256, name: AES-KW}, true, [unwrapKey])-Pass Success: generateKey({length: 256, name: AES-KW}, false, [wrapKey, unwrapKey, wrapKey, unwrapKey])-Pass Success: generateKey({length: 256, name: AES-KW}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey])+Fail Success: generateKey({length: 256, name: AES-KW}, false, [wrapKey, unwrapKey, wrapKey, unwrapKey])+Fail Success: generateKey({length: 256, name: AES-KW}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey])Pass Success: generateKey({length: 128, name: aes-kw}, false, [wrapKey])Pass Success: generateKey({length: 128, name: aes-kw}, true, [wrapKey])Pass Success: generateKey({length: 128, name: aes-kw}, false, [unwrapKey, wrapKey])Pass Success: generateKey({length: 128, name: aes-kw}, true, [unwrapKey, wrapKey])Pass Success: generateKey({length: 128, name: aes-kw}, false, [unwrapKey])Pass Success: generateKey({length: 128, name: aes-kw}, true, [unwrapKey])-Pass Success: generateKey({length: 128, name: aes-kw}, false, [wrapKey, unwrapKey, wrapKey, unwrapKey])-Pass Success: generateKey({length: 128, name: aes-kw}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey])+Fail Success: generateKey({length: 128, name: aes-kw}, false, [wrapKey, unwrapKey, wrapKey, unwrapKey])+Fail Success: generateKey({length: 128, name: aes-kw}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey])Pass Success: generateKey({length: 192, name: aes-kw}, false, [wrapKey])Pass Success: generateKey({length: 192, name: aes-kw}, true, [wrapKey])Pass Success: generateKey({length: 192, name: aes-kw}, false, [unwrapKey, wrapKey])Pass Success: generateKey({length: 192, name: aes-kw}, true, [unwrapKey, wrapKey])Pass Success: generateKey({length: 192, name: aes-kw}, false, [unwrapKey])Pass Success: generateKey({length: 192, name: aes-kw}, true, [unwrapKey])-Pass Success: generateKey({length: 192, name: aes-kw}, false, [wrapKey, unwrapKey, wrapKey, unwrapKey])-Pass Success: generateKey({length: 192, name: aes-kw}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey])+Fail Success: generateKey({length: 192, name: aes-kw}, false, [wrapKey, unwrapKey, wrapKey, unwrapKey])+Fail Success: generateKey({length: 192, name: aes-kw}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey])Pass Success: generateKey({length: 256, name: aes-kw}, false, [wrapKey])Pass Success: generateKey({length: 256, name: aes-kw}, true, [wrapKey])Pass Success: generateKey({length: 256, name: aes-kw}, false, [unwrapKey, wrapKey])Pass Success: generateKey({length: 256, name: aes-kw}, true, [unwrapKey, wrapKey])Pass Success: generateKey({length: 256, name: aes-kw}, false, [unwrapKey])Pass Success: generateKey({length: 256, name: aes-kw}, true, [unwrapKey])-Pass Success: generateKey({length: 256, name: aes-kw}, false, [wrapKey, unwrapKey, wrapKey, unwrapKey])-Pass Success: generateKey({length: 256, name: aes-kw}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey])+Fail Success: generateKey({length: 256, name: aes-kw}, false, [wrapKey, unwrapKey, wrapKey, unwrapKey])+Fail Success: generateKey({length: 256, name: aes-kw}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey])Pass Success: generateKey({length: 128, name: Aes-kw}, false, [wrapKey])Pass Success: generateKey({length: 128, name: Aes-kw}, true, [wrapKey])Pass Success: generateKey({length: 128, name: Aes-kw}, false, [unwrapKey, wrapKey])Pass Success: generateKey({length: 128, name: Aes-kw}, true, [unwrapKey, wrapKey])Pass Success: generateKey({length: 128, name: Aes-kw}, false, [unwrapKey])Pass Success: generateKey({length: 128, name: Aes-kw}, true, [unwrapKey])-Pass Success: generateKey({length: 128, name: Aes-kw}, false, [wrapKey, unwrapKey, wrapKey, unwrapKey])-Pass Success: generateKey({length: 128, name: Aes-kw}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey])+Fail Success: generateKey({length: 128, name: Aes-kw}, false, [wrapKey, unwrapKey, wrapKey, unwrapKey])+Fail Success: generateKey({length: 128, name: Aes-kw}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey])Pass Success: generateKey({length: 192, name: Aes-kw}, false, [wrapKey])Pass Success: generateKey({length: 192, name: Aes-kw}, true, [wrapKey])Pass Success: generateKey({length: 192, name: Aes-kw}, false, [unwrapKey, wrapKey])Pass Success: generateKey({length: 192, name: Aes-kw}, true, [unwrapKey, wrapKey])Pass Success: generateKey({length: 192, name: Aes-kw}, false, [unwrapKey])Pass Success: generateKey({length: 192, name: Aes-kw}, true, [unwrapKey])-Pass Success: generateKey({length: 192, name: Aes-kw}, false, [wrapKey, unwrapKey, wrapKey, unwrapKey])-Pass Success: generateKey({length: 192, name: Aes-kw}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey])+Fail Success: generateKey({length: 192, name: Aes-kw}, false, [wrapKey, unwrapKey, wrapKey, unwrapKey])+Fail Success: generateKey({length: 192, name: Aes-kw}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey])Pass Success: generateKey({length: 256, name: Aes-kw}, false, [wrapKey])Pass Success: generateKey({length: 256, name: Aes-kw}, true, [wrapKey])Pass Success: generateKey({length: 256, name: Aes-kw}, false, [unwrapKey, wrapKey])Pass Success: generateKey({length: 256, name: Aes-kw}, true, [unwrapKey, wrapKey])Pass Success: generateKey({length: 256, name: Aes-kw}, false, [unwrapKey])Pass Success: generateKey({length: 256, name: Aes-kw}, true, [unwrapKey])-Pass Success: generateKey({length: 256, name: Aes-kw}, false, [wrapKey, unwrapKey, wrapKey, unwrapKey])-Pass Success: generateKey({length: 256, name: Aes-kw}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey])\ No newline at end of file+Fail Success: generateKey({length: 256, name: Aes-kw}, false, [wrapKey, unwrapKey, wrapKey, unwrapKey])+Fail Success: generateKey({length: 256, name: Aes-kw}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey])\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/generateKey/successes_ECDH.https.any.txt b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/generateKey/successes_ECDH.https.any.txtindex f95f24f85d7..6f4493b1af8 100644--- a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/generateKey/successes_ECDH.https.any.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/generateKey/successes_ECDH.https.any.txt@@ -1,77 +1,114 @@Harness status: OK-Found 72 tests+Found 108 tests-72 Pass+90 Pass+18 FailPass Success: generateKey({name: ECDH, namedCurve: P-256}, false, [deriveKey])Pass Success: generateKey({name: ECDH, namedCurve: P-256}, true, [deriveKey])+Pass Success: generateKey({name: ECDH, namedCurve: P-256}, true, [deriveKey]) produces consistent length keyPass Success: generateKey({name: ECDH, namedCurve: P-256}, false, [deriveBits, deriveKey])Pass Success: generateKey({name: ECDH, namedCurve: P-256}, true, [deriveBits, deriveKey])+Pass Success: generateKey({name: ECDH, namedCurve: P-256}, true, [deriveBits, deriveKey]) produces consistent length keyPass Success: generateKey({name: ECDH, namedCurve: P-256}, false, [deriveBits])Pass Success: generateKey({name: ECDH, namedCurve: P-256}, true, [deriveBits])-Pass Success: generateKey({name: ECDH, namedCurve: P-256}, false, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits])-Pass Success: generateKey({name: ECDH, namedCurve: P-256}, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits])+Pass Success: generateKey({name: ECDH, namedCurve: P-256}, true, [deriveBits]) produces consistent length key+Fail Success: generateKey({name: ECDH, namedCurve: P-256}, false, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits])+Fail Success: generateKey({name: ECDH, namedCurve: P-256}, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits])+Pass Success: generateKey({name: ECDH, namedCurve: P-256}, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits]) produces consistent length keyPass Success: generateKey({name: ECDH, namedCurve: P-384}, false, [deriveKey])Pass Success: generateKey({name: ECDH, namedCurve: P-384}, true, [deriveKey])+Pass Success: generateKey({name: ECDH, namedCurve: P-384}, true, [deriveKey]) produces consistent length keyPass Success: generateKey({name: ECDH, namedCurve: P-384}, false, [deriveBits, deriveKey])Pass Success: generateKey({name: ECDH, namedCurve: P-384}, true, [deriveBits, deriveKey])+Pass Success: generateKey({name: ECDH, namedCurve: P-384}, true, [deriveBits, deriveKey]) produces consistent length keyPass Success: generateKey({name: ECDH, namedCurve: P-384}, false, [deriveBits])Pass Success: generateKey({name: ECDH, namedCurve: P-384}, true, [deriveBits])-Pass Success: generateKey({name: ECDH, namedCurve: P-384}, false, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits])-Pass Success: generateKey({name: ECDH, namedCurve: P-384}, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits])+Pass Success: generateKey({name: ECDH, namedCurve: P-384}, true, [deriveBits]) produces consistent length key+Fail Success: generateKey({name: ECDH, namedCurve: P-384}, false, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits])+Fail Success: generateKey({name: ECDH, namedCurve: P-384}, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits])+Pass Success: generateKey({name: ECDH, namedCurve: P-384}, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits]) produces consistent length keyPass Success: generateKey({name: ECDH, namedCurve: P-521}, false, [deriveKey])Pass Success: generateKey({name: ECDH, namedCurve: P-521}, true, [deriveKey])+Pass Success: generateKey({name: ECDH, namedCurve: P-521}, true, [deriveKey]) produces consistent length keyPass Success: generateKey({name: ECDH, namedCurve: P-521}, false, [deriveBits, deriveKey])Pass Success: generateKey({name: ECDH, namedCurve: P-521}, true, [deriveBits, deriveKey])+Pass Success: generateKey({name: ECDH, namedCurve: P-521}, true, [deriveBits, deriveKey]) produces consistent length keyPass Success: generateKey({name: ECDH, namedCurve: P-521}, false, [deriveBits])Pass Success: generateKey({name: ECDH, namedCurve: P-521}, true, [deriveBits])-Pass Success: generateKey({name: ECDH, namedCurve: P-521}, false, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits])-Pass Success: generateKey({name: ECDH, namedCurve: P-521}, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits])+Pass Success: generateKey({name: ECDH, namedCurve: P-521}, true, [deriveBits]) produces consistent length key+Fail Success: generateKey({name: ECDH, namedCurve: P-521}, false, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits])+Fail Success: generateKey({name: ECDH, namedCurve: P-521}, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits])+Pass Success: generateKey({name: ECDH, namedCurve: P-521}, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits]) produces consistent length keyPass Success: generateKey({name: ecdh, namedCurve: P-256}, false, [deriveKey])Pass Success: generateKey({name: ecdh, namedCurve: P-256}, true, [deriveKey])+Pass Success: generateKey({name: ecdh, namedCurve: P-256}, true, [deriveKey]) produces consistent length keyPass Success: generateKey({name: ecdh, namedCurve: P-256}, false, [deriveBits, deriveKey])Pass Success: generateKey({name: ecdh, namedCurve: P-256}, true, [deriveBits, deriveKey])+Pass Success: generateKey({name: ecdh, namedCurve: P-256}, true, [deriveBits, deriveKey]) produces consistent length keyPass Success: generateKey({name: ecdh, namedCurve: P-256}, false, [deriveBits])Pass Success: generateKey({name: ecdh, namedCurve: P-256}, true, [deriveBits])-Pass Success: generateKey({name: ecdh, namedCurve: P-256}, false, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits])-Pass Success: generateKey({name: ecdh, namedCurve: P-256}, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits])+Pass Success: generateKey({name: ecdh, namedCurve: P-256}, true, [deriveBits]) produces consistent length key+Fail Success: generateKey({name: ecdh, namedCurve: P-256}, false, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits])+Fail Success: generateKey({name: ecdh, namedCurve: P-256}, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits])+Pass Success: generateKey({name: ecdh, namedCurve: P-256}, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits]) produces consistent length keyPass Success: generateKey({name: ecdh, namedCurve: P-384}, false, [deriveKey])Pass Success: generateKey({name: ecdh, namedCurve: P-384}, true, [deriveKey])+Pass Success: generateKey({name: ecdh, namedCurve: P-384}, true, [deriveKey]) produces consistent length keyPass Success: generateKey({name: ecdh, namedCurve: P-384}, false, [deriveBits, deriveKey])Pass Success: generateKey({name: ecdh, namedCurve: P-384}, true, [deriveBits, deriveKey])+Pass Success: generateKey({name: ecdh, namedCurve: P-384}, true, [deriveBits, deriveKey]) produces consistent length keyPass Success: generateKey({name: ecdh, namedCurve: P-384}, false, [deriveBits])Pass Success: generateKey({name: ecdh, namedCurve: P-384}, true, [deriveBits])-Pass Success: generateKey({name: ecdh, namedCurve: P-384}, false, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits])-Pass Success: generateKey({name: ecdh, namedCurve: P-384}, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits])+Pass Success: generateKey({name: ecdh, namedCurve: P-384}, true, [deriveBits]) produces consistent length key+Fail Success: generateKey({name: ecdh, namedCurve: P-384}, false, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits])+Fail Success: generateKey({name: ecdh, namedCurve: P-384}, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits])+Pass Success: generateKey({name: ecdh, namedCurve: P-384}, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits]) produces consistent length keyPass Success: generateKey({name: ecdh, namedCurve: P-521}, false, [deriveKey])Pass Success: generateKey({name: ecdh, namedCurve: P-521}, true, [deriveKey])+Pass Success: generateKey({name: ecdh, namedCurve: P-521}, true, [deriveKey]) produces consistent length keyPass Success: generateKey({name: ecdh, namedCurve: P-521}, false, [deriveBits, deriveKey])Pass Success: generateKey({name: ecdh, namedCurve: P-521}, true, [deriveBits, deriveKey])+Pass Success: generateKey({name: ecdh, namedCurve: P-521}, true, [deriveBits, deriveKey]) produces consistent length keyPass Success: generateKey({name: ecdh, namedCurve: P-521}, false, [deriveBits])Pass Success: generateKey({name: ecdh, namedCurve: P-521}, true, [deriveBits])-Pass Success: generateKey({name: ecdh, namedCurve: P-521}, false, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits])-Pass Success: generateKey({name: ecdh, namedCurve: P-521}, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits])+Pass Success: generateKey({name: ecdh, namedCurve: P-521}, true, [deriveBits]) produces consistent length key+Fail Success: generateKey({name: ecdh, namedCurve: P-521}, false, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits])+Fail Success: generateKey({name: ecdh, namedCurve: P-521}, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits])+Pass Success: generateKey({name: ecdh, namedCurve: P-521}, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits]) produces consistent length keyPass Success: generateKey({name: Ecdh, namedCurve: P-256}, false, [deriveKey])Pass Success: generateKey({name: Ecdh, namedCurve: P-256}, true, [deriveKey])+Pass Success: generateKey({name: Ecdh, namedCurve: P-256}, true, [deriveKey]) produces consistent length keyPass Success: generateKey({name: Ecdh, namedCurve: P-256}, false, [deriveBits, deriveKey])Pass Success: generateKey({name: Ecdh, namedCurve: P-256}, true, [deriveBits, deriveKey])+Pass Success: generateKey({name: Ecdh, namedCurve: P-256}, true, [deriveBits, deriveKey]) produces consistent length keyPass Success: generateKey({name: Ecdh, namedCurve: P-256}, false, [deriveBits])Pass Success: generateKey({name: Ecdh, namedCurve: P-256}, true, [deriveBits])-Pass Success: generateKey({name: Ecdh, namedCurve: P-256}, false, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits])-Pass Success: generateKey({name: Ecdh, namedCurve: P-256}, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits])+Pass Success: generateKey({name: Ecdh, namedCurve: P-256}, true, [deriveBits]) produces consistent length key+Fail Success: generateKey({name: Ecdh, namedCurve: P-256}, false, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits])+Fail Success: generateKey({name: Ecdh, namedCurve: P-256}, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits])+Pass Success: generateKey({name: Ecdh, namedCurve: P-256}, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits]) produces consistent length keyPass Success: generateKey({name: Ecdh, namedCurve: P-384}, false, [deriveKey])Pass Success: generateKey({name: Ecdh, namedCurve: P-384}, true, [deriveKey])+Pass Success: generateKey({name: Ecdh, namedCurve: P-384}, true, [deriveKey]) produces consistent length keyPass Success: generateKey({name: Ecdh, namedCurve: P-384}, false, [deriveBits, deriveKey])Pass Success: generateKey({name: Ecdh, namedCurve: P-384}, true, [deriveBits, deriveKey])+Pass Success: generateKey({name: Ecdh, namedCurve: P-384}, true, [deriveBits, deriveKey]) produces consistent length keyPass Success: generateKey({name: Ecdh, namedCurve: P-384}, false, [deriveBits])Pass Success: generateKey({name: Ecdh, namedCurve: P-384}, true, [deriveBits])-Pass Success: generateKey({name: Ecdh, namedCurve: P-384}, false, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits])-Pass Success: generateKey({name: Ecdh, namedCurve: P-384}, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits])+Pass Success: generateKey({name: Ecdh, namedCurve: P-384}, true, [deriveBits]) produces consistent length key+Fail Success: generateKey({name: Ecdh, namedCurve: P-384}, false, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits])+Fail Success: generateKey({name: Ecdh, namedCurve: P-384}, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits])+Pass Success: generateKey({name: Ecdh, namedCurve: P-384}, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits]) produces consistent length keyPass Success: generateKey({name: Ecdh, namedCurve: P-521}, false, [deriveKey])Pass Success: generateKey({name: Ecdh, namedCurve: P-521}, true, [deriveKey])+Pass Success: generateKey({name: Ecdh, namedCurve: P-521}, true, [deriveKey]) produces consistent length keyPass Success: generateKey({name: Ecdh, namedCurve: P-521}, false, [deriveBits, deriveKey])Pass Success: generateKey({name: Ecdh, namedCurve: P-521}, true, [deriveBits, deriveKey])+Pass Success: generateKey({name: Ecdh, namedCurve: P-521}, true, [deriveBits, deriveKey]) produces consistent length keyPass Success: generateKey({name: Ecdh, namedCurve: P-521}, false, [deriveBits])Pass Success: generateKey({name: Ecdh, namedCurve: P-521}, true, [deriveBits])-Pass Success: generateKey({name: Ecdh, namedCurve: P-521}, false, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits])-Pass Success: generateKey({name: Ecdh, namedCurve: P-521}, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits])\ No newline at end of file+Pass Success: generateKey({name: Ecdh, namedCurve: P-521}, true, [deriveBits]) produces consistent length key+Fail Success: generateKey({name: Ecdh, namedCurve: P-521}, false, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits])+Fail Success: generateKey({name: Ecdh, namedCurve: P-521}, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits])+Pass Success: generateKey({name: Ecdh, namedCurve: P-521}, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits]) produces consistent length key\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/generateKey/successes_HMAC.https.any.txt b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/generateKey/successes_HMAC.https.any.txtindex df29083f290..0f353b2e856 100644--- a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/generateKey/successes_HMAC.https.any.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/generateKey/successes_HMAC.https.any.txt@@ -2,196 +2,197 @@ Harness status: OKFound 192 tests-192 Pass+144 Pass+48 FailPass Success: generateKey({hash: SHA-1, length: 160, name: HMAC}, false, [sign])Pass Success: generateKey({hash: SHA-1, length: 160, name: HMAC}, true, [sign])Pass Success: generateKey({hash: SHA-1, length: 160, name: HMAC}, false, [verify, sign])Pass Success: generateKey({hash: SHA-1, length: 160, name: HMAC}, true, [verify, sign])Pass Success: generateKey({hash: SHA-1, length: 160, name: HMAC}, false, [verify])Pass Success: generateKey({hash: SHA-1, length: 160, name: HMAC}, true, [verify])-Pass Success: generateKey({hash: SHA-1, length: 160, name: HMAC}, false, [sign, verify, sign, verify])-Pass Success: generateKey({hash: SHA-1, length: 160, name: HMAC}, true, [sign, verify, sign, verify])+Fail Success: generateKey({hash: SHA-1, length: 160, name: HMAC}, false, [sign, verify, sign, verify])+Fail Success: generateKey({hash: SHA-1, length: 160, name: HMAC}, true, [sign, verify, sign, verify])Pass Success: generateKey({hash: SHA-256, length: 256, name: HMAC}, false, [sign])Pass Success: generateKey({hash: SHA-256, length: 256, name: HMAC}, true, [sign])Pass Success: generateKey({hash: SHA-256, length: 256, name: HMAC}, false, [verify, sign])Pass Success: generateKey({hash: SHA-256, length: 256, name: HMAC}, true, [verify, sign])Pass Success: generateKey({hash: SHA-256, length: 256, name: HMAC}, false, [verify])Pass Success: generateKey({hash: SHA-256, length: 256, name: HMAC}, true, [verify])-Pass Success: generateKey({hash: SHA-256, length: 256, name: HMAC}, false, [sign, verify, sign, verify])-Pass Success: generateKey({hash: SHA-256, length: 256, name: HMAC}, true, [sign, verify, sign, verify])+Fail Success: generateKey({hash: SHA-256, length: 256, name: HMAC}, false, [sign, verify, sign, verify])+Fail Success: generateKey({hash: SHA-256, length: 256, name: HMAC}, true, [sign, verify, sign, verify])Pass Success: generateKey({hash: SHA-384, length: 384, name: HMAC}, false, [sign])Pass Success: generateKey({hash: SHA-384, length: 384, name: HMAC}, true, [sign])Pass Success: generateKey({hash: SHA-384, length: 384, name: HMAC}, false, [verify, sign])Pass Success: generateKey({hash: SHA-384, length: 384, name: HMAC}, true, [verify, sign])Pass Success: generateKey({hash: SHA-384, length: 384, name: HMAC}, false, [verify])Pass Success: generateKey({hash: SHA-384, length: 384, name: HMAC}, true, [verify])-Pass Success: generateKey({hash: SHA-384, length: 384, name: HMAC}, false, [sign, verify, sign, verify])-Pass Success: generateKey({hash: SHA-384, length: 384, name: HMAC}, true, [sign, verify, sign, verify])+Fail Success: generateKey({hash: SHA-384, length: 384, name: HMAC}, false, [sign, verify, sign, verify])+Fail Success: generateKey({hash: SHA-384, length: 384, name: HMAC}, true, [sign, verify, sign, verify])Pass Success: generateKey({hash: SHA-512, length: 512, name: HMAC}, false, [sign])Pass Success: generateKey({hash: SHA-512, length: 512, name: HMAC}, true, [sign])Pass Success: generateKey({hash: SHA-512, length: 512, name: HMAC}, false, [verify, sign])Pass Success: generateKey({hash: SHA-512, length: 512, name: HMAC}, true, [verify, sign])Pass Success: generateKey({hash: SHA-512, length: 512, name: HMAC}, false, [verify])Pass Success: generateKey({hash: SHA-512, length: 512, name: HMAC}, true, [verify])-Pass Success: generateKey({hash: SHA-512, length: 512, name: HMAC}, false, [sign, verify, sign, verify])-Pass Success: generateKey({hash: SHA-512, length: 512, name: HMAC}, true, [sign, verify, sign, verify])+Fail Success: generateKey({hash: SHA-512, length: 512, name: HMAC}, false, [sign, verify, sign, verify])+Fail Success: generateKey({hash: SHA-512, length: 512, name: HMAC}, true, [sign, verify, sign, verify])Pass Success: generateKey({hash: SHA-1, name: HMAC}, false, [sign])Pass Success: generateKey({hash: SHA-1, name: HMAC}, true, [sign])Pass Success: generateKey({hash: SHA-1, name: HMAC}, false, [verify, sign])Pass Success: generateKey({hash: SHA-1, name: HMAC}, true, [verify, sign])Pass Success: generateKey({hash: SHA-1, name: HMAC}, false, [verify])Pass Success: generateKey({hash: SHA-1, name: HMAC}, true, [verify])-Pass Success: generateKey({hash: SHA-1, name: HMAC}, false, [sign, verify, sign, verify])-Pass Success: generateKey({hash: SHA-1, name: HMAC}, true, [sign, verify, sign, verify])+Fail Success: generateKey({hash: SHA-1, name: HMAC}, false, [sign, verify, sign, verify])+Fail Success: generateKey({hash: SHA-1, name: HMAC}, true, [sign, verify, sign, verify])Pass Success: generateKey({hash: SHA-256, name: HMAC}, false, [sign])Pass Success: generateKey({hash: SHA-256, name: HMAC}, true, [sign])Pass Success: generateKey({hash: SHA-256, name: HMAC}, false, [verify, sign])Pass Success: generateKey({hash: SHA-256, name: HMAC}, true, [verify, sign])Pass Success: generateKey({hash: SHA-256, name: HMAC}, false, [verify])Pass Success: generateKey({hash: SHA-256, name: HMAC}, true, [verify])-Pass Success: generateKey({hash: SHA-256, name: HMAC}, false, [sign, verify, sign, verify])-Pass Success: generateKey({hash: SHA-256, name: HMAC}, true, [sign, verify, sign, verify])+Fail Success: generateKey({hash: SHA-256, name: HMAC}, false, [sign, verify, sign, verify])+Fail Success: generateKey({hash: SHA-256, name: HMAC}, true, [sign, verify, sign, verify])Pass Success: generateKey({hash: SHA-384, name: HMAC}, false, [sign])Pass Success: generateKey({hash: SHA-384, name: HMAC}, true, [sign])Pass Success: generateKey({hash: SHA-384, name: HMAC}, false, [verify, sign])Pass Success: generateKey({hash: SHA-384, name: HMAC}, true, [verify, sign])Pass Success: generateKey({hash: SHA-384, name: HMAC}, false, [verify])Pass Success: generateKey({hash: SHA-384, name: HMAC}, true, [verify])-Pass Success: generateKey({hash: SHA-384, name: HMAC}, false, [sign, verify, sign, verify])-Pass Success: generateKey({hash: SHA-384, name: HMAC}, true, [sign, verify, sign, verify])+Fail Success: generateKey({hash: SHA-384, name: HMAC}, false, [sign, verify, sign, verify])+Fail Success: generateKey({hash: SHA-384, name: HMAC}, true, [sign, verify, sign, verify])Pass Success: generateKey({hash: SHA-512, name: HMAC}, false, [sign])Pass Success: generateKey({hash: SHA-512, name: HMAC}, true, [sign])Pass Success: generateKey({hash: SHA-512, name: HMAC}, false, [verify, sign])Pass Success: generateKey({hash: SHA-512, name: HMAC}, true, [verify, sign])Pass Success: generateKey({hash: SHA-512, name: HMAC}, false, [verify])Pass Success: generateKey({hash: SHA-512, name: HMAC}, true, [verify])-Pass Success: generateKey({hash: SHA-512, name: HMAC}, false, [sign, verify, sign, verify])-Pass Success: generateKey({hash: SHA-512, name: HMAC}, true, [sign, verify, sign, verify])+Fail Success: generateKey({hash: SHA-512, name: HMAC}, false, [sign, verify, sign, verify])+Fail Success: generateKey({hash: SHA-512, name: HMAC}, true, [sign, verify, sign, verify])Pass Success: generateKey({hash: SHA-1, length: 160, name: hmac}, false, [sign])Pass Success: generateKey({hash: SHA-1, length: 160, name: hmac}, true, [sign])Pass Success: generateKey({hash: SHA-1, length: 160, name: hmac}, false, [verify, sign])Pass Success: generateKey({hash: SHA-1, length: 160, name: hmac}, true, [verify, sign])Pass Success: generateKey({hash: SHA-1, length: 160, name: hmac}, false, [verify])Pass Success: generateKey({hash: SHA-1, length: 160, name: hmac}, true, [verify])-Pass Success: generateKey({hash: SHA-1, length: 160, name: hmac}, false, [sign, verify, sign, verify])-Pass Success: generateKey({hash: SHA-1, length: 160, name: hmac}, true, [sign, verify, sign, verify])+Fail Success: generateKey({hash: SHA-1, length: 160, name: hmac}, false, [sign, verify, sign, verify])+Fail Success: generateKey({hash: SHA-1, length: 160, name: hmac}, true, [sign, verify, sign, verify])Pass Success: generateKey({hash: SHA-256, length: 256, name: hmac}, false, [sign])Pass Success: generateKey({hash: SHA-256, length: 256, name: hmac}, true, [sign])Pass Success: generateKey({hash: SHA-256, length: 256, name: hmac}, false, [verify, sign])Pass Success: generateKey({hash: SHA-256, length: 256, name: hmac}, true, [verify, sign])Pass Success: generateKey({hash: SHA-256, length: 256, name: hmac}, false, [verify])Pass Success: generateKey({hash: SHA-256, length: 256, name: hmac}, true, [verify])-Pass Success: generateKey({hash: SHA-256, length: 256, name: hmac}, false, [sign, verify, sign, verify])-Pass Success: generateKey({hash: SHA-256, length: 256, name: hmac}, true, [sign, verify, sign, verify])+Fail Success: generateKey({hash: SHA-256, length: 256, name: hmac}, false, [sign, verify, sign, verify])+Fail Success: generateKey({hash: SHA-256, length: 256, name: hmac}, true, [sign, verify, sign, verify])Pass Success: generateKey({hash: SHA-384, length: 384, name: hmac}, false, [sign])Pass Success: generateKey({hash: SHA-384, length: 384, name: hmac}, true, [sign])Pass Success: generateKey({hash: SHA-384, length: 384, name: hmac}, false, [verify, sign])Pass Success: generateKey({hash: SHA-384, length: 384, name: hmac}, true, [verify, sign])Pass Success: generateKey({hash: SHA-384, length: 384, name: hmac}, false, [verify])Pass Success: generateKey({hash: SHA-384, length: 384, name: hmac}, true, [verify])-Pass Success: generateKey({hash: SHA-384, length: 384, name: hmac}, false, [sign, verify, sign, verify])-Pass Success: generateKey({hash: SHA-384, length: 384, name: hmac}, true, [sign, verify, sign, verify])+Fail Success: generateKey({hash: SHA-384, length: 384, name: hmac}, false, [sign, verify, sign, verify])+Fail Success: generateKey({hash: SHA-384, length: 384, name: hmac}, true, [sign, verify, sign, verify])Pass Success: generateKey({hash: SHA-512, length: 512, name: hmac}, false, [sign])Pass Success: generateKey({hash: SHA-512, length: 512, name: hmac}, true, [sign])Pass Success: generateKey({hash: SHA-512, length: 512, name: hmac}, false, [verify, sign])Pass Success: generateKey({hash: SHA-512, length: 512, name: hmac}, true, [verify, sign])Pass Success: generateKey({hash: SHA-512, length: 512, name: hmac}, false, [verify])Pass Success: generateKey({hash: SHA-512, length: 512, name: hmac}, true, [verify])-Pass Success: generateKey({hash: SHA-512, length: 512, name: hmac}, false, [sign, verify, sign, verify])-Pass Success: generateKey({hash: SHA-512, length: 512, name: hmac}, true, [sign, verify, sign, verify])+Fail Success: generateKey({hash: SHA-512, length: 512, name: hmac}, false, [sign, verify, sign, verify])+Fail Success: generateKey({hash: SHA-512, length: 512, name: hmac}, true, [sign, verify, sign, verify])Pass Success: generateKey({hash: SHA-1, name: hmac}, false, [sign])Pass Success: generateKey({hash: SHA-1, name: hmac}, true, [sign])Pass Success: generateKey({hash: SHA-1, name: hmac}, false, [verify, sign])Pass Success: generateKey({hash: SHA-1, name: hmac}, true, [verify, sign])Pass Success: generateKey({hash: SHA-1, name: hmac}, false, [verify])Pass Success: generateKey({hash: SHA-1, name: hmac}, true, [verify])-Pass Success: generateKey({hash: SHA-1, name: hmac}, false, [sign, verify, sign, verify])-Pass Success: generateKey({hash: SHA-1, name: hmac}, true, [sign, verify, sign, verify])+Fail Success: generateKey({hash: SHA-1, name: hmac}, false, [sign, verify, sign, verify])+Fail Success: generateKey({hash: SHA-1, name: hmac}, true, [sign, verify, sign, verify])Pass Success: generateKey({hash: SHA-256, name: hmac}, false, [sign])Pass Success: generateKey({hash: SHA-256, name: hmac}, true, [sign])Pass Success: generateKey({hash: SHA-256, name: hmac}, false, [verify, sign])Pass Success: generateKey({hash: SHA-256, name: hmac}, true, [verify, sign])Pass Success: generateKey({hash: SHA-256, name: hmac}, false, [verify])Pass Success: generateKey({hash: SHA-256, name: hmac}, true, [verify])-Pass Success: generateKey({hash: SHA-256, name: hmac}, false, [sign, verify, sign, verify])-Pass Success: generateKey({hash: SHA-256, name: hmac}, true, [sign, verify, sign, verify])+Fail Success: generateKey({hash: SHA-256, name: hmac}, false, [sign, verify, sign, verify])+Fail Success: generateKey({hash: SHA-256, name: hmac}, true, [sign, verify, sign, verify])Pass Success: generateKey({hash: SHA-384, name: hmac}, false, [sign])Pass Success: generateKey({hash: SHA-384, name: hmac}, true, [sign])Pass Success: generateKey({hash: SHA-384, name: hmac}, false, [verify, sign])Pass Success: generateKey({hash: SHA-384, name: hmac}, true, [verify, sign])Pass Success: generateKey({hash: SHA-384, name: hmac}, false, [verify])Pass Success: generateKey({hash: SHA-384, name: hmac}, true, [verify])-Pass Success: generateKey({hash: SHA-384, name: hmac}, false, [sign, verify, sign, verify])-Pass Success: generateKey({hash: SHA-384, name: hmac}, true, [sign, verify, sign, verify])+Fail Success: generateKey({hash: SHA-384, name: hmac}, false, [sign, verify, sign, verify])+Fail Success: generateKey({hash: SHA-384, name: hmac}, true, [sign, verify, sign, verify])Pass Success: generateKey({hash: SHA-512, name: hmac}, false, [sign])Pass Success: generateKey({hash: SHA-512, name: hmac}, true, [sign])Pass Success: generateKey({hash: SHA-512, name: hmac}, false, [verify, sign])Pass Success: generateKey({hash: SHA-512, name: hmac}, true, [verify, sign])Pass Success: generateKey({hash: SHA-512, name: hmac}, false, [verify])Pass Success: generateKey({hash: SHA-512, name: hmac}, true, [verify])-Pass Success: generateKey({hash: SHA-512, name: hmac}, false, [sign, verify, sign, verify])-Pass Success: generateKey({hash: SHA-512, name: hmac}, true, [sign, verify, sign, verify])+Fail Success: generateKey({hash: SHA-512, name: hmac}, false, [sign, verify, sign, verify])+Fail Success: generateKey({hash: SHA-512, name: hmac}, true, [sign, verify, sign, verify])Pass Success: generateKey({hash: SHA-1, length: 160, name: Hmac}, false, [sign])Pass Success: generateKey({hash: SHA-1, length: 160, name: Hmac}, true, [sign])Pass Success: generateKey({hash: SHA-1, length: 160, name: Hmac}, false, [verify, sign])Pass Success: generateKey({hash: SHA-1, length: 160, name: Hmac}, true, [verify, sign])Pass Success: generateKey({hash: SHA-1, length: 160, name: Hmac}, false, [verify])Pass Success: generateKey({hash: SHA-1, length: 160, name: Hmac}, true, [verify])-Pass Success: generateKey({hash: SHA-1, length: 160, name: Hmac}, false, [sign, verify, sign, verify])-Pass Success: generateKey({hash: SHA-1, length: 160, name: Hmac}, true, [sign, verify, sign, verify])+Fail Success: generateKey({hash: SHA-1, length: 160, name: Hmac}, false, [sign, verify, sign, verify])+Fail Success: generateKey({hash: SHA-1, length: 160, name: Hmac}, true, [sign, verify, sign, verify])Pass Success: generateKey({hash: SHA-256, length: 256, name: Hmac}, false, [sign])Pass Success: generateKey({hash: SHA-256, length: 256, name: Hmac}, true, [sign])Pass Success: generateKey({hash: SHA-256, length: 256, name: Hmac}, false, [verify, sign])Pass Success: generateKey({hash: SHA-256, length: 256, name: Hmac}, true, [verify, sign])Pass Success: generateKey({hash: SHA-256, length: 256, name: Hmac}, false, [verify])Pass Success: generateKey({hash: SHA-256, length: 256, name: Hmac}, true, [verify])-Pass Success: generateKey({hash: SHA-256, length: 256, name: Hmac}, false, [sign, verify, sign, verify])-Pass Success: generateKey({hash: SHA-256, length: 256, name: Hmac}, true, [sign, verify, sign, verify])+Fail Success: generateKey({hash: SHA-256, length: 256, name: Hmac}, false, [sign, verify, sign, verify])+Fail Success: generateKey({hash: SHA-256, length: 256, name: Hmac}, true, [sign, verify, sign, verify])Pass Success: generateKey({hash: SHA-384, length: 384, name: Hmac}, false, [sign])Pass Success: generateKey({hash: SHA-384, length: 384, name: Hmac}, true, [sign])Pass Success: generateKey({hash: SHA-384, length: 384, name: Hmac}, false, [verify, sign])Pass Success: generateKey({hash: SHA-384, length: 384, name: Hmac}, true, [verify, sign])Pass Success: generateKey({hash: SHA-384, length: 384, name: Hmac}, false, [verify])Pass Success: generateKey({hash: SHA-384, length: 384, name: Hmac}, true, [verify])-Pass Success: generateKey({hash: SHA-384, length: 384, name: Hmac}, false, [sign, verify, sign, verify])-Pass Success: generateKey({hash: SHA-384, length: 384, name: Hmac}, true, [sign, verify, sign, verify])+Fail Success: generateKey({hash: SHA-384, length: 384, name: Hmac}, false, [sign, verify, sign, verify])+Fail Success: generateKey({hash: SHA-384, length: 384, name: Hmac}, true, [sign, verify, sign, verify])Pass Success: generateKey({hash: SHA-512, length: 512, name: Hmac}, false, [sign])Pass Success: generateKey({hash: SHA-512, length: 512, name: Hmac}, true, [sign])Pass Success: generateKey({hash: SHA-512, length: 512, name: Hmac}, false, [verify, sign])Pass Success: generateKey({hash: SHA-512, length: 512, name: Hmac}, true, [verify, sign])Pass Success: generateKey({hash: SHA-512, length: 512, name: Hmac}, false, [verify])Pass Success: generateKey({hash: SHA-512, length: 512, name: Hmac}, true, [verify])-Pass Success: generateKey({hash: SHA-512, length: 512, name: Hmac}, false, [sign, verify, sign, verify])-Pass Success: generateKey({hash: SHA-512, length: 512, name: Hmac}, true, [sign, verify, sign, verify])+Fail Success: generateKey({hash: SHA-512, length: 512, name: Hmac}, false, [sign, verify, sign, verify])+Fail Success: generateKey({hash: SHA-512, length: 512, name: Hmac}, true, [sign, verify, sign, verify])Pass Success: generateKey({hash: SHA-1, name: Hmac}, false, [sign])Pass Success: generateKey({hash: SHA-1, name: Hmac}, true, [sign])Pass Success: generateKey({hash: SHA-1, name: Hmac}, false, [verify, sign])Pass Success: generateKey({hash: SHA-1, name: Hmac}, true, [verify, sign])Pass Success: generateKey({hash: SHA-1, name: Hmac}, false, [verify])Pass Success: generateKey({hash: SHA-1, name: Hmac}, true, [verify])-Pass Success: generateKey({hash: SHA-1, name: Hmac}, false, [sign, verify, sign, verify])-Pass Success: generateKey({hash: SHA-1, name: Hmac}, true, [sign, verify, sign, verify])+Fail Success: generateKey({hash: SHA-1, name: Hmac}, false, [sign, verify, sign, verify])+Fail Success: generateKey({hash: SHA-1, name: Hmac}, true, [sign, verify, sign, verify])Pass Success: generateKey({hash: SHA-256, name: Hmac}, false, [sign])Pass Success: generateKey({hash: SHA-256, name: Hmac}, true, [sign])Pass Success: generateKey({hash: SHA-256, name: Hmac}, false, [verify, sign])Pass Success: generateKey({hash: SHA-256, name: Hmac}, true, [verify, sign])Pass Success: generateKey({hash: SHA-256, name: Hmac}, false, [verify])Pass Success: generateKey({hash: SHA-256, name: Hmac}, true, [verify])-Pass Success: generateKey({hash: SHA-256, name: Hmac}, false, [sign, verify, sign, verify])-Pass Success: generateKey({hash: SHA-256, name: Hmac}, true, [sign, verify, sign, verify])+Fail Success: generateKey({hash: SHA-256, name: Hmac}, false, [sign, verify, sign, verify])+Fail Success: generateKey({hash: SHA-256, name: Hmac}, true, [sign, verify, sign, verify])Pass Success: generateKey({hash: SHA-384, name: Hmac}, false, [sign])Pass Success: generateKey({hash: SHA-384, name: Hmac}, true, [sign])Pass Success: generateKey({hash: SHA-384, name: Hmac}, false, [verify, sign])Pass Success: generateKey({hash: SHA-384, name: Hmac}, true, [verify, sign])Pass Success: generateKey({hash: SHA-384, name: Hmac}, false, [verify])Pass Success: generateKey({hash: SHA-384, name: Hmac}, true, [verify])-Pass Success: generateKey({hash: SHA-384, name: Hmac}, false, [sign, verify, sign, verify])-Pass Success: generateKey({hash: SHA-384, name: Hmac}, true, [sign, verify, sign, verify])+Fail Success: generateKey({hash: SHA-384, name: Hmac}, false, [sign, verify, sign, verify])+Fail Success: generateKey({hash: SHA-384, name: Hmac}, true, [sign, verify, sign, verify])Pass Success: generateKey({hash: SHA-512, name: Hmac}, false, [sign])Pass Success: generateKey({hash: SHA-512, name: Hmac}, true, [sign])Pass Success: generateKey({hash: SHA-512, name: Hmac}, false, [verify, sign])Pass Success: generateKey({hash: SHA-512, name: Hmac}, true, [verify, sign])Pass Success: generateKey({hash: SHA-512, name: Hmac}, false, [verify])Pass Success: generateKey({hash: SHA-512, name: Hmac}, true, [verify])-Pass Success: generateKey({hash: SHA-512, name: Hmac}, false, [sign, verify, sign, verify])-Pass Success: generateKey({hash: SHA-512, name: Hmac}, true, [sign, verify, sign, verify])\ No newline at end of file+Fail Success: generateKey({hash: SHA-512, name: Hmac}, false, [sign, verify, sign, verify])+Fail Success: generateKey({hash: SHA-512, name: Hmac}, true, [sign, verify, sign, verify])\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/historical.any.worker.txt b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/historical.any.worker.txtindex fbece67fca0..6055c864758 100644--- a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/historical.any.worker.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/historical.any.worker.txt@@ -1,8 +1,3 @@-Harness status: OK+Harness status: Error-Found 3 tests--3 Fail-Fail Non-secure context window does not have access to crypto.subtle-Fail Non-secure context window does not have access to SubtleCrypto-Fail Non-secure context window does not have access to CryptoKey\ No newline at end of file+Found 0 testsdiff --git a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/import_export/ec_importKey.https.any.txt b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/import_export/ec_importKey.https.any.txtindex 23f0b6670e8..86d79f1e521 100644--- a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/import_export/ec_importKey.https.any.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/import_export/ec_importKey.https.any.txt@@ -2,7 +2,8 @@ Harness status: OKFound 264 tests-264 Pass+198 Pass+66 FailPass Good parameters: P-256 bits (spki, buffer(91), {name: ECDSA, namedCurve: P-256}, true, [verify])Pass Good parameters: P-256 bits (spki, buffer(59, compressed), {name: ECDSA, namedCurve: P-256}, true, [verify])Pass Good parameters: P-256 bits (jwk, object(kty, crv, x, y), {name: ECDSA, namedCurve: P-256}, true, [verify])@@ -13,16 +14,16 @@ Pass Good parameters: P-256 bits (spki, buffer(59, compressed), {name: ECDSA, naPass Good parameters: P-256 bits (jwk, object(kty, crv, x, y), {name: ECDSA, namedCurve: P-256}, true, [])Pass Good parameters: P-256 bits (raw, buffer(65), {name: ECDSA, namedCurve: P-256}, true, [])Pass Good parameters: P-256 bits (raw, buffer(33, compressed), {name: ECDSA, namedCurve: P-256}, true, [])-Pass Good parameters: P-256 bits (spki, buffer(91), {name: ECDSA, namedCurve: P-256}, true, [verify, verify])-Pass Good parameters: P-256 bits (spki, buffer(59, compressed), {name: ECDSA, namedCurve: P-256}, true, [verify, verify])-Pass Good parameters: P-256 bits (jwk, object(kty, crv, x, y), {name: ECDSA, namedCurve: P-256}, true, [verify, verify])-Pass Good parameters: P-256 bits (raw, buffer(65), {name: ECDSA, namedCurve: P-256}, true, [verify, verify])-Pass Good parameters: P-256 bits (raw, buffer(33, compressed), {name: ECDSA, namedCurve: P-256}, true, [verify, verify])+Fail Good parameters: P-256 bits (spki, buffer(91), {name: ECDSA, namedCurve: P-256}, true, [verify, verify])+Fail Good parameters: P-256 bits (spki, buffer(59, compressed), {name: ECDSA, namedCurve: P-256}, true, [verify, verify])+Fail Good parameters: P-256 bits (jwk, object(kty, crv, x, y), {name: ECDSA, namedCurve: P-256}, true, [verify, verify])+Fail Good parameters: P-256 bits (raw, buffer(65), {name: ECDSA, namedCurve: P-256}, true, [verify, verify])+Fail Good parameters: P-256 bits (raw, buffer(33, compressed), {name: ECDSA, namedCurve: P-256}, true, [verify, verify])Pass Good parameters: P-256 bits (pkcs8, buffer(138), {name: ECDSA, namedCurve: P-256}, true, [sign])-Pass Good parameters: P-256 bits (pkcs8, buffer(138), {name: ECDSA, namedCurve: P-256}, true, [sign, sign])+Fail Good parameters: P-256 bits (pkcs8, buffer(138), {name: ECDSA, namedCurve: P-256}, true, [sign, sign])Pass Empty Usages: P-256 bits (pkcs8, buffer(138), {name: ECDSA, namedCurve: P-256}, true, [])Pass Good parameters: P-256 bits (jwk, object(kty, crv, x, y, d), {name: ECDSA, namedCurve: P-256}, true, [sign])-Pass Good parameters: P-256 bits (jwk, object(kty, crv, x, y, d), {name: ECDSA, namedCurve: P-256}, true, [sign, sign])+Fail Good parameters: P-256 bits (jwk, object(kty, crv, x, y, d), {name: ECDSA, namedCurve: P-256}, true, [sign, sign])Pass Empty Usages: P-256 bits (jwk, object(kty, crv, x, y, d), {name: ECDSA, namedCurve: P-256}, true, [])Pass Good parameters: P-256 bits (spki, buffer(91), {name: ECDSA, namedCurve: P-256}, false, [verify])Pass Good parameters: P-256 bits (spki, buffer(59, compressed), {name: ECDSA, namedCurve: P-256}, false, [verify])@@ -34,19 +35,19 @@ Pass Good parameters: P-256 bits (spki, buffer(59, compressed), {name: ECDSA, naPass Good parameters: P-256 bits (jwk, object(kty, crv, x, y), {name: ECDSA, namedCurve: P-256}, false, [])Pass Good parameters: P-256 bits (raw, buffer(65), {name: ECDSA, namedCurve: P-256}, false, [])Pass Good parameters: P-256 bits (raw, buffer(33, compressed), {name: ECDSA, namedCurve: P-256}, false, [])-Pass Good parameters: P-256 bits (spki, buffer(91), {name: ECDSA, namedCurve: P-256}, false, [verify, verify])-Pass Good parameters: P-256 bits (spki, buffer(59, compressed), {name: ECDSA, namedCurve: P-256}, false, [verify, verify])-Pass Good parameters: P-256 bits (jwk, object(kty, crv, x, y), {name: ECDSA, namedCurve: P-256}, false, [verify, verify])-Pass Good parameters: P-256 bits (raw, buffer(65), {name: ECDSA, namedCurve: P-256}, false, [verify, verify])-Pass Good parameters: P-256 bits (raw, buffer(33, compressed), {name: ECDSA, namedCurve: P-256}, false, [verify, verify])+Fail Good parameters: P-256 bits (spki, buffer(91), {name: ECDSA, namedCurve: P-256}, false, [verify, verify])+Fail Good parameters: P-256 bits (spki, buffer(59, compressed), {name: ECDSA, namedCurve: P-256}, false, [verify, verify])+Fail Good parameters: P-256 bits (jwk, object(kty, crv, x, y), {name: ECDSA, namedCurve: P-256}, false, [verify, verify])+Fail Good parameters: P-256 bits (raw, buffer(65), {name: ECDSA, namedCurve: P-256}, false, [verify, verify])+Fail Good parameters: P-256 bits (raw, buffer(33, compressed), {name: ECDSA, namedCurve: P-256}, false, [verify, verify])Pass Good parameters: P-256 bits (pkcs8, buffer(138), {name: ECDSA, namedCurve: P-256}, false, [sign])-Pass Good parameters: P-256 bits (pkcs8, buffer(138), {name: ECDSA, namedCurve: P-256}, false, [sign, sign])+Fail Good parameters: P-256 bits (pkcs8, buffer(138), {name: ECDSA, namedCurve: P-256}, false, [sign, sign])Pass Empty Usages: P-256 bits (pkcs8, buffer(138), {name: ECDSA, namedCurve: P-256}, false, [])Pass Good parameters: P-256 bits (jwk, object(kty, crv, x, y, d), {name: ECDSA, namedCurve: P-256}, false, [sign])-Pass Good parameters: P-256 bits (jwk, object(kty, crv, x, y, d), {name: ECDSA, namedCurve: P-256}, false, [sign, sign])+Fail Good parameters: P-256 bits (jwk, object(kty, crv, x, y, d), {name: ECDSA, namedCurve: P-256}, false, [sign, sign])Pass Empty Usages: P-256 bits (jwk, object(kty, crv, x, y, d), {name: ECDSA, namedCurve: P-256}, false, [])Pass PKCS8 private-only: P-256 bits (pkcs8, buffer(67), {name: ECDSA, namedCurve: P-256}, true, [sign])-Pass PKCS8 private-only: P-256 bits (pkcs8, buffer(67), {name: ECDSA, namedCurve: P-256}, true, [sign, sign])+Fail PKCS8 private-only: P-256 bits (pkcs8, buffer(67), {name: ECDSA, namedCurve: P-256}, true, [sign, sign])Pass Good parameters: P-384 bits (spki, buffer(120), {name: ECDSA, namedCurve: P-384}, true, [verify])Pass Good parameters: P-384 bits (spki, buffer(72, compressed), {name: ECDSA, namedCurve: P-384}, true, [verify])Pass Good parameters: P-384 bits (jwk, object(kty, crv, x, y), {name: ECDSA, namedCurve: P-384}, true, [verify])@@ -57,16 +58,16 @@ Pass Good parameters: P-384 bits (spki, buffer(72, compressed), {name: ECDSA, naPass Good parameters: P-384 bits (jwk, object(kty, crv, x, y), {name: ECDSA, namedCurve: P-384}, true, [])Pass Good parameters: P-384 bits (raw, buffer(97), {name: ECDSA, namedCurve: P-384}, true, [])Pass Good parameters: P-384 bits (raw, buffer(49, compressed), {name: ECDSA, namedCurve: P-384}, true, [])-Pass Good parameters: P-384 bits (spki, buffer(120), {name: ECDSA, namedCurve: P-384}, true, [verify, verify])-Pass Good parameters: P-384 bits (spki, buffer(72, compressed), {name: ECDSA, namedCurve: P-384}, true, [verify, verify])-Pass Good parameters: P-384 bits (jwk, object(kty, crv, x, y), {name: ECDSA, namedCurve: P-384}, true, [verify, verify])-Pass Good parameters: P-384 bits (raw, buffer(97), {name: ECDSA, namedCurve: P-384}, true, [verify, verify])-Pass Good parameters: P-384 bits (raw, buffer(49, compressed), {name: ECDSA, namedCurve: P-384}, true, [verify, verify])+Fail Good parameters: P-384 bits (spki, buffer(120), {name: ECDSA, namedCurve: P-384}, true, [verify, verify])+Fail Good parameters: P-384 bits (spki, buffer(72, compressed), {name: ECDSA, namedCurve: P-384}, true, [verify, verify])+Fail Good parameters: P-384 bits (jwk, object(kty, crv, x, y), {name: ECDSA, namedCurve: P-384}, true, [verify, verify])+Fail Good parameters: P-384 bits (raw, buffer(97), {name: ECDSA, namedCurve: P-384}, true, [verify, verify])+Fail Good parameters: P-384 bits (raw, buffer(49, compressed), {name: ECDSA, namedCurve: P-384}, true, [verify, verify])Pass Good parameters: P-384 bits (pkcs8, buffer(185), {name: ECDSA, namedCurve: P-384}, true, [sign])-Pass Good parameters: P-384 bits (pkcs8, buffer(185), {name: ECDSA, namedCurve: P-384}, true, [sign, sign])+Fail Good parameters: P-384 bits (pkcs8, buffer(185), {name: ECDSA, namedCurve: P-384}, true, [sign, sign])Pass Empty Usages: P-384 bits (pkcs8, buffer(185), {name: ECDSA, namedCurve: P-384}, true, [])Pass Good parameters: P-384 bits (jwk, object(kty, crv, x, y, d), {name: ECDSA, namedCurve: P-384}, true, [sign])-Pass Good parameters: P-384 bits (jwk, object(kty, crv, x, y, d), {name: ECDSA, namedCurve: P-384}, true, [sign, sign])+Fail Good parameters: P-384 bits (jwk, object(kty, crv, x, y, d), {name: ECDSA, namedCurve: P-384}, true, [sign, sign])Pass Empty Usages: P-384 bits (jwk, object(kty, crv, x, y, d), {name: ECDSA, namedCurve: P-384}, true, [])Pass Good parameters: P-384 bits (spki, buffer(120), {name: ECDSA, namedCurve: P-384}, false, [verify])Pass Good parameters: P-384 bits (spki, buffer(72, compressed), {name: ECDSA, namedCurve: P-384}, false, [verify])@@ -78,19 +79,19 @@ Pass Good parameters: P-384 bits (spki, buffer(72, compressed), {name: ECDSA, naPass Good parameters: P-384 bits (jwk, object(kty, crv, x, y), {name: ECDSA, namedCurve: P-384}, false, [])Pass Good parameters: P-384 bits (raw, buffer(97), {name: ECDSA, namedCurve: P-384}, false, [])Pass Good parameters: P-384 bits (raw, buffer(49, compressed), {name: ECDSA, namedCurve: P-384}, false, [])-Pass Good parameters: P-384 bits (spki, buffer(120), {name: ECDSA, namedCurve: P-384}, false, [verify, verify])-Pass Good parameters: P-384 bits (spki, buffer(72, compressed), {name: ECDSA, namedCurve: P-384}, false, [verify, verify])-Pass Good parameters: P-384 bits (jwk, object(kty, crv, x, y), {name: ECDSA, namedCurve: P-384}, false, [verify, verify])-Pass Good parameters: P-384 bits (raw, buffer(97), {name: ECDSA, namedCurve: P-384}, false, [verify, verify])-Pass Good parameters: P-384 bits (raw, buffer(49, compressed), {name: ECDSA, namedCurve: P-384}, false, [verify, verify])+Fail Good parameters: P-384 bits (spki, buffer(120), {name: ECDSA, namedCurve: P-384}, false, [verify, verify])+Fail Good parameters: P-384 bits (spki, buffer(72, compressed), {name: ECDSA, namedCurve: P-384}, false, [verify, verify])+Fail Good parameters: P-384 bits (jwk, object(kty, crv, x, y), {name: ECDSA, namedCurve: P-384}, false, [verify, verify])+Fail Good parameters: P-384 bits (raw, buffer(97), {name: ECDSA, namedCurve: P-384}, false, [verify, verify])+Fail Good parameters: P-384 bits (raw, buffer(49, compressed), {name: ECDSA, namedCurve: P-384}, false, [verify, verify])Pass Good parameters: P-384 bits (pkcs8, buffer(185), {name: ECDSA, namedCurve: P-384}, false, [sign])-Pass Good parameters: P-384 bits (pkcs8, buffer(185), {name: ECDSA, namedCurve: P-384}, false, [sign, sign])+Fail Good parameters: P-384 bits (pkcs8, buffer(185), {name: ECDSA, namedCurve: P-384}, false, [sign, sign])Pass Empty Usages: P-384 bits (pkcs8, buffer(185), {name: ECDSA, namedCurve: P-384}, false, [])Pass Good parameters: P-384 bits (jwk, object(kty, crv, x, y, d), {name: ECDSA, namedCurve: P-384}, false, [sign])-Pass Good parameters: P-384 bits (jwk, object(kty, crv, x, y, d), {name: ECDSA, namedCurve: P-384}, false, [sign, sign])+Fail Good parameters: P-384 bits (jwk, object(kty, crv, x, y, d), {name: ECDSA, namedCurve: P-384}, false, [sign, sign])Pass Empty Usages: P-384 bits (jwk, object(kty, crv, x, y, d), {name: ECDSA, namedCurve: P-384}, false, [])Pass PKCS8 private-only: P-384 bits (pkcs8, buffer(80), {name: ECDSA, namedCurve: P-384}, true, [sign])-Pass PKCS8 private-only: P-384 bits (pkcs8, buffer(80), {name: ECDSA, namedCurve: P-384}, true, [sign, sign])+Fail PKCS8 private-only: P-384 bits (pkcs8, buffer(80), {name: ECDSA, namedCurve: P-384}, true, [sign, sign])Pass Good parameters: P-521 bits (spki, buffer(158), {name: ECDSA, namedCurve: P-521}, true, [verify])Pass Good parameters: P-521 bits (spki, buffer(90, compressed), {name: ECDSA, namedCurve: P-521}, true, [verify])Pass Good parameters: P-521 bits (jwk, object(kty, crv, x, y), {name: ECDSA, namedCurve: P-521}, true, [verify])@@ -101,16 +102,16 @@ Pass Good parameters: P-521 bits (spki, buffer(90, compressed), {name: ECDSA, naPass Good parameters: P-521 bits (jwk, object(kty, crv, x, y), {name: ECDSA, namedCurve: P-521}, true, [])Pass Good parameters: P-521 bits (raw, buffer(133), {name: ECDSA, namedCurve: P-521}, true, [])Pass Good parameters: P-521 bits (raw, buffer(67, compressed), {name: ECDSA, namedCurve: P-521}, true, [])-Pass Good parameters: P-521 bits (spki, buffer(158), {name: ECDSA, namedCurve: P-521}, true, [verify, verify])-Pass Good parameters: P-521 bits (spki, buffer(90, compressed), {name: ECDSA, namedCurve: P-521}, true, [verify, verify])-Pass Good parameters: P-521 bits (jwk, object(kty, crv, x, y), {name: ECDSA, namedCurve: P-521}, true, [verify, verify])-Pass Good parameters: P-521 bits (raw, buffer(133), {name: ECDSA, namedCurve: P-521}, true, [verify, verify])-Pass Good parameters: P-521 bits (raw, buffer(67, compressed), {name: ECDSA, namedCurve: P-521}, true, [verify, verify])+Fail Good parameters: P-521 bits (spki, buffer(158), {name: ECDSA, namedCurve: P-521}, true, [verify, verify])+Fail Good parameters: P-521 bits (spki, buffer(90, compressed), {name: ECDSA, namedCurve: P-521}, true, [verify, verify])+Fail Good parameters: P-521 bits (jwk, object(kty, crv, x, y), {name: ECDSA, namedCurve: P-521}, true, [verify, verify])+Fail Good parameters: P-521 bits (raw, buffer(133), {name: ECDSA, namedCurve: P-521}, true, [verify, verify])+Fail Good parameters: P-521 bits (raw, buffer(67, compressed), {name: ECDSA, namedCurve: P-521}, true, [verify, verify])Pass Good parameters: P-521 bits (pkcs8, buffer(241), {name: ECDSA, namedCurve: P-521}, true, [sign])-Pass Good parameters: P-521 bits (pkcs8, buffer(241), {name: ECDSA, namedCurve: P-521}, true, [sign, sign])+Fail Good parameters: P-521 bits (pkcs8, buffer(241), {name: ECDSA, namedCurve: P-521}, true, [sign, sign])Pass Empty Usages: P-521 bits (pkcs8, buffer(241), {name: ECDSA, namedCurve: P-521}, true, [])Pass Good parameters: P-521 bits (jwk, object(kty, crv, x, y, d), {name: ECDSA, namedCurve: P-521}, true, [sign])-Pass Good parameters: P-521 bits (jwk, object(kty, crv, x, y, d), {name: ECDSA, namedCurve: P-521}, true, [sign, sign])+Fail Good parameters: P-521 bits (jwk, object(kty, crv, x, y, d), {name: ECDSA, namedCurve: P-521}, true, [sign, sign])Pass Empty Usages: P-521 bits (jwk, object(kty, crv, x, y, d), {name: ECDSA, namedCurve: P-521}, true, [])Pass Good parameters: P-521 bits (spki, buffer(158), {name: ECDSA, namedCurve: P-521}, false, [verify])Pass Good parameters: P-521 bits (spki, buffer(90, compressed), {name: ECDSA, namedCurve: P-521}, false, [verify])@@ -122,19 +123,19 @@ Pass Good parameters: P-521 bits (spki, buffer(90, compressed), {name: ECDSA, naPass Good parameters: P-521 bits (jwk, object(kty, crv, x, y), {name: ECDSA, namedCurve: P-521}, false, [])Pass Good parameters: P-521 bits (raw, buffer(133), {name: ECDSA, namedCurve: P-521}, false, [])Pass Good parameters: P-521 bits (raw, buffer(67, compressed), {name: ECDSA, namedCurve: P-521}, false, [])-Pass Good parameters: P-521 bits (spki, buffer(158), {name: ECDSA, namedCurve: P-521}, false, [verify, verify])-Pass Good parameters: P-521 bits (spki, buffer(90, compressed), {name: ECDSA, namedCurve: P-521}, false, [verify, verify])-Pass Good parameters: P-521 bits (jwk, object(kty, crv, x, y), {name: ECDSA, namedCurve: P-521}, false, [verify, verify])-Pass Good parameters: P-521 bits (raw, buffer(133), {name: ECDSA, namedCurve: P-521}, false, [verify, verify])-Pass Good parameters: P-521 bits (raw, buffer(67, compressed), {name: ECDSA, namedCurve: P-521}, false, [verify, verify])+Fail Good parameters: P-521 bits (spki, buffer(158), {name: ECDSA, namedCurve: P-521}, false, [verify, verify])+Fail Good parameters: P-521 bits (spki, buffer(90, compressed), {name: ECDSA, namedCurve: P-521}, false, [verify, verify])+Fail Good parameters: P-521 bits (jwk, object(kty, crv, x, y), {name: ECDSA, namedCurve: P-521}, false, [verify, verify])+Fail Good parameters: P-521 bits (raw, buffer(133), {name: ECDSA, namedCurve: P-521}, false, [verify, verify])+Fail Good parameters: P-521 bits (raw, buffer(67, compressed), {name: ECDSA, namedCurve: P-521}, false, [verify, verify])Pass Good parameters: P-521 bits (pkcs8, buffer(241), {name: ECDSA, namedCurve: P-521}, false, [sign])-Pass Good parameters: P-521 bits (pkcs8, buffer(241), {name: ECDSA, namedCurve: P-521}, false, [sign, sign])+Fail Good parameters: P-521 bits (pkcs8, buffer(241), {name: ECDSA, namedCurve: P-521}, false, [sign, sign])Pass Empty Usages: P-521 bits (pkcs8, buffer(241), {name: ECDSA, namedCurve: P-521}, false, [])Pass Good parameters: P-521 bits (jwk, object(kty, crv, x, y, d), {name: ECDSA, namedCurve: P-521}, false, [sign])-Pass Good parameters: P-521 bits (jwk, object(kty, crv, x, y, d), {name: ECDSA, namedCurve: P-521}, false, [sign, sign])+Fail Good parameters: P-521 bits (jwk, object(kty, crv, x, y, d), {name: ECDSA, namedCurve: P-521}, false, [sign, sign])Pass Empty Usages: P-521 bits (jwk, object(kty, crv, x, y, d), {name: ECDSA, namedCurve: P-521}, false, [])Pass PKCS8 private-only: P-521 bits (pkcs8, buffer(98), {name: ECDSA, namedCurve: P-521}, true, [sign])-Pass PKCS8 private-only: P-521 bits (pkcs8, buffer(98), {name: ECDSA, namedCurve: P-521}, true, [sign, sign])+Fail PKCS8 private-only: P-521 bits (pkcs8, buffer(98), {name: ECDSA, namedCurve: P-521}, true, [sign, sign])Pass Good parameters: P-256 bits (spki, buffer(91), {name: ECDH, namedCurve: P-256}, true, [])Pass Good parameters: P-256 bits (spki, buffer(59, compressed), {name: ECDH, namedCurve: P-256}, true, [])Pass Good parameters: P-256 bits (jwk, object(kty, crv, x, y), {name: ECDH, namedCurve: P-256}, true, [])@@ -144,7 +145,7 @@ Pass Good parameters: P-256 bits (raw, buffer(33, compressed), {name: ECDH, namePass Good parameters: P-256 bits (pkcs8, buffer(138), {name: ECDH, namedCurve: P-256}, true, [deriveKey])Pass Good parameters: P-256 bits (pkcs8, buffer(138), {name: ECDH, namedCurve: P-256}, true, [deriveBits, deriveKey])Pass Good parameters: P-256 bits (pkcs8, buffer(138), {name: ECDH, namedCurve: P-256}, true, [deriveBits])-Pass Good parameters: P-256 bits (pkcs8, buffer(138), {name: ECDH, namedCurve: P-256}, true, [deriveKey, deriveBits, deriveKey, deriveBits])+Fail Good parameters: P-256 bits (pkcs8, buffer(138), {name: ECDH, namedCurve: P-256}, true, [deriveKey, deriveBits, deriveKey, deriveBits])Pass Empty Usages: P-256 bits (pkcs8, buffer(138), {name: ECDH, namedCurve: P-256}, true, [])Pass Good parameters: P-256 bits (jwk, object(kty, crv, x, y, d), {name: ECDH, namedCurve: P-256}, true, [deriveKey])Pass ECDH any JWK alg: P-256 bits (jwk, object(kty, crv, x, y, d, alg), {name: ECDH, namedCurve: P-256}, true, [deriveKey])@@ -152,8 +153,8 @@ Pass Good parameters: P-256 bits (jwk, object(kty, crv, x, y, d), {name: ECDH, nPass ECDH any JWK alg: P-256 bits (jwk, object(kty, crv, x, y, d, alg), {name: ECDH, namedCurve: P-256}, true, [deriveBits, deriveKey])Pass Good parameters: P-256 bits (jwk, object(kty, crv, x, y, d), {name: ECDH, namedCurve: P-256}, true, [deriveBits])Pass ECDH any JWK alg: P-256 bits (jwk, object(kty, crv, x, y, d, alg), {name: ECDH, namedCurve: P-256}, true, [deriveBits])-Pass Good parameters: P-256 bits (jwk, object(kty, crv, x, y, d), {name: ECDH, namedCurve: P-256}, true, [deriveKey, deriveBits, deriveKey, deriveBits])-Pass ECDH any JWK alg: P-256 bits (jwk, object(kty, crv, x, y, d, alg), {name: ECDH, namedCurve: P-256}, true, [deriveKey, deriveBits, deriveKey, deriveBits])+Fail Good parameters: P-256 bits (jwk, object(kty, crv, x, y, d), {name: ECDH, namedCurve: P-256}, true, [deriveKey, deriveBits, deriveKey, deriveBits])+Fail ECDH any JWK alg: P-256 bits (jwk, object(kty, crv, x, y, d, alg), {name: ECDH, namedCurve: P-256}, true, [deriveKey, deriveBits, deriveKey, deriveBits])Pass Empty Usages: P-256 bits (jwk, object(kty, crv, x, y, d), {name: ECDH, namedCurve: P-256}, true, [])Pass Good parameters: P-256 bits (spki, buffer(91), {name: ECDH, namedCurve: P-256}, false, [])Pass Good parameters: P-256 bits (spki, buffer(59, compressed), {name: ECDH, namedCurve: P-256}, false, [])@@ -164,7 +165,7 @@ Pass Good parameters: P-256 bits (raw, buffer(33, compressed), {name: ECDH, namePass Good parameters: P-256 bits (pkcs8, buffer(138), {name: ECDH, namedCurve: P-256}, false, [deriveKey])Pass Good parameters: P-256 bits (pkcs8, buffer(138), {name: ECDH, namedCurve: P-256}, false, [deriveBits, deriveKey])Pass Good parameters: P-256 bits (pkcs8, buffer(138), {name: ECDH, namedCurve: P-256}, false, [deriveBits])-Pass Good parameters: P-256 bits (pkcs8, buffer(138), {name: ECDH, namedCurve: P-256}, false, [deriveKey, deriveBits, deriveKey, deriveBits])+Fail Good parameters: P-256 bits (pkcs8, buffer(138), {name: ECDH, namedCurve: P-256}, false, [deriveKey, deriveBits, deriveKey, deriveBits])Pass Empty Usages: P-256 bits (pkcs8, buffer(138), {name: ECDH, namedCurve: P-256}, false, [])Pass Good parameters: P-256 bits (jwk, object(kty, crv, x, y, d), {name: ECDH, namedCurve: P-256}, false, [deriveKey])Pass ECDH any JWK alg: P-256 bits (jwk, object(kty, crv, x, y, d, alg), {name: ECDH, namedCurve: P-256}, false, [deriveKey])@@ -172,13 +173,13 @@ Pass Good parameters: P-256 bits (jwk, object(kty, crv, x, y, d), {name: ECDH, nPass ECDH any JWK alg: P-256 bits (jwk, object(kty, crv, x, y, d, alg), {name: ECDH, namedCurve: P-256}, false, [deriveBits, deriveKey])Pass Good parameters: P-256 bits (jwk, object(kty, crv, x, y, d), {name: ECDH, namedCurve: P-256}, false, [deriveBits])Pass ECDH any JWK alg: P-256 bits (jwk, object(kty, crv, x, y, d, alg), {name: ECDH, namedCurve: P-256}, false, [deriveBits])-Pass Good parameters: P-256 bits (jwk, object(kty, crv, x, y, d), {name: ECDH, namedCurve: P-256}, false, [deriveKey, deriveBits, deriveKey, deriveBits])-Pass ECDH any JWK alg: P-256 bits (jwk, object(kty, crv, x, y, d, alg), {name: ECDH, namedCurve: P-256}, false, [deriveKey, deriveBits, deriveKey, deriveBits])+Fail Good parameters: P-256 bits (jwk, object(kty, crv, x, y, d), {name: ECDH, namedCurve: P-256}, false, [deriveKey, deriveBits, deriveKey, deriveBits])+Fail ECDH any JWK alg: P-256 bits (jwk, object(kty, crv, x, y, d, alg), {name: ECDH, namedCurve: P-256}, false, [deriveKey, deriveBits, deriveKey, deriveBits])Pass Empty Usages: P-256 bits (jwk, object(kty, crv, x, y, d), {name: ECDH, namedCurve: P-256}, false, [])Pass PKCS8 private-only: P-256 bits (pkcs8, buffer(67), {name: ECDH, namedCurve: P-256}, true, [deriveKey])Pass PKCS8 private-only: P-256 bits (pkcs8, buffer(67), {name: ECDH, namedCurve: P-256}, true, [deriveBits, deriveKey])Pass PKCS8 private-only: P-256 bits (pkcs8, buffer(67), {name: ECDH, namedCurve: P-256}, true, [deriveBits])-Pass PKCS8 private-only: P-256 bits (pkcs8, buffer(67), {name: ECDH, namedCurve: P-256}, true, [deriveKey, deriveBits, deriveKey, deriveBits])+Fail PKCS8 private-only: P-256 bits (pkcs8, buffer(67), {name: ECDH, namedCurve: P-256}, true, [deriveKey, deriveBits, deriveKey, deriveBits])Pass Good parameters: P-384 bits (spki, buffer(120), {name: ECDH, namedCurve: P-384}, true, [])Pass Good parameters: P-384 bits (spki, buffer(72, compressed), {name: ECDH, namedCurve: P-384}, true, [])Pass Good parameters: P-384 bits (jwk, object(kty, crv, x, y), {name: ECDH, namedCurve: P-384}, true, [])@@ -188,7 +189,7 @@ Pass Good parameters: P-384 bits (raw, buffer(49, compressed), {name: ECDH, namePass Good parameters: P-384 bits (pkcs8, buffer(185), {name: ECDH, namedCurve: P-384}, true, [deriveKey])Pass Good parameters: P-384 bits (pkcs8, buffer(185), {name: ECDH, namedCurve: P-384}, true, [deriveBits, deriveKey])Pass Good parameters: P-384 bits (pkcs8, buffer(185), {name: ECDH, namedCurve: P-384}, true, [deriveBits])-Pass Good parameters: P-384 bits (pkcs8, buffer(185), {name: ECDH, namedCurve: P-384}, true, [deriveKey, deriveBits, deriveKey, deriveBits])+Fail Good parameters: P-384 bits (pkcs8, buffer(185), {name: ECDH, namedCurve: P-384}, true, [deriveKey, deriveBits, deriveKey, deriveBits])Pass Empty Usages: P-384 bits (pkcs8, buffer(185), {name: ECDH, namedCurve: P-384}, true, [])Pass Good parameters: P-384 bits (jwk, object(kty, crv, x, y, d), {name: ECDH, namedCurve: P-384}, true, [deriveKey])Pass ECDH any JWK alg: P-384 bits (jwk, object(kty, crv, x, y, d, alg), {name: ECDH, namedCurve: P-384}, true, [deriveKey])@@ -196,8 +197,8 @@ Pass Good parameters: P-384 bits (jwk, object(kty, crv, x, y, d), {name: ECDH, nPass ECDH any JWK alg: P-384 bits (jwk, object(kty, crv, x, y, d, alg), {name: ECDH, namedCurve: P-384}, true, [deriveBits, deriveKey])Pass Good parameters: P-384 bits (jwk, object(kty, crv, x, y, d), {name: ECDH, namedCurve: P-384}, true, [deriveBits])Pass ECDH any JWK alg: P-384 bits (jwk, object(kty, crv, x, y, d, alg), {name: ECDH, namedCurve: P-384}, true, [deriveBits])-Pass Good parameters: P-384 bits (jwk, object(kty, crv, x, y, d), {name: ECDH, namedCurve: P-384}, true, [deriveKey, deriveBits, deriveKey, deriveBits])-Pass ECDH any JWK alg: P-384 bits (jwk, object(kty, crv, x, y, d, alg), {name: ECDH, namedCurve: P-384}, true, [deriveKey, deriveBits, deriveKey, deriveBits])+Fail Good parameters: P-384 bits (jwk, object(kty, crv, x, y, d), {name: ECDH, namedCurve: P-384}, true, [deriveKey, deriveBits, deriveKey, deriveBits])+Fail ECDH any JWK alg: P-384 bits (jwk, object(kty, crv, x, y, d, alg), {name: ECDH, namedCurve: P-384}, true, [deriveKey, deriveBits, deriveKey, deriveBits])Pass Empty Usages: P-384 bits (jwk, object(kty, crv, x, y, d), {name: ECDH, namedCurve: P-384}, true, [])Pass Good parameters: P-384 bits (spki, buffer(120), {name: ECDH, namedCurve: P-384}, false, [])Pass Good parameters: P-384 bits (spki, buffer(72, compressed), {name: ECDH, namedCurve: P-384}, false, [])@@ -208,7 +209,7 @@ Pass Good parameters: P-384 bits (raw, buffer(49, compressed), {name: ECDH, namePass Good parameters: P-384 bits (pkcs8, buffer(185), {name: ECDH, namedCurve: P-384}, false, [deriveKey])Pass Good parameters: P-384 bits (pkcs8, buffer(185), {name: ECDH, namedCurve: P-384}, false, [deriveBits, deriveKey])Pass Good parameters: P-384 bits (pkcs8, buffer(185), {name: ECDH, namedCurve: P-384}, false, [deriveBits])-Pass Good parameters: P-384 bits (pkcs8, buffer(185), {name: ECDH, namedCurve: P-384}, false, [deriveKey, deriveBits, deriveKey, deriveBits])+Fail Good parameters: P-384 bits (pkcs8, buffer(185), {name: ECDH, namedCurve: P-384}, false, [deriveKey, deriveBits, deriveKey, deriveBits])Pass Empty Usages: P-384 bits (pkcs8, buffer(185), {name: ECDH, namedCurve: P-384}, false, [])Pass Good parameters: P-384 bits (jwk, object(kty, crv, x, y, d), {name: ECDH, namedCurve: P-384}, false, [deriveKey])Pass ECDH any JWK alg: P-384 bits (jwk, object(kty, crv, x, y, d, alg), {name: ECDH, namedCurve: P-384}, false, [deriveKey])@@ -216,13 +217,13 @@ Pass Good parameters: P-384 bits (jwk, object(kty, crv, x, y, d), {name: ECDH, nPass ECDH any JWK alg: P-384 bits (jwk, object(kty, crv, x, y, d, alg), {name: ECDH, namedCurve: P-384}, false, [deriveBits, deriveKey])Pass Good parameters: P-384 bits (jwk, object(kty, crv, x, y, d), {name: ECDH, namedCurve: P-384}, false, [deriveBits])Pass ECDH any JWK alg: P-384 bits (jwk, object(kty, crv, x, y, d, alg), {name: ECDH, namedCurve: P-384}, false, [deriveBits])-Pass Good parameters: P-384 bits (jwk, object(kty, crv, x, y, d), {name: ECDH, namedCurve: P-384}, false, [deriveKey, deriveBits, deriveKey, deriveBits])-Pass ECDH any JWK alg: P-384 bits (jwk, object(kty, crv, x, y, d, alg), {name: ECDH, namedCurve: P-384}, false, [deriveKey, deriveBits, deriveKey, deriveBits])+Fail Good parameters: P-384 bits (jwk, object(kty, crv, x, y, d), {name: ECDH, namedCurve: P-384}, false, [deriveKey, deriveBits, deriveKey, deriveBits])+Fail ECDH any JWK alg: P-384 bits (jwk, object(kty, crv, x, y, d, alg), {name: ECDH, namedCurve: P-384}, false, [deriveKey, deriveBits, deriveKey, deriveBits])Pass Empty Usages: P-384 bits (jwk, object(kty, crv, x, y, d), {name: ECDH, namedCurve: P-384}, false, [])Pass PKCS8 private-only: P-384 bits (pkcs8, buffer(80), {name: ECDH, namedCurve: P-384}, true, [deriveKey])Pass PKCS8 private-only: P-384 bits (pkcs8, buffer(80), {name: ECDH, namedCurve: P-384}, true, [deriveBits, deriveKey])Pass PKCS8 private-only: P-384 bits (pkcs8, buffer(80), {name: ECDH, namedCurve: P-384}, true, [deriveBits])-Pass PKCS8 private-only: P-384 bits (pkcs8, buffer(80), {name: ECDH, namedCurve: P-384}, true, [deriveKey, deriveBits, deriveKey, deriveBits])+Fail PKCS8 private-only: P-384 bits (pkcs8, buffer(80), {name: ECDH, namedCurve: P-384}, true, [deriveKey, deriveBits, deriveKey, deriveBits])Pass Good parameters: P-521 bits (spki, buffer(158), {name: ECDH, namedCurve: P-521}, true, [])Pass Good parameters: P-521 bits (spki, buffer(90, compressed), {name: ECDH, namedCurve: P-521}, true, [])Pass Good parameters: P-521 bits (jwk, object(kty, crv, x, y), {name: ECDH, namedCurve: P-521}, true, [])@@ -232,7 +233,7 @@ Pass Good parameters: P-521 bits (raw, buffer(67, compressed), {name: ECDH, namePass Good parameters: P-521 bits (pkcs8, buffer(241), {name: ECDH, namedCurve: P-521}, true, [deriveKey])Pass Good parameters: P-521 bits (pkcs8, buffer(241), {name: ECDH, namedCurve: P-521}, true, [deriveBits, deriveKey])Pass Good parameters: P-521 bits (pkcs8, buffer(241), {name: ECDH, namedCurve: P-521}, true, [deriveBits])-Pass Good parameters: P-521 bits (pkcs8, buffer(241), {name: ECDH, namedCurve: P-521}, true, [deriveKey, deriveBits, deriveKey, deriveBits])+Fail Good parameters: P-521 bits (pkcs8, buffer(241), {name: ECDH, namedCurve: P-521}, true, [deriveKey, deriveBits, deriveKey, deriveBits])Pass Empty Usages: P-521 bits (pkcs8, buffer(241), {name: ECDH, namedCurve: P-521}, true, [])Pass Good parameters: P-521 bits (jwk, object(kty, crv, x, y, d), {name: ECDH, namedCurve: P-521}, true, [deriveKey])Pass ECDH any JWK alg: P-521 bits (jwk, object(kty, crv, x, y, d, alg), {name: ECDH, namedCurve: P-521}, true, [deriveKey])@@ -240,8 +241,8 @@ Pass Good parameters: P-521 bits (jwk, object(kty, crv, x, y, d), {name: ECDH, nPass ECDH any JWK alg: P-521 bits (jwk, object(kty, crv, x, y, d, alg), {name: ECDH, namedCurve: P-521}, true, [deriveBits, deriveKey])Pass Good parameters: P-521 bits (jwk, object(kty, crv, x, y, d), {name: ECDH, namedCurve: P-521}, true, [deriveBits])Pass ECDH any JWK alg: P-521 bits (jwk, object(kty, crv, x, y, d, alg), {name: ECDH, namedCurve: P-521}, true, [deriveBits])-Pass Good parameters: P-521 bits (jwk, object(kty, crv, x, y, d), {name: ECDH, namedCurve: P-521}, true, [deriveKey, deriveBits, deriveKey, deriveBits])-Pass ECDH any JWK alg: P-521 bits (jwk, object(kty, crv, x, y, d, alg), {name: ECDH, namedCurve: P-521}, true, [deriveKey, deriveBits, deriveKey, deriveBits])+Fail Good parameters: P-521 bits (jwk, object(kty, crv, x, y, d), {name: ECDH, namedCurve: P-521}, true, [deriveKey, deriveBits, deriveKey, deriveBits])+Fail ECDH any JWK alg: P-521 bits (jwk, object(kty, crv, x, y, d, alg), {name: ECDH, namedCurve: P-521}, true, [deriveKey, deriveBits, deriveKey, deriveBits])Pass Empty Usages: P-521 bits (jwk, object(kty, crv, x, y, d), {name: ECDH, namedCurve: P-521}, true, [])Pass Good parameters: P-521 bits (spki, buffer(158), {name: ECDH, namedCurve: P-521}, false, [])Pass Good parameters: P-521 bits (spki, buffer(90, compressed), {name: ECDH, namedCurve: P-521}, false, [])@@ -252,7 +253,7 @@ Pass Good parameters: P-521 bits (raw, buffer(67, compressed), {name: ECDH, namePass Good parameters: P-521 bits (pkcs8, buffer(241), {name: ECDH, namedCurve: P-521}, false, [deriveKey])Pass Good parameters: P-521 bits (pkcs8, buffer(241), {name: ECDH, namedCurve: P-521}, false, [deriveBits, deriveKey])Pass Good parameters: P-521 bits (pkcs8, buffer(241), {name: ECDH, namedCurve: P-521}, false, [deriveBits])-Pass Good parameters: P-521 bits (pkcs8, buffer(241), {name: ECDH, namedCurve: P-521}, false, [deriveKey, deriveBits, deriveKey, deriveBits])+Fail Good parameters: P-521 bits (pkcs8, buffer(241), {name: ECDH, namedCurve: P-521}, false, [deriveKey, deriveBits, deriveKey, deriveBits])Pass Empty Usages: P-521 bits (pkcs8, buffer(241), {name: ECDH, namedCurve: P-521}, false, [])Pass Good parameters: P-521 bits (jwk, object(kty, crv, x, y, d), {name: ECDH, namedCurve: P-521}, false, [deriveKey])Pass ECDH any JWK alg: P-521 bits (jwk, object(kty, crv, x, y, d, alg), {name: ECDH, namedCurve: P-521}, false, [deriveKey])@@ -260,10 +261,10 @@ Pass Good parameters: P-521 bits (jwk, object(kty, crv, x, y, d), {name: ECDH, nPass ECDH any JWK alg: P-521 bits (jwk, object(kty, crv, x, y, d, alg), {name: ECDH, namedCurve: P-521}, false, [deriveBits, deriveKey])Pass Good parameters: P-521 bits (jwk, object(kty, crv, x, y, d), {name: ECDH, namedCurve: P-521}, false, [deriveBits])Pass ECDH any JWK alg: P-521 bits (jwk, object(kty, crv, x, y, d, alg), {name: ECDH, namedCurve: P-521}, false, [deriveBits])-Pass Good parameters: P-521 bits (jwk, object(kty, crv, x, y, d), {name: ECDH, namedCurve: P-521}, false, [deriveKey, deriveBits, deriveKey, deriveBits])-Pass ECDH any JWK alg: P-521 bits (jwk, object(kty, crv, x, y, d, alg), {name: ECDH, namedCurve: P-521}, false, [deriveKey, deriveBits, deriveKey, deriveBits])+Fail Good parameters: P-521 bits (jwk, object(kty, crv, x, y, d), {name: ECDH, namedCurve: P-521}, false, [deriveKey, deriveBits, deriveKey, deriveBits])+Fail ECDH any JWK alg: P-521 bits (jwk, object(kty, crv, x, y, d, alg), {name: ECDH, namedCurve: P-521}, false, [deriveKey, deriveBits, deriveKey, deriveBits])Pass Empty Usages: P-521 bits (jwk, object(kty, crv, x, y, d), {name: ECDH, namedCurve: P-521}, false, [])Pass PKCS8 private-only: P-521 bits (pkcs8, buffer(98), {name: ECDH, namedCurve: P-521}, true, [deriveKey])Pass PKCS8 private-only: P-521 bits (pkcs8, buffer(98), {name: ECDH, namedCurve: P-521}, true, [deriveBits, deriveKey])Pass PKCS8 private-only: P-521 bits (pkcs8, buffer(98), {name: ECDH, namedCurve: P-521}, true, [deriveBits])-Pass PKCS8 private-only: P-521 bits (pkcs8, buffer(98), {name: ECDH, namedCurve: P-521}, true, [deriveKey, deriveBits, deriveKey, deriveBits])\ No newline at end of file+Fail PKCS8 private-only: P-521 bits (pkcs8, buffer(98), {name: ECDH, namedCurve: P-521}, true, [deriveKey, deriveBits, deriveKey, deriveBits])\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/import_export/ec_importKey_failures_ECDH.https.any.txt b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/import_export/ec_importKey_failures_ECDH.https.any.txtindex 52f08dd4723..d2976da491d 100644--- a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/import_export/ec_importKey_failures_ECDH.https.any.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/import_export/ec_importKey_failures_ECDH.https.any.txt@@ -1,8 +1,8 @@Harness status: OK-Found 620 tests+Found 908 tests-620 Pass+908 PassPass Bad usages: importKey(spki, {name: ECDH, namedCurve: P-256}, true, [encrypt])Pass Bad usages: importKey(spki, {name: ECDH, namedCurve: P-256}, false, [encrypt])Pass Bad usages: importKey(spki, {name: ECDH, namedCurve: P-256}, true, [decrypt])@@ -19,6 +19,14 @@ Pass Bad usages: importKey(spki, {name: ECDH, namedCurve: P-256}, true, [deriveKPass Bad usages: importKey(spki, {name: ECDH, namedCurve: P-256}, false, [deriveKey])Pass Bad usages: importKey(spki, {name: ECDH, namedCurve: P-256}, true, [deriveBits])Pass Bad usages: importKey(spki, {name: ECDH, namedCurve: P-256}, false, [deriveBits])+Pass Bad usages: importKey(spki, {name: ECDH, namedCurve: P-256}, true, [encapsulateKey])+Pass Bad usages: importKey(spki, {name: ECDH, namedCurve: P-256}, false, [encapsulateKey])+Pass Bad usages: importKey(spki, {name: ECDH, namedCurve: P-256}, true, [encapsulateBits])+Pass Bad usages: importKey(spki, {name: ECDH, namedCurve: P-256}, false, [encapsulateBits])+Pass Bad usages: importKey(spki, {name: ECDH, namedCurve: P-256}, true, [decapsulateKey])+Pass Bad usages: importKey(spki, {name: ECDH, namedCurve: P-256}, false, [decapsulateKey])+Pass Bad usages: importKey(spki, {name: ECDH, namedCurve: P-256}, true, [decapsulateBits])+Pass Bad usages: importKey(spki, {name: ECDH, namedCurve: P-256}, false, [decapsulateBits])Pass Bad usages: importKey(raw, {name: ECDH, namedCurve: P-256}, true, [encrypt])Pass Bad usages: importKey(raw, {name: ECDH, namedCurve: P-256}, false, [encrypt])Pass Bad usages: importKey(raw, {name: ECDH, namedCurve: P-256}, true, [decrypt])@@ -35,6 +43,14 @@ Pass Bad usages: importKey(raw, {name: ECDH, namedCurve: P-256}, true, [deriveKePass Bad usages: importKey(raw, {name: ECDH, namedCurve: P-256}, false, [deriveKey])Pass Bad usages: importKey(raw, {name: ECDH, namedCurve: P-256}, true, [deriveBits])Pass Bad usages: importKey(raw, {name: ECDH, namedCurve: P-256}, false, [deriveBits])+Pass Bad usages: importKey(raw, {name: ECDH, namedCurve: P-256}, true, [encapsulateKey])+Pass Bad usages: importKey(raw, {name: ECDH, namedCurve: P-256}, false, [encapsulateKey])+Pass Bad usages: importKey(raw, {name: ECDH, namedCurve: P-256}, true, [encapsulateBits])+Pass Bad usages: importKey(raw, {name: ECDH, namedCurve: P-256}, false, [encapsulateBits])+Pass Bad usages: importKey(raw, {name: ECDH, namedCurve: P-256}, true, [decapsulateKey])+Pass Bad usages: importKey(raw, {name: ECDH, namedCurve: P-256}, false, [decapsulateKey])+Pass Bad usages: importKey(raw, {name: ECDH, namedCurve: P-256}, true, [decapsulateBits])+Pass Bad usages: importKey(raw, {name: ECDH, namedCurve: P-256}, false, [decapsulateBits])Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-256}, true, [encrypt])Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-256}, false, [encrypt])Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-256}, true, [deriveKey, encrypt])@@ -95,6 +111,46 @@ Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-256}, true, [derivePass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-256}, false, [deriveBits, unwrapKey])Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-256}, true, [deriveKey, deriveBits, deriveKey, deriveBits, unwrapKey])Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-256}, false, [deriveKey, deriveBits, deriveKey, deriveBits, unwrapKey])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-256}, true, [encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-256}, false, [encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-256}, true, [deriveKey, encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-256}, false, [deriveKey, encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-256}, true, [deriveBits, deriveKey, encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-256}, false, [deriveBits, deriveKey, encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-256}, true, [deriveBits, encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-256}, false, [deriveBits, encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-256}, true, [deriveKey, deriveBits, deriveKey, deriveBits, encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-256}, false, [deriveKey, deriveBits, deriveKey, deriveBits, encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-256}, true, [encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-256}, false, [encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-256}, true, [deriveKey, encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-256}, false, [deriveKey, encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-256}, true, [deriveBits, deriveKey, encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-256}, false, [deriveBits, deriveKey, encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-256}, true, [deriveBits, encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-256}, false, [deriveBits, encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-256}, true, [deriveKey, deriveBits, deriveKey, deriveBits, encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-256}, false, [deriveKey, deriveBits, deriveKey, deriveBits, encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-256}, true, [decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-256}, false, [decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-256}, true, [deriveKey, decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-256}, false, [deriveKey, decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-256}, true, [deriveBits, deriveKey, decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-256}, false, [deriveBits, deriveKey, decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-256}, true, [deriveBits, decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-256}, false, [deriveBits, decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-256}, true, [deriveKey, deriveBits, deriveKey, deriveBits, decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-256}, false, [deriveKey, deriveBits, deriveKey, deriveBits, decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-256}, true, [decapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-256}, false, [decapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-256}, true, [deriveKey, decapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-256}, false, [deriveKey, decapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-256}, true, [deriveBits, deriveKey, decapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-256}, false, [deriveBits, deriveKey, decapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-256}, true, [deriveBits, decapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-256}, false, [deriveBits, decapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-256}, true, [deriveKey, deriveBits, deriveKey, deriveBits, decapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-256}, false, [deriveKey, deriveBits, deriveKey, deriveBits, decapsulateBits])Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-256}, true, [encrypt])Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-256}, false, [encrypt])Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-256}, true, [deriveKey, encrypt])@@ -155,6 +211,46 @@ Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-256}, true,Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-256}, false, [deriveBits, unwrapKey])Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-256}, true, [deriveKey, deriveBits, deriveKey, deriveBits, unwrapKey])Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-256}, false, [deriveKey, deriveBits, deriveKey, deriveBits, unwrapKey])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-256}, true, [encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-256}, false, [encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-256}, true, [deriveKey, encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-256}, false, [deriveKey, encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-256}, true, [deriveBits, deriveKey, encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-256}, false, [deriveBits, deriveKey, encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-256}, true, [deriveBits, encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-256}, false, [deriveBits, encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-256}, true, [deriveKey, deriveBits, deriveKey, deriveBits, encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-256}, false, [deriveKey, deriveBits, deriveKey, deriveBits, encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-256}, true, [encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-256}, false, [encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-256}, true, [deriveKey, encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-256}, false, [deriveKey, encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-256}, true, [deriveBits, deriveKey, encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-256}, false, [deriveBits, deriveKey, encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-256}, true, [deriveBits, encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-256}, false, [deriveBits, encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-256}, true, [deriveKey, deriveBits, deriveKey, deriveBits, encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-256}, false, [deriveKey, deriveBits, deriveKey, deriveBits, encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-256}, true, [decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-256}, false, [decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-256}, true, [deriveKey, decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-256}, false, [deriveKey, decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-256}, true, [deriveBits, deriveKey, decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-256}, false, [deriveBits, deriveKey, decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-256}, true, [deriveBits, decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-256}, false, [deriveBits, decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-256}, true, [deriveKey, deriveBits, deriveKey, deriveBits, decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-256}, false, [deriveKey, deriveBits, deriveKey, deriveBits, decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-256}, true, [decapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-256}, false, [decapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-256}, true, [deriveKey, decapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-256}, false, [deriveKey, decapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-256}, true, [deriveBits, deriveKey, decapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-256}, false, [deriveBits, deriveKey, decapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-256}, true, [deriveBits, decapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-256}, false, [deriveBits, decapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-256}, true, [deriveKey, deriveBits, deriveKey, deriveBits, decapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-256}, false, [deriveKey, deriveBits, deriveKey, deriveBits, decapsulateBits])Pass Bad usages: importKey(spki, {name: ECDH, namedCurve: P-384}, true, [encrypt])Pass Bad usages: importKey(spki, {name: ECDH, namedCurve: P-384}, false, [encrypt])Pass Bad usages: importKey(spki, {name: ECDH, namedCurve: P-384}, true, [decrypt])@@ -171,6 +267,14 @@ Pass Bad usages: importKey(spki, {name: ECDH, namedCurve: P-384}, true, [deriveKPass Bad usages: importKey(spki, {name: ECDH, namedCurve: P-384}, false, [deriveKey])Pass Bad usages: importKey(spki, {name: ECDH, namedCurve: P-384}, true, [deriveBits])Pass Bad usages: importKey(spki, {name: ECDH, namedCurve: P-384}, false, [deriveBits])+Pass Bad usages: importKey(spki, {name: ECDH, namedCurve: P-384}, true, [encapsulateKey])+Pass Bad usages: importKey(spki, {name: ECDH, namedCurve: P-384}, false, [encapsulateKey])+Pass Bad usages: importKey(spki, {name: ECDH, namedCurve: P-384}, true, [encapsulateBits])+Pass Bad usages: importKey(spki, {name: ECDH, namedCurve: P-384}, false, [encapsulateBits])+Pass Bad usages: importKey(spki, {name: ECDH, namedCurve: P-384}, true, [decapsulateKey])+Pass Bad usages: importKey(spki, {name: ECDH, namedCurve: P-384}, false, [decapsulateKey])+Pass Bad usages: importKey(spki, {name: ECDH, namedCurve: P-384}, true, [decapsulateBits])+Pass Bad usages: importKey(spki, {name: ECDH, namedCurve: P-384}, false, [decapsulateBits])Pass Bad usages: importKey(raw, {name: ECDH, namedCurve: P-384}, true, [encrypt])Pass Bad usages: importKey(raw, {name: ECDH, namedCurve: P-384}, false, [encrypt])Pass Bad usages: importKey(raw, {name: ECDH, namedCurve: P-384}, true, [decrypt])@@ -187,6 +291,14 @@ Pass Bad usages: importKey(raw, {name: ECDH, namedCurve: P-384}, true, [deriveKePass Bad usages: importKey(raw, {name: ECDH, namedCurve: P-384}, false, [deriveKey])Pass Bad usages: importKey(raw, {name: ECDH, namedCurve: P-384}, true, [deriveBits])Pass Bad usages: importKey(raw, {name: ECDH, namedCurve: P-384}, false, [deriveBits])+Pass Bad usages: importKey(raw, {name: ECDH, namedCurve: P-384}, true, [encapsulateKey])+Pass Bad usages: importKey(raw, {name: ECDH, namedCurve: P-384}, false, [encapsulateKey])+Pass Bad usages: importKey(raw, {name: ECDH, namedCurve: P-384}, true, [encapsulateBits])+Pass Bad usages: importKey(raw, {name: ECDH, namedCurve: P-384}, false, [encapsulateBits])+Pass Bad usages: importKey(raw, {name: ECDH, namedCurve: P-384}, true, [decapsulateKey])+Pass Bad usages: importKey(raw, {name: ECDH, namedCurve: P-384}, false, [decapsulateKey])+Pass Bad usages: importKey(raw, {name: ECDH, namedCurve: P-384}, true, [decapsulateBits])+Pass Bad usages: importKey(raw, {name: ECDH, namedCurve: P-384}, false, [decapsulateBits])Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-384}, true, [encrypt])Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-384}, false, [encrypt])Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-384}, true, [deriveKey, encrypt])@@ -247,6 +359,46 @@ Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-384}, true, [derivePass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-384}, false, [deriveBits, unwrapKey])Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-384}, true, [deriveKey, deriveBits, deriveKey, deriveBits, unwrapKey])Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-384}, false, [deriveKey, deriveBits, deriveKey, deriveBits, unwrapKey])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-384}, true, [encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-384}, false, [encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-384}, true, [deriveKey, encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-384}, false, [deriveKey, encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-384}, true, [deriveBits, deriveKey, encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-384}, false, [deriveBits, deriveKey, encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-384}, true, [deriveBits, encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-384}, false, [deriveBits, encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-384}, true, [deriveKey, deriveBits, deriveKey, deriveBits, encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-384}, false, [deriveKey, deriveBits, deriveKey, deriveBits, encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-384}, true, [encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-384}, false, [encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-384}, true, [deriveKey, encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-384}, false, [deriveKey, encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-384}, true, [deriveBits, deriveKey, encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-384}, false, [deriveBits, deriveKey, encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-384}, true, [deriveBits, encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-384}, false, [deriveBits, encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-384}, true, [deriveKey, deriveBits, deriveKey, deriveBits, encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-384}, false, [deriveKey, deriveBits, deriveKey, deriveBits, encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-384}, true, [decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-384}, false, [decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-384}, true, [deriveKey, decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-384}, false, [deriveKey, decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-384}, true, [deriveBits, deriveKey, decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-384}, false, [deriveBits, deriveKey, decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-384}, true, [deriveBits, decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-384}, false, [deriveBits, decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-384}, true, [deriveKey, deriveBits, deriveKey, deriveBits, decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-384}, false, [deriveKey, deriveBits, deriveKey, deriveBits, decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-384}, true, [decapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-384}, false, [decapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-384}, true, [deriveKey, decapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-384}, false, [deriveKey, decapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-384}, true, [deriveBits, deriveKey, decapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-384}, false, [deriveBits, deriveKey, decapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-384}, true, [deriveBits, decapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-384}, false, [deriveBits, decapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-384}, true, [deriveKey, deriveBits, deriveKey, deriveBits, decapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-384}, false, [deriveKey, deriveBits, deriveKey, deriveBits, decapsulateBits])Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-384}, true, [encrypt])Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-384}, false, [encrypt])Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-384}, true, [deriveKey, encrypt])@@ -307,6 +459,46 @@ Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-384}, true,Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-384}, false, [deriveBits, unwrapKey])Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-384}, true, [deriveKey, deriveBits, deriveKey, deriveBits, unwrapKey])Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-384}, false, [deriveKey, deriveBits, deriveKey, deriveBits, unwrapKey])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-384}, true, [encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-384}, false, [encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-384}, true, [deriveKey, encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-384}, false, [deriveKey, encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-384}, true, [deriveBits, deriveKey, encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-384}, false, [deriveBits, deriveKey, encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-384}, true, [deriveBits, encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-384}, false, [deriveBits, encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-384}, true, [deriveKey, deriveBits, deriveKey, deriveBits, encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-384}, false, [deriveKey, deriveBits, deriveKey, deriveBits, encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-384}, true, [encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-384}, false, [encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-384}, true, [deriveKey, encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-384}, false, [deriveKey, encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-384}, true, [deriveBits, deriveKey, encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-384}, false, [deriveBits, deriveKey, encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-384}, true, [deriveBits, encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-384}, false, [deriveBits, encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-384}, true, [deriveKey, deriveBits, deriveKey, deriveBits, encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-384}, false, [deriveKey, deriveBits, deriveKey, deriveBits, encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-384}, true, [decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-384}, false, [decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-384}, true, [deriveKey, decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-384}, false, [deriveKey, decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-384}, true, [deriveBits, deriveKey, decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-384}, false, [deriveBits, deriveKey, decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-384}, true, [deriveBits, decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-384}, false, [deriveBits, decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-384}, true, [deriveKey, deriveBits, deriveKey, deriveBits, decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-384}, false, [deriveKey, deriveBits, deriveKey, deriveBits, decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-384}, true, [decapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-384}, false, [decapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-384}, true, [deriveKey, decapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-384}, false, [deriveKey, decapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-384}, true, [deriveBits, deriveKey, decapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-384}, false, [deriveBits, deriveKey, decapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-384}, true, [deriveBits, decapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-384}, false, [deriveBits, decapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-384}, true, [deriveKey, deriveBits, deriveKey, deriveBits, decapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-384}, false, [deriveKey, deriveBits, deriveKey, deriveBits, decapsulateBits])Pass Bad usages: importKey(spki, {name: ECDH, namedCurve: P-521}, true, [encrypt])Pass Bad usages: importKey(spki, {name: ECDH, namedCurve: P-521}, false, [encrypt])Pass Bad usages: importKey(spki, {name: ECDH, namedCurve: P-521}, true, [decrypt])@@ -323,6 +515,14 @@ Pass Bad usages: importKey(spki, {name: ECDH, namedCurve: P-521}, true, [deriveKPass Bad usages: importKey(spki, {name: ECDH, namedCurve: P-521}, false, [deriveKey])Pass Bad usages: importKey(spki, {name: ECDH, namedCurve: P-521}, true, [deriveBits])Pass Bad usages: importKey(spki, {name: ECDH, namedCurve: P-521}, false, [deriveBits])+Pass Bad usages: importKey(spki, {name: ECDH, namedCurve: P-521}, true, [encapsulateKey])+Pass Bad usages: importKey(spki, {name: ECDH, namedCurve: P-521}, false, [encapsulateKey])+Pass Bad usages: importKey(spki, {name: ECDH, namedCurve: P-521}, true, [encapsulateBits])+Pass Bad usages: importKey(spki, {name: ECDH, namedCurve: P-521}, false, [encapsulateBits])+Pass Bad usages: importKey(spki, {name: ECDH, namedCurve: P-521}, true, [decapsulateKey])+Pass Bad usages: importKey(spki, {name: ECDH, namedCurve: P-521}, false, [decapsulateKey])+Pass Bad usages: importKey(spki, {name: ECDH, namedCurve: P-521}, true, [decapsulateBits])+Pass Bad usages: importKey(spki, {name: ECDH, namedCurve: P-521}, false, [decapsulateBits])Pass Bad usages: importKey(raw, {name: ECDH, namedCurve: P-521}, true, [encrypt])Pass Bad usages: importKey(raw, {name: ECDH, namedCurve: P-521}, false, [encrypt])Pass Bad usages: importKey(raw, {name: ECDH, namedCurve: P-521}, true, [decrypt])@@ -339,6 +539,14 @@ Pass Bad usages: importKey(raw, {name: ECDH, namedCurve: P-521}, true, [deriveKePass Bad usages: importKey(raw, {name: ECDH, namedCurve: P-521}, false, [deriveKey])Pass Bad usages: importKey(raw, {name: ECDH, namedCurve: P-521}, true, [deriveBits])Pass Bad usages: importKey(raw, {name: ECDH, namedCurve: P-521}, false, [deriveBits])+Pass Bad usages: importKey(raw, {name: ECDH, namedCurve: P-521}, true, [encapsulateKey])+Pass Bad usages: importKey(raw, {name: ECDH, namedCurve: P-521}, false, [encapsulateKey])+Pass Bad usages: importKey(raw, {name: ECDH, namedCurve: P-521}, true, [encapsulateBits])+Pass Bad usages: importKey(raw, {name: ECDH, namedCurve: P-521}, false, [encapsulateBits])+Pass Bad usages: importKey(raw, {name: ECDH, namedCurve: P-521}, true, [decapsulateKey])+Pass Bad usages: importKey(raw, {name: ECDH, namedCurve: P-521}, false, [decapsulateKey])+Pass Bad usages: importKey(raw, {name: ECDH, namedCurve: P-521}, true, [decapsulateBits])+Pass Bad usages: importKey(raw, {name: ECDH, namedCurve: P-521}, false, [decapsulateBits])Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-521}, true, [encrypt])Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-521}, false, [encrypt])Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-521}, true, [deriveKey, encrypt])@@ -399,6 +607,46 @@ Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-521}, true, [derivePass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-521}, false, [deriveBits, unwrapKey])Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-521}, true, [deriveKey, deriveBits, deriveKey, deriveBits, unwrapKey])Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-521}, false, [deriveKey, deriveBits, deriveKey, deriveBits, unwrapKey])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-521}, true, [encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-521}, false, [encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-521}, true, [deriveKey, encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-521}, false, [deriveKey, encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-521}, true, [deriveBits, deriveKey, encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-521}, false, [deriveBits, deriveKey, encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-521}, true, [deriveBits, encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-521}, false, [deriveBits, encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-521}, true, [deriveKey, deriveBits, deriveKey, deriveBits, encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-521}, false, [deriveKey, deriveBits, deriveKey, deriveBits, encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-521}, true, [encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-521}, false, [encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-521}, true, [deriveKey, encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-521}, false, [deriveKey, encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-521}, true, [deriveBits, deriveKey, encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-521}, false, [deriveBits, deriveKey, encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-521}, true, [deriveBits, encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-521}, false, [deriveBits, encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-521}, true, [deriveKey, deriveBits, deriveKey, deriveBits, encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-521}, false, [deriveKey, deriveBits, deriveKey, deriveBits, encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-521}, true, [decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-521}, false, [decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-521}, true, [deriveKey, decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-521}, false, [deriveKey, decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-521}, true, [deriveBits, deriveKey, decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-521}, false, [deriveBits, deriveKey, decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-521}, true, [deriveBits, decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-521}, false, [deriveBits, decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-521}, true, [deriveKey, deriveBits, deriveKey, deriveBits, decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-521}, false, [deriveKey, deriveBits, deriveKey, deriveBits, decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-521}, true, [decapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-521}, false, [decapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-521}, true, [deriveKey, decapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-521}, false, [deriveKey, decapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-521}, true, [deriveBits, deriveKey, decapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-521}, false, [deriveBits, deriveKey, decapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-521}, true, [deriveBits, decapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-521}, false, [deriveBits, decapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-521}, true, [deriveKey, deriveBits, deriveKey, deriveBits, decapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDH, namedCurve: P-521}, false, [deriveKey, deriveBits, deriveKey, deriveBits, decapsulateBits])Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-521}, true, [encrypt])Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-521}, false, [encrypt])Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-521}, true, [deriveKey, encrypt])@@ -459,6 +707,46 @@ Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-521}, true,Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-521}, false, [deriveBits, unwrapKey])Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-521}, true, [deriveKey, deriveBits, deriveKey, deriveBits, unwrapKey])Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-521}, false, [deriveKey, deriveBits, deriveKey, deriveBits, unwrapKey])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-521}, true, [encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-521}, false, [encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-521}, true, [deriveKey, encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-521}, false, [deriveKey, encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-521}, true, [deriveBits, deriveKey, encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-521}, false, [deriveBits, deriveKey, encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-521}, true, [deriveBits, encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-521}, false, [deriveBits, encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-521}, true, [deriveKey, deriveBits, deriveKey, deriveBits, encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-521}, false, [deriveKey, deriveBits, deriveKey, deriveBits, encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-521}, true, [encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-521}, false, [encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-521}, true, [deriveKey, encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-521}, false, [deriveKey, encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-521}, true, [deriveBits, deriveKey, encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-521}, false, [deriveBits, deriveKey, encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-521}, true, [deriveBits, encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-521}, false, [deriveBits, encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-521}, true, [deriveKey, deriveBits, deriveKey, deriveBits, encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-521}, false, [deriveKey, deriveBits, deriveKey, deriveBits, encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-521}, true, [decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-521}, false, [decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-521}, true, [deriveKey, decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-521}, false, [deriveKey, decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-521}, true, [deriveBits, deriveKey, decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-521}, false, [deriveBits, deriveKey, decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-521}, true, [deriveBits, decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-521}, false, [deriveBits, decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-521}, true, [deriveKey, deriveBits, deriveKey, deriveBits, decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-521}, false, [deriveKey, deriveBits, deriveKey, deriveBits, decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-521}, true, [decapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-521}, false, [decapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-521}, true, [deriveKey, decapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-521}, false, [deriveKey, decapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-521}, true, [deriveBits, deriveKey, decapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-521}, false, [deriveBits, deriveKey, decapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-521}, true, [deriveBits, decapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-521}, false, [deriveBits, decapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-521}, true, [deriveKey, deriveBits, deriveKey, deriveBits, decapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDH, namedCurve: P-521}, false, [deriveKey, deriveBits, deriveKey, deriveBits, decapsulateBits])Pass Empty usages: importKey(pkcs8, {name: ECDH, namedCurve: P-256}, true, [])Pass Empty usages: importKey(pkcs8, {name: ECDH, namedCurve: P-256}, false, [])Pass Empty usages: importKey(jwk(private), {name: ECDH, namedCurve: P-256}, true, [])diff --git a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/import_export/ec_importKey_failures_ECDSA.https.any.txt b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/import_export/ec_importKey_failures_ECDSA.https.any.txtindex 92fbc31750b..5c53df62d40 100644--- a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/import_export/ec_importKey_failures_ECDSA.https.any.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/import_export/ec_importKey_failures_ECDSA.https.any.txt@@ -1,8 +1,8 @@Harness status: OK-Found 620 tests+Found 908 tests-620 Pass+908 PassPass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-256}, true, [encrypt])Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-256}, false, [encrypt])Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-256}, true, [verify, encrypt])@@ -45,6 +45,30 @@ Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-256}, true, [verifyPass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-256}, false, [verify, deriveBits])Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-256}, true, [verify, verify, deriveBits])Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-256}, false, [verify, verify, deriveBits])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-256}, true, [encapsulateKey])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-256}, false, [encapsulateKey])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-256}, true, [verify, encapsulateKey])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-256}, false, [verify, encapsulateKey])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-256}, true, [verify, verify, encapsulateKey])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-256}, false, [verify, verify, encapsulateKey])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-256}, true, [encapsulateBits])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-256}, false, [encapsulateBits])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-256}, true, [verify, encapsulateBits])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-256}, false, [verify, encapsulateBits])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-256}, true, [verify, verify, encapsulateBits])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-256}, false, [verify, verify, encapsulateBits])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-256}, true, [decapsulateKey])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-256}, false, [decapsulateKey])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-256}, true, [verify, decapsulateKey])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-256}, false, [verify, decapsulateKey])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-256}, true, [verify, verify, decapsulateKey])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-256}, false, [verify, verify, decapsulateKey])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-256}, true, [decapsulateBits])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-256}, false, [decapsulateBits])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-256}, true, [verify, decapsulateBits])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-256}, false, [verify, decapsulateBits])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-256}, true, [verify, verify, decapsulateBits])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-256}, false, [verify, verify, decapsulateBits])Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-256}, true, [encrypt])Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-256}, false, [encrypt])Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-256}, true, [verify, encrypt])@@ -87,6 +111,30 @@ Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-256}, true, [verify,Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-256}, false, [verify, deriveBits])Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-256}, true, [verify, verify, deriveBits])Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-256}, false, [verify, verify, deriveBits])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-256}, true, [encapsulateKey])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-256}, false, [encapsulateKey])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-256}, true, [verify, encapsulateKey])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-256}, false, [verify, encapsulateKey])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-256}, true, [verify, verify, encapsulateKey])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-256}, false, [verify, verify, encapsulateKey])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-256}, true, [encapsulateBits])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-256}, false, [encapsulateBits])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-256}, true, [verify, encapsulateBits])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-256}, false, [verify, encapsulateBits])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-256}, true, [verify, verify, encapsulateBits])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-256}, false, [verify, verify, encapsulateBits])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-256}, true, [decapsulateKey])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-256}, false, [decapsulateKey])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-256}, true, [verify, decapsulateKey])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-256}, false, [verify, decapsulateKey])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-256}, true, [verify, verify, decapsulateKey])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-256}, false, [verify, verify, decapsulateKey])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-256}, true, [decapsulateBits])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-256}, false, [decapsulateBits])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-256}, true, [verify, decapsulateBits])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-256}, false, [verify, decapsulateBits])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-256}, true, [verify, verify, decapsulateBits])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-256}, false, [verify, verify, decapsulateBits])Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-256}, true, [encrypt])Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-256}, false, [encrypt])Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-256}, true, [sign, encrypt])@@ -129,6 +177,30 @@ Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-256}, true, [sign,Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-256}, false, [sign, deriveBits])Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-256}, true, [sign, sign, deriveBits])Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-256}, false, [sign, sign, deriveBits])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-256}, true, [encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-256}, false, [encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-256}, true, [sign, encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-256}, false, [sign, encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-256}, true, [sign, sign, encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-256}, false, [sign, sign, encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-256}, true, [encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-256}, false, [encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-256}, true, [sign, encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-256}, false, [sign, encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-256}, true, [sign, sign, encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-256}, false, [sign, sign, encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-256}, true, [decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-256}, false, [decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-256}, true, [sign, decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-256}, false, [sign, decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-256}, true, [sign, sign, decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-256}, false, [sign, sign, decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-256}, true, [decapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-256}, false, [decapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-256}, true, [sign, decapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-256}, false, [sign, decapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-256}, true, [sign, sign, decapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-256}, false, [sign, sign, decapsulateBits])Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-256}, true, [encrypt])Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-256}, false, [encrypt])Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-256}, true, [sign, encrypt])@@ -171,6 +243,30 @@ Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-256}, true,Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-256}, false, [sign, deriveBits])Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-256}, true, [sign, sign, deriveBits])Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-256}, false, [sign, sign, deriveBits])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-256}, true, [encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-256}, false, [encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-256}, true, [sign, encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-256}, false, [sign, encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-256}, true, [sign, sign, encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-256}, false, [sign, sign, encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-256}, true, [encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-256}, false, [encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-256}, true, [sign, encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-256}, false, [sign, encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-256}, true, [sign, sign, encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-256}, false, [sign, sign, encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-256}, true, [decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-256}, false, [decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-256}, true, [sign, decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-256}, false, [sign, decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-256}, true, [sign, sign, decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-256}, false, [sign, sign, decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-256}, true, [decapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-256}, false, [decapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-256}, true, [sign, decapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-256}, false, [sign, decapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-256}, true, [sign, sign, decapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-256}, false, [sign, sign, decapsulateBits])Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-384}, true, [encrypt])Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-384}, false, [encrypt])Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-384}, true, [verify, encrypt])@@ -213,6 +309,30 @@ Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-384}, true, [verifyPass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-384}, false, [verify, deriveBits])Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-384}, true, [verify, verify, deriveBits])Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-384}, false, [verify, verify, deriveBits])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-384}, true, [encapsulateKey])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-384}, false, [encapsulateKey])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-384}, true, [verify, encapsulateKey])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-384}, false, [verify, encapsulateKey])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-384}, true, [verify, verify, encapsulateKey])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-384}, false, [verify, verify, encapsulateKey])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-384}, true, [encapsulateBits])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-384}, false, [encapsulateBits])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-384}, true, [verify, encapsulateBits])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-384}, false, [verify, encapsulateBits])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-384}, true, [verify, verify, encapsulateBits])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-384}, false, [verify, verify, encapsulateBits])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-384}, true, [decapsulateKey])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-384}, false, [decapsulateKey])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-384}, true, [verify, decapsulateKey])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-384}, false, [verify, decapsulateKey])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-384}, true, [verify, verify, decapsulateKey])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-384}, false, [verify, verify, decapsulateKey])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-384}, true, [decapsulateBits])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-384}, false, [decapsulateBits])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-384}, true, [verify, decapsulateBits])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-384}, false, [verify, decapsulateBits])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-384}, true, [verify, verify, decapsulateBits])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-384}, false, [verify, verify, decapsulateBits])Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-384}, true, [encrypt])Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-384}, false, [encrypt])Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-384}, true, [verify, encrypt])@@ -255,6 +375,30 @@ Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-384}, true, [verify,Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-384}, false, [verify, deriveBits])Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-384}, true, [verify, verify, deriveBits])Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-384}, false, [verify, verify, deriveBits])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-384}, true, [encapsulateKey])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-384}, false, [encapsulateKey])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-384}, true, [verify, encapsulateKey])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-384}, false, [verify, encapsulateKey])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-384}, true, [verify, verify, encapsulateKey])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-384}, false, [verify, verify, encapsulateKey])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-384}, true, [encapsulateBits])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-384}, false, [encapsulateBits])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-384}, true, [verify, encapsulateBits])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-384}, false, [verify, encapsulateBits])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-384}, true, [verify, verify, encapsulateBits])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-384}, false, [verify, verify, encapsulateBits])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-384}, true, [decapsulateKey])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-384}, false, [decapsulateKey])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-384}, true, [verify, decapsulateKey])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-384}, false, [verify, decapsulateKey])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-384}, true, [verify, verify, decapsulateKey])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-384}, false, [verify, verify, decapsulateKey])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-384}, true, [decapsulateBits])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-384}, false, [decapsulateBits])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-384}, true, [verify, decapsulateBits])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-384}, false, [verify, decapsulateBits])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-384}, true, [verify, verify, decapsulateBits])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-384}, false, [verify, verify, decapsulateBits])Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-384}, true, [encrypt])Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-384}, false, [encrypt])Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-384}, true, [sign, encrypt])@@ -297,6 +441,30 @@ Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-384}, true, [sign,Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-384}, false, [sign, deriveBits])Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-384}, true, [sign, sign, deriveBits])Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-384}, false, [sign, sign, deriveBits])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-384}, true, [encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-384}, false, [encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-384}, true, [sign, encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-384}, false, [sign, encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-384}, true, [sign, sign, encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-384}, false, [sign, sign, encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-384}, true, [encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-384}, false, [encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-384}, true, [sign, encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-384}, false, [sign, encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-384}, true, [sign, sign, encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-384}, false, [sign, sign, encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-384}, true, [decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-384}, false, [decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-384}, true, [sign, decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-384}, false, [sign, decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-384}, true, [sign, sign, decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-384}, false, [sign, sign, decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-384}, true, [decapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-384}, false, [decapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-384}, true, [sign, decapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-384}, false, [sign, decapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-384}, true, [sign, sign, decapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-384}, false, [sign, sign, decapsulateBits])Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-384}, true, [encrypt])Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-384}, false, [encrypt])Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-384}, true, [sign, encrypt])@@ -339,6 +507,30 @@ Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-384}, true,Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-384}, false, [sign, deriveBits])Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-384}, true, [sign, sign, deriveBits])Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-384}, false, [sign, sign, deriveBits])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-384}, true, [encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-384}, false, [encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-384}, true, [sign, encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-384}, false, [sign, encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-384}, true, [sign, sign, encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-384}, false, [sign, sign, encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-384}, true, [encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-384}, false, [encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-384}, true, [sign, encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-384}, false, [sign, encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-384}, true, [sign, sign, encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-384}, false, [sign, sign, encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-384}, true, [decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-384}, false, [decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-384}, true, [sign, decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-384}, false, [sign, decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-384}, true, [sign, sign, decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-384}, false, [sign, sign, decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-384}, true, [decapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-384}, false, [decapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-384}, true, [sign, decapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-384}, false, [sign, decapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-384}, true, [sign, sign, decapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-384}, false, [sign, sign, decapsulateBits])Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-521}, true, [encrypt])Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-521}, false, [encrypt])Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-521}, true, [verify, encrypt])@@ -381,6 +573,30 @@ Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-521}, true, [verifyPass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-521}, false, [verify, deriveBits])Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-521}, true, [verify, verify, deriveBits])Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-521}, false, [verify, verify, deriveBits])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-521}, true, [encapsulateKey])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-521}, false, [encapsulateKey])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-521}, true, [verify, encapsulateKey])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-521}, false, [verify, encapsulateKey])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-521}, true, [verify, verify, encapsulateKey])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-521}, false, [verify, verify, encapsulateKey])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-521}, true, [encapsulateBits])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-521}, false, [encapsulateBits])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-521}, true, [verify, encapsulateBits])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-521}, false, [verify, encapsulateBits])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-521}, true, [verify, verify, encapsulateBits])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-521}, false, [verify, verify, encapsulateBits])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-521}, true, [decapsulateKey])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-521}, false, [decapsulateKey])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-521}, true, [verify, decapsulateKey])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-521}, false, [verify, decapsulateKey])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-521}, true, [verify, verify, decapsulateKey])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-521}, false, [verify, verify, decapsulateKey])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-521}, true, [decapsulateBits])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-521}, false, [decapsulateBits])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-521}, true, [verify, decapsulateBits])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-521}, false, [verify, decapsulateBits])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-521}, true, [verify, verify, decapsulateBits])+Pass Bad usages: importKey(spki, {name: ECDSA, namedCurve: P-521}, false, [verify, verify, decapsulateBits])Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-521}, true, [encrypt])Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-521}, false, [encrypt])Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-521}, true, [verify, encrypt])@@ -423,6 +639,30 @@ Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-521}, true, [verify,Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-521}, false, [verify, deriveBits])Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-521}, true, [verify, verify, deriveBits])Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-521}, false, [verify, verify, deriveBits])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-521}, true, [encapsulateKey])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-521}, false, [encapsulateKey])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-521}, true, [verify, encapsulateKey])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-521}, false, [verify, encapsulateKey])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-521}, true, [verify, verify, encapsulateKey])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-521}, false, [verify, verify, encapsulateKey])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-521}, true, [encapsulateBits])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-521}, false, [encapsulateBits])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-521}, true, [verify, encapsulateBits])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-521}, false, [verify, encapsulateBits])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-521}, true, [verify, verify, encapsulateBits])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-521}, false, [verify, verify, encapsulateBits])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-521}, true, [decapsulateKey])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-521}, false, [decapsulateKey])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-521}, true, [verify, decapsulateKey])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-521}, false, [verify, decapsulateKey])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-521}, true, [verify, verify, decapsulateKey])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-521}, false, [verify, verify, decapsulateKey])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-521}, true, [decapsulateBits])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-521}, false, [decapsulateBits])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-521}, true, [verify, decapsulateBits])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-521}, false, [verify, decapsulateBits])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-521}, true, [verify, verify, decapsulateBits])+Pass Bad usages: importKey(raw, {name: ECDSA, namedCurve: P-521}, false, [verify, verify, decapsulateBits])Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-521}, true, [encrypt])Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-521}, false, [encrypt])Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-521}, true, [sign, encrypt])@@ -465,6 +705,30 @@ Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-521}, true, [sign,Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-521}, false, [sign, deriveBits])Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-521}, true, [sign, sign, deriveBits])Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-521}, false, [sign, sign, deriveBits])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-521}, true, [encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-521}, false, [encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-521}, true, [sign, encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-521}, false, [sign, encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-521}, true, [sign, sign, encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-521}, false, [sign, sign, encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-521}, true, [encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-521}, false, [encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-521}, true, [sign, encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-521}, false, [sign, encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-521}, true, [sign, sign, encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-521}, false, [sign, sign, encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-521}, true, [decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-521}, false, [decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-521}, true, [sign, decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-521}, false, [sign, decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-521}, true, [sign, sign, decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-521}, false, [sign, sign, decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-521}, true, [decapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-521}, false, [decapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-521}, true, [sign, decapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-521}, false, [sign, decapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-521}, true, [sign, sign, decapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-521}, false, [sign, sign, decapsulateBits])Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-521}, true, [encrypt])Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-521}, false, [encrypt])Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-521}, true, [sign, encrypt])@@ -507,6 +771,30 @@ Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-521}, true,Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-521}, false, [sign, deriveBits])Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-521}, true, [sign, sign, deriveBits])Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-521}, false, [sign, sign, deriveBits])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-521}, true, [encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-521}, false, [encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-521}, true, [sign, encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-521}, false, [sign, encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-521}, true, [sign, sign, encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-521}, false, [sign, sign, encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-521}, true, [encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-521}, false, [encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-521}, true, [sign, encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-521}, false, [sign, encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-521}, true, [sign, sign, encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-521}, false, [sign, sign, encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-521}, true, [decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-521}, false, [decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-521}, true, [sign, decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-521}, false, [sign, decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-521}, true, [sign, sign, decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-521}, false, [sign, sign, decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-521}, true, [decapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-521}, false, [decapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-521}, true, [sign, decapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-521}, false, [sign, decapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-521}, true, [sign, sign, decapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-521}, false, [sign, sign, decapsulateBits])Pass Empty usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-256}, true, [])Pass Empty usages: importKey(pkcs8, {name: ECDSA, namedCurve: P-256}, false, [])Pass Empty usages: importKey(jwk(private), {name: ECDSA, namedCurve: P-256}, true, [])diff --git a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/import_export/okp_importKey_Ed25519.https.any.txt b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/import_export/okp_importKey_Ed25519.https.any.txtindex 54b52bfe29a..d62ca5c5faf 100644--- a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/import_export/okp_importKey_Ed25519.https.any.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/import_export/okp_importKey_Ed25519.https.any.txt@@ -2,7 +2,8 @@ Harness status: OKFound 72 tests-72 Pass+52 Pass+20 FailPass Good parameters: Ed25519 bits (spki, buffer(44), {name: Ed25519}, true, [verify])Pass Good parameters: Ed25519 bits (spki, buffer(44), Ed25519, true, [verify])Pass Good parameters: Ed25519 bits (jwk, object(kty, crv, x), {name: Ed25519}, true, [verify])@@ -23,16 +24,16 @@ Pass Good parameters with JWK alg Ed25519: Ed25519 (jwk, object(kty, crv, x), EdPass Good parameters with JWK alg EdDSA: Ed25519 (jwk, object(kty, crv, x), Ed25519, true, [])Pass Good parameters: Ed25519 bits (raw, buffer(32), {name: Ed25519}, true, [])Pass Good parameters: Ed25519 bits (raw, buffer(32), Ed25519, true, [])-Pass Good parameters: Ed25519 bits (spki, buffer(44), {name: Ed25519}, true, [verify, verify])-Pass Good parameters: Ed25519 bits (spki, buffer(44), Ed25519, true, [verify, verify])-Pass Good parameters: Ed25519 bits (jwk, object(kty, crv, x), {name: Ed25519}, true, [verify, verify])-Pass Good parameters: Ed25519 bits (jwk, object(kty, crv, x), Ed25519, true, [verify, verify])+Fail Good parameters: Ed25519 bits (spki, buffer(44), {name: Ed25519}, true, [verify, verify])+Fail Good parameters: Ed25519 bits (spki, buffer(44), Ed25519, true, [verify, verify])+Fail Good parameters: Ed25519 bits (jwk, object(kty, crv, x), {name: Ed25519}, true, [verify, verify])+Fail Good parameters: Ed25519 bits (jwk, object(kty, crv, x), Ed25519, true, [verify, verify])Pass Good parameters with JWK alg Ed25519: Ed25519 (jwk, object(kty, crv, x), {name: Ed25519}, true, [verify, verify])Pass Good parameters with JWK alg EdDSA: Ed25519 (jwk, object(kty, crv, x), {name: Ed25519}, true, [verify, verify])Pass Good parameters with JWK alg Ed25519: Ed25519 (jwk, object(kty, crv, x), Ed25519, true, [verify, verify])Pass Good parameters with JWK alg EdDSA: Ed25519 (jwk, object(kty, crv, x), Ed25519, true, [verify, verify])-Pass Good parameters: Ed25519 bits (raw, buffer(32), {name: Ed25519}, true, [verify, verify])-Pass Good parameters: Ed25519 bits (raw, buffer(32), Ed25519, true, [verify, verify])+Fail Good parameters: Ed25519 bits (raw, buffer(32), {name: Ed25519}, true, [verify, verify])+Fail Good parameters: Ed25519 bits (raw, buffer(32), Ed25519, true, [verify, verify])Pass Good parameters: Ed25519 bits (pkcs8, buffer(48), {name: Ed25519}, true, [sign])Pass Good parameters: Ed25519 bits (pkcs8, buffer(48), Ed25519, true, [sign])Pass Good parameters: Ed25519 bits (jwk, object(crv, d, x, kty), {name: Ed25519}, true, [sign])@@ -41,10 +42,10 @@ Pass Good parameters with JWK alg Ed25519: Ed25519 (jwk, object(crv, d, x, kty),Pass Good parameters with JWK alg EdDSA: Ed25519 (jwk, object(crv, d, x, kty), {name: Ed25519}, true, [sign])Pass Good parameters with JWK alg Ed25519: Ed25519 (jwk, object(crv, d, x, kty), Ed25519, true, [sign])Pass Good parameters with JWK alg EdDSA: Ed25519 (jwk, object(crv, d, x, kty), Ed25519, true, [sign])-Pass Good parameters: Ed25519 bits (pkcs8, buffer(48), {name: Ed25519}, true, [sign, sign])-Pass Good parameters: Ed25519 bits (pkcs8, buffer(48), Ed25519, true, [sign, sign])-Pass Good parameters: Ed25519 bits (jwk, object(crv, d, x, kty), {name: Ed25519}, true, [sign, sign])-Pass Good parameters: Ed25519 bits (jwk, object(crv, d, x, kty), Ed25519, true, [sign, sign])+Fail Good parameters: Ed25519 bits (pkcs8, buffer(48), {name: Ed25519}, true, [sign, sign])+Fail Good parameters: Ed25519 bits (pkcs8, buffer(48), Ed25519, true, [sign, sign])+Fail Good parameters: Ed25519 bits (jwk, object(crv, d, x, kty), {name: Ed25519}, true, [sign, sign])+Fail Good parameters: Ed25519 bits (jwk, object(crv, d, x, kty), Ed25519, true, [sign, sign])Pass Good parameters with JWK alg Ed25519: Ed25519 (jwk, object(crv, d, x, kty), {name: Ed25519}, true, [sign, sign])Pass Good parameters with JWK alg EdDSA: Ed25519 (jwk, object(crv, d, x, kty), {name: Ed25519}, true, [sign, sign])Pass Good parameters with JWK alg Ed25519: Ed25519 (jwk, object(crv, d, x, kty), Ed25519, true, [sign, sign])@@ -61,17 +62,17 @@ Pass Good parameters: Ed25519 bits (jwk, object(kty, crv, x), {name: Ed25519}, fPass Good parameters: Ed25519 bits (jwk, object(kty, crv, x), Ed25519, false, [])Pass Good parameters: Ed25519 bits (raw, buffer(32), {name: Ed25519}, false, [])Pass Good parameters: Ed25519 bits (raw, buffer(32), Ed25519, false, [])-Pass Good parameters: Ed25519 bits (spki, buffer(44), {name: Ed25519}, false, [verify, verify])-Pass Good parameters: Ed25519 bits (spki, buffer(44), Ed25519, false, [verify, verify])-Pass Good parameters: Ed25519 bits (jwk, object(kty, crv, x), {name: Ed25519}, false, [verify, verify])-Pass Good parameters: Ed25519 bits (jwk, object(kty, crv, x), Ed25519, false, [verify, verify])-Pass Good parameters: Ed25519 bits (raw, buffer(32), {name: Ed25519}, false, [verify, verify])-Pass Good parameters: Ed25519 bits (raw, buffer(32), Ed25519, false, [verify, verify])+Fail Good parameters: Ed25519 bits (spki, buffer(44), {name: Ed25519}, false, [verify, verify])+Fail Good parameters: Ed25519 bits (spki, buffer(44), Ed25519, false, [verify, verify])+Fail Good parameters: Ed25519 bits (jwk, object(kty, crv, x), {name: Ed25519}, false, [verify, verify])+Fail Good parameters: Ed25519 bits (jwk, object(kty, crv, x), Ed25519, false, [verify, verify])+Fail Good parameters: Ed25519 bits (raw, buffer(32), {name: Ed25519}, false, [verify, verify])+Fail Good parameters: Ed25519 bits (raw, buffer(32), Ed25519, false, [verify, verify])Pass Good parameters: Ed25519 bits (pkcs8, buffer(48), {name: Ed25519}, false, [sign])Pass Good parameters: Ed25519 bits (pkcs8, buffer(48), Ed25519, false, [sign])Pass Good parameters: Ed25519 bits (jwk, object(crv, d, x, kty), {name: Ed25519}, false, [sign])Pass Good parameters: Ed25519 bits (jwk, object(crv, d, x, kty), Ed25519, false, [sign])-Pass Good parameters: Ed25519 bits (pkcs8, buffer(48), {name: Ed25519}, false, [sign, sign])-Pass Good parameters: Ed25519 bits (pkcs8, buffer(48), Ed25519, false, [sign, sign])-Pass Good parameters: Ed25519 bits (jwk, object(crv, d, x, kty), {name: Ed25519}, false, [sign, sign])-Pass Good parameters: Ed25519 bits (jwk, object(crv, d, x, kty), Ed25519, false, [sign, sign])\ No newline at end of file+Fail Good parameters: Ed25519 bits (pkcs8, buffer(48), {name: Ed25519}, false, [sign, sign])+Fail Good parameters: Ed25519 bits (pkcs8, buffer(48), Ed25519, false, [sign, sign])+Fail Good parameters: Ed25519 bits (jwk, object(crv, d, x, kty), {name: Ed25519}, false, [sign, sign])+Fail Good parameters: Ed25519 bits (jwk, object(crv, d, x, kty), Ed25519, false, [sign, sign])\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/import_export/okp_importKey_X25519.https.any.txt b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/import_export/okp_importKey_X25519.https.any.txtindex aefb84c595d..92cdcbb0e6b 100644--- a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/import_export/okp_importKey_X25519.https.any.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/import_export/okp_importKey_X25519.https.any.txt@@ -2,7 +2,8 @@ Harness status: OKFound 54 tests-54 Pass+46 Pass+8 FailPass Good parameters: X25519 bits (spki, buffer(44), {name: X25519}, true, [])Pass Good parameters: X25519 bits (spki, buffer(44), X25519, true, [])Pass Good parameters: X25519 bits (jwk, object(kty, crv, x), {name: X25519}, true, [])@@ -29,10 +30,10 @@ Pass Good parameters: X25519 bits (jwk, object(crv, d, x, kty), {name: X25519},Pass Good parameters: X25519 bits (jwk, object(crv, d, x, kty), X25519, true, [deriveBits])Pass Good parameters with JWK alg: X25519 (jwk, object(crv, d, x, kty), {name: X25519}, true, [deriveBits])Pass Good parameters with JWK alg: X25519 (jwk, object(crv, d, x, kty), X25519, true, [deriveBits])-Pass Good parameters: X25519 bits (pkcs8, buffer(48), {name: X25519}, true, [deriveKey, deriveBits, deriveKey, deriveBits])-Pass Good parameters: X25519 bits (pkcs8, buffer(48), X25519, true, [deriveKey, deriveBits, deriveKey, deriveBits])-Pass Good parameters: X25519 bits (jwk, object(crv, d, x, kty), {name: X25519}, true, [deriveKey, deriveBits, deriveKey, deriveBits])-Pass Good parameters: X25519 bits (jwk, object(crv, d, x, kty), X25519, true, [deriveKey, deriveBits, deriveKey, deriveBits])+Fail Good parameters: X25519 bits (pkcs8, buffer(48), {name: X25519}, true, [deriveKey, deriveBits, deriveKey, deriveBits])+Fail Good parameters: X25519 bits (pkcs8, buffer(48), X25519, true, [deriveKey, deriveBits, deriveKey, deriveBits])+Fail Good parameters: X25519 bits (jwk, object(crv, d, x, kty), {name: X25519}, true, [deriveKey, deriveBits, deriveKey, deriveBits])+Fail Good parameters: X25519 bits (jwk, object(crv, d, x, kty), X25519, true, [deriveKey, deriveBits, deriveKey, deriveBits])Pass Good parameters with JWK alg: X25519 (jwk, object(crv, d, x, kty), {name: X25519}, true, [deriveKey, deriveBits, deriveKey, deriveBits])Pass Good parameters with JWK alg: X25519 (jwk, object(crv, d, x, kty), X25519, true, [deriveKey, deriveBits, deriveKey, deriveBits])Pass Good parameters: X25519 bits (spki, buffer(44), {name: X25519}, false, [])@@ -53,7 +54,7 @@ Pass Good parameters: X25519 bits (pkcs8, buffer(48), {name: X25519}, false, [dePass Good parameters: X25519 bits (pkcs8, buffer(48), X25519, false, [deriveBits])Pass Good parameters: X25519 bits (jwk, object(crv, d, x, kty), {name: X25519}, false, [deriveBits])Pass Good parameters: X25519 bits (jwk, object(crv, d, x, kty), X25519, false, [deriveBits])-Pass Good parameters: X25519 bits (pkcs8, buffer(48), {name: X25519}, false, [deriveKey, deriveBits, deriveKey, deriveBits])-Pass Good parameters: X25519 bits (pkcs8, buffer(48), X25519, false, [deriveKey, deriveBits, deriveKey, deriveBits])-Pass Good parameters: X25519 bits (jwk, object(crv, d, x, kty), {name: X25519}, false, [deriveKey, deriveBits, deriveKey, deriveBits])-Pass Good parameters: X25519 bits (jwk, object(crv, d, x, kty), X25519, false, [deriveKey, deriveBits, deriveKey, deriveBits])\ No newline at end of file+Fail Good parameters: X25519 bits (pkcs8, buffer(48), {name: X25519}, false, [deriveKey, deriveBits, deriveKey, deriveBits])+Fail Good parameters: X25519 bits (pkcs8, buffer(48), X25519, false, [deriveKey, deriveBits, deriveKey, deriveBits])+Fail Good parameters: X25519 bits (jwk, object(crv, d, x, kty), {name: X25519}, false, [deriveKey, deriveBits, deriveKey, deriveBits])+Fail Good parameters: X25519 bits (jwk, object(crv, d, x, kty), X25519, false, [deriveKey, deriveBits, deriveKey, deriveBits])\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/import_export/okp_importKey_failures_Ed25519.https.any.txt b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/import_export/okp_importKey_failures_Ed25519.https.any.txtindex 517987a91dd..ba94198c8d4 100644--- a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/import_export/okp_importKey_failures_Ed25519.https.any.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/import_export/okp_importKey_failures_Ed25519.https.any.txt@@ -1,8 +1,8 @@Harness status: OK-Found 530 tests+Found 770 tests-530 Pass+770 PassPass Bad usages: importKey(spki, Ed25519, true, [encrypt])Pass Bad usages: importKey(spki, Ed25519, false, [encrypt])Pass Bad usages: importKey(spki, Ed25519, true, [verify, encrypt])@@ -45,6 +45,30 @@ Pass Bad usages: importKey(spki, Ed25519, true, [verify, deriveBits])Pass Bad usages: importKey(spki, Ed25519, false, [verify, deriveBits])Pass Bad usages: importKey(spki, Ed25519, true, [verify, verify, deriveBits])Pass Bad usages: importKey(spki, Ed25519, false, [verify, verify, deriveBits])+Pass Bad usages: importKey(spki, Ed25519, true, [encapsulateKey])+Pass Bad usages: importKey(spki, Ed25519, false, [encapsulateKey])+Pass Bad usages: importKey(spki, Ed25519, true, [verify, encapsulateKey])+Pass Bad usages: importKey(spki, Ed25519, false, [verify, encapsulateKey])+Pass Bad usages: importKey(spki, Ed25519, true, [verify, verify, encapsulateKey])+Pass Bad usages: importKey(spki, Ed25519, false, [verify, verify, encapsulateKey])+Pass Bad usages: importKey(spki, Ed25519, true, [encapsulateBits])+Pass Bad usages: importKey(spki, Ed25519, false, [encapsulateBits])+Pass Bad usages: importKey(spki, Ed25519, true, [verify, encapsulateBits])+Pass Bad usages: importKey(spki, Ed25519, false, [verify, encapsulateBits])+Pass Bad usages: importKey(spki, Ed25519, true, [verify, verify, encapsulateBits])+Pass Bad usages: importKey(spki, Ed25519, false, [verify, verify, encapsulateBits])+Pass Bad usages: importKey(spki, Ed25519, true, [decapsulateKey])+Pass Bad usages: importKey(spki, Ed25519, false, [decapsulateKey])+Pass Bad usages: importKey(spki, Ed25519, true, [verify, decapsulateKey])+Pass Bad usages: importKey(spki, Ed25519, false, [verify, decapsulateKey])+Pass Bad usages: importKey(spki, Ed25519, true, [verify, verify, decapsulateKey])+Pass Bad usages: importKey(spki, Ed25519, false, [verify, verify, decapsulateKey])+Pass Bad usages: importKey(spki, Ed25519, true, [decapsulateBits])+Pass Bad usages: importKey(spki, Ed25519, false, [decapsulateBits])+Pass Bad usages: importKey(spki, Ed25519, true, [verify, decapsulateBits])+Pass Bad usages: importKey(spki, Ed25519, false, [verify, decapsulateBits])+Pass Bad usages: importKey(spki, Ed25519, true, [verify, verify, decapsulateBits])+Pass Bad usages: importKey(spki, Ed25519, false, [verify, verify, decapsulateBits])Pass Bad usages: importKey(pkcs8, Ed25519, true, [encrypt])Pass Bad usages: importKey(pkcs8, Ed25519, false, [encrypt])Pass Bad usages: importKey(pkcs8, Ed25519, true, [sign, encrypt])@@ -87,6 +111,30 @@ Pass Bad usages: importKey(pkcs8, Ed25519, true, [sign, deriveBits])Pass Bad usages: importKey(pkcs8, Ed25519, false, [sign, deriveBits])Pass Bad usages: importKey(pkcs8, Ed25519, true, [sign, sign, deriveBits])Pass Bad usages: importKey(pkcs8, Ed25519, false, [sign, sign, deriveBits])+Pass Bad usages: importKey(pkcs8, Ed25519, true, [encapsulateKey])+Pass Bad usages: importKey(pkcs8, Ed25519, false, [encapsulateKey])+Pass Bad usages: importKey(pkcs8, Ed25519, true, [sign, encapsulateKey])+Pass Bad usages: importKey(pkcs8, Ed25519, false, [sign, encapsulateKey])+Pass Bad usages: importKey(pkcs8, Ed25519, true, [sign, sign, encapsulateKey])+Pass Bad usages: importKey(pkcs8, Ed25519, false, [sign, sign, encapsulateKey])+Pass Bad usages: importKey(pkcs8, Ed25519, true, [encapsulateBits])+Pass Bad usages: importKey(pkcs8, Ed25519, false, [encapsulateBits])+Pass Bad usages: importKey(pkcs8, Ed25519, true, [sign, encapsulateBits])+Pass Bad usages: importKey(pkcs8, Ed25519, false, [sign, encapsulateBits])+Pass Bad usages: importKey(pkcs8, Ed25519, true, [sign, sign, encapsulateBits])+Pass Bad usages: importKey(pkcs8, Ed25519, false, [sign, sign, encapsulateBits])+Pass Bad usages: importKey(pkcs8, Ed25519, true, [decapsulateKey])+Pass Bad usages: importKey(pkcs8, Ed25519, false, [decapsulateKey])+Pass Bad usages: importKey(pkcs8, Ed25519, true, [sign, decapsulateKey])+Pass Bad usages: importKey(pkcs8, Ed25519, false, [sign, decapsulateKey])+Pass Bad usages: importKey(pkcs8, Ed25519, true, [sign, sign, decapsulateKey])+Pass Bad usages: importKey(pkcs8, Ed25519, false, [sign, sign, decapsulateKey])+Pass Bad usages: importKey(pkcs8, Ed25519, true, [decapsulateBits])+Pass Bad usages: importKey(pkcs8, Ed25519, false, [decapsulateBits])+Pass Bad usages: importKey(pkcs8, Ed25519, true, [sign, decapsulateBits])+Pass Bad usages: importKey(pkcs8, Ed25519, false, [sign, decapsulateBits])+Pass Bad usages: importKey(pkcs8, Ed25519, true, [sign, sign, decapsulateBits])+Pass Bad usages: importKey(pkcs8, Ed25519, false, [sign, sign, decapsulateBits])Pass Bad usages: importKey(raw, Ed25519, true, [encrypt])Pass Bad usages: importKey(raw, Ed25519, false, [encrypt])Pass Bad usages: importKey(raw, Ed25519, true, [verify, encrypt])@@ -129,6 +177,30 @@ Pass Bad usages: importKey(raw, Ed25519, true, [verify, deriveBits])Pass Bad usages: importKey(raw, Ed25519, false, [verify, deriveBits])Pass Bad usages: importKey(raw, Ed25519, true, [verify, verify, deriveBits])Pass Bad usages: importKey(raw, Ed25519, false, [verify, verify, deriveBits])+Pass Bad usages: importKey(raw, Ed25519, true, [encapsulateKey])+Pass Bad usages: importKey(raw, Ed25519, false, [encapsulateKey])+Pass Bad usages: importKey(raw, Ed25519, true, [verify, encapsulateKey])+Pass Bad usages: importKey(raw, Ed25519, false, [verify, encapsulateKey])+Pass Bad usages: importKey(raw, Ed25519, true, [verify, verify, encapsulateKey])+Pass Bad usages: importKey(raw, Ed25519, false, [verify, verify, encapsulateKey])+Pass Bad usages: importKey(raw, Ed25519, true, [encapsulateBits])+Pass Bad usages: importKey(raw, Ed25519, false, [encapsulateBits])+Pass Bad usages: importKey(raw, Ed25519, true, [verify, encapsulateBits])+Pass Bad usages: importKey(raw, Ed25519, false, [verify, encapsulateBits])+Pass Bad usages: importKey(raw, Ed25519, true, [verify, verify, encapsulateBits])+Pass Bad usages: importKey(raw, Ed25519, false, [verify, verify, encapsulateBits])+Pass Bad usages: importKey(raw, Ed25519, true, [decapsulateKey])+Pass Bad usages: importKey(raw, Ed25519, false, [decapsulateKey])+Pass Bad usages: importKey(raw, Ed25519, true, [verify, decapsulateKey])+Pass Bad usages: importKey(raw, Ed25519, false, [verify, decapsulateKey])+Pass Bad usages: importKey(raw, Ed25519, true, [verify, verify, decapsulateKey])+Pass Bad usages: importKey(raw, Ed25519, false, [verify, verify, decapsulateKey])+Pass Bad usages: importKey(raw, Ed25519, true, [decapsulateBits])+Pass Bad usages: importKey(raw, Ed25519, false, [decapsulateBits])+Pass Bad usages: importKey(raw, Ed25519, true, [verify, decapsulateBits])+Pass Bad usages: importKey(raw, Ed25519, false, [verify, decapsulateBits])+Pass Bad usages: importKey(raw, Ed25519, true, [verify, verify, decapsulateBits])+Pass Bad usages: importKey(raw, Ed25519, false, [verify, verify, decapsulateBits])Pass Bad usages: importKey(jwk(private), Ed25519, true, [encrypt])Pass Bad usages: importKey(jwk(private), Ed25519, false, [encrypt])Pass Bad usages: importKey(jwk(private), Ed25519, true, [sign, encrypt])@@ -171,6 +243,30 @@ Pass Bad usages: importKey(jwk(private), Ed25519, true, [sign, deriveBits])Pass Bad usages: importKey(jwk(private), Ed25519, false, [sign, deriveBits])Pass Bad usages: importKey(jwk(private), Ed25519, true, [sign, sign, deriveBits])Pass Bad usages: importKey(jwk(private), Ed25519, false, [sign, sign, deriveBits])+Pass Bad usages: importKey(jwk(private), Ed25519, true, [encapsulateKey])+Pass Bad usages: importKey(jwk(private), Ed25519, false, [encapsulateKey])+Pass Bad usages: importKey(jwk(private), Ed25519, true, [sign, encapsulateKey])+Pass Bad usages: importKey(jwk(private), Ed25519, false, [sign, encapsulateKey])+Pass Bad usages: importKey(jwk(private), Ed25519, true, [sign, sign, encapsulateKey])+Pass Bad usages: importKey(jwk(private), Ed25519, false, [sign, sign, encapsulateKey])+Pass Bad usages: importKey(jwk(private), Ed25519, true, [encapsulateBits])+Pass Bad usages: importKey(jwk(private), Ed25519, false, [encapsulateBits])+Pass Bad usages: importKey(jwk(private), Ed25519, true, [sign, encapsulateBits])+Pass Bad usages: importKey(jwk(private), Ed25519, false, [sign, encapsulateBits])+Pass Bad usages: importKey(jwk(private), Ed25519, true, [sign, sign, encapsulateBits])+Pass Bad usages: importKey(jwk(private), Ed25519, false, [sign, sign, encapsulateBits])+Pass Bad usages: importKey(jwk(private), Ed25519, true, [decapsulateKey])+Pass Bad usages: importKey(jwk(private), Ed25519, false, [decapsulateKey])+Pass Bad usages: importKey(jwk(private), Ed25519, true, [sign, decapsulateKey])+Pass Bad usages: importKey(jwk(private), Ed25519, false, [sign, decapsulateKey])+Pass Bad usages: importKey(jwk(private), Ed25519, true, [sign, sign, decapsulateKey])+Pass Bad usages: importKey(jwk(private), Ed25519, false, [sign, sign, decapsulateKey])+Pass Bad usages: importKey(jwk(private), Ed25519, true, [decapsulateBits])+Pass Bad usages: importKey(jwk(private), Ed25519, false, [decapsulateBits])+Pass Bad usages: importKey(jwk(private), Ed25519, true, [sign, decapsulateBits])+Pass Bad usages: importKey(jwk(private), Ed25519, false, [sign, decapsulateBits])+Pass Bad usages: importKey(jwk(private), Ed25519, true, [sign, sign, decapsulateBits])+Pass Bad usages: importKey(jwk(private), Ed25519, false, [sign, sign, decapsulateBits])Pass Bad usages: importKey(jwk (public) , Ed25519, true, [encrypt])Pass Bad usages: importKey(jwk (public) , Ed25519, false, [encrypt])Pass Bad usages: importKey(jwk (public) , Ed25519, true, [verify, encrypt])@@ -213,6 +309,30 @@ Pass Bad usages: importKey(jwk (public) , Ed25519, true, [verify, deriveBits])Pass Bad usages: importKey(jwk (public) , Ed25519, false, [verify, deriveBits])Pass Bad usages: importKey(jwk (public) , Ed25519, true, [verify, verify, deriveBits])Pass Bad usages: importKey(jwk (public) , Ed25519, false, [verify, verify, deriveBits])+Pass Bad usages: importKey(jwk (public) , Ed25519, true, [encapsulateKey])+Pass Bad usages: importKey(jwk (public) , Ed25519, false, [encapsulateKey])+Pass Bad usages: importKey(jwk (public) , Ed25519, true, [verify, encapsulateKey])+Pass Bad usages: importKey(jwk (public) , Ed25519, false, [verify, encapsulateKey])+Pass Bad usages: importKey(jwk (public) , Ed25519, true, [verify, verify, encapsulateKey])+Pass Bad usages: importKey(jwk (public) , Ed25519, false, [verify, verify, encapsulateKey])+Pass Bad usages: importKey(jwk (public) , Ed25519, true, [encapsulateBits])+Pass Bad usages: importKey(jwk (public) , Ed25519, false, [encapsulateBits])+Pass Bad usages: importKey(jwk (public) , Ed25519, true, [verify, encapsulateBits])+Pass Bad usages: importKey(jwk (public) , Ed25519, false, [verify, encapsulateBits])+Pass Bad usages: importKey(jwk (public) , Ed25519, true, [verify, verify, encapsulateBits])+Pass Bad usages: importKey(jwk (public) , Ed25519, false, [verify, verify, encapsulateBits])+Pass Bad usages: importKey(jwk (public) , Ed25519, true, [decapsulateKey])+Pass Bad usages: importKey(jwk (public) , Ed25519, false, [decapsulateKey])+Pass Bad usages: importKey(jwk (public) , Ed25519, true, [verify, decapsulateKey])+Pass Bad usages: importKey(jwk (public) , Ed25519, false, [verify, decapsulateKey])+Pass Bad usages: importKey(jwk (public) , Ed25519, true, [verify, verify, decapsulateKey])+Pass Bad usages: importKey(jwk (public) , Ed25519, false, [verify, verify, decapsulateKey])+Pass Bad usages: importKey(jwk (public) , Ed25519, true, [decapsulateBits])+Pass Bad usages: importKey(jwk (public) , Ed25519, false, [decapsulateBits])+Pass Bad usages: importKey(jwk (public) , Ed25519, true, [verify, decapsulateBits])+Pass Bad usages: importKey(jwk (public) , Ed25519, false, [verify, decapsulateBits])+Pass Bad usages: importKey(jwk (public) , Ed25519, true, [verify, verify, decapsulateBits])+Pass Bad usages: importKey(jwk (public) , Ed25519, false, [verify, verify, decapsulateBits])Pass Bad usages: importKey(spki, {name: Ed25519}, true, [encrypt])Pass Bad usages: importKey(spki, {name: Ed25519}, false, [encrypt])Pass Bad usages: importKey(spki, {name: Ed25519}, true, [verify, encrypt])@@ -255,6 +375,30 @@ Pass Bad usages: importKey(spki, {name: Ed25519}, true, [verify, deriveBits])Pass Bad usages: importKey(spki, {name: Ed25519}, false, [verify, deriveBits])Pass Bad usages: importKey(spki, {name: Ed25519}, true, [verify, verify, deriveBits])Pass Bad usages: importKey(spki, {name: Ed25519}, false, [verify, verify, deriveBits])+Pass Bad usages: importKey(spki, {name: Ed25519}, true, [encapsulateKey])+Pass Bad usages: importKey(spki, {name: Ed25519}, false, [encapsulateKey])+Pass Bad usages: importKey(spki, {name: Ed25519}, true, [verify, encapsulateKey])+Pass Bad usages: importKey(spki, {name: Ed25519}, false, [verify, encapsulateKey])+Pass Bad usages: importKey(spki, {name: Ed25519}, true, [verify, verify, encapsulateKey])+Pass Bad usages: importKey(spki, {name: Ed25519}, false, [verify, verify, encapsulateKey])+Pass Bad usages: importKey(spki, {name: Ed25519}, true, [encapsulateBits])+Pass Bad usages: importKey(spki, {name: Ed25519}, false, [encapsulateBits])+Pass Bad usages: importKey(spki, {name: Ed25519}, true, [verify, encapsulateBits])+Pass Bad usages: importKey(spki, {name: Ed25519}, false, [verify, encapsulateBits])+Pass Bad usages: importKey(spki, {name: Ed25519}, true, [verify, verify, encapsulateBits])+Pass Bad usages: importKey(spki, {name: Ed25519}, false, [verify, verify, encapsulateBits])+Pass Bad usages: importKey(spki, {name: Ed25519}, true, [decapsulateKey])+Pass Bad usages: importKey(spki, {name: Ed25519}, false, [decapsulateKey])+Pass Bad usages: importKey(spki, {name: Ed25519}, true, [verify, decapsulateKey])+Pass Bad usages: importKey(spki, {name: Ed25519}, false, [verify, decapsulateKey])+Pass Bad usages: importKey(spki, {name: Ed25519}, true, [verify, verify, decapsulateKey])+Pass Bad usages: importKey(spki, {name: Ed25519}, false, [verify, verify, decapsulateKey])+Pass Bad usages: importKey(spki, {name: Ed25519}, true, [decapsulateBits])+Pass Bad usages: importKey(spki, {name: Ed25519}, false, [decapsulateBits])+Pass Bad usages: importKey(spki, {name: Ed25519}, true, [verify, decapsulateBits])+Pass Bad usages: importKey(spki, {name: Ed25519}, false, [verify, decapsulateBits])+Pass Bad usages: importKey(spki, {name: Ed25519}, true, [verify, verify, decapsulateBits])+Pass Bad usages: importKey(spki, {name: Ed25519}, false, [verify, verify, decapsulateBits])Pass Bad usages: importKey(pkcs8, {name: Ed25519}, true, [encrypt])Pass Bad usages: importKey(pkcs8, {name: Ed25519}, false, [encrypt])Pass Bad usages: importKey(pkcs8, {name: Ed25519}, true, [sign, encrypt])@@ -297,6 +441,30 @@ Pass Bad usages: importKey(pkcs8, {name: Ed25519}, true, [sign, deriveBits])Pass Bad usages: importKey(pkcs8, {name: Ed25519}, false, [sign, deriveBits])Pass Bad usages: importKey(pkcs8, {name: Ed25519}, true, [sign, sign, deriveBits])Pass Bad usages: importKey(pkcs8, {name: Ed25519}, false, [sign, sign, deriveBits])+Pass Bad usages: importKey(pkcs8, {name: Ed25519}, true, [encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: Ed25519}, false, [encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: Ed25519}, true, [sign, encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: Ed25519}, false, [sign, encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: Ed25519}, true, [sign, sign, encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: Ed25519}, false, [sign, sign, encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: Ed25519}, true, [encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: Ed25519}, false, [encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: Ed25519}, true, [sign, encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: Ed25519}, false, [sign, encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: Ed25519}, true, [sign, sign, encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: Ed25519}, false, [sign, sign, encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: Ed25519}, true, [decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: Ed25519}, false, [decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: Ed25519}, true, [sign, decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: Ed25519}, false, [sign, decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: Ed25519}, true, [sign, sign, decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: Ed25519}, false, [sign, sign, decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: Ed25519}, true, [decapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: Ed25519}, false, [decapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: Ed25519}, true, [sign, decapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: Ed25519}, false, [sign, decapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: Ed25519}, true, [sign, sign, decapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: Ed25519}, false, [sign, sign, decapsulateBits])Pass Bad usages: importKey(raw, {name: Ed25519}, true, [encrypt])Pass Bad usages: importKey(raw, {name: Ed25519}, false, [encrypt])Pass Bad usages: importKey(raw, {name: Ed25519}, true, [verify, encrypt])@@ -339,6 +507,30 @@ Pass Bad usages: importKey(raw, {name: Ed25519}, true, [verify, deriveBits])Pass Bad usages: importKey(raw, {name: Ed25519}, false, [verify, deriveBits])Pass Bad usages: importKey(raw, {name: Ed25519}, true, [verify, verify, deriveBits])Pass Bad usages: importKey(raw, {name: Ed25519}, false, [verify, verify, deriveBits])+Pass Bad usages: importKey(raw, {name: Ed25519}, true, [encapsulateKey])+Pass Bad usages: importKey(raw, {name: Ed25519}, false, [encapsulateKey])+Pass Bad usages: importKey(raw, {name: Ed25519}, true, [verify, encapsulateKey])+Pass Bad usages: importKey(raw, {name: Ed25519}, false, [verify, encapsulateKey])+Pass Bad usages: importKey(raw, {name: Ed25519}, true, [verify, verify, encapsulateKey])+Pass Bad usages: importKey(raw, {name: Ed25519}, false, [verify, verify, encapsulateKey])+Pass Bad usages: importKey(raw, {name: Ed25519}, true, [encapsulateBits])+Pass Bad usages: importKey(raw, {name: Ed25519}, false, [encapsulateBits])+Pass Bad usages: importKey(raw, {name: Ed25519}, true, [verify, encapsulateBits])+Pass Bad usages: importKey(raw, {name: Ed25519}, false, [verify, encapsulateBits])+Pass Bad usages: importKey(raw, {name: Ed25519}, true, [verify, verify, encapsulateBits])+Pass Bad usages: importKey(raw, {name: Ed25519}, false, [verify, verify, encapsulateBits])+Pass Bad usages: importKey(raw, {name: Ed25519}, true, [decapsulateKey])+Pass Bad usages: importKey(raw, {name: Ed25519}, false, [decapsulateKey])+Pass Bad usages: importKey(raw, {name: Ed25519}, true, [verify, decapsulateKey])+Pass Bad usages: importKey(raw, {name: Ed25519}, false, [verify, decapsulateKey])+Pass Bad usages: importKey(raw, {name: Ed25519}, true, [verify, verify, decapsulateKey])+Pass Bad usages: importKey(raw, {name: Ed25519}, false, [verify, verify, decapsulateKey])+Pass Bad usages: importKey(raw, {name: Ed25519}, true, [decapsulateBits])+Pass Bad usages: importKey(raw, {name: Ed25519}, false, [decapsulateBits])+Pass Bad usages: importKey(raw, {name: Ed25519}, true, [verify, decapsulateBits])+Pass Bad usages: importKey(raw, {name: Ed25519}, false, [verify, decapsulateBits])+Pass Bad usages: importKey(raw, {name: Ed25519}, true, [verify, verify, decapsulateBits])+Pass Bad usages: importKey(raw, {name: Ed25519}, false, [verify, verify, decapsulateBits])Pass Bad usages: importKey(jwk(private), {name: Ed25519}, true, [encrypt])Pass Bad usages: importKey(jwk(private), {name: Ed25519}, false, [encrypt])Pass Bad usages: importKey(jwk(private), {name: Ed25519}, true, [sign, encrypt])@@ -381,6 +573,30 @@ Pass Bad usages: importKey(jwk(private), {name: Ed25519}, true, [sign, deriveBitPass Bad usages: importKey(jwk(private), {name: Ed25519}, false, [sign, deriveBits])Pass Bad usages: importKey(jwk(private), {name: Ed25519}, true, [sign, sign, deriveBits])Pass Bad usages: importKey(jwk(private), {name: Ed25519}, false, [sign, sign, deriveBits])+Pass Bad usages: importKey(jwk(private), {name: Ed25519}, true, [encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: Ed25519}, false, [encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: Ed25519}, true, [sign, encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: Ed25519}, false, [sign, encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: Ed25519}, true, [sign, sign, encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: Ed25519}, false, [sign, sign, encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: Ed25519}, true, [encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: Ed25519}, false, [encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: Ed25519}, true, [sign, encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: Ed25519}, false, [sign, encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: Ed25519}, true, [sign, sign, encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: Ed25519}, false, [sign, sign, encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: Ed25519}, true, [decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: Ed25519}, false, [decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: Ed25519}, true, [sign, decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: Ed25519}, false, [sign, decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: Ed25519}, true, [sign, sign, decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: Ed25519}, false, [sign, sign, decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: Ed25519}, true, [decapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: Ed25519}, false, [decapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: Ed25519}, true, [sign, decapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: Ed25519}, false, [sign, decapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: Ed25519}, true, [sign, sign, decapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: Ed25519}, false, [sign, sign, decapsulateBits])Pass Bad usages: importKey(jwk (public) , {name: Ed25519}, true, [encrypt])Pass Bad usages: importKey(jwk (public) , {name: Ed25519}, false, [encrypt])Pass Bad usages: importKey(jwk (public) , {name: Ed25519}, true, [verify, encrypt])@@ -423,6 +639,30 @@ Pass Bad usages: importKey(jwk (public) , {name: Ed25519}, true, [verify, derivePass Bad usages: importKey(jwk (public) , {name: Ed25519}, false, [verify, deriveBits])Pass Bad usages: importKey(jwk (public) , {name: Ed25519}, true, [verify, verify, deriveBits])Pass Bad usages: importKey(jwk (public) , {name: Ed25519}, false, [verify, verify, deriveBits])+Pass Bad usages: importKey(jwk (public) , {name: Ed25519}, true, [encapsulateKey])+Pass Bad usages: importKey(jwk (public) , {name: Ed25519}, false, [encapsulateKey])+Pass Bad usages: importKey(jwk (public) , {name: Ed25519}, true, [verify, encapsulateKey])+Pass Bad usages: importKey(jwk (public) , {name: Ed25519}, false, [verify, encapsulateKey])+Pass Bad usages: importKey(jwk (public) , {name: Ed25519}, true, [verify, verify, encapsulateKey])+Pass Bad usages: importKey(jwk (public) , {name: Ed25519}, false, [verify, verify, encapsulateKey])+Pass Bad usages: importKey(jwk (public) , {name: Ed25519}, true, [encapsulateBits])+Pass Bad usages: importKey(jwk (public) , {name: Ed25519}, false, [encapsulateBits])+Pass Bad usages: importKey(jwk (public) , {name: Ed25519}, true, [verify, encapsulateBits])+Pass Bad usages: importKey(jwk (public) , {name: Ed25519}, false, [verify, encapsulateBits])+Pass Bad usages: importKey(jwk (public) , {name: Ed25519}, true, [verify, verify, encapsulateBits])+Pass Bad usages: importKey(jwk (public) , {name: Ed25519}, false, [verify, verify, encapsulateBits])+Pass Bad usages: importKey(jwk (public) , {name: Ed25519}, true, [decapsulateKey])+Pass Bad usages: importKey(jwk (public) , {name: Ed25519}, false, [decapsulateKey])+Pass Bad usages: importKey(jwk (public) , {name: Ed25519}, true, [verify, decapsulateKey])+Pass Bad usages: importKey(jwk (public) , {name: Ed25519}, false, [verify, decapsulateKey])+Pass Bad usages: importKey(jwk (public) , {name: Ed25519}, true, [verify, verify, decapsulateKey])+Pass Bad usages: importKey(jwk (public) , {name: Ed25519}, false, [verify, verify, decapsulateKey])+Pass Bad usages: importKey(jwk (public) , {name: Ed25519}, true, [decapsulateBits])+Pass Bad usages: importKey(jwk (public) , {name: Ed25519}, false, [decapsulateBits])+Pass Bad usages: importKey(jwk (public) , {name: Ed25519}, true, [verify, decapsulateBits])+Pass Bad usages: importKey(jwk (public) , {name: Ed25519}, false, [verify, decapsulateBits])+Pass Bad usages: importKey(jwk (public) , {name: Ed25519}, true, [verify, verify, decapsulateBits])+Pass Bad usages: importKey(jwk (public) , {name: Ed25519}, false, [verify, verify, decapsulateBits])Pass Empty usages: importKey(pkcs8, Ed25519, true, [])Pass Empty usages: importKey(pkcs8, Ed25519, false, [])Pass Empty usages: importKey(jwk(private), Ed25519, true, [])diff --git a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/import_export/okp_importKey_failures_X25519.https.any.txt b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/import_export/okp_importKey_failures_X25519.https.any.txtindex 1b752ea38f5..5256ca80174 100644--- a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/import_export/okp_importKey_failures_X25519.https.any.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/import_export/okp_importKey_failures_X25519.https.any.txt@@ -1,8 +1,8 @@Harness status: OK-Found 454 tests+Found 662 tests-454 Pass+662 PassPass Bad usages: importKey(spki, X25519, true, [encrypt])Pass Bad usages: importKey(spki, X25519, false, [encrypt])Pass Bad usages: importKey(spki, X25519, true, [decrypt])@@ -19,6 +19,14 @@ Pass Bad usages: importKey(spki, X25519, true, [deriveKey])Pass Bad usages: importKey(spki, X25519, false, [deriveKey])Pass Bad usages: importKey(spki, X25519, true, [deriveBits])Pass Bad usages: importKey(spki, X25519, false, [deriveBits])+Pass Bad usages: importKey(spki, X25519, true, [encapsulateKey])+Pass Bad usages: importKey(spki, X25519, false, [encapsulateKey])+Pass Bad usages: importKey(spki, X25519, true, [encapsulateBits])+Pass Bad usages: importKey(spki, X25519, false, [encapsulateBits])+Pass Bad usages: importKey(spki, X25519, true, [decapsulateKey])+Pass Bad usages: importKey(spki, X25519, false, [decapsulateKey])+Pass Bad usages: importKey(spki, X25519, true, [decapsulateBits])+Pass Bad usages: importKey(spki, X25519, false, [decapsulateBits])Pass Bad usages: importKey(pkcs8, X25519, true, [encrypt])Pass Bad usages: importKey(pkcs8, X25519, false, [encrypt])Pass Bad usages: importKey(pkcs8, X25519, true, [deriveKey, encrypt])@@ -79,6 +87,46 @@ Pass Bad usages: importKey(pkcs8, X25519, true, [deriveBits, unwrapKey])Pass Bad usages: importKey(pkcs8, X25519, false, [deriveBits, unwrapKey])Pass Bad usages: importKey(pkcs8, X25519, true, [deriveKey, deriveBits, deriveKey, deriveBits, unwrapKey])Pass Bad usages: importKey(pkcs8, X25519, false, [deriveKey, deriveBits, deriveKey, deriveBits, unwrapKey])+Pass Bad usages: importKey(pkcs8, X25519, true, [encapsulateKey])+Pass Bad usages: importKey(pkcs8, X25519, false, [encapsulateKey])+Pass Bad usages: importKey(pkcs8, X25519, true, [deriveKey, encapsulateKey])+Pass Bad usages: importKey(pkcs8, X25519, false, [deriveKey, encapsulateKey])+Pass Bad usages: importKey(pkcs8, X25519, true, [deriveBits, deriveKey, encapsulateKey])+Pass Bad usages: importKey(pkcs8, X25519, false, [deriveBits, deriveKey, encapsulateKey])+Pass Bad usages: importKey(pkcs8, X25519, true, [deriveBits, encapsulateKey])+Pass Bad usages: importKey(pkcs8, X25519, false, [deriveBits, encapsulateKey])+Pass Bad usages: importKey(pkcs8, X25519, true, [deriveKey, deriveBits, deriveKey, deriveBits, encapsulateKey])+Pass Bad usages: importKey(pkcs8, X25519, false, [deriveKey, deriveBits, deriveKey, deriveBits, encapsulateKey])+Pass Bad usages: importKey(pkcs8, X25519, true, [encapsulateBits])+Pass Bad usages: importKey(pkcs8, X25519, false, [encapsulateBits])+Pass Bad usages: importKey(pkcs8, X25519, true, [deriveKey, encapsulateBits])+Pass Bad usages: importKey(pkcs8, X25519, false, [deriveKey, encapsulateBits])+Pass Bad usages: importKey(pkcs8, X25519, true, [deriveBits, deriveKey, encapsulateBits])+Pass Bad usages: importKey(pkcs8, X25519, false, [deriveBits, deriveKey, encapsulateBits])+Pass Bad usages: importKey(pkcs8, X25519, true, [deriveBits, encapsulateBits])+Pass Bad usages: importKey(pkcs8, X25519, false, [deriveBits, encapsulateBits])+Pass Bad usages: importKey(pkcs8, X25519, true, [deriveKey, deriveBits, deriveKey, deriveBits, encapsulateBits])+Pass Bad usages: importKey(pkcs8, X25519, false, [deriveKey, deriveBits, deriveKey, deriveBits, encapsulateBits])+Pass Bad usages: importKey(pkcs8, X25519, true, [decapsulateKey])+Pass Bad usages: importKey(pkcs8, X25519, false, [decapsulateKey])+Pass Bad usages: importKey(pkcs8, X25519, true, [deriveKey, decapsulateKey])+Pass Bad usages: importKey(pkcs8, X25519, false, [deriveKey, decapsulateKey])+Pass Bad usages: importKey(pkcs8, X25519, true, [deriveBits, deriveKey, decapsulateKey])+Pass Bad usages: importKey(pkcs8, X25519, false, [deriveBits, deriveKey, decapsulateKey])+Pass Bad usages: importKey(pkcs8, X25519, true, [deriveBits, decapsulateKey])+Pass Bad usages: importKey(pkcs8, X25519, false, [deriveBits, decapsulateKey])+Pass Bad usages: importKey(pkcs8, X25519, true, [deriveKey, deriveBits, deriveKey, deriveBits, decapsulateKey])+Pass Bad usages: importKey(pkcs8, X25519, false, [deriveKey, deriveBits, deriveKey, deriveBits, decapsulateKey])+Pass Bad usages: importKey(pkcs8, X25519, true, [decapsulateBits])+Pass Bad usages: importKey(pkcs8, X25519, false, [decapsulateBits])+Pass Bad usages: importKey(pkcs8, X25519, true, [deriveKey, decapsulateBits])+Pass Bad usages: importKey(pkcs8, X25519, false, [deriveKey, decapsulateBits])+Pass Bad usages: importKey(pkcs8, X25519, true, [deriveBits, deriveKey, decapsulateBits])+Pass Bad usages: importKey(pkcs8, X25519, false, [deriveBits, deriveKey, decapsulateBits])+Pass Bad usages: importKey(pkcs8, X25519, true, [deriveBits, decapsulateBits])+Pass Bad usages: importKey(pkcs8, X25519, false, [deriveBits, decapsulateBits])+Pass Bad usages: importKey(pkcs8, X25519, true, [deriveKey, deriveBits, deriveKey, deriveBits, decapsulateBits])+Pass Bad usages: importKey(pkcs8, X25519, false, [deriveKey, deriveBits, deriveKey, deriveBits, decapsulateBits])Pass Bad usages: importKey(raw, X25519, true, [encrypt])Pass Bad usages: importKey(raw, X25519, false, [encrypt])Pass Bad usages: importKey(raw, X25519, true, [decrypt])@@ -95,6 +143,14 @@ Pass Bad usages: importKey(raw, X25519, true, [deriveKey])Pass Bad usages: importKey(raw, X25519, false, [deriveKey])Pass Bad usages: importKey(raw, X25519, true, [deriveBits])Pass Bad usages: importKey(raw, X25519, false, [deriveBits])+Pass Bad usages: importKey(raw, X25519, true, [encapsulateKey])+Pass Bad usages: importKey(raw, X25519, false, [encapsulateKey])+Pass Bad usages: importKey(raw, X25519, true, [encapsulateBits])+Pass Bad usages: importKey(raw, X25519, false, [encapsulateBits])+Pass Bad usages: importKey(raw, X25519, true, [decapsulateKey])+Pass Bad usages: importKey(raw, X25519, false, [decapsulateKey])+Pass Bad usages: importKey(raw, X25519, true, [decapsulateBits])+Pass Bad usages: importKey(raw, X25519, false, [decapsulateBits])Pass Bad usages: importKey(jwk(private), X25519, true, [encrypt])Pass Bad usages: importKey(jwk(private), X25519, false, [encrypt])Pass Bad usages: importKey(jwk(private), X25519, true, [deriveKey, encrypt])@@ -155,6 +211,46 @@ Pass Bad usages: importKey(jwk(private), X25519, true, [deriveBits, unwrapKey])Pass Bad usages: importKey(jwk(private), X25519, false, [deriveBits, unwrapKey])Pass Bad usages: importKey(jwk(private), X25519, true, [deriveKey, deriveBits, deriveKey, deriveBits, unwrapKey])Pass Bad usages: importKey(jwk(private), X25519, false, [deriveKey, deriveBits, deriveKey, deriveBits, unwrapKey])+Pass Bad usages: importKey(jwk(private), X25519, true, [encapsulateKey])+Pass Bad usages: importKey(jwk(private), X25519, false, [encapsulateKey])+Pass Bad usages: importKey(jwk(private), X25519, true, [deriveKey, encapsulateKey])+Pass Bad usages: importKey(jwk(private), X25519, false, [deriveKey, encapsulateKey])+Pass Bad usages: importKey(jwk(private), X25519, true, [deriveBits, deriveKey, encapsulateKey])+Pass Bad usages: importKey(jwk(private), X25519, false, [deriveBits, deriveKey, encapsulateKey])+Pass Bad usages: importKey(jwk(private), X25519, true, [deriveBits, encapsulateKey])+Pass Bad usages: importKey(jwk(private), X25519, false, [deriveBits, encapsulateKey])+Pass Bad usages: importKey(jwk(private), X25519, true, [deriveKey, deriveBits, deriveKey, deriveBits, encapsulateKey])+Pass Bad usages: importKey(jwk(private), X25519, false, [deriveKey, deriveBits, deriveKey, deriveBits, encapsulateKey])+Pass Bad usages: importKey(jwk(private), X25519, true, [encapsulateBits])+Pass Bad usages: importKey(jwk(private), X25519, false, [encapsulateBits])+Pass Bad usages: importKey(jwk(private), X25519, true, [deriveKey, encapsulateBits])+Pass Bad usages: importKey(jwk(private), X25519, false, [deriveKey, encapsulateBits])+Pass Bad usages: importKey(jwk(private), X25519, true, [deriveBits, deriveKey, encapsulateBits])+Pass Bad usages: importKey(jwk(private), X25519, false, [deriveBits, deriveKey, encapsulateBits])+Pass Bad usages: importKey(jwk(private), X25519, true, [deriveBits, encapsulateBits])+Pass Bad usages: importKey(jwk(private), X25519, false, [deriveBits, encapsulateBits])+Pass Bad usages: importKey(jwk(private), X25519, true, [deriveKey, deriveBits, deriveKey, deriveBits, encapsulateBits])+Pass Bad usages: importKey(jwk(private), X25519, false, [deriveKey, deriveBits, deriveKey, deriveBits, encapsulateBits])+Pass Bad usages: importKey(jwk(private), X25519, true, [decapsulateKey])+Pass Bad usages: importKey(jwk(private), X25519, false, [decapsulateKey])+Pass Bad usages: importKey(jwk(private), X25519, true, [deriveKey, decapsulateKey])+Pass Bad usages: importKey(jwk(private), X25519, false, [deriveKey, decapsulateKey])+Pass Bad usages: importKey(jwk(private), X25519, true, [deriveBits, deriveKey, decapsulateKey])+Pass Bad usages: importKey(jwk(private), X25519, false, [deriveBits, deriveKey, decapsulateKey])+Pass Bad usages: importKey(jwk(private), X25519, true, [deriveBits, decapsulateKey])+Pass Bad usages: importKey(jwk(private), X25519, false, [deriveBits, decapsulateKey])+Pass Bad usages: importKey(jwk(private), X25519, true, [deriveKey, deriveBits, deriveKey, deriveBits, decapsulateKey])+Pass Bad usages: importKey(jwk(private), X25519, false, [deriveKey, deriveBits, deriveKey, deriveBits, decapsulateKey])+Pass Bad usages: importKey(jwk(private), X25519, true, [decapsulateBits])+Pass Bad usages: importKey(jwk(private), X25519, false, [decapsulateBits])+Pass Bad usages: importKey(jwk(private), X25519, true, [deriveKey, decapsulateBits])+Pass Bad usages: importKey(jwk(private), X25519, false, [deriveKey, decapsulateBits])+Pass Bad usages: importKey(jwk(private), X25519, true, [deriveBits, deriveKey, decapsulateBits])+Pass Bad usages: importKey(jwk(private), X25519, false, [deriveBits, deriveKey, decapsulateBits])+Pass Bad usages: importKey(jwk(private), X25519, true, [deriveBits, decapsulateBits])+Pass Bad usages: importKey(jwk(private), X25519, false, [deriveBits, decapsulateBits])+Pass Bad usages: importKey(jwk(private), X25519, true, [deriveKey, deriveBits, deriveKey, deriveBits, decapsulateBits])+Pass Bad usages: importKey(jwk(private), X25519, false, [deriveKey, deriveBits, deriveKey, deriveBits, decapsulateBits])Pass Bad usages: importKey(jwk (public) , X25519, true, [encrypt])Pass Bad usages: importKey(jwk (public) , X25519, false, [encrypt])Pass Bad usages: importKey(jwk (public) , X25519, true, [decrypt])@@ -171,6 +267,14 @@ Pass Bad usages: importKey(jwk (public) , X25519, true, [deriveKey])Pass Bad usages: importKey(jwk (public) , X25519, false, [deriveKey])Pass Bad usages: importKey(jwk (public) , X25519, true, [deriveBits])Pass Bad usages: importKey(jwk (public) , X25519, false, [deriveBits])+Pass Bad usages: importKey(jwk (public) , X25519, true, [encapsulateKey])+Pass Bad usages: importKey(jwk (public) , X25519, false, [encapsulateKey])+Pass Bad usages: importKey(jwk (public) , X25519, true, [encapsulateBits])+Pass Bad usages: importKey(jwk (public) , X25519, false, [encapsulateBits])+Pass Bad usages: importKey(jwk (public) , X25519, true, [decapsulateKey])+Pass Bad usages: importKey(jwk (public) , X25519, false, [decapsulateKey])+Pass Bad usages: importKey(jwk (public) , X25519, true, [decapsulateBits])+Pass Bad usages: importKey(jwk (public) , X25519, false, [decapsulateBits])Pass Bad usages: importKey(spki, {name: X25519}, true, [encrypt])Pass Bad usages: importKey(spki, {name: X25519}, false, [encrypt])Pass Bad usages: importKey(spki, {name: X25519}, true, [decrypt])@@ -187,6 +291,14 @@ Pass Bad usages: importKey(spki, {name: X25519}, true, [deriveKey])Pass Bad usages: importKey(spki, {name: X25519}, false, [deriveKey])Pass Bad usages: importKey(spki, {name: X25519}, true, [deriveBits])Pass Bad usages: importKey(spki, {name: X25519}, false, [deriveBits])+Pass Bad usages: importKey(spki, {name: X25519}, true, [encapsulateKey])+Pass Bad usages: importKey(spki, {name: X25519}, false, [encapsulateKey])+Pass Bad usages: importKey(spki, {name: X25519}, true, [encapsulateBits])+Pass Bad usages: importKey(spki, {name: X25519}, false, [encapsulateBits])+Pass Bad usages: importKey(spki, {name: X25519}, true, [decapsulateKey])+Pass Bad usages: importKey(spki, {name: X25519}, false, [decapsulateKey])+Pass Bad usages: importKey(spki, {name: X25519}, true, [decapsulateBits])+Pass Bad usages: importKey(spki, {name: X25519}, false, [decapsulateBits])Pass Bad usages: importKey(pkcs8, {name: X25519}, true, [encrypt])Pass Bad usages: importKey(pkcs8, {name: X25519}, false, [encrypt])Pass Bad usages: importKey(pkcs8, {name: X25519}, true, [deriveKey, encrypt])@@ -247,6 +359,46 @@ Pass Bad usages: importKey(pkcs8, {name: X25519}, true, [deriveBits, unwrapKey])Pass Bad usages: importKey(pkcs8, {name: X25519}, false, [deriveBits, unwrapKey])Pass Bad usages: importKey(pkcs8, {name: X25519}, true, [deriveKey, deriveBits, deriveKey, deriveBits, unwrapKey])Pass Bad usages: importKey(pkcs8, {name: X25519}, false, [deriveKey, deriveBits, deriveKey, deriveBits, unwrapKey])+Pass Bad usages: importKey(pkcs8, {name: X25519}, true, [encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: X25519}, false, [encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: X25519}, true, [deriveKey, encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: X25519}, false, [deriveKey, encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: X25519}, true, [deriveBits, deriveKey, encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: X25519}, false, [deriveBits, deriveKey, encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: X25519}, true, [deriveBits, encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: X25519}, false, [deriveBits, encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: X25519}, true, [deriveKey, deriveBits, deriveKey, deriveBits, encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: X25519}, false, [deriveKey, deriveBits, deriveKey, deriveBits, encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: X25519}, true, [encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: X25519}, false, [encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: X25519}, true, [deriveKey, encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: X25519}, false, [deriveKey, encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: X25519}, true, [deriveBits, deriveKey, encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: X25519}, false, [deriveBits, deriveKey, encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: X25519}, true, [deriveBits, encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: X25519}, false, [deriveBits, encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: X25519}, true, [deriveKey, deriveBits, deriveKey, deriveBits, encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: X25519}, false, [deriveKey, deriveBits, deriveKey, deriveBits, encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: X25519}, true, [decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: X25519}, false, [decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: X25519}, true, [deriveKey, decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: X25519}, false, [deriveKey, decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: X25519}, true, [deriveBits, deriveKey, decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: X25519}, false, [deriveBits, deriveKey, decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: X25519}, true, [deriveBits, decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: X25519}, false, [deriveBits, decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: X25519}, true, [deriveKey, deriveBits, deriveKey, deriveBits, decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: X25519}, false, [deriveKey, deriveBits, deriveKey, deriveBits, decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: X25519}, true, [decapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: X25519}, false, [decapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: X25519}, true, [deriveKey, decapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: X25519}, false, [deriveKey, decapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: X25519}, true, [deriveBits, deriveKey, decapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: X25519}, false, [deriveBits, deriveKey, decapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: X25519}, true, [deriveBits, decapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: X25519}, false, [deriveBits, decapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: X25519}, true, [deriveKey, deriveBits, deriveKey, deriveBits, decapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: X25519}, false, [deriveKey, deriveBits, deriveKey, deriveBits, decapsulateBits])Pass Bad usages: importKey(raw, {name: X25519}, true, [encrypt])Pass Bad usages: importKey(raw, {name: X25519}, false, [encrypt])Pass Bad usages: importKey(raw, {name: X25519}, true, [decrypt])@@ -263,6 +415,14 @@ Pass Bad usages: importKey(raw, {name: X25519}, true, [deriveKey])Pass Bad usages: importKey(raw, {name: X25519}, false, [deriveKey])Pass Bad usages: importKey(raw, {name: X25519}, true, [deriveBits])Pass Bad usages: importKey(raw, {name: X25519}, false, [deriveBits])+Pass Bad usages: importKey(raw, {name: X25519}, true, [encapsulateKey])+Pass Bad usages: importKey(raw, {name: X25519}, false, [encapsulateKey])+Pass Bad usages: importKey(raw, {name: X25519}, true, [encapsulateBits])+Pass Bad usages: importKey(raw, {name: X25519}, false, [encapsulateBits])+Pass Bad usages: importKey(raw, {name: X25519}, true, [decapsulateKey])+Pass Bad usages: importKey(raw, {name: X25519}, false, [decapsulateKey])+Pass Bad usages: importKey(raw, {name: X25519}, true, [decapsulateBits])+Pass Bad usages: importKey(raw, {name: X25519}, false, [decapsulateBits])Pass Bad usages: importKey(jwk(private), {name: X25519}, true, [encrypt])Pass Bad usages: importKey(jwk(private), {name: X25519}, false, [encrypt])Pass Bad usages: importKey(jwk(private), {name: X25519}, true, [deriveKey, encrypt])@@ -323,6 +483,46 @@ Pass Bad usages: importKey(jwk(private), {name: X25519}, true, [deriveBits, unwrPass Bad usages: importKey(jwk(private), {name: X25519}, false, [deriveBits, unwrapKey])Pass Bad usages: importKey(jwk(private), {name: X25519}, true, [deriveKey, deriveBits, deriveKey, deriveBits, unwrapKey])Pass Bad usages: importKey(jwk(private), {name: X25519}, false, [deriveKey, deriveBits, deriveKey, deriveBits, unwrapKey])+Pass Bad usages: importKey(jwk(private), {name: X25519}, true, [encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: X25519}, false, [encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: X25519}, true, [deriveKey, encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: X25519}, false, [deriveKey, encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: X25519}, true, [deriveBits, deriveKey, encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: X25519}, false, [deriveBits, deriveKey, encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: X25519}, true, [deriveBits, encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: X25519}, false, [deriveBits, encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: X25519}, true, [deriveKey, deriveBits, deriveKey, deriveBits, encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: X25519}, false, [deriveKey, deriveBits, deriveKey, deriveBits, encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: X25519}, true, [encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: X25519}, false, [encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: X25519}, true, [deriveKey, encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: X25519}, false, [deriveKey, encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: X25519}, true, [deriveBits, deriveKey, encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: X25519}, false, [deriveBits, deriveKey, encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: X25519}, true, [deriveBits, encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: X25519}, false, [deriveBits, encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: X25519}, true, [deriveKey, deriveBits, deriveKey, deriveBits, encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: X25519}, false, [deriveKey, deriveBits, deriveKey, deriveBits, encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: X25519}, true, [decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: X25519}, false, [decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: X25519}, true, [deriveKey, decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: X25519}, false, [deriveKey, decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: X25519}, true, [deriveBits, deriveKey, decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: X25519}, false, [deriveBits, deriveKey, decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: X25519}, true, [deriveBits, decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: X25519}, false, [deriveBits, decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: X25519}, true, [deriveKey, deriveBits, deriveKey, deriveBits, decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: X25519}, false, [deriveKey, deriveBits, deriveKey, deriveBits, decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: X25519}, true, [decapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: X25519}, false, [decapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: X25519}, true, [deriveKey, decapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: X25519}, false, [deriveKey, decapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: X25519}, true, [deriveBits, deriveKey, decapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: X25519}, false, [deriveBits, deriveKey, decapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: X25519}, true, [deriveBits, decapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: X25519}, false, [deriveBits, decapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: X25519}, true, [deriveKey, deriveBits, deriveKey, deriveBits, decapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: X25519}, false, [deriveKey, deriveBits, deriveKey, deriveBits, decapsulateBits])Pass Bad usages: importKey(jwk (public) , {name: X25519}, true, [encrypt])Pass Bad usages: importKey(jwk (public) , {name: X25519}, false, [encrypt])Pass Bad usages: importKey(jwk (public) , {name: X25519}, true, [decrypt])@@ -339,6 +539,14 @@ Pass Bad usages: importKey(jwk (public) , {name: X25519}, true, [deriveKey])Pass Bad usages: importKey(jwk (public) , {name: X25519}, false, [deriveKey])Pass Bad usages: importKey(jwk (public) , {name: X25519}, true, [deriveBits])Pass Bad usages: importKey(jwk (public) , {name: X25519}, false, [deriveBits])+Pass Bad usages: importKey(jwk (public) , {name: X25519}, true, [encapsulateKey])+Pass Bad usages: importKey(jwk (public) , {name: X25519}, false, [encapsulateKey])+Pass Bad usages: importKey(jwk (public) , {name: X25519}, true, [encapsulateBits])+Pass Bad usages: importKey(jwk (public) , {name: X25519}, false, [encapsulateBits])+Pass Bad usages: importKey(jwk (public) , {name: X25519}, true, [decapsulateKey])+Pass Bad usages: importKey(jwk (public) , {name: X25519}, false, [decapsulateKey])+Pass Bad usages: importKey(jwk (public) , {name: X25519}, true, [decapsulateBits])+Pass Bad usages: importKey(jwk (public) , {name: X25519}, false, [decapsulateBits])Pass Empty usages: importKey(pkcs8, X25519, true, [])Pass Empty usages: importKey(pkcs8, X25519, false, [])Pass Empty usages: importKey(jwk(private), X25519, true, [])@@ -359,8 +567,6 @@ Pass Bad key length: importKey(pkcs8, X25519, true, [deriveKey, deriveBits, deriPass Bad key length: importKey(pkcs8, X25519, false, [deriveKey, deriveBits, deriveKey, deriveBits])Pass Bad key length: importKey(raw, X25519, true, [])Pass Bad key length: importKey(raw, X25519, false, [])-Pass Bad key length: importKey(jwk (public) , X25519, true, [])-Pass Bad key length: importKey(jwk (public) , X25519, false, [])Pass Bad key length: importKey(jwk(private), X25519, true, [deriveKey])Pass Bad key length: importKey(jwk(private), X25519, false, [deriveKey])Pass Bad key length: importKey(jwk(private), X25519, true, [deriveBits, deriveKey])@@ -369,6 +575,8 @@ Pass Bad key length: importKey(jwk(private), X25519, true, [deriveBits])Pass Bad key length: importKey(jwk(private), X25519, false, [deriveBits])Pass Bad key length: importKey(jwk(private), X25519, true, [deriveKey, deriveBits, deriveKey, deriveBits])Pass Bad key length: importKey(jwk(private), X25519, false, [deriveKey, deriveBits, deriveKey, deriveBits])+Pass Bad key length: importKey(jwk (public) , X25519, true, [])+Pass Bad key length: importKey(jwk (public) , X25519, false, [])Pass Bad key length: importKey(spki, {name: X25519}, true, [])Pass Bad key length: importKey(spki, {name: X25519}, false, [])Pass Bad key length: importKey(pkcs8, {name: X25519}, true, [deriveKey])@@ -381,8 +589,6 @@ Pass Bad key length: importKey(pkcs8, {name: X25519}, true, [deriveKey, deriveBiPass Bad key length: importKey(pkcs8, {name: X25519}, false, [deriveKey, deriveBits, deriveKey, deriveBits])Pass Bad key length: importKey(raw, {name: X25519}, true, [])Pass Bad key length: importKey(raw, {name: X25519}, false, [])-Pass Bad key length: importKey(jwk (public) , {name: X25519}, true, [])-Pass Bad key length: importKey(jwk (public) , {name: X25519}, false, [])Pass Bad key length: importKey(jwk(private), {name: X25519}, true, [deriveKey])Pass Bad key length: importKey(jwk(private), {name: X25519}, false, [deriveKey])Pass Bad key length: importKey(jwk(private), {name: X25519}, true, [deriveBits, deriveKey])@@ -391,6 +597,8 @@ Pass Bad key length: importKey(jwk(private), {name: X25519}, true, [deriveBits])Pass Bad key length: importKey(jwk(private), {name: X25519}, false, [deriveBits])Pass Bad key length: importKey(jwk(private), {name: X25519}, true, [deriveKey, deriveBits, deriveKey, deriveBits])Pass Bad key length: importKey(jwk(private), {name: X25519}, false, [deriveKey, deriveBits, deriveKey, deriveBits])+Pass Bad key length: importKey(jwk (public) , {name: X25519}, true, [])+Pass Bad key length: importKey(jwk (public) , {name: X25519}, false, [])Pass Missing JWK 'x' parameter: importKey(jwk(private), X25519, true, [deriveKey])Pass Missing JWK 'x' parameter: importKey(jwk(private), X25519, false, [deriveKey])Pass Missing JWK 'x' parameter: importKey(jwk(private), X25519, true, [deriveBits, deriveKey])diff --git a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/import_export/rsa_importKey.https.any.txt b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/import_export/rsa_importKey.https.any.txtindex e4b921b05f4..7fd76b0bfe7 100644--- a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/import_export/rsa_importKey.https.any.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/import_export/rsa_importKey.https.any.txt@@ -2,7 +2,8 @@ Harness status: OKFound 1056 tests-1056 Pass+768 Pass+288 FailPass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-1, name: RSA-OAEP}, true, [encrypt])Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSA-OAEP}, true, [encrypt])Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-1, name: RSA-OAEP}, true, [wrapKey, encrypt])@@ -11,17 +12,17 @@ Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-1, name: RSA-OAEPPass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSA-OAEP}, true, [wrapKey])Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-1, name: RSA-OAEP}, true, [])Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSA-OAEP}, true, [])-Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-1, name: RSA-OAEP}, true, [encrypt, wrapKey, encrypt, wrapKey])-Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSA-OAEP}, true, [encrypt, wrapKey, encrypt, wrapKey])+Fail Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-1, name: RSA-OAEP}, true, [encrypt, wrapKey, encrypt, wrapKey])+Fail Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSA-OAEP}, true, [encrypt, wrapKey, encrypt, wrapKey])Pass Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-1, name: RSA-OAEP}, true, [decrypt])Pass Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-1, name: RSA-OAEP}, true, [unwrapKey, decrypt])Pass Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-1, name: RSA-OAEP}, true, [unwrapKey])-Pass Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-1, name: RSA-OAEP}, true, [decrypt, unwrapKey, decrypt, unwrapKey])+Fail Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-1, name: RSA-OAEP}, true, [decrypt, unwrapKey, decrypt, unwrapKey])Pass Empty Usages: 1024 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-1, name: RSA-OAEP}, true, [])Pass Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-1, name: RSA-OAEP}, true, [decrypt])Pass Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-1, name: RSA-OAEP}, true, [unwrapKey, decrypt])Pass Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-1, name: RSA-OAEP}, true, [unwrapKey])-Pass Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-1, name: RSA-OAEP}, true, [decrypt, unwrapKey, decrypt, unwrapKey])+Fail Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-1, name: RSA-OAEP}, true, [decrypt, unwrapKey, decrypt, unwrapKey])Pass Empty Usages: 1024 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-1, name: RSA-OAEP}, true, [])Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-1, name: RSA-OAEP}, false, [encrypt])Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSA-OAEP}, false, [encrypt])@@ -31,17 +32,17 @@ Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-1, name: RSA-OAEPPass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSA-OAEP}, false, [wrapKey])Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-1, name: RSA-OAEP}, false, [])Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSA-OAEP}, false, [])-Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-1, name: RSA-OAEP}, false, [encrypt, wrapKey, encrypt, wrapKey])-Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSA-OAEP}, false, [encrypt, wrapKey, encrypt, wrapKey])+Fail Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-1, name: RSA-OAEP}, false, [encrypt, wrapKey, encrypt, wrapKey])+Fail Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSA-OAEP}, false, [encrypt, wrapKey, encrypt, wrapKey])Pass Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-1, name: RSA-OAEP}, false, [decrypt])Pass Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-1, name: RSA-OAEP}, false, [unwrapKey, decrypt])Pass Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-1, name: RSA-OAEP}, false, [unwrapKey])-Pass Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-1, name: RSA-OAEP}, false, [decrypt, unwrapKey, decrypt, unwrapKey])+Fail Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-1, name: RSA-OAEP}, false, [decrypt, unwrapKey, decrypt, unwrapKey])Pass Empty Usages: 1024 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-1, name: RSA-OAEP}, false, [])Pass Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-1, name: RSA-OAEP}, false, [decrypt])Pass Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-1, name: RSA-OAEP}, false, [unwrapKey, decrypt])Pass Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-1, name: RSA-OAEP}, false, [unwrapKey])-Pass Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-1, name: RSA-OAEP}, false, [decrypt, unwrapKey, decrypt, unwrapKey])+Fail Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-1, name: RSA-OAEP}, false, [decrypt, unwrapKey, decrypt, unwrapKey])Pass Empty Usages: 1024 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-1, name: RSA-OAEP}, false, [])Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-256, name: RSA-OAEP}, true, [encrypt])Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSA-OAEP}, true, [encrypt])@@ -51,17 +52,17 @@ Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-256, name: RSA-OAPass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSA-OAEP}, true, [wrapKey])Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-256, name: RSA-OAEP}, true, [])Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSA-OAEP}, true, [])-Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-256, name: RSA-OAEP}, true, [encrypt, wrapKey, encrypt, wrapKey])-Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSA-OAEP}, true, [encrypt, wrapKey, encrypt, wrapKey])+Fail Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-256, name: RSA-OAEP}, true, [encrypt, wrapKey, encrypt, wrapKey])+Fail Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSA-OAEP}, true, [encrypt, wrapKey, encrypt, wrapKey])Pass Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-256, name: RSA-OAEP}, true, [decrypt])Pass Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-256, name: RSA-OAEP}, true, [unwrapKey, decrypt])Pass Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-256, name: RSA-OAEP}, true, [unwrapKey])-Pass Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-256, name: RSA-OAEP}, true, [decrypt, unwrapKey, decrypt, unwrapKey])+Fail Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-256, name: RSA-OAEP}, true, [decrypt, unwrapKey, decrypt, unwrapKey])Pass Empty Usages: 1024 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-256, name: RSA-OAEP}, true, [])Pass Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-256, name: RSA-OAEP}, true, [decrypt])Pass Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-256, name: RSA-OAEP}, true, [unwrapKey, decrypt])Pass Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-256, name: RSA-OAEP}, true, [unwrapKey])-Pass Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-256, name: RSA-OAEP}, true, [decrypt, unwrapKey, decrypt, unwrapKey])+Fail Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-256, name: RSA-OAEP}, true, [decrypt, unwrapKey, decrypt, unwrapKey])Pass Empty Usages: 1024 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-256, name: RSA-OAEP}, true, [])Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-256, name: RSA-OAEP}, false, [encrypt])Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSA-OAEP}, false, [encrypt])@@ -71,17 +72,17 @@ Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-256, name: RSA-OAPass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSA-OAEP}, false, [wrapKey])Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-256, name: RSA-OAEP}, false, [])Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSA-OAEP}, false, [])-Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-256, name: RSA-OAEP}, false, [encrypt, wrapKey, encrypt, wrapKey])-Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSA-OAEP}, false, [encrypt, wrapKey, encrypt, wrapKey])+Fail Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-256, name: RSA-OAEP}, false, [encrypt, wrapKey, encrypt, wrapKey])+Fail Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSA-OAEP}, false, [encrypt, wrapKey, encrypt, wrapKey])Pass Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-256, name: RSA-OAEP}, false, [decrypt])Pass Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-256, name: RSA-OAEP}, false, [unwrapKey, decrypt])Pass Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-256, name: RSA-OAEP}, false, [unwrapKey])-Pass Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-256, name: RSA-OAEP}, false, [decrypt, unwrapKey, decrypt, unwrapKey])+Fail Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-256, name: RSA-OAEP}, false, [decrypt, unwrapKey, decrypt, unwrapKey])Pass Empty Usages: 1024 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-256, name: RSA-OAEP}, false, [])Pass Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-256, name: RSA-OAEP}, false, [decrypt])Pass Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-256, name: RSA-OAEP}, false, [unwrapKey, decrypt])Pass Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-256, name: RSA-OAEP}, false, [unwrapKey])-Pass Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-256, name: RSA-OAEP}, false, [decrypt, unwrapKey, decrypt, unwrapKey])+Fail Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-256, name: RSA-OAEP}, false, [decrypt, unwrapKey, decrypt, unwrapKey])Pass Empty Usages: 1024 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-256, name: RSA-OAEP}, false, [])Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-384, name: RSA-OAEP}, true, [encrypt])Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSA-OAEP}, true, [encrypt])@@ -91,17 +92,17 @@ Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-384, name: RSA-OAPass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSA-OAEP}, true, [wrapKey])Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-384, name: RSA-OAEP}, true, [])Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSA-OAEP}, true, [])-Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-384, name: RSA-OAEP}, true, [encrypt, wrapKey, encrypt, wrapKey])-Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSA-OAEP}, true, [encrypt, wrapKey, encrypt, wrapKey])+Fail Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-384, name: RSA-OAEP}, true, [encrypt, wrapKey, encrypt, wrapKey])+Fail Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSA-OAEP}, true, [encrypt, wrapKey, encrypt, wrapKey])Pass Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-384, name: RSA-OAEP}, true, [decrypt])Pass Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-384, name: RSA-OAEP}, true, [unwrapKey, decrypt])Pass Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-384, name: RSA-OAEP}, true, [unwrapKey])-Pass Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-384, name: RSA-OAEP}, true, [decrypt, unwrapKey, decrypt, unwrapKey])+Fail Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-384, name: RSA-OAEP}, true, [decrypt, unwrapKey, decrypt, unwrapKey])Pass Empty Usages: 1024 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-384, name: RSA-OAEP}, true, [])Pass Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-384, name: RSA-OAEP}, true, [decrypt])Pass Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-384, name: RSA-OAEP}, true, [unwrapKey, decrypt])Pass Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-384, name: RSA-OAEP}, true, [unwrapKey])-Pass Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-384, name: RSA-OAEP}, true, [decrypt, unwrapKey, decrypt, unwrapKey])+Fail Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-384, name: RSA-OAEP}, true, [decrypt, unwrapKey, decrypt, unwrapKey])Pass Empty Usages: 1024 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-384, name: RSA-OAEP}, true, [])Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-384, name: RSA-OAEP}, false, [encrypt])Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSA-OAEP}, false, [encrypt])@@ -111,17 +112,17 @@ Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-384, name: RSA-OAPass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSA-OAEP}, false, [wrapKey])Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-384, name: RSA-OAEP}, false, [])Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSA-OAEP}, false, [])-Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-384, name: RSA-OAEP}, false, [encrypt, wrapKey, encrypt, wrapKey])-Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSA-OAEP}, false, [encrypt, wrapKey, encrypt, wrapKey])+Fail Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-384, name: RSA-OAEP}, false, [encrypt, wrapKey, encrypt, wrapKey])+Fail Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSA-OAEP}, false, [encrypt, wrapKey, encrypt, wrapKey])Pass Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-384, name: RSA-OAEP}, false, [decrypt])Pass Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-384, name: RSA-OAEP}, false, [unwrapKey, decrypt])Pass Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-384, name: RSA-OAEP}, false, [unwrapKey])-Pass Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-384, name: RSA-OAEP}, false, [decrypt, unwrapKey, decrypt, unwrapKey])+Fail Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-384, name: RSA-OAEP}, false, [decrypt, unwrapKey, decrypt, unwrapKey])Pass Empty Usages: 1024 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-384, name: RSA-OAEP}, false, [])Pass Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-384, name: RSA-OAEP}, false, [decrypt])Pass Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-384, name: RSA-OAEP}, false, [unwrapKey, decrypt])Pass Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-384, name: RSA-OAEP}, false, [unwrapKey])-Pass Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-384, name: RSA-OAEP}, false, [decrypt, unwrapKey, decrypt, unwrapKey])+Fail Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-384, name: RSA-OAEP}, false, [decrypt, unwrapKey, decrypt, unwrapKey])Pass Empty Usages: 1024 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-384, name: RSA-OAEP}, false, [])Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-512, name: RSA-OAEP}, true, [encrypt])Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSA-OAEP}, true, [encrypt])@@ -131,17 +132,17 @@ Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-512, name: RSA-OAPass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSA-OAEP}, true, [wrapKey])Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-512, name: RSA-OAEP}, true, [])Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSA-OAEP}, true, [])-Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-512, name: RSA-OAEP}, true, [encrypt, wrapKey, encrypt, wrapKey])-Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSA-OAEP}, true, [encrypt, wrapKey, encrypt, wrapKey])+Fail Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-512, name: RSA-OAEP}, true, [encrypt, wrapKey, encrypt, wrapKey])+Fail Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSA-OAEP}, true, [encrypt, wrapKey, encrypt, wrapKey])Pass Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-512, name: RSA-OAEP}, true, [decrypt])Pass Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-512, name: RSA-OAEP}, true, [unwrapKey, decrypt])Pass Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-512, name: RSA-OAEP}, true, [unwrapKey])-Pass Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-512, name: RSA-OAEP}, true, [decrypt, unwrapKey, decrypt, unwrapKey])+Fail Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-512, name: RSA-OAEP}, true, [decrypt, unwrapKey, decrypt, unwrapKey])Pass Empty Usages: 1024 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-512, name: RSA-OAEP}, true, [])Pass Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-512, name: RSA-OAEP}, true, [decrypt])Pass Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-512, name: RSA-OAEP}, true, [unwrapKey, decrypt])Pass Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-512, name: RSA-OAEP}, true, [unwrapKey])-Pass Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-512, name: RSA-OAEP}, true, [decrypt, unwrapKey, decrypt, unwrapKey])+Fail Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-512, name: RSA-OAEP}, true, [decrypt, unwrapKey, decrypt, unwrapKey])Pass Empty Usages: 1024 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-512, name: RSA-OAEP}, true, [])Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-512, name: RSA-OAEP}, false, [encrypt])Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSA-OAEP}, false, [encrypt])@@ -151,17 +152,17 @@ Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-512, name: RSA-OAPass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSA-OAEP}, false, [wrapKey])Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-512, name: RSA-OAEP}, false, [])Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSA-OAEP}, false, [])-Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-512, name: RSA-OAEP}, false, [encrypt, wrapKey, encrypt, wrapKey])-Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSA-OAEP}, false, [encrypt, wrapKey, encrypt, wrapKey])+Fail Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-512, name: RSA-OAEP}, false, [encrypt, wrapKey, encrypt, wrapKey])+Fail Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSA-OAEP}, false, [encrypt, wrapKey, encrypt, wrapKey])Pass Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-512, name: RSA-OAEP}, false, [decrypt])Pass Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-512, name: RSA-OAEP}, false, [unwrapKey, decrypt])Pass Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-512, name: RSA-OAEP}, false, [unwrapKey])-Pass Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-512, name: RSA-OAEP}, false, [decrypt, unwrapKey, decrypt, unwrapKey])+Fail Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-512, name: RSA-OAEP}, false, [decrypt, unwrapKey, decrypt, unwrapKey])Pass Empty Usages: 1024 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-512, name: RSA-OAEP}, false, [])Pass Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-512, name: RSA-OAEP}, false, [decrypt])Pass Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-512, name: RSA-OAEP}, false, [unwrapKey, decrypt])Pass Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-512, name: RSA-OAEP}, false, [unwrapKey])-Pass Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-512, name: RSA-OAEP}, false, [decrypt, unwrapKey, decrypt, unwrapKey])+Fail Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-512, name: RSA-OAEP}, false, [decrypt, unwrapKey, decrypt, unwrapKey])Pass Empty Usages: 1024 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-512, name: RSA-OAEP}, false, [])Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-1, name: RSA-OAEP}, true, [encrypt])Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSA-OAEP}, true, [encrypt])@@ -171,17 +172,17 @@ Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-1, name: RSA-OAEPPass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSA-OAEP}, true, [wrapKey])Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-1, name: RSA-OAEP}, true, [])Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSA-OAEP}, true, [])-Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-1, name: RSA-OAEP}, true, [encrypt, wrapKey, encrypt, wrapKey])-Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSA-OAEP}, true, [encrypt, wrapKey, encrypt, wrapKey])+Fail Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-1, name: RSA-OAEP}, true, [encrypt, wrapKey, encrypt, wrapKey])+Fail Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSA-OAEP}, true, [encrypt, wrapKey, encrypt, wrapKey])Pass Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-1, name: RSA-OAEP}, true, [decrypt])Pass Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-1, name: RSA-OAEP}, true, [unwrapKey, decrypt])Pass Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-1, name: RSA-OAEP}, true, [unwrapKey])-Pass Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-1, name: RSA-OAEP}, true, [decrypt, unwrapKey, decrypt, unwrapKey])+Fail Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-1, name: RSA-OAEP}, true, [decrypt, unwrapKey, decrypt, unwrapKey])Pass Empty Usages: 2048 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-1, name: RSA-OAEP}, true, [])Pass Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-1, name: RSA-OAEP}, true, [decrypt])Pass Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-1, name: RSA-OAEP}, true, [unwrapKey, decrypt])Pass Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-1, name: RSA-OAEP}, true, [unwrapKey])-Pass Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-1, name: RSA-OAEP}, true, [decrypt, unwrapKey, decrypt, unwrapKey])+Fail Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-1, name: RSA-OAEP}, true, [decrypt, unwrapKey, decrypt, unwrapKey])Pass Empty Usages: 2048 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-1, name: RSA-OAEP}, true, [])Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-1, name: RSA-OAEP}, false, [encrypt])Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSA-OAEP}, false, [encrypt])@@ -191,17 +192,17 @@ Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-1, name: RSA-OAEPPass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSA-OAEP}, false, [wrapKey])Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-1, name: RSA-OAEP}, false, [])Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSA-OAEP}, false, [])-Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-1, name: RSA-OAEP}, false, [encrypt, wrapKey, encrypt, wrapKey])-Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSA-OAEP}, false, [encrypt, wrapKey, encrypt, wrapKey])+Fail Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-1, name: RSA-OAEP}, false, [encrypt, wrapKey, encrypt, wrapKey])+Fail Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSA-OAEP}, false, [encrypt, wrapKey, encrypt, wrapKey])Pass Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-1, name: RSA-OAEP}, false, [decrypt])Pass Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-1, name: RSA-OAEP}, false, [unwrapKey, decrypt])Pass Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-1, name: RSA-OAEP}, false, [unwrapKey])-Pass Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-1, name: RSA-OAEP}, false, [decrypt, unwrapKey, decrypt, unwrapKey])+Fail Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-1, name: RSA-OAEP}, false, [decrypt, unwrapKey, decrypt, unwrapKey])Pass Empty Usages: 2048 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-1, name: RSA-OAEP}, false, [])Pass Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-1, name: RSA-OAEP}, false, [decrypt])Pass Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-1, name: RSA-OAEP}, false, [unwrapKey, decrypt])Pass Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-1, name: RSA-OAEP}, false, [unwrapKey])-Pass Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-1, name: RSA-OAEP}, false, [decrypt, unwrapKey, decrypt, unwrapKey])+Fail Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-1, name: RSA-OAEP}, false, [decrypt, unwrapKey, decrypt, unwrapKey])Pass Empty Usages: 2048 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-1, name: RSA-OAEP}, false, [])Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-256, name: RSA-OAEP}, true, [encrypt])Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSA-OAEP}, true, [encrypt])@@ -211,17 +212,17 @@ Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-256, name: RSA-OAPass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSA-OAEP}, true, [wrapKey])Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-256, name: RSA-OAEP}, true, [])Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSA-OAEP}, true, [])-Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-256, name: RSA-OAEP}, true, [encrypt, wrapKey, encrypt, wrapKey])-Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSA-OAEP}, true, [encrypt, wrapKey, encrypt, wrapKey])+Fail Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-256, name: RSA-OAEP}, true, [encrypt, wrapKey, encrypt, wrapKey])+Fail Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSA-OAEP}, true, [encrypt, wrapKey, encrypt, wrapKey])Pass Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-256, name: RSA-OAEP}, true, [decrypt])Pass Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-256, name: RSA-OAEP}, true, [unwrapKey, decrypt])Pass Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-256, name: RSA-OAEP}, true, [unwrapKey])-Pass Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-256, name: RSA-OAEP}, true, [decrypt, unwrapKey, decrypt, unwrapKey])+Fail Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-256, name: RSA-OAEP}, true, [decrypt, unwrapKey, decrypt, unwrapKey])Pass Empty Usages: 2048 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-256, name: RSA-OAEP}, true, [])Pass Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-256, name: RSA-OAEP}, true, [decrypt])Pass Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-256, name: RSA-OAEP}, true, [unwrapKey, decrypt])Pass Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-256, name: RSA-OAEP}, true, [unwrapKey])-Pass Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-256, name: RSA-OAEP}, true, [decrypt, unwrapKey, decrypt, unwrapKey])+Fail Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-256, name: RSA-OAEP}, true, [decrypt, unwrapKey, decrypt, unwrapKey])Pass Empty Usages: 2048 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-256, name: RSA-OAEP}, true, [])Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-256, name: RSA-OAEP}, false, [encrypt])Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSA-OAEP}, false, [encrypt])@@ -231,17 +232,17 @@ Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-256, name: RSA-OAPass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSA-OAEP}, false, [wrapKey])Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-256, name: RSA-OAEP}, false, [])Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSA-OAEP}, false, [])-Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-256, name: RSA-OAEP}, false, [encrypt, wrapKey, encrypt, wrapKey])-Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSA-OAEP}, false, [encrypt, wrapKey, encrypt, wrapKey])+Fail Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-256, name: RSA-OAEP}, false, [encrypt, wrapKey, encrypt, wrapKey])+Fail Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSA-OAEP}, false, [encrypt, wrapKey, encrypt, wrapKey])Pass Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-256, name: RSA-OAEP}, false, [decrypt])Pass Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-256, name: RSA-OAEP}, false, [unwrapKey, decrypt])Pass Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-256, name: RSA-OAEP}, false, [unwrapKey])-Pass Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-256, name: RSA-OAEP}, false, [decrypt, unwrapKey, decrypt, unwrapKey])+Fail Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-256, name: RSA-OAEP}, false, [decrypt, unwrapKey, decrypt, unwrapKey])Pass Empty Usages: 2048 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-256, name: RSA-OAEP}, false, [])Pass Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-256, name: RSA-OAEP}, false, [decrypt])Pass Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-256, name: RSA-OAEP}, false, [unwrapKey, decrypt])Pass Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-256, name: RSA-OAEP}, false, [unwrapKey])-Pass Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-256, name: RSA-OAEP}, false, [decrypt, unwrapKey, decrypt, unwrapKey])+Fail Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-256, name: RSA-OAEP}, false, [decrypt, unwrapKey, decrypt, unwrapKey])Pass Empty Usages: 2048 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-256, name: RSA-OAEP}, false, [])Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-384, name: RSA-OAEP}, true, [encrypt])Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSA-OAEP}, true, [encrypt])@@ -251,17 +252,17 @@ Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-384, name: RSA-OAPass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSA-OAEP}, true, [wrapKey])Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-384, name: RSA-OAEP}, true, [])Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSA-OAEP}, true, [])-Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-384, name: RSA-OAEP}, true, [encrypt, wrapKey, encrypt, wrapKey])-Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSA-OAEP}, true, [encrypt, wrapKey, encrypt, wrapKey])+Fail Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-384, name: RSA-OAEP}, true, [encrypt, wrapKey, encrypt, wrapKey])+Fail Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSA-OAEP}, true, [encrypt, wrapKey, encrypt, wrapKey])Pass Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-384, name: RSA-OAEP}, true, [decrypt])Pass Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-384, name: RSA-OAEP}, true, [unwrapKey, decrypt])Pass Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-384, name: RSA-OAEP}, true, [unwrapKey])-Pass Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-384, name: RSA-OAEP}, true, [decrypt, unwrapKey, decrypt, unwrapKey])+Fail Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-384, name: RSA-OAEP}, true, [decrypt, unwrapKey, decrypt, unwrapKey])Pass Empty Usages: 2048 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-384, name: RSA-OAEP}, true, [])Pass Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-384, name: RSA-OAEP}, true, [decrypt])Pass Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-384, name: RSA-OAEP}, true, [unwrapKey, decrypt])Pass Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-384, name: RSA-OAEP}, true, [unwrapKey])-Pass Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-384, name: RSA-OAEP}, true, [decrypt, unwrapKey, decrypt, unwrapKey])+Fail Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-384, name: RSA-OAEP}, true, [decrypt, unwrapKey, decrypt, unwrapKey])Pass Empty Usages: 2048 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-384, name: RSA-OAEP}, true, [])Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-384, name: RSA-OAEP}, false, [encrypt])Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSA-OAEP}, false, [encrypt])@@ -271,17 +272,17 @@ Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-384, name: RSA-OAPass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSA-OAEP}, false, [wrapKey])Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-384, name: RSA-OAEP}, false, [])Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSA-OAEP}, false, [])-Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-384, name: RSA-OAEP}, false, [encrypt, wrapKey, encrypt, wrapKey])-Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSA-OAEP}, false, [encrypt, wrapKey, encrypt, wrapKey])+Fail Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-384, name: RSA-OAEP}, false, [encrypt, wrapKey, encrypt, wrapKey])+Fail Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSA-OAEP}, false, [encrypt, wrapKey, encrypt, wrapKey])Pass Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-384, name: RSA-OAEP}, false, [decrypt])Pass Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-384, name: RSA-OAEP}, false, [unwrapKey, decrypt])Pass Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-384, name: RSA-OAEP}, false, [unwrapKey])-Pass Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-384, name: RSA-OAEP}, false, [decrypt, unwrapKey, decrypt, unwrapKey])+Fail Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-384, name: RSA-OAEP}, false, [decrypt, unwrapKey, decrypt, unwrapKey])Pass Empty Usages: 2048 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-384, name: RSA-OAEP}, false, [])Pass Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-384, name: RSA-OAEP}, false, [decrypt])Pass Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-384, name: RSA-OAEP}, false, [unwrapKey, decrypt])Pass Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-384, name: RSA-OAEP}, false, [unwrapKey])-Pass Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-384, name: RSA-OAEP}, false, [decrypt, unwrapKey, decrypt, unwrapKey])+Fail Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-384, name: RSA-OAEP}, false, [decrypt, unwrapKey, decrypt, unwrapKey])Pass Empty Usages: 2048 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-384, name: RSA-OAEP}, false, [])Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-512, name: RSA-OAEP}, true, [encrypt])Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSA-OAEP}, true, [encrypt])@@ -291,17 +292,17 @@ Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-512, name: RSA-OAPass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSA-OAEP}, true, [wrapKey])Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-512, name: RSA-OAEP}, true, [])Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSA-OAEP}, true, [])-Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-512, name: RSA-OAEP}, true, [encrypt, wrapKey, encrypt, wrapKey])-Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSA-OAEP}, true, [encrypt, wrapKey, encrypt, wrapKey])+Fail Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-512, name: RSA-OAEP}, true, [encrypt, wrapKey, encrypt, wrapKey])+Fail Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSA-OAEP}, true, [encrypt, wrapKey, encrypt, wrapKey])Pass Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-512, name: RSA-OAEP}, true, [decrypt])Pass Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-512, name: RSA-OAEP}, true, [unwrapKey, decrypt])Pass Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-512, name: RSA-OAEP}, true, [unwrapKey])-Pass Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-512, name: RSA-OAEP}, true, [decrypt, unwrapKey, decrypt, unwrapKey])+Fail Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-512, name: RSA-OAEP}, true, [decrypt, unwrapKey, decrypt, unwrapKey])Pass Empty Usages: 2048 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-512, name: RSA-OAEP}, true, [])Pass Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-512, name: RSA-OAEP}, true, [decrypt])Pass Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-512, name: RSA-OAEP}, true, [unwrapKey, decrypt])Pass Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-512, name: RSA-OAEP}, true, [unwrapKey])-Pass Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-512, name: RSA-OAEP}, true, [decrypt, unwrapKey, decrypt, unwrapKey])+Fail Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-512, name: RSA-OAEP}, true, [decrypt, unwrapKey, decrypt, unwrapKey])Pass Empty Usages: 2048 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-512, name: RSA-OAEP}, true, [])Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-512, name: RSA-OAEP}, false, [encrypt])Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSA-OAEP}, false, [encrypt])@@ -311,17 +312,17 @@ Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-512, name: RSA-OAPass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSA-OAEP}, false, [wrapKey])Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-512, name: RSA-OAEP}, false, [])Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSA-OAEP}, false, [])-Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-512, name: RSA-OAEP}, false, [encrypt, wrapKey, encrypt, wrapKey])-Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSA-OAEP}, false, [encrypt, wrapKey, encrypt, wrapKey])+Fail Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-512, name: RSA-OAEP}, false, [encrypt, wrapKey, encrypt, wrapKey])+Fail Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSA-OAEP}, false, [encrypt, wrapKey, encrypt, wrapKey])Pass Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-512, name: RSA-OAEP}, false, [decrypt])Pass Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-512, name: RSA-OAEP}, false, [unwrapKey, decrypt])Pass Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-512, name: RSA-OAEP}, false, [unwrapKey])-Pass Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-512, name: RSA-OAEP}, false, [decrypt, unwrapKey, decrypt, unwrapKey])+Fail Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-512, name: RSA-OAEP}, false, [decrypt, unwrapKey, decrypt, unwrapKey])Pass Empty Usages: 2048 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-512, name: RSA-OAEP}, false, [])Pass Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-512, name: RSA-OAEP}, false, [decrypt])Pass Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-512, name: RSA-OAEP}, false, [unwrapKey, decrypt])Pass Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-512, name: RSA-OAEP}, false, [unwrapKey])-Pass Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-512, name: RSA-OAEP}, false, [decrypt, unwrapKey, decrypt, unwrapKey])+Fail Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-512, name: RSA-OAEP}, false, [decrypt, unwrapKey, decrypt, unwrapKey])Pass Empty Usages: 2048 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-512, name: RSA-OAEP}, false, [])Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-1, name: RSA-OAEP}, true, [encrypt])Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSA-OAEP}, true, [encrypt])@@ -331,17 +332,17 @@ Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-1, name: RSA-OAEPPass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSA-OAEP}, true, [wrapKey])Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-1, name: RSA-OAEP}, true, [])Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSA-OAEP}, true, [])-Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-1, name: RSA-OAEP}, true, [encrypt, wrapKey, encrypt, wrapKey])-Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSA-OAEP}, true, [encrypt, wrapKey, encrypt, wrapKey])+Fail Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-1, name: RSA-OAEP}, true, [encrypt, wrapKey, encrypt, wrapKey])+Fail Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSA-OAEP}, true, [encrypt, wrapKey, encrypt, wrapKey])Pass Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-1, name: RSA-OAEP}, true, [decrypt])Pass Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-1, name: RSA-OAEP}, true, [unwrapKey, decrypt])Pass Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-1, name: RSA-OAEP}, true, [unwrapKey])-Pass Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-1, name: RSA-OAEP}, true, [decrypt, unwrapKey, decrypt, unwrapKey])+Fail Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-1, name: RSA-OAEP}, true, [decrypt, unwrapKey, decrypt, unwrapKey])Pass Empty Usages: 4096 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-1, name: RSA-OAEP}, true, [])Pass Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-1, name: RSA-OAEP}, true, [decrypt])Pass Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-1, name: RSA-OAEP}, true, [unwrapKey, decrypt])Pass Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-1, name: RSA-OAEP}, true, [unwrapKey])-Pass Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-1, name: RSA-OAEP}, true, [decrypt, unwrapKey, decrypt, unwrapKey])+Fail Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-1, name: RSA-OAEP}, true, [decrypt, unwrapKey, decrypt, unwrapKey])Pass Empty Usages: 4096 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-1, name: RSA-OAEP}, true, [])Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-1, name: RSA-OAEP}, false, [encrypt])Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSA-OAEP}, false, [encrypt])@@ -351,17 +352,17 @@ Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-1, name: RSA-OAEPPass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSA-OAEP}, false, [wrapKey])Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-1, name: RSA-OAEP}, false, [])Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSA-OAEP}, false, [])-Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-1, name: RSA-OAEP}, false, [encrypt, wrapKey, encrypt, wrapKey])-Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSA-OAEP}, false, [encrypt, wrapKey, encrypt, wrapKey])+Fail Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-1, name: RSA-OAEP}, false, [encrypt, wrapKey, encrypt, wrapKey])+Fail Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSA-OAEP}, false, [encrypt, wrapKey, encrypt, wrapKey])Pass Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-1, name: RSA-OAEP}, false, [decrypt])Pass Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-1, name: RSA-OAEP}, false, [unwrapKey, decrypt])Pass Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-1, name: RSA-OAEP}, false, [unwrapKey])-Pass Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-1, name: RSA-OAEP}, false, [decrypt, unwrapKey, decrypt, unwrapKey])+Fail Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-1, name: RSA-OAEP}, false, [decrypt, unwrapKey, decrypt, unwrapKey])Pass Empty Usages: 4096 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-1, name: RSA-OAEP}, false, [])Pass Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-1, name: RSA-OAEP}, false, [decrypt])Pass Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-1, name: RSA-OAEP}, false, [unwrapKey, decrypt])Pass Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-1, name: RSA-OAEP}, false, [unwrapKey])-Pass Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-1, name: RSA-OAEP}, false, [decrypt, unwrapKey, decrypt, unwrapKey])+Fail Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-1, name: RSA-OAEP}, false, [decrypt, unwrapKey, decrypt, unwrapKey])Pass Empty Usages: 4096 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-1, name: RSA-OAEP}, false, [])Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-256, name: RSA-OAEP}, true, [encrypt])Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSA-OAEP}, true, [encrypt])@@ -371,17 +372,17 @@ Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-256, name: RSA-OAPass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSA-OAEP}, true, [wrapKey])Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-256, name: RSA-OAEP}, true, [])Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSA-OAEP}, true, [])-Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-256, name: RSA-OAEP}, true, [encrypt, wrapKey, encrypt, wrapKey])-Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSA-OAEP}, true, [encrypt, wrapKey, encrypt, wrapKey])+Fail Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-256, name: RSA-OAEP}, true, [encrypt, wrapKey, encrypt, wrapKey])+Fail Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSA-OAEP}, true, [encrypt, wrapKey, encrypt, wrapKey])Pass Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-256, name: RSA-OAEP}, true, [decrypt])Pass Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-256, name: RSA-OAEP}, true, [unwrapKey, decrypt])Pass Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-256, name: RSA-OAEP}, true, [unwrapKey])-Pass Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-256, name: RSA-OAEP}, true, [decrypt, unwrapKey, decrypt, unwrapKey])+Fail Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-256, name: RSA-OAEP}, true, [decrypt, unwrapKey, decrypt, unwrapKey])Pass Empty Usages: 4096 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-256, name: RSA-OAEP}, true, [])Pass Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-256, name: RSA-OAEP}, true, [decrypt])Pass Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-256, name: RSA-OAEP}, true, [unwrapKey, decrypt])Pass Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-256, name: RSA-OAEP}, true, [unwrapKey])-Pass Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-256, name: RSA-OAEP}, true, [decrypt, unwrapKey, decrypt, unwrapKey])+Fail Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-256, name: RSA-OAEP}, true, [decrypt, unwrapKey, decrypt, unwrapKey])Pass Empty Usages: 4096 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-256, name: RSA-OAEP}, true, [])Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-256, name: RSA-OAEP}, false, [encrypt])Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSA-OAEP}, false, [encrypt])@@ -391,17 +392,17 @@ Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-256, name: RSA-OAPass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSA-OAEP}, false, [wrapKey])Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-256, name: RSA-OAEP}, false, [])Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSA-OAEP}, false, [])-Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-256, name: RSA-OAEP}, false, [encrypt, wrapKey, encrypt, wrapKey])-Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSA-OAEP}, false, [encrypt, wrapKey, encrypt, wrapKey])+Fail Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-256, name: RSA-OAEP}, false, [encrypt, wrapKey, encrypt, wrapKey])+Fail Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSA-OAEP}, false, [encrypt, wrapKey, encrypt, wrapKey])Pass Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-256, name: RSA-OAEP}, false, [decrypt])Pass Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-256, name: RSA-OAEP}, false, [unwrapKey, decrypt])Pass Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-256, name: RSA-OAEP}, false, [unwrapKey])-Pass Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-256, name: RSA-OAEP}, false, [decrypt, unwrapKey, decrypt, unwrapKey])+Fail Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-256, name: RSA-OAEP}, false, [decrypt, unwrapKey, decrypt, unwrapKey])Pass Empty Usages: 4096 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-256, name: RSA-OAEP}, false, [])Pass Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-256, name: RSA-OAEP}, false, [decrypt])Pass Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-256, name: RSA-OAEP}, false, [unwrapKey, decrypt])Pass Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-256, name: RSA-OAEP}, false, [unwrapKey])-Pass Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-256, name: RSA-OAEP}, false, [decrypt, unwrapKey, decrypt, unwrapKey])+Fail Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-256, name: RSA-OAEP}, false, [decrypt, unwrapKey, decrypt, unwrapKey])Pass Empty Usages: 4096 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-256, name: RSA-OAEP}, false, [])Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-384, name: RSA-OAEP}, true, [encrypt])Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSA-OAEP}, true, [encrypt])@@ -411,17 +412,17 @@ Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-384, name: RSA-OAPass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSA-OAEP}, true, [wrapKey])Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-384, name: RSA-OAEP}, true, [])Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSA-OAEP}, true, [])-Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-384, name: RSA-OAEP}, true, [encrypt, wrapKey, encrypt, wrapKey])-Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSA-OAEP}, true, [encrypt, wrapKey, encrypt, wrapKey])+Fail Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-384, name: RSA-OAEP}, true, [encrypt, wrapKey, encrypt, wrapKey])+Fail Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSA-OAEP}, true, [encrypt, wrapKey, encrypt, wrapKey])Pass Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-384, name: RSA-OAEP}, true, [decrypt])Pass Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-384, name: RSA-OAEP}, true, [unwrapKey, decrypt])Pass Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-384, name: RSA-OAEP}, true, [unwrapKey])-Pass Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-384, name: RSA-OAEP}, true, [decrypt, unwrapKey, decrypt, unwrapKey])+Fail Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-384, name: RSA-OAEP}, true, [decrypt, unwrapKey, decrypt, unwrapKey])Pass Empty Usages: 4096 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-384, name: RSA-OAEP}, true, [])Pass Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-384, name: RSA-OAEP}, true, [decrypt])Pass Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-384, name: RSA-OAEP}, true, [unwrapKey, decrypt])Pass Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-384, name: RSA-OAEP}, true, [unwrapKey])-Pass Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-384, name: RSA-OAEP}, true, [decrypt, unwrapKey, decrypt, unwrapKey])+Fail Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-384, name: RSA-OAEP}, true, [decrypt, unwrapKey, decrypt, unwrapKey])Pass Empty Usages: 4096 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-384, name: RSA-OAEP}, true, [])Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-384, name: RSA-OAEP}, false, [encrypt])Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSA-OAEP}, false, [encrypt])@@ -431,17 +432,17 @@ Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-384, name: RSA-OAPass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSA-OAEP}, false, [wrapKey])Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-384, name: RSA-OAEP}, false, [])Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSA-OAEP}, false, [])-Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-384, name: RSA-OAEP}, false, [encrypt, wrapKey, encrypt, wrapKey])-Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSA-OAEP}, false, [encrypt, wrapKey, encrypt, wrapKey])+Fail Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-384, name: RSA-OAEP}, false, [encrypt, wrapKey, encrypt, wrapKey])+Fail Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSA-OAEP}, false, [encrypt, wrapKey, encrypt, wrapKey])Pass Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-384, name: RSA-OAEP}, false, [decrypt])Pass Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-384, name: RSA-OAEP}, false, [unwrapKey, decrypt])Pass Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-384, name: RSA-OAEP}, false, [unwrapKey])-Pass Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-384, name: RSA-OAEP}, false, [decrypt, unwrapKey, decrypt, unwrapKey])+Fail Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-384, name: RSA-OAEP}, false, [decrypt, unwrapKey, decrypt, unwrapKey])Pass Empty Usages: 4096 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-384, name: RSA-OAEP}, false, [])Pass Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-384, name: RSA-OAEP}, false, [decrypt])Pass Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-384, name: RSA-OAEP}, false, [unwrapKey, decrypt])Pass Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-384, name: RSA-OAEP}, false, [unwrapKey])-Pass Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-384, name: RSA-OAEP}, false, [decrypt, unwrapKey, decrypt, unwrapKey])+Fail Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-384, name: RSA-OAEP}, false, [decrypt, unwrapKey, decrypt, unwrapKey])Pass Empty Usages: 4096 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-384, name: RSA-OAEP}, false, [])Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-512, name: RSA-OAEP}, true, [encrypt])Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSA-OAEP}, true, [encrypt])@@ -451,17 +452,17 @@ Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-512, name: RSA-OAPass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSA-OAEP}, true, [wrapKey])Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-512, name: RSA-OAEP}, true, [])Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSA-OAEP}, true, [])-Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-512, name: RSA-OAEP}, true, [encrypt, wrapKey, encrypt, wrapKey])-Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSA-OAEP}, true, [encrypt, wrapKey, encrypt, wrapKey])+Fail Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-512, name: RSA-OAEP}, true, [encrypt, wrapKey, encrypt, wrapKey])+Fail Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSA-OAEP}, true, [encrypt, wrapKey, encrypt, wrapKey])Pass Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-512, name: RSA-OAEP}, true, [decrypt])Pass Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-512, name: RSA-OAEP}, true, [unwrapKey, decrypt])Pass Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-512, name: RSA-OAEP}, true, [unwrapKey])-Pass Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-512, name: RSA-OAEP}, true, [decrypt, unwrapKey, decrypt, unwrapKey])+Fail Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-512, name: RSA-OAEP}, true, [decrypt, unwrapKey, decrypt, unwrapKey])Pass Empty Usages: 4096 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-512, name: RSA-OAEP}, true, [])Pass Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-512, name: RSA-OAEP}, true, [decrypt])Pass Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-512, name: RSA-OAEP}, true, [unwrapKey, decrypt])Pass Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-512, name: RSA-OAEP}, true, [unwrapKey])-Pass Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-512, name: RSA-OAEP}, true, [decrypt, unwrapKey, decrypt, unwrapKey])+Fail Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-512, name: RSA-OAEP}, true, [decrypt, unwrapKey, decrypt, unwrapKey])Pass Empty Usages: 4096 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-512, name: RSA-OAEP}, true, [])Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-512, name: RSA-OAEP}, false, [encrypt])Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSA-OAEP}, false, [encrypt])@@ -471,591 +472,591 @@ Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-512, name: RSA-OAPass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSA-OAEP}, false, [wrapKey])Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-512, name: RSA-OAEP}, false, [])Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSA-OAEP}, false, [])-Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-512, name: RSA-OAEP}, false, [encrypt, wrapKey, encrypt, wrapKey])-Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSA-OAEP}, false, [encrypt, wrapKey, encrypt, wrapKey])+Fail Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-512, name: RSA-OAEP}, false, [encrypt, wrapKey, encrypt, wrapKey])+Fail Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSA-OAEP}, false, [encrypt, wrapKey, encrypt, wrapKey])Pass Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-512, name: RSA-OAEP}, false, [decrypt])Pass Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-512, name: RSA-OAEP}, false, [unwrapKey, decrypt])Pass Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-512, name: RSA-OAEP}, false, [unwrapKey])-Pass Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-512, name: RSA-OAEP}, false, [decrypt, unwrapKey, decrypt, unwrapKey])+Fail Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-512, name: RSA-OAEP}, false, [decrypt, unwrapKey, decrypt, unwrapKey])Pass Empty Usages: 4096 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-512, name: RSA-OAEP}, false, [])Pass Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-512, name: RSA-OAEP}, false, [decrypt])Pass Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-512, name: RSA-OAEP}, false, [unwrapKey, decrypt])Pass Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-512, name: RSA-OAEP}, false, [unwrapKey])-Pass Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-512, name: RSA-OAEP}, false, [decrypt, unwrapKey, decrypt, unwrapKey])+Fail Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-512, name: RSA-OAEP}, false, [decrypt, unwrapKey, decrypt, unwrapKey])Pass Empty Usages: 4096 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-512, name: RSA-OAEP}, false, [])Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-1, name: RSA-PSS}, true, [verify])Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSA-PSS}, true, [verify])Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-1, name: RSA-PSS}, true, [])Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSA-PSS}, true, [])-Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-1, name: RSA-PSS}, true, [verify, verify])-Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSA-PSS}, true, [verify, verify])+Fail Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-1, name: RSA-PSS}, true, [verify, verify])+Fail Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSA-PSS}, true, [verify, verify])Pass Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-1, name: RSA-PSS}, true, [sign])-Pass Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-1, name: RSA-PSS}, true, [sign, sign])+Fail Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-1, name: RSA-PSS}, true, [sign, sign])Pass Empty Usages: 1024 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-1, name: RSA-PSS}, true, [])Pass Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-1, name: RSA-PSS}, true, [sign])-Pass Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-1, name: RSA-PSS}, true, [sign, sign])+Fail Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-1, name: RSA-PSS}, true, [sign, sign])Pass Empty Usages: 1024 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-1, name: RSA-PSS}, true, [])Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-1, name: RSA-PSS}, false, [verify])Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSA-PSS}, false, [verify])Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-1, name: RSA-PSS}, false, [])Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSA-PSS}, false, [])-Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-1, name: RSA-PSS}, false, [verify, verify])-Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSA-PSS}, false, [verify, verify])+Fail Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-1, name: RSA-PSS}, false, [verify, verify])+Fail Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSA-PSS}, false, [verify, verify])Pass Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-1, name: RSA-PSS}, false, [sign])-Pass Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-1, name: RSA-PSS}, false, [sign, sign])+Fail Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-1, name: RSA-PSS}, false, [sign, sign])Pass Empty Usages: 1024 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-1, name: RSA-PSS}, false, [])Pass Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-1, name: RSA-PSS}, false, [sign])-Pass Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-1, name: RSA-PSS}, false, [sign, sign])+Fail Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-1, name: RSA-PSS}, false, [sign, sign])Pass Empty Usages: 1024 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-1, name: RSA-PSS}, false, [])Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-256, name: RSA-PSS}, true, [verify])Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSA-PSS}, true, [verify])Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-256, name: RSA-PSS}, true, [])Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSA-PSS}, true, [])-Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-256, name: RSA-PSS}, true, [verify, verify])-Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSA-PSS}, true, [verify, verify])+Fail Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-256, name: RSA-PSS}, true, [verify, verify])+Fail Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSA-PSS}, true, [verify, verify])Pass Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-256, name: RSA-PSS}, true, [sign])-Pass Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-256, name: RSA-PSS}, true, [sign, sign])+Fail Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-256, name: RSA-PSS}, true, [sign, sign])Pass Empty Usages: 1024 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-256, name: RSA-PSS}, true, [])Pass Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-256, name: RSA-PSS}, true, [sign])-Pass Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-256, name: RSA-PSS}, true, [sign, sign])+Fail Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-256, name: RSA-PSS}, true, [sign, sign])Pass Empty Usages: 1024 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-256, name: RSA-PSS}, true, [])Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-256, name: RSA-PSS}, false, [verify])Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSA-PSS}, false, [verify])Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-256, name: RSA-PSS}, false, [])Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSA-PSS}, false, [])-Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-256, name: RSA-PSS}, false, [verify, verify])-Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSA-PSS}, false, [verify, verify])+Fail Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-256, name: RSA-PSS}, false, [verify, verify])+Fail Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSA-PSS}, false, [verify, verify])Pass Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-256, name: RSA-PSS}, false, [sign])-Pass Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-256, name: RSA-PSS}, false, [sign, sign])+Fail Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-256, name: RSA-PSS}, false, [sign, sign])Pass Empty Usages: 1024 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-256, name: RSA-PSS}, false, [])Pass Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-256, name: RSA-PSS}, false, [sign])-Pass Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-256, name: RSA-PSS}, false, [sign, sign])+Fail Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-256, name: RSA-PSS}, false, [sign, sign])Pass Empty Usages: 1024 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-256, name: RSA-PSS}, false, [])Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-384, name: RSA-PSS}, true, [verify])Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSA-PSS}, true, [verify])Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-384, name: RSA-PSS}, true, [])Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSA-PSS}, true, [])-Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-384, name: RSA-PSS}, true, [verify, verify])-Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSA-PSS}, true, [verify, verify])+Fail Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-384, name: RSA-PSS}, true, [verify, verify])+Fail Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSA-PSS}, true, [verify, verify])Pass Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-384, name: RSA-PSS}, true, [sign])-Pass Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-384, name: RSA-PSS}, true, [sign, sign])+Fail Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-384, name: RSA-PSS}, true, [sign, sign])Pass Empty Usages: 1024 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-384, name: RSA-PSS}, true, [])Pass Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-384, name: RSA-PSS}, true, [sign])-Pass Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-384, name: RSA-PSS}, true, [sign, sign])+Fail Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-384, name: RSA-PSS}, true, [sign, sign])Pass Empty Usages: 1024 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-384, name: RSA-PSS}, true, [])Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-384, name: RSA-PSS}, false, [verify])Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSA-PSS}, false, [verify])Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-384, name: RSA-PSS}, false, [])Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSA-PSS}, false, [])-Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-384, name: RSA-PSS}, false, [verify, verify])-Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSA-PSS}, false, [verify, verify])+Fail Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-384, name: RSA-PSS}, false, [verify, verify])+Fail Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSA-PSS}, false, [verify, verify])Pass Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-384, name: RSA-PSS}, false, [sign])-Pass Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-384, name: RSA-PSS}, false, [sign, sign])+Fail Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-384, name: RSA-PSS}, false, [sign, sign])Pass Empty Usages: 1024 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-384, name: RSA-PSS}, false, [])Pass Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-384, name: RSA-PSS}, false, [sign])-Pass Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-384, name: RSA-PSS}, false, [sign, sign])+Fail Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-384, name: RSA-PSS}, false, [sign, sign])Pass Empty Usages: 1024 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-384, name: RSA-PSS}, false, [])Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-512, name: RSA-PSS}, true, [verify])Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSA-PSS}, true, [verify])Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-512, name: RSA-PSS}, true, [])Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSA-PSS}, true, [])-Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-512, name: RSA-PSS}, true, [verify, verify])-Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSA-PSS}, true, [verify, verify])+Fail Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-512, name: RSA-PSS}, true, [verify, verify])+Fail Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSA-PSS}, true, [verify, verify])Pass Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-512, name: RSA-PSS}, true, [sign])-Pass Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-512, name: RSA-PSS}, true, [sign, sign])+Fail Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-512, name: RSA-PSS}, true, [sign, sign])Pass Empty Usages: 1024 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-512, name: RSA-PSS}, true, [])Pass Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-512, name: RSA-PSS}, true, [sign])-Pass Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-512, name: RSA-PSS}, true, [sign, sign])+Fail Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-512, name: RSA-PSS}, true, [sign, sign])Pass Empty Usages: 1024 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-512, name: RSA-PSS}, true, [])Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-512, name: RSA-PSS}, false, [verify])Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSA-PSS}, false, [verify])Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-512, name: RSA-PSS}, false, [])Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSA-PSS}, false, [])-Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-512, name: RSA-PSS}, false, [verify, verify])-Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSA-PSS}, false, [verify, verify])+Fail Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-512, name: RSA-PSS}, false, [verify, verify])+Fail Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSA-PSS}, false, [verify, verify])Pass Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-512, name: RSA-PSS}, false, [sign])-Pass Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-512, name: RSA-PSS}, false, [sign, sign])+Fail Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-512, name: RSA-PSS}, false, [sign, sign])Pass Empty Usages: 1024 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-512, name: RSA-PSS}, false, [])Pass Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-512, name: RSA-PSS}, false, [sign])-Pass Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-512, name: RSA-PSS}, false, [sign, sign])+Fail Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-512, name: RSA-PSS}, false, [sign, sign])Pass Empty Usages: 1024 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-512, name: RSA-PSS}, false, [])Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-1, name: RSA-PSS}, true, [verify])Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSA-PSS}, true, [verify])Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-1, name: RSA-PSS}, true, [])Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSA-PSS}, true, [])-Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-1, name: RSA-PSS}, true, [verify, verify])-Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSA-PSS}, true, [verify, verify])+Fail Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-1, name: RSA-PSS}, true, [verify, verify])+Fail Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSA-PSS}, true, [verify, verify])Pass Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-1, name: RSA-PSS}, true, [sign])-Pass Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-1, name: RSA-PSS}, true, [sign, sign])+Fail Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-1, name: RSA-PSS}, true, [sign, sign])Pass Empty Usages: 2048 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-1, name: RSA-PSS}, true, [])Pass Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-1, name: RSA-PSS}, true, [sign])-Pass Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-1, name: RSA-PSS}, true, [sign, sign])+Fail Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-1, name: RSA-PSS}, true, [sign, sign])Pass Empty Usages: 2048 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-1, name: RSA-PSS}, true, [])Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-1, name: RSA-PSS}, false, [verify])Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSA-PSS}, false, [verify])Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-1, name: RSA-PSS}, false, [])Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSA-PSS}, false, [])-Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-1, name: RSA-PSS}, false, [verify, verify])-Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSA-PSS}, false, [verify, verify])+Fail Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-1, name: RSA-PSS}, false, [verify, verify])+Fail Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSA-PSS}, false, [verify, verify])Pass Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-1, name: RSA-PSS}, false, [sign])-Pass Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-1, name: RSA-PSS}, false, [sign, sign])+Fail Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-1, name: RSA-PSS}, false, [sign, sign])Pass Empty Usages: 2048 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-1, name: RSA-PSS}, false, [])Pass Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-1, name: RSA-PSS}, false, [sign])-Pass Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-1, name: RSA-PSS}, false, [sign, sign])+Fail Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-1, name: RSA-PSS}, false, [sign, sign])Pass Empty Usages: 2048 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-1, name: RSA-PSS}, false, [])Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-256, name: RSA-PSS}, true, [verify])Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSA-PSS}, true, [verify])Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-256, name: RSA-PSS}, true, [])Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSA-PSS}, true, [])-Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-256, name: RSA-PSS}, true, [verify, verify])-Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSA-PSS}, true, [verify, verify])+Fail Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-256, name: RSA-PSS}, true, [verify, verify])+Fail Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSA-PSS}, true, [verify, verify])Pass Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-256, name: RSA-PSS}, true, [sign])-Pass Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-256, name: RSA-PSS}, true, [sign, sign])+Fail Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-256, name: RSA-PSS}, true, [sign, sign])Pass Empty Usages: 2048 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-256, name: RSA-PSS}, true, [])Pass Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-256, name: RSA-PSS}, true, [sign])-Pass Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-256, name: RSA-PSS}, true, [sign, sign])+Fail Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-256, name: RSA-PSS}, true, [sign, sign])Pass Empty Usages: 2048 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-256, name: RSA-PSS}, true, [])Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-256, name: RSA-PSS}, false, [verify])Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSA-PSS}, false, [verify])Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-256, name: RSA-PSS}, false, [])Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSA-PSS}, false, [])-Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-256, name: RSA-PSS}, false, [verify, verify])-Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSA-PSS}, false, [verify, verify])+Fail Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-256, name: RSA-PSS}, false, [verify, verify])+Fail Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSA-PSS}, false, [verify, verify])Pass Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-256, name: RSA-PSS}, false, [sign])-Pass Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-256, name: RSA-PSS}, false, [sign, sign])+Fail Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-256, name: RSA-PSS}, false, [sign, sign])Pass Empty Usages: 2048 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-256, name: RSA-PSS}, false, [])Pass Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-256, name: RSA-PSS}, false, [sign])-Pass Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-256, name: RSA-PSS}, false, [sign, sign])+Fail Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-256, name: RSA-PSS}, false, [sign, sign])Pass Empty Usages: 2048 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-256, name: RSA-PSS}, false, [])Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-384, name: RSA-PSS}, true, [verify])Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSA-PSS}, true, [verify])Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-384, name: RSA-PSS}, true, [])Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSA-PSS}, true, [])-Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-384, name: RSA-PSS}, true, [verify, verify])-Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSA-PSS}, true, [verify, verify])+Fail Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-384, name: RSA-PSS}, true, [verify, verify])+Fail Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSA-PSS}, true, [verify, verify])Pass Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-384, name: RSA-PSS}, true, [sign])-Pass Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-384, name: RSA-PSS}, true, [sign, sign])+Fail Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-384, name: RSA-PSS}, true, [sign, sign])Pass Empty Usages: 2048 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-384, name: RSA-PSS}, true, [])Pass Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-384, name: RSA-PSS}, true, [sign])-Pass Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-384, name: RSA-PSS}, true, [sign, sign])+Fail Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-384, name: RSA-PSS}, true, [sign, sign])Pass Empty Usages: 2048 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-384, name: RSA-PSS}, true, [])Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-384, name: RSA-PSS}, false, [verify])Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSA-PSS}, false, [verify])Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-384, name: RSA-PSS}, false, [])Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSA-PSS}, false, [])-Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-384, name: RSA-PSS}, false, [verify, verify])-Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSA-PSS}, false, [verify, verify])+Fail Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-384, name: RSA-PSS}, false, [verify, verify])+Fail Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSA-PSS}, false, [verify, verify])Pass Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-384, name: RSA-PSS}, false, [sign])-Pass Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-384, name: RSA-PSS}, false, [sign, sign])+Fail Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-384, name: RSA-PSS}, false, [sign, sign])Pass Empty Usages: 2048 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-384, name: RSA-PSS}, false, [])Pass Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-384, name: RSA-PSS}, false, [sign])-Pass Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-384, name: RSA-PSS}, false, [sign, sign])+Fail Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-384, name: RSA-PSS}, false, [sign, sign])Pass Empty Usages: 2048 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-384, name: RSA-PSS}, false, [])Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-512, name: RSA-PSS}, true, [verify])Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSA-PSS}, true, [verify])Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-512, name: RSA-PSS}, true, [])Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSA-PSS}, true, [])-Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-512, name: RSA-PSS}, true, [verify, verify])-Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSA-PSS}, true, [verify, verify])+Fail Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-512, name: RSA-PSS}, true, [verify, verify])+Fail Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSA-PSS}, true, [verify, verify])Pass Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-512, name: RSA-PSS}, true, [sign])-Pass Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-512, name: RSA-PSS}, true, [sign, sign])+Fail Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-512, name: RSA-PSS}, true, [sign, sign])Pass Empty Usages: 2048 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-512, name: RSA-PSS}, true, [])Pass Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-512, name: RSA-PSS}, true, [sign])-Pass Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-512, name: RSA-PSS}, true, [sign, sign])+Fail Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-512, name: RSA-PSS}, true, [sign, sign])Pass Empty Usages: 2048 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-512, name: RSA-PSS}, true, [])Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-512, name: RSA-PSS}, false, [verify])Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSA-PSS}, false, [verify])Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-512, name: RSA-PSS}, false, [])Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSA-PSS}, false, [])-Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-512, name: RSA-PSS}, false, [verify, verify])-Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSA-PSS}, false, [verify, verify])+Fail Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-512, name: RSA-PSS}, false, [verify, verify])+Fail Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSA-PSS}, false, [verify, verify])Pass Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-512, name: RSA-PSS}, false, [sign])-Pass Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-512, name: RSA-PSS}, false, [sign, sign])+Fail Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-512, name: RSA-PSS}, false, [sign, sign])Pass Empty Usages: 2048 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-512, name: RSA-PSS}, false, [])Pass Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-512, name: RSA-PSS}, false, [sign])-Pass Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-512, name: RSA-PSS}, false, [sign, sign])+Fail Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-512, name: RSA-PSS}, false, [sign, sign])Pass Empty Usages: 2048 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-512, name: RSA-PSS}, false, [])Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-1, name: RSA-PSS}, true, [verify])Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSA-PSS}, true, [verify])Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-1, name: RSA-PSS}, true, [])Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSA-PSS}, true, [])-Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-1, name: RSA-PSS}, true, [verify, verify])-Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSA-PSS}, true, [verify, verify])+Fail Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-1, name: RSA-PSS}, true, [verify, verify])+Fail Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSA-PSS}, true, [verify, verify])Pass Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-1, name: RSA-PSS}, true, [sign])-Pass Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-1, name: RSA-PSS}, true, [sign, sign])+Fail Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-1, name: RSA-PSS}, true, [sign, sign])Pass Empty Usages: 4096 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-1, name: RSA-PSS}, true, [])Pass Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-1, name: RSA-PSS}, true, [sign])-Pass Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-1, name: RSA-PSS}, true, [sign, sign])+Fail Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-1, name: RSA-PSS}, true, [sign, sign])Pass Empty Usages: 4096 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-1, name: RSA-PSS}, true, [])Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-1, name: RSA-PSS}, false, [verify])Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSA-PSS}, false, [verify])Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-1, name: RSA-PSS}, false, [])Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSA-PSS}, false, [])-Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-1, name: RSA-PSS}, false, [verify, verify])-Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSA-PSS}, false, [verify, verify])+Fail Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-1, name: RSA-PSS}, false, [verify, verify])+Fail Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSA-PSS}, false, [verify, verify])Pass Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-1, name: RSA-PSS}, false, [sign])-Pass Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-1, name: RSA-PSS}, false, [sign, sign])+Fail Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-1, name: RSA-PSS}, false, [sign, sign])Pass Empty Usages: 4096 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-1, name: RSA-PSS}, false, [])Pass Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-1, name: RSA-PSS}, false, [sign])-Pass Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-1, name: RSA-PSS}, false, [sign, sign])+Fail Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-1, name: RSA-PSS}, false, [sign, sign])Pass Empty Usages: 4096 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-1, name: RSA-PSS}, false, [])Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-256, name: RSA-PSS}, true, [verify])Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSA-PSS}, true, [verify])Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-256, name: RSA-PSS}, true, [])Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSA-PSS}, true, [])-Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-256, name: RSA-PSS}, true, [verify, verify])-Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSA-PSS}, true, [verify, verify])+Fail Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-256, name: RSA-PSS}, true, [verify, verify])+Fail Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSA-PSS}, true, [verify, verify])Pass Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-256, name: RSA-PSS}, true, [sign])-Pass Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-256, name: RSA-PSS}, true, [sign, sign])+Fail Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-256, name: RSA-PSS}, true, [sign, sign])Pass Empty Usages: 4096 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-256, name: RSA-PSS}, true, [])Pass Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-256, name: RSA-PSS}, true, [sign])-Pass Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-256, name: RSA-PSS}, true, [sign, sign])+Fail Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-256, name: RSA-PSS}, true, [sign, sign])Pass Empty Usages: 4096 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-256, name: RSA-PSS}, true, [])Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-256, name: RSA-PSS}, false, [verify])Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSA-PSS}, false, [verify])Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-256, name: RSA-PSS}, false, [])Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSA-PSS}, false, [])-Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-256, name: RSA-PSS}, false, [verify, verify])-Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSA-PSS}, false, [verify, verify])+Fail Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-256, name: RSA-PSS}, false, [verify, verify])+Fail Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSA-PSS}, false, [verify, verify])Pass Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-256, name: RSA-PSS}, false, [sign])-Pass Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-256, name: RSA-PSS}, false, [sign, sign])+Fail Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-256, name: RSA-PSS}, false, [sign, sign])Pass Empty Usages: 4096 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-256, name: RSA-PSS}, false, [])Pass Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-256, name: RSA-PSS}, false, [sign])-Pass Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-256, name: RSA-PSS}, false, [sign, sign])+Fail Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-256, name: RSA-PSS}, false, [sign, sign])Pass Empty Usages: 4096 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-256, name: RSA-PSS}, false, [])Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-384, name: RSA-PSS}, true, [verify])Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSA-PSS}, true, [verify])Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-384, name: RSA-PSS}, true, [])Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSA-PSS}, true, [])-Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-384, name: RSA-PSS}, true, [verify, verify])-Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSA-PSS}, true, [verify, verify])+Fail Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-384, name: RSA-PSS}, true, [verify, verify])+Fail Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSA-PSS}, true, [verify, verify])Pass Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-384, name: RSA-PSS}, true, [sign])-Pass Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-384, name: RSA-PSS}, true, [sign, sign])+Fail Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-384, name: RSA-PSS}, true, [sign, sign])Pass Empty Usages: 4096 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-384, name: RSA-PSS}, true, [])Pass Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-384, name: RSA-PSS}, true, [sign])-Pass Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-384, name: RSA-PSS}, true, [sign, sign])+Fail Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-384, name: RSA-PSS}, true, [sign, sign])Pass Empty Usages: 4096 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-384, name: RSA-PSS}, true, [])Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-384, name: RSA-PSS}, false, [verify])Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSA-PSS}, false, [verify])Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-384, name: RSA-PSS}, false, [])Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSA-PSS}, false, [])-Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-384, name: RSA-PSS}, false, [verify, verify])-Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSA-PSS}, false, [verify, verify])+Fail Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-384, name: RSA-PSS}, false, [verify, verify])+Fail Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSA-PSS}, false, [verify, verify])Pass Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-384, name: RSA-PSS}, false, [sign])-Pass Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-384, name: RSA-PSS}, false, [sign, sign])+Fail Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-384, name: RSA-PSS}, false, [sign, sign])Pass Empty Usages: 4096 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-384, name: RSA-PSS}, false, [])Pass Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-384, name: RSA-PSS}, false, [sign])-Pass Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-384, name: RSA-PSS}, false, [sign, sign])+Fail Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-384, name: RSA-PSS}, false, [sign, sign])Pass Empty Usages: 4096 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-384, name: RSA-PSS}, false, [])Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-512, name: RSA-PSS}, true, [verify])Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSA-PSS}, true, [verify])Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-512, name: RSA-PSS}, true, [])Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSA-PSS}, true, [])-Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-512, name: RSA-PSS}, true, [verify, verify])-Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSA-PSS}, true, [verify, verify])+Fail Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-512, name: RSA-PSS}, true, [verify, verify])+Fail Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSA-PSS}, true, [verify, verify])Pass Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-512, name: RSA-PSS}, true, [sign])-Pass Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-512, name: RSA-PSS}, true, [sign, sign])+Fail Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-512, name: RSA-PSS}, true, [sign, sign])Pass Empty Usages: 4096 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-512, name: RSA-PSS}, true, [])Pass Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-512, name: RSA-PSS}, true, [sign])-Pass Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-512, name: RSA-PSS}, true, [sign, sign])+Fail Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-512, name: RSA-PSS}, true, [sign, sign])Pass Empty Usages: 4096 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-512, name: RSA-PSS}, true, [])Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-512, name: RSA-PSS}, false, [verify])Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSA-PSS}, false, [verify])Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-512, name: RSA-PSS}, false, [])Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSA-PSS}, false, [])-Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-512, name: RSA-PSS}, false, [verify, verify])-Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSA-PSS}, false, [verify, verify])+Fail Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-512, name: RSA-PSS}, false, [verify, verify])+Fail Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSA-PSS}, false, [verify, verify])Pass Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-512, name: RSA-PSS}, false, [sign])-Pass Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-512, name: RSA-PSS}, false, [sign, sign])+Fail Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-512, name: RSA-PSS}, false, [sign, sign])Pass Empty Usages: 4096 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-512, name: RSA-PSS}, false, [])Pass Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-512, name: RSA-PSS}, false, [sign])-Pass Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-512, name: RSA-PSS}, false, [sign, sign])+Fail Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-512, name: RSA-PSS}, false, [sign, sign])Pass Empty Usages: 4096 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-512, name: RSA-PSS}, false, [])Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, true, [verify])Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, true, [verify])Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, true, [])Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, true, [])-Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, true, [verify, verify])-Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, true, [verify, verify])+Fail Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, true, [verify, verify])+Fail Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, true, [verify, verify])Pass Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, true, [sign])-Pass Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, true, [sign, sign])+Fail Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, true, [sign, sign])Pass Empty Usages: 1024 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, true, [])Pass Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, true, [sign])-Pass Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, true, [sign, sign])+Fail Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, true, [sign, sign])Pass Empty Usages: 1024 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, true, [])Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, false, [verify])Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, false, [verify])Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, false, [])Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, false, [])-Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, false, [verify, verify])-Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, false, [verify, verify])+Fail Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, false, [verify, verify])+Fail Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, false, [verify, verify])Pass Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, false, [sign])-Pass Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, false, [sign, sign])+Fail Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, false, [sign, sign])Pass Empty Usages: 1024 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, false, [])Pass Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, false, [sign])-Pass Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, false, [sign, sign])+Fail Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, false, [sign, sign])Pass Empty Usages: 1024 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, false, [])Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, true, [verify])Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, true, [verify])Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, true, [])Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, true, [])-Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, true, [verify, verify])-Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, true, [verify, verify])+Fail Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, true, [verify, verify])+Fail Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, true, [verify, verify])Pass Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, true, [sign])-Pass Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, true, [sign, sign])+Fail Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, true, [sign, sign])Pass Empty Usages: 1024 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, true, [])Pass Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, true, [sign])-Pass Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, true, [sign, sign])+Fail Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, true, [sign, sign])Pass Empty Usages: 1024 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, true, [])Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, false, [verify])Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, false, [verify])Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, false, [])Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, false, [])-Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, false, [verify, verify])-Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, false, [verify, verify])+Fail Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, false, [verify, verify])+Fail Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, false, [verify, verify])Pass Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, false, [sign])-Pass Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, false, [sign, sign])+Fail Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, false, [sign, sign])Pass Empty Usages: 1024 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, false, [])Pass Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, false, [sign])-Pass Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, false, [sign, sign])+Fail Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, false, [sign, sign])Pass Empty Usages: 1024 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, false, [])Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, true, [verify])Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, true, [verify])Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, true, [])Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, true, [])-Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, true, [verify, verify])-Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, true, [verify, verify])+Fail Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, true, [verify, verify])+Fail Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, true, [verify, verify])Pass Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, true, [sign])-Pass Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, true, [sign, sign])+Fail Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, true, [sign, sign])Pass Empty Usages: 1024 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, true, [])Pass Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, true, [sign])-Pass Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, true, [sign, sign])+Fail Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, true, [sign, sign])Pass Empty Usages: 1024 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, true, [])Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, false, [verify])Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, false, [verify])Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, false, [])Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, false, [])-Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, false, [verify, verify])-Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, false, [verify, verify])+Fail Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, false, [verify, verify])+Fail Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, false, [verify, verify])Pass Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, false, [sign])-Pass Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, false, [sign, sign])+Fail Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, false, [sign, sign])Pass Empty Usages: 1024 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, false, [])Pass Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, false, [sign])-Pass Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, false, [sign, sign])+Fail Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, false, [sign, sign])Pass Empty Usages: 1024 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, false, [])Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, true, [verify])Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, true, [verify])Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, true, [])Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, true, [])-Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, true, [verify, verify])-Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, true, [verify, verify])+Fail Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, true, [verify, verify])+Fail Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, true, [verify, verify])Pass Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, true, [sign])-Pass Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, true, [sign, sign])+Fail Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, true, [sign, sign])Pass Empty Usages: 1024 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, true, [])Pass Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, true, [sign])-Pass Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, true, [sign, sign])+Fail Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, true, [sign, sign])Pass Empty Usages: 1024 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, true, [])Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, false, [verify])Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, false, [verify])Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, false, [])Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, false, [])-Pass Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, false, [verify, verify])-Pass Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, false, [verify, verify])+Fail Good parameters: 1024 bits (spki, buffer(162), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, false, [verify, verify])+Fail Good parameters: 1024 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, false, [verify, verify])Pass Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, false, [sign])-Pass Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, false, [sign, sign])+Fail Good parameters: 1024 bits (pkcs8, buffer(636), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, false, [sign, sign])Pass Empty Usages: 1024 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, false, [])Pass Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, false, [sign])-Pass Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, false, [sign, sign])+Fail Good parameters: 1024 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, false, [sign, sign])Pass Empty Usages: 1024 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, false, [])Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, true, [verify])Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, true, [verify])Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, true, [])Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, true, [])-Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, true, [verify, verify])-Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, true, [verify, verify])+Fail Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, true, [verify, verify])+Fail Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, true, [verify, verify])Pass Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, true, [sign])-Pass Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, true, [sign, sign])+Fail Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, true, [sign, sign])Pass Empty Usages: 2048 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, true, [])Pass Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, true, [sign])-Pass Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, true, [sign, sign])+Fail Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, true, [sign, sign])Pass Empty Usages: 2048 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, true, [])Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, false, [verify])Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, false, [verify])Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, false, [])Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, false, [])-Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, false, [verify, verify])-Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, false, [verify, verify])+Fail Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, false, [verify, verify])+Fail Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, false, [verify, verify])Pass Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, false, [sign])-Pass Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, false, [sign, sign])+Fail Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, false, [sign, sign])Pass Empty Usages: 2048 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, false, [])Pass Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, false, [sign])-Pass Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, false, [sign, sign])+Fail Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, false, [sign, sign])Pass Empty Usages: 2048 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, false, [])Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, true, [verify])Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, true, [verify])Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, true, [])Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, true, [])-Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, true, [verify, verify])-Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, true, [verify, verify])+Fail Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, true, [verify, verify])+Fail Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, true, [verify, verify])Pass Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, true, [sign])-Pass Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, true, [sign, sign])+Fail Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, true, [sign, sign])Pass Empty Usages: 2048 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, true, [])Pass Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, true, [sign])-Pass Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, true, [sign, sign])+Fail Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, true, [sign, sign])Pass Empty Usages: 2048 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, true, [])Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, false, [verify])Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, false, [verify])Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, false, [])Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, false, [])-Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, false, [verify, verify])-Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, false, [verify, verify])+Fail Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, false, [verify, verify])+Fail Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, false, [verify, verify])Pass Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, false, [sign])-Pass Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, false, [sign, sign])+Fail Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, false, [sign, sign])Pass Empty Usages: 2048 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, false, [])Pass Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, false, [sign])-Pass Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, false, [sign, sign])+Fail Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, false, [sign, sign])Pass Empty Usages: 2048 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, false, [])Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, true, [verify])Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, true, [verify])Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, true, [])Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, true, [])-Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, true, [verify, verify])-Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, true, [verify, verify])+Fail Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, true, [verify, verify])+Fail Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, true, [verify, verify])Pass Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, true, [sign])-Pass Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, true, [sign, sign])+Fail Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, true, [sign, sign])Pass Empty Usages: 2048 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, true, [])Pass Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, true, [sign])-Pass Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, true, [sign, sign])+Fail Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, true, [sign, sign])Pass Empty Usages: 2048 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, true, [])Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, false, [verify])Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, false, [verify])Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, false, [])Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, false, [])-Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, false, [verify, verify])-Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, false, [verify, verify])+Fail Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, false, [verify, verify])+Fail Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, false, [verify, verify])Pass Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, false, [sign])-Pass Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, false, [sign, sign])+Fail Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, false, [sign, sign])Pass Empty Usages: 2048 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, false, [])Pass Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, false, [sign])-Pass Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, false, [sign, sign])+Fail Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, false, [sign, sign])Pass Empty Usages: 2048 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, false, [])Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, true, [verify])Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, true, [verify])Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, true, [])Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, true, [])-Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, true, [verify, verify])-Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, true, [verify, verify])+Fail Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, true, [verify, verify])+Fail Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, true, [verify, verify])Pass Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, true, [sign])-Pass Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, true, [sign, sign])+Fail Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, true, [sign, sign])Pass Empty Usages: 2048 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, true, [])Pass Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, true, [sign])-Pass Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, true, [sign, sign])+Fail Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, true, [sign, sign])Pass Empty Usages: 2048 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, true, [])Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, false, [verify])Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, false, [verify])Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, false, [])Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, false, [])-Pass Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, false, [verify, verify])-Pass Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, false, [verify, verify])+Fail Good parameters: 2048 bits (spki, buffer(294), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, false, [verify, verify])+Fail Good parameters: 2048 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, false, [verify, verify])Pass Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, false, [sign])-Pass Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, false, [sign, sign])+Fail Good parameters: 2048 bits (pkcs8, buffer(1218), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, false, [sign, sign])Pass Empty Usages: 2048 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, false, [])Pass Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, false, [sign])-Pass Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, false, [sign, sign])+Fail Good parameters: 2048 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, false, [sign, sign])Pass Empty Usages: 2048 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, false, [])Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, true, [verify])Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, true, [verify])Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, true, [])Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, true, [])-Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, true, [verify, verify])-Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, true, [verify, verify])+Fail Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, true, [verify, verify])+Fail Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, true, [verify, verify])Pass Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, true, [sign])-Pass Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, true, [sign, sign])+Fail Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, true, [sign, sign])Pass Empty Usages: 4096 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, true, [])Pass Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, true, [sign])-Pass Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, true, [sign, sign])+Fail Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, true, [sign, sign])Pass Empty Usages: 4096 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, true, [])Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, false, [verify])Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, false, [verify])Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, false, [])Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, false, [])-Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, false, [verify, verify])-Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, false, [verify, verify])+Fail Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, false, [verify, verify])+Fail Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, false, [verify, verify])Pass Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, false, [sign])-Pass Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, false, [sign, sign])+Fail Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, false, [sign, sign])Pass Empty Usages: 4096 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, false, [])Pass Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, false, [sign])-Pass Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, false, [sign, sign])+Fail Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, false, [sign, sign])Pass Empty Usages: 4096 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-1, name: RSASSA-PKCS1-v1_5}, false, [])Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, true, [verify])Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, true, [verify])Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, true, [])Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, true, [])-Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, true, [verify, verify])-Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, true, [verify, verify])+Fail Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, true, [verify, verify])+Fail Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, true, [verify, verify])Pass Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, true, [sign])-Pass Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, true, [sign, sign])+Fail Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, true, [sign, sign])Pass Empty Usages: 4096 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, true, [])Pass Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, true, [sign])-Pass Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, true, [sign, sign])+Fail Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, true, [sign, sign])Pass Empty Usages: 4096 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, true, [])Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, false, [verify])Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, false, [verify])Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, false, [])Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, false, [])-Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, false, [verify, verify])-Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, false, [verify, verify])+Fail Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, false, [verify, verify])+Fail Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, false, [verify, verify])Pass Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, false, [sign])-Pass Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, false, [sign, sign])+Fail Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, false, [sign, sign])Pass Empty Usages: 4096 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, false, [])Pass Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, false, [sign])-Pass Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, false, [sign, sign])+Fail Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, false, [sign, sign])Pass Empty Usages: 4096 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-256, name: RSASSA-PKCS1-v1_5}, false, [])Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, true, [verify])Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, true, [verify])Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, true, [])Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, true, [])-Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, true, [verify, verify])-Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, true, [verify, verify])+Fail Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, true, [verify, verify])+Fail Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, true, [verify, verify])Pass Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, true, [sign])-Pass Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, true, [sign, sign])+Fail Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, true, [sign, sign])Pass Empty Usages: 4096 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, true, [])Pass Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, true, [sign])-Pass Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, true, [sign, sign])+Fail Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, true, [sign, sign])Pass Empty Usages: 4096 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, true, [])Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, false, [verify])Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, false, [verify])Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, false, [])Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, false, [])-Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, false, [verify, verify])-Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, false, [verify, verify])+Fail Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, false, [verify, verify])+Fail Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, false, [verify, verify])Pass Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, false, [sign])-Pass Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, false, [sign, sign])+Fail Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, false, [sign, sign])Pass Empty Usages: 4096 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, false, [])Pass Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, false, [sign])-Pass Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, false, [sign, sign])+Fail Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, false, [sign, sign])Pass Empty Usages: 4096 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-384, name: RSASSA-PKCS1-v1_5}, false, [])Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, true, [verify])Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, true, [verify])Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, true, [])Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, true, [])-Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, true, [verify, verify])-Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, true, [verify, verify])+Fail Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, true, [verify, verify])+Fail Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, true, [verify, verify])Pass Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, true, [sign])-Pass Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, true, [sign, sign])+Fail Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, true, [sign, sign])Pass Empty Usages: 4096 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, true, [])Pass Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, true, [sign])-Pass Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, true, [sign, sign])+Fail Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, true, [sign, sign])Pass Empty Usages: 4096 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, true, [])Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, false, [verify])Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, false, [verify])Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, false, [])Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, false, [])-Pass Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, false, [verify, verify])-Pass Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, false, [verify, verify])+Fail Good parameters: 4096 bits (spki, buffer(550), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, false, [verify, verify])+Fail Good parameters: 4096 bits (jwk, object(kty, n, e), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, false, [verify, verify])Pass Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, false, [sign])-Pass Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, false, [sign, sign])+Fail Good parameters: 4096 bits (pkcs8, buffer(2376), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, false, [sign, sign])Pass Empty Usages: 4096 bits (pkcs8, object(spki, pkcs8, jwk), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, false, [])Pass Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, false, [sign])-Pass Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, false, [sign, sign])+Fail Good parameters: 4096 bits (jwk, object(kty, n, e, d, p, q, dp, dq, qi), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, false, [sign, sign])Pass Empty Usages: 4096 bits (jwk, object(spki, pkcs8, jwk), {hash: SHA-512, name: RSASSA-PKCS1-v1_5}, false, [])\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/import_export/symmetric_importKey.https.any.txt b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/import_export/symmetric_importKey.https.any.txtindex deb5ecb5743..78b596f5d8c 100644--- a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/import_export/symmetric_importKey.https.any.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/import_export/symmetric_importKey.https.any.txt@@ -1,515 +1,612 @@Harness status: OK-Found 510 tests+Found 606 tests-510 Pass+408 Pass+198 FailPass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CTR}, true, [encrypt])Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CTR}, true, [decrypt, encrypt])Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CTR}, true, [decrypt])-Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CTR}, true, [encrypt, decrypt, encrypt, decrypt])+Fail Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CTR}, true, [encrypt, decrypt, encrypt, decrypt])Pass Empty Usages: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CTR}, true, [])+Fail Key data altered during call: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CTR}, true, [encrypt])+Fail Key data altered during call: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CTR}, true, [decrypt, encrypt])+Fail Key data altered during call: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CTR}, true, [decrypt])+Fail Key data altered during call: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CTR}, true, [encrypt, decrypt, encrypt, decrypt])Pass Good parameters: 128 bits (jwk, {alg: A128CTR, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: AES-CTR}, true, [encrypt])Pass Good parameters: 128 bits (jwk, {alg: A128CTR, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: AES-CTR}, true, [decrypt, encrypt])Pass Good parameters: 128 bits (jwk, {alg: A128CTR, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: AES-CTR}, true, [decrypt])-Pass Good parameters: 128 bits (jwk, {alg: A128CTR, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: AES-CTR}, true, [encrypt, decrypt, encrypt, decrypt])+Fail Good parameters: 128 bits (jwk, {alg: A128CTR, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: AES-CTR}, true, [encrypt, decrypt, encrypt, decrypt])Pass Empty Usages: 128 bits (jwk, {alg: A128CTR, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: AES-CTR}, true, [])Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CTR}, false, [encrypt])Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CTR}, false, [decrypt, encrypt])Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CTR}, false, [decrypt])-Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CTR}, false, [encrypt, decrypt, encrypt, decrypt])+Fail Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CTR}, false, [encrypt, decrypt, encrypt, decrypt])Pass Empty Usages: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CTR}, false, [])Pass Good parameters: 128 bits (jwk, {alg: A128CTR, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: AES-CTR}, false, [encrypt])Pass Good parameters: 128 bits (jwk, {alg: A128CTR, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: AES-CTR}, false, [decrypt, encrypt])Pass Good parameters: 128 bits (jwk, {alg: A128CTR, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: AES-CTR}, false, [decrypt])-Pass Good parameters: 128 bits (jwk, {alg: A128CTR, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: AES-CTR}, false, [encrypt, decrypt, encrypt, decrypt])+Fail Good parameters: 128 bits (jwk, {alg: A128CTR, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: AES-CTR}, false, [encrypt, decrypt, encrypt, decrypt])Pass Empty Usages: 128 bits (jwk, {alg: A128CTR, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: AES-CTR}, false, [])Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CTR}, true, [encrypt])Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CTR}, true, [decrypt, encrypt])Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CTR}, true, [decrypt])-Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CTR}, true, [encrypt, decrypt, encrypt, decrypt])+Fail Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CTR}, true, [encrypt, decrypt, encrypt, decrypt])Pass Empty Usages: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CTR}, true, [])+Fail Key data altered during call: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CTR}, true, [encrypt])+Fail Key data altered during call: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CTR}, true, [decrypt, encrypt])+Fail Key data altered during call: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CTR}, true, [decrypt])+Fail Key data altered during call: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CTR}, true, [encrypt, decrypt, encrypt, decrypt])Pass Good parameters: 192 bits (jwk, {alg: A192CTR, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: AES-CTR}, true, [encrypt])Pass Good parameters: 192 bits (jwk, {alg: A192CTR, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: AES-CTR}, true, [decrypt, encrypt])Pass Good parameters: 192 bits (jwk, {alg: A192CTR, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: AES-CTR}, true, [decrypt])-Pass Good parameters: 192 bits (jwk, {alg: A192CTR, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: AES-CTR}, true, [encrypt, decrypt, encrypt, decrypt])+Fail Good parameters: 192 bits (jwk, {alg: A192CTR, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: AES-CTR}, true, [encrypt, decrypt, encrypt, decrypt])Pass Empty Usages: 192 bits (jwk, {alg: A192CTR, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: AES-CTR}, true, [])Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CTR}, false, [encrypt])Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CTR}, false, [decrypt, encrypt])Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CTR}, false, [decrypt])-Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CTR}, false, [encrypt, decrypt, encrypt, decrypt])+Fail Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CTR}, false, [encrypt, decrypt, encrypt, decrypt])Pass Empty Usages: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CTR}, false, [])Pass Good parameters: 192 bits (jwk, {alg: A192CTR, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: AES-CTR}, false, [encrypt])Pass Good parameters: 192 bits (jwk, {alg: A192CTR, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: AES-CTR}, false, [decrypt, encrypt])Pass Good parameters: 192 bits (jwk, {alg: A192CTR, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: AES-CTR}, false, [decrypt])-Pass Good parameters: 192 bits (jwk, {alg: A192CTR, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: AES-CTR}, false, [encrypt, decrypt, encrypt, decrypt])+Fail Good parameters: 192 bits (jwk, {alg: A192CTR, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: AES-CTR}, false, [encrypt, decrypt, encrypt, decrypt])Pass Empty Usages: 192 bits (jwk, {alg: A192CTR, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: AES-CTR}, false, [])Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CTR}, true, [encrypt])Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CTR}, true, [decrypt, encrypt])Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CTR}, true, [decrypt])-Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CTR}, true, [encrypt, decrypt, encrypt, decrypt])+Fail Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CTR}, true, [encrypt, decrypt, encrypt, decrypt])Pass Empty Usages: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CTR}, true, [])+Fail Key data altered during call: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CTR}, true, [encrypt])+Fail Key data altered during call: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CTR}, true, [decrypt, encrypt])+Fail Key data altered during call: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CTR}, true, [decrypt])+Fail Key data altered during call: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CTR}, true, [encrypt, decrypt, encrypt, decrypt])Pass Good parameters: 256 bits (jwk, {alg: A256CTR, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: AES-CTR}, true, [encrypt])Pass Good parameters: 256 bits (jwk, {alg: A256CTR, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: AES-CTR}, true, [decrypt, encrypt])Pass Good parameters: 256 bits (jwk, {alg: A256CTR, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: AES-CTR}, true, [decrypt])-Pass Good parameters: 256 bits (jwk, {alg: A256CTR, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: AES-CTR}, true, [encrypt, decrypt, encrypt, decrypt])+Fail Good parameters: 256 bits (jwk, {alg: A256CTR, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: AES-CTR}, true, [encrypt, decrypt, encrypt, decrypt])Pass Empty Usages: 256 bits (jwk, {alg: A256CTR, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: AES-CTR}, true, [])Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CTR}, false, [encrypt])Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CTR}, false, [decrypt, encrypt])Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CTR}, false, [decrypt])-Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CTR}, false, [encrypt, decrypt, encrypt, decrypt])+Fail Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CTR}, false, [encrypt, decrypt, encrypt, decrypt])Pass Empty Usages: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CTR}, false, [])Pass Good parameters: 256 bits (jwk, {alg: A256CTR, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: AES-CTR}, false, [encrypt])Pass Good parameters: 256 bits (jwk, {alg: A256CTR, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: AES-CTR}, false, [decrypt, encrypt])Pass Good parameters: 256 bits (jwk, {alg: A256CTR, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: AES-CTR}, false, [decrypt])-Pass Good parameters: 256 bits (jwk, {alg: A256CTR, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: AES-CTR}, false, [encrypt, decrypt, encrypt, decrypt])+Fail Good parameters: 256 bits (jwk, {alg: A256CTR, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: AES-CTR}, false, [encrypt, decrypt, encrypt, decrypt])Pass Empty Usages: 256 bits (jwk, {alg: A256CTR, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: AES-CTR}, false, [])Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CBC}, true, [encrypt])Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CBC}, true, [decrypt, encrypt])Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CBC}, true, [decrypt])-Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CBC}, true, [encrypt, decrypt, encrypt, decrypt])+Fail Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CBC}, true, [encrypt, decrypt, encrypt, decrypt])Pass Empty Usages: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CBC}, true, [])+Fail Key data altered during call: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CBC}, true, [encrypt])+Fail Key data altered during call: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CBC}, true, [decrypt, encrypt])+Fail Key data altered during call: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CBC}, true, [decrypt])+Fail Key data altered during call: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CBC}, true, [encrypt, decrypt, encrypt, decrypt])Pass Good parameters: 128 bits (jwk, {alg: A128CBC, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: AES-CBC}, true, [encrypt])Pass Good parameters: 128 bits (jwk, {alg: A128CBC, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: AES-CBC}, true, [decrypt, encrypt])Pass Good parameters: 128 bits (jwk, {alg: A128CBC, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: AES-CBC}, true, [decrypt])-Pass Good parameters: 128 bits (jwk, {alg: A128CBC, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: AES-CBC}, true, [encrypt, decrypt, encrypt, decrypt])+Fail Good parameters: 128 bits (jwk, {alg: A128CBC, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: AES-CBC}, true, [encrypt, decrypt, encrypt, decrypt])Pass Empty Usages: 128 bits (jwk, {alg: A128CBC, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: AES-CBC}, true, [])Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CBC}, false, [encrypt])Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CBC}, false, [decrypt, encrypt])Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CBC}, false, [decrypt])-Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CBC}, false, [encrypt, decrypt, encrypt, decrypt])+Fail Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CBC}, false, [encrypt, decrypt, encrypt, decrypt])Pass Empty Usages: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CBC}, false, [])Pass Good parameters: 128 bits (jwk, {alg: A128CBC, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: AES-CBC}, false, [encrypt])Pass Good parameters: 128 bits (jwk, {alg: A128CBC, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: AES-CBC}, false, [decrypt, encrypt])Pass Good parameters: 128 bits (jwk, {alg: A128CBC, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: AES-CBC}, false, [decrypt])-Pass Good parameters: 128 bits (jwk, {alg: A128CBC, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: AES-CBC}, false, [encrypt, decrypt, encrypt, decrypt])+Fail Good parameters: 128 bits (jwk, {alg: A128CBC, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: AES-CBC}, false, [encrypt, decrypt, encrypt, decrypt])Pass Empty Usages: 128 bits (jwk, {alg: A128CBC, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: AES-CBC}, false, [])Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CBC}, true, [encrypt])Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CBC}, true, [decrypt, encrypt])Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CBC}, true, [decrypt])-Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CBC}, true, [encrypt, decrypt, encrypt, decrypt])+Fail Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CBC}, true, [encrypt, decrypt, encrypt, decrypt])Pass Empty Usages: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CBC}, true, [])+Fail Key data altered during call: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CBC}, true, [encrypt])+Fail Key data altered during call: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CBC}, true, [decrypt, encrypt])+Fail Key data altered during call: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CBC}, true, [decrypt])+Fail Key data altered during call: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CBC}, true, [encrypt, decrypt, encrypt, decrypt])Pass Good parameters: 192 bits (jwk, {alg: A192CBC, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: AES-CBC}, true, [encrypt])Pass Good parameters: 192 bits (jwk, {alg: A192CBC, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: AES-CBC}, true, [decrypt, encrypt])Pass Good parameters: 192 bits (jwk, {alg: A192CBC, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: AES-CBC}, true, [decrypt])-Pass Good parameters: 192 bits (jwk, {alg: A192CBC, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: AES-CBC}, true, [encrypt, decrypt, encrypt, decrypt])+Fail Good parameters: 192 bits (jwk, {alg: A192CBC, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: AES-CBC}, true, [encrypt, decrypt, encrypt, decrypt])Pass Empty Usages: 192 bits (jwk, {alg: A192CBC, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: AES-CBC}, true, [])Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CBC}, false, [encrypt])Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CBC}, false, [decrypt, encrypt])Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CBC}, false, [decrypt])-Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CBC}, false, [encrypt, decrypt, encrypt, decrypt])+Fail Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CBC}, false, [encrypt, decrypt, encrypt, decrypt])Pass Empty Usages: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CBC}, false, [])Pass Good parameters: 192 bits (jwk, {alg: A192CBC, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: AES-CBC}, false, [encrypt])Pass Good parameters: 192 bits (jwk, {alg: A192CBC, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: AES-CBC}, false, [decrypt, encrypt])Pass Good parameters: 192 bits (jwk, {alg: A192CBC, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: AES-CBC}, false, [decrypt])-Pass Good parameters: 192 bits (jwk, {alg: A192CBC, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: AES-CBC}, false, [encrypt, decrypt, encrypt, decrypt])+Fail Good parameters: 192 bits (jwk, {alg: A192CBC, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: AES-CBC}, false, [encrypt, decrypt, encrypt, decrypt])Pass Empty Usages: 192 bits (jwk, {alg: A192CBC, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: AES-CBC}, false, [])Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CBC}, true, [encrypt])Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CBC}, true, [decrypt, encrypt])Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CBC}, true, [decrypt])-Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CBC}, true, [encrypt, decrypt, encrypt, decrypt])+Fail Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CBC}, true, [encrypt, decrypt, encrypt, decrypt])Pass Empty Usages: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CBC}, true, [])+Fail Key data altered during call: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CBC}, true, [encrypt])+Fail Key data altered during call: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CBC}, true, [decrypt, encrypt])+Fail Key data altered during call: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CBC}, true, [decrypt])+Fail Key data altered during call: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CBC}, true, [encrypt, decrypt, encrypt, decrypt])Pass Good parameters: 256 bits (jwk, {alg: A256CBC, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: AES-CBC}, true, [encrypt])Pass Good parameters: 256 bits (jwk, {alg: A256CBC, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: AES-CBC}, true, [decrypt, encrypt])Pass Good parameters: 256 bits (jwk, {alg: A256CBC, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: AES-CBC}, true, [decrypt])-Pass Good parameters: 256 bits (jwk, {alg: A256CBC, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: AES-CBC}, true, [encrypt, decrypt, encrypt, decrypt])+Fail Good parameters: 256 bits (jwk, {alg: A256CBC, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: AES-CBC}, true, [encrypt, decrypt, encrypt, decrypt])Pass Empty Usages: 256 bits (jwk, {alg: A256CBC, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: AES-CBC}, true, [])Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CBC}, false, [encrypt])Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CBC}, false, [decrypt, encrypt])Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CBC}, false, [decrypt])-Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CBC}, false, [encrypt, decrypt, encrypt, decrypt])+Fail Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CBC}, false, [encrypt, decrypt, encrypt, decrypt])Pass Empty Usages: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-CBC}, false, [])Pass Good parameters: 256 bits (jwk, {alg: A256CBC, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: AES-CBC}, false, [encrypt])Pass Good parameters: 256 bits (jwk, {alg: A256CBC, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: AES-CBC}, false, [decrypt, encrypt])Pass Good parameters: 256 bits (jwk, {alg: A256CBC, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: AES-CBC}, false, [decrypt])-Pass Good parameters: 256 bits (jwk, {alg: A256CBC, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: AES-CBC}, false, [encrypt, decrypt, encrypt, decrypt])+Fail Good parameters: 256 bits (jwk, {alg: A256CBC, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: AES-CBC}, false, [encrypt, decrypt, encrypt, decrypt])Pass Empty Usages: 256 bits (jwk, {alg: A256CBC, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: AES-CBC}, false, [])Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-GCM}, true, [encrypt])Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-GCM}, true, [decrypt, encrypt])Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-GCM}, true, [decrypt])-Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-GCM}, true, [encrypt, decrypt, encrypt, decrypt])+Fail Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-GCM}, true, [encrypt, decrypt, encrypt, decrypt])Pass Empty Usages: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-GCM}, true, [])+Fail Key data altered during call: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-GCM}, true, [encrypt])+Fail Key data altered during call: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-GCM}, true, [decrypt, encrypt])+Fail Key data altered during call: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-GCM}, true, [decrypt])+Fail Key data altered during call: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-GCM}, true, [encrypt, decrypt, encrypt, decrypt])Pass Good parameters: 128 bits (jwk, {alg: A128GCM, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: AES-GCM}, true, [encrypt])Pass Good parameters: 128 bits (jwk, {alg: A128GCM, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: AES-GCM}, true, [decrypt, encrypt])Pass Good parameters: 128 bits (jwk, {alg: A128GCM, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: AES-GCM}, true, [decrypt])-Pass Good parameters: 128 bits (jwk, {alg: A128GCM, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: AES-GCM}, true, [encrypt, decrypt, encrypt, decrypt])+Fail Good parameters: 128 bits (jwk, {alg: A128GCM, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: AES-GCM}, true, [encrypt, decrypt, encrypt, decrypt])Pass Empty Usages: 128 bits (jwk, {alg: A128GCM, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: AES-GCM}, true, [])Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-GCM}, false, [encrypt])Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-GCM}, false, [decrypt, encrypt])Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-GCM}, false, [decrypt])-Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-GCM}, false, [encrypt, decrypt, encrypt, decrypt])+Fail Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-GCM}, false, [encrypt, decrypt, encrypt, decrypt])Pass Empty Usages: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-GCM}, false, [])Pass Good parameters: 128 bits (jwk, {alg: A128GCM, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: AES-GCM}, false, [encrypt])Pass Good parameters: 128 bits (jwk, {alg: A128GCM, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: AES-GCM}, false, [decrypt, encrypt])Pass Good parameters: 128 bits (jwk, {alg: A128GCM, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: AES-GCM}, false, [decrypt])-Pass Good parameters: 128 bits (jwk, {alg: A128GCM, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: AES-GCM}, false, [encrypt, decrypt, encrypt, decrypt])+Fail Good parameters: 128 bits (jwk, {alg: A128GCM, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: AES-GCM}, false, [encrypt, decrypt, encrypt, decrypt])Pass Empty Usages: 128 bits (jwk, {alg: A128GCM, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: AES-GCM}, false, [])Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-GCM}, true, [encrypt])Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-GCM}, true, [decrypt, encrypt])Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-GCM}, true, [decrypt])-Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-GCM}, true, [encrypt, decrypt, encrypt, decrypt])+Fail Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-GCM}, true, [encrypt, decrypt, encrypt, decrypt])Pass Empty Usages: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-GCM}, true, [])+Fail Key data altered during call: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-GCM}, true, [encrypt])+Fail Key data altered during call: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-GCM}, true, [decrypt, encrypt])+Fail Key data altered during call: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-GCM}, true, [decrypt])+Fail Key data altered during call: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-GCM}, true, [encrypt, decrypt, encrypt, decrypt])Pass Good parameters: 192 bits (jwk, {alg: A192GCM, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: AES-GCM}, true, [encrypt])Pass Good parameters: 192 bits (jwk, {alg: A192GCM, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: AES-GCM}, true, [decrypt, encrypt])Pass Good parameters: 192 bits (jwk, {alg: A192GCM, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: AES-GCM}, true, [decrypt])-Pass Good parameters: 192 bits (jwk, {alg: A192GCM, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: AES-GCM}, true, [encrypt, decrypt, encrypt, decrypt])+Fail Good parameters: 192 bits (jwk, {alg: A192GCM, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: AES-GCM}, true, [encrypt, decrypt, encrypt, decrypt])Pass Empty Usages: 192 bits (jwk, {alg: A192GCM, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: AES-GCM}, true, [])Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-GCM}, false, [encrypt])Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-GCM}, false, [decrypt, encrypt])Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-GCM}, false, [decrypt])-Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-GCM}, false, [encrypt, decrypt, encrypt, decrypt])+Fail Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-GCM}, false, [encrypt, decrypt, encrypt, decrypt])Pass Empty Usages: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-GCM}, false, [])Pass Good parameters: 192 bits (jwk, {alg: A192GCM, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: AES-GCM}, false, [encrypt])Pass Good parameters: 192 bits (jwk, {alg: A192GCM, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: AES-GCM}, false, [decrypt, encrypt])Pass Good parameters: 192 bits (jwk, {alg: A192GCM, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: AES-GCM}, false, [decrypt])-Pass Good parameters: 192 bits (jwk, {alg: A192GCM, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: AES-GCM}, false, [encrypt, decrypt, encrypt, decrypt])+Fail Good parameters: 192 bits (jwk, {alg: A192GCM, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: AES-GCM}, false, [encrypt, decrypt, encrypt, decrypt])Pass Empty Usages: 192 bits (jwk, {alg: A192GCM, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: AES-GCM}, false, [])Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-GCM}, true, [encrypt])Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-GCM}, true, [decrypt, encrypt])Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-GCM}, true, [decrypt])-Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-GCM}, true, [encrypt, decrypt, encrypt, decrypt])+Fail Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-GCM}, true, [encrypt, decrypt, encrypt, decrypt])Pass Empty Usages: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-GCM}, true, [])+Fail Key data altered during call: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-GCM}, true, [encrypt])+Fail Key data altered during call: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-GCM}, true, [decrypt, encrypt])+Fail Key data altered during call: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-GCM}, true, [decrypt])+Fail Key data altered during call: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-GCM}, true, [encrypt, decrypt, encrypt, decrypt])Pass Good parameters: 256 bits (jwk, {alg: A256GCM, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: AES-GCM}, true, [encrypt])Pass Good parameters: 256 bits (jwk, {alg: A256GCM, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: AES-GCM}, true, [decrypt, encrypt])Pass Good parameters: 256 bits (jwk, {alg: A256GCM, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: AES-GCM}, true, [decrypt])-Pass Good parameters: 256 bits (jwk, {alg: A256GCM, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: AES-GCM}, true, [encrypt, decrypt, encrypt, decrypt])+Fail Good parameters: 256 bits (jwk, {alg: A256GCM, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: AES-GCM}, true, [encrypt, decrypt, encrypt, decrypt])Pass Empty Usages: 256 bits (jwk, {alg: A256GCM, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: AES-GCM}, true, [])Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-GCM}, false, [encrypt])Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-GCM}, false, [decrypt, encrypt])Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-GCM}, false, [decrypt])-Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-GCM}, false, [encrypt, decrypt, encrypt, decrypt])+Fail Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-GCM}, false, [encrypt, decrypt, encrypt, decrypt])Pass Empty Usages: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-GCM}, false, [])Pass Good parameters: 256 bits (jwk, {alg: A256GCM, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: AES-GCM}, false, [encrypt])Pass Good parameters: 256 bits (jwk, {alg: A256GCM, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: AES-GCM}, false, [decrypt, encrypt])Pass Good parameters: 256 bits (jwk, {alg: A256GCM, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: AES-GCM}, false, [decrypt])-Pass Good parameters: 256 bits (jwk, {alg: A256GCM, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: AES-GCM}, false, [encrypt, decrypt, encrypt, decrypt])+Fail Good parameters: 256 bits (jwk, {alg: A256GCM, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: AES-GCM}, false, [encrypt, decrypt, encrypt, decrypt])Pass Empty Usages: 256 bits (jwk, {alg: A256GCM, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: AES-GCM}, false, [])Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-KW}, true, [wrapKey])Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-KW}, true, [unwrapKey, wrapKey])Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-KW}, true, [unwrapKey])-Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-KW}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey])+Fail Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-KW}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey])Pass Empty Usages: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-KW}, true, [])+Fail Key data altered during call: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-KW}, true, [wrapKey])+Fail Key data altered during call: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-KW}, true, [unwrapKey, wrapKey])+Fail Key data altered during call: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-KW}, true, [unwrapKey])+Fail Key data altered during call: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-KW}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey])Pass Good parameters: 128 bits (jwk, {alg: A128KW, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: AES-KW}, true, [wrapKey])Pass Good parameters: 128 bits (jwk, {alg: A128KW, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: AES-KW}, true, [unwrapKey, wrapKey])Pass Good parameters: 128 bits (jwk, {alg: A128KW, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: AES-KW}, true, [unwrapKey])-Pass Good parameters: 128 bits (jwk, {alg: A128KW, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: AES-KW}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey])+Fail Good parameters: 128 bits (jwk, {alg: A128KW, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: AES-KW}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey])Pass Empty Usages: 128 bits (jwk, {alg: A128KW, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: AES-KW}, true, [])Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-KW}, false, [wrapKey])Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-KW}, false, [unwrapKey, wrapKey])Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-KW}, false, [unwrapKey])-Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-KW}, false, [wrapKey, unwrapKey, wrapKey, unwrapKey])+Fail Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-KW}, false, [wrapKey, unwrapKey, wrapKey, unwrapKey])Pass Empty Usages: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-KW}, false, [])Pass Good parameters: 128 bits (jwk, {alg: A128KW, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: AES-KW}, false, [wrapKey])Pass Good parameters: 128 bits (jwk, {alg: A128KW, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: AES-KW}, false, [unwrapKey, wrapKey])Pass Good parameters: 128 bits (jwk, {alg: A128KW, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: AES-KW}, false, [unwrapKey])-Pass Good parameters: 128 bits (jwk, {alg: A128KW, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: AES-KW}, false, [wrapKey, unwrapKey, wrapKey, unwrapKey])+Fail Good parameters: 128 bits (jwk, {alg: A128KW, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: AES-KW}, false, [wrapKey, unwrapKey, wrapKey, unwrapKey])Pass Empty Usages: 128 bits (jwk, {alg: A128KW, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: AES-KW}, false, [])Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-KW}, true, [wrapKey])Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-KW}, true, [unwrapKey, wrapKey])Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-KW}, true, [unwrapKey])-Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-KW}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey])+Fail Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-KW}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey])Pass Empty Usages: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-KW}, true, [])+Fail Key data altered during call: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-KW}, true, [wrapKey])+Fail Key data altered during call: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-KW}, true, [unwrapKey, wrapKey])+Fail Key data altered during call: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-KW}, true, [unwrapKey])+Fail Key data altered during call: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-KW}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey])Pass Good parameters: 192 bits (jwk, {alg: A192KW, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: AES-KW}, true, [wrapKey])Pass Good parameters: 192 bits (jwk, {alg: A192KW, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: AES-KW}, true, [unwrapKey, wrapKey])Pass Good parameters: 192 bits (jwk, {alg: A192KW, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: AES-KW}, true, [unwrapKey])-Pass Good parameters: 192 bits (jwk, {alg: A192KW, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: AES-KW}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey])+Fail Good parameters: 192 bits (jwk, {alg: A192KW, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: AES-KW}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey])Pass Empty Usages: 192 bits (jwk, {alg: A192KW, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: AES-KW}, true, [])Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-KW}, false, [wrapKey])Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-KW}, false, [unwrapKey, wrapKey])Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-KW}, false, [unwrapKey])-Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-KW}, false, [wrapKey, unwrapKey, wrapKey, unwrapKey])+Fail Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-KW}, false, [wrapKey, unwrapKey, wrapKey, unwrapKey])Pass Empty Usages: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-KW}, false, [])Pass Good parameters: 192 bits (jwk, {alg: A192KW, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: AES-KW}, false, [wrapKey])Pass Good parameters: 192 bits (jwk, {alg: A192KW, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: AES-KW}, false, [unwrapKey, wrapKey])Pass Good parameters: 192 bits (jwk, {alg: A192KW, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: AES-KW}, false, [unwrapKey])-Pass Good parameters: 192 bits (jwk, {alg: A192KW, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: AES-KW}, false, [wrapKey, unwrapKey, wrapKey, unwrapKey])+Fail Good parameters: 192 bits (jwk, {alg: A192KW, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: AES-KW}, false, [wrapKey, unwrapKey, wrapKey, unwrapKey])Pass Empty Usages: 192 bits (jwk, {alg: A192KW, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: AES-KW}, false, [])Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-KW}, true, [wrapKey])Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-KW}, true, [unwrapKey, wrapKey])Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-KW}, true, [unwrapKey])-Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-KW}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey])+Fail Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-KW}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey])Pass Empty Usages: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-KW}, true, [])+Fail Key data altered during call: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-KW}, true, [wrapKey])+Fail Key data altered during call: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-KW}, true, [unwrapKey, wrapKey])+Fail Key data altered during call: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-KW}, true, [unwrapKey])+Fail Key data altered during call: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-KW}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey])Pass Good parameters: 256 bits (jwk, {alg: A256KW, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: AES-KW}, true, [wrapKey])Pass Good parameters: 256 bits (jwk, {alg: A256KW, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: AES-KW}, true, [unwrapKey, wrapKey])Pass Good parameters: 256 bits (jwk, {alg: A256KW, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: AES-KW}, true, [unwrapKey])-Pass Good parameters: 256 bits (jwk, {alg: A256KW, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: AES-KW}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey])+Fail Good parameters: 256 bits (jwk, {alg: A256KW, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: AES-KW}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey])Pass Empty Usages: 256 bits (jwk, {alg: A256KW, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: AES-KW}, true, [])Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-KW}, false, [wrapKey])Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-KW}, false, [unwrapKey, wrapKey])Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-KW}, false, [unwrapKey])-Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-KW}, false, [wrapKey, unwrapKey, wrapKey, unwrapKey])+Fail Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-KW}, false, [wrapKey, unwrapKey, wrapKey, unwrapKey])Pass Empty Usages: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: AES-KW}, false, [])Pass Good parameters: 256 bits (jwk, {alg: A256KW, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: AES-KW}, false, [wrapKey])Pass Good parameters: 256 bits (jwk, {alg: A256KW, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: AES-KW}, false, [unwrapKey, wrapKey])Pass Good parameters: 256 bits (jwk, {alg: A256KW, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: AES-KW}, false, [unwrapKey])-Pass Good parameters: 256 bits (jwk, {alg: A256KW, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: AES-KW}, false, [wrapKey, unwrapKey, wrapKey, unwrapKey])+Fail Good parameters: 256 bits (jwk, {alg: A256KW, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: AES-KW}, false, [wrapKey, unwrapKey, wrapKey, unwrapKey])Pass Empty Usages: 256 bits (jwk, {alg: A256KW, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: AES-KW}, false, [])Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-1, name: HMAC}, true, [sign])Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-1, name: HMAC}, true, [verify, sign])Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-1, name: HMAC}, true, [verify])-Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-1, name: HMAC}, true, [sign, verify, sign, verify])+Fail Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-1, name: HMAC}, true, [sign, verify, sign, verify])Pass Empty Usages: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-1, name: HMAC}, true, [])+Fail Key data altered during call: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-1, name: HMAC}, true, [sign])+Fail Key data altered during call: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-1, name: HMAC}, true, [verify, sign])+Fail Key data altered during call: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-1, name: HMAC}, true, [verify])+Fail Key data altered during call: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-1, name: HMAC}, true, [sign, verify, sign, verify])Pass Good parameters: 128 bits (jwk, {alg: HS1, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {hash: SHA-1, name: HMAC}, true, [sign])Pass Good parameters: 128 bits (jwk, {alg: HS1, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {hash: SHA-1, name: HMAC}, true, [verify, sign])Pass Good parameters: 128 bits (jwk, {alg: HS1, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {hash: SHA-1, name: HMAC}, true, [verify])-Pass Good parameters: 128 bits (jwk, {alg: HS1, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {hash: SHA-1, name: HMAC}, true, [sign, verify, sign, verify])+Fail Good parameters: 128 bits (jwk, {alg: HS1, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {hash: SHA-1, name: HMAC}, true, [sign, verify, sign, verify])Pass Empty Usages: 128 bits (jwk, {alg: HS1, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {hash: SHA-1, name: HMAC}, true, [])Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-1, name: HMAC}, false, [sign])Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-1, name: HMAC}, false, [verify, sign])Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-1, name: HMAC}, false, [verify])-Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-1, name: HMAC}, false, [sign, verify, sign, verify])+Fail Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-1, name: HMAC}, false, [sign, verify, sign, verify])Pass Empty Usages: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-1, name: HMAC}, false, [])Pass Good parameters: 128 bits (jwk, {alg: HS1, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {hash: SHA-1, name: HMAC}, false, [sign])Pass Good parameters: 128 bits (jwk, {alg: HS1, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {hash: SHA-1, name: HMAC}, false, [verify, sign])Pass Good parameters: 128 bits (jwk, {alg: HS1, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {hash: SHA-1, name: HMAC}, false, [verify])-Pass Good parameters: 128 bits (jwk, {alg: HS1, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {hash: SHA-1, name: HMAC}, false, [sign, verify, sign, verify])+Fail Good parameters: 128 bits (jwk, {alg: HS1, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {hash: SHA-1, name: HMAC}, false, [sign, verify, sign, verify])Pass Empty Usages: 128 bits (jwk, {alg: HS1, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {hash: SHA-1, name: HMAC}, false, [])Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-1, name: HMAC}, true, [sign])Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-1, name: HMAC}, true, [verify, sign])Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-1, name: HMAC}, true, [verify])-Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-1, name: HMAC}, true, [sign, verify, sign, verify])+Fail Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-1, name: HMAC}, true, [sign, verify, sign, verify])Pass Empty Usages: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-1, name: HMAC}, true, [])+Fail Key data altered during call: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-1, name: HMAC}, true, [sign])+Fail Key data altered during call: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-1, name: HMAC}, true, [verify, sign])+Fail Key data altered during call: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-1, name: HMAC}, true, [verify])+Fail Key data altered during call: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-1, name: HMAC}, true, [sign, verify, sign, verify])Pass Good parameters: 192 bits (jwk, {alg: HS1, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {hash: SHA-1, name: HMAC}, true, [sign])Pass Good parameters: 192 bits (jwk, {alg: HS1, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {hash: SHA-1, name: HMAC}, true, [verify, sign])Pass Good parameters: 192 bits (jwk, {alg: HS1, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {hash: SHA-1, name: HMAC}, true, [verify])-Pass Good parameters: 192 bits (jwk, {alg: HS1, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {hash: SHA-1, name: HMAC}, true, [sign, verify, sign, verify])+Fail Good parameters: 192 bits (jwk, {alg: HS1, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {hash: SHA-1, name: HMAC}, true, [sign, verify, sign, verify])Pass Empty Usages: 192 bits (jwk, {alg: HS1, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {hash: SHA-1, name: HMAC}, true, [])Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-1, name: HMAC}, false, [sign])Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-1, name: HMAC}, false, [verify, sign])Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-1, name: HMAC}, false, [verify])-Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-1, name: HMAC}, false, [sign, verify, sign, verify])+Fail Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-1, name: HMAC}, false, [sign, verify, sign, verify])Pass Empty Usages: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-1, name: HMAC}, false, [])Pass Good parameters: 192 bits (jwk, {alg: HS1, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {hash: SHA-1, name: HMAC}, false, [sign])Pass Good parameters: 192 bits (jwk, {alg: HS1, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {hash: SHA-1, name: HMAC}, false, [verify, sign])Pass Good parameters: 192 bits (jwk, {alg: HS1, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {hash: SHA-1, name: HMAC}, false, [verify])-Pass Good parameters: 192 bits (jwk, {alg: HS1, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {hash: SHA-1, name: HMAC}, false, [sign, verify, sign, verify])+Fail Good parameters: 192 bits (jwk, {alg: HS1, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {hash: SHA-1, name: HMAC}, false, [sign, verify, sign, verify])Pass Empty Usages: 192 bits (jwk, {alg: HS1, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {hash: SHA-1, name: HMAC}, false, [])Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-1, name: HMAC}, true, [sign])Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-1, name: HMAC}, true, [verify, sign])Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-1, name: HMAC}, true, [verify])-Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-1, name: HMAC}, true, [sign, verify, sign, verify])+Fail Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-1, name: HMAC}, true, [sign, verify, sign, verify])Pass Empty Usages: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-1, name: HMAC}, true, [])+Fail Key data altered during call: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-1, name: HMAC}, true, [sign])+Fail Key data altered during call: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-1, name: HMAC}, true, [verify, sign])+Fail Key data altered during call: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-1, name: HMAC}, true, [verify])+Fail Key data altered during call: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-1, name: HMAC}, true, [sign, verify, sign, verify])Pass Good parameters: 256 bits (jwk, {alg: HS1, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {hash: SHA-1, name: HMAC}, true, [sign])Pass Good parameters: 256 bits (jwk, {alg: HS1, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {hash: SHA-1, name: HMAC}, true, [verify, sign])Pass Good parameters: 256 bits (jwk, {alg: HS1, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {hash: SHA-1, name: HMAC}, true, [verify])-Pass Good parameters: 256 bits (jwk, {alg: HS1, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {hash: SHA-1, name: HMAC}, true, [sign, verify, sign, verify])+Fail Good parameters: 256 bits (jwk, {alg: HS1, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {hash: SHA-1, name: HMAC}, true, [sign, verify, sign, verify])Pass Empty Usages: 256 bits (jwk, {alg: HS1, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {hash: SHA-1, name: HMAC}, true, [])Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-1, name: HMAC}, false, [sign])Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-1, name: HMAC}, false, [verify, sign])Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-1, name: HMAC}, false, [verify])-Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-1, name: HMAC}, false, [sign, verify, sign, verify])+Fail Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-1, name: HMAC}, false, [sign, verify, sign, verify])Pass Empty Usages: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-1, name: HMAC}, false, [])Pass Good parameters: 256 bits (jwk, {alg: HS1, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {hash: SHA-1, name: HMAC}, false, [sign])Pass Good parameters: 256 bits (jwk, {alg: HS1, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {hash: SHA-1, name: HMAC}, false, [verify, sign])Pass Good parameters: 256 bits (jwk, {alg: HS1, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {hash: SHA-1, name: HMAC}, false, [verify])-Pass Good parameters: 256 bits (jwk, {alg: HS1, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {hash: SHA-1, name: HMAC}, false, [sign, verify, sign, verify])+Fail Good parameters: 256 bits (jwk, {alg: HS1, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {hash: SHA-1, name: HMAC}, false, [sign, verify, sign, verify])Pass Empty Usages: 256 bits (jwk, {alg: HS1, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {hash: SHA-1, name: HMAC}, false, [])Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-256, name: HMAC}, true, [sign])Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-256, name: HMAC}, true, [verify, sign])Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-256, name: HMAC}, true, [verify])-Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-256, name: HMAC}, true, [sign, verify, sign, verify])+Fail Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-256, name: HMAC}, true, [sign, verify, sign, verify])Pass Empty Usages: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-256, name: HMAC}, true, [])+Fail Key data altered during call: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-256, name: HMAC}, true, [sign])+Fail Key data altered during call: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-256, name: HMAC}, true, [verify, sign])+Fail Key data altered during call: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-256, name: HMAC}, true, [verify])+Fail Key data altered during call: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-256, name: HMAC}, true, [sign, verify, sign, verify])Pass Good parameters: 128 bits (jwk, {alg: HS256, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {hash: SHA-256, name: HMAC}, true, [sign])Pass Good parameters: 128 bits (jwk, {alg: HS256, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {hash: SHA-256, name: HMAC}, true, [verify, sign])Pass Good parameters: 128 bits (jwk, {alg: HS256, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {hash: SHA-256, name: HMAC}, true, [verify])-Pass Good parameters: 128 bits (jwk, {alg: HS256, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {hash: SHA-256, name: HMAC}, true, [sign, verify, sign, verify])+Fail Good parameters: 128 bits (jwk, {alg: HS256, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {hash: SHA-256, name: HMAC}, true, [sign, verify, sign, verify])Pass Empty Usages: 128 bits (jwk, {alg: HS256, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {hash: SHA-256, name: HMAC}, true, [])Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-256, name: HMAC}, false, [sign])Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-256, name: HMAC}, false, [verify, sign])Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-256, name: HMAC}, false, [verify])-Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-256, name: HMAC}, false, [sign, verify, sign, verify])+Fail Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-256, name: HMAC}, false, [sign, verify, sign, verify])Pass Empty Usages: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-256, name: HMAC}, false, [])Pass Good parameters: 128 bits (jwk, {alg: HS256, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {hash: SHA-256, name: HMAC}, false, [sign])Pass Good parameters: 128 bits (jwk, {alg: HS256, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {hash: SHA-256, name: HMAC}, false, [verify, sign])Pass Good parameters: 128 bits (jwk, {alg: HS256, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {hash: SHA-256, name: HMAC}, false, [verify])-Pass Good parameters: 128 bits (jwk, {alg: HS256, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {hash: SHA-256, name: HMAC}, false, [sign, verify, sign, verify])+Fail Good parameters: 128 bits (jwk, {alg: HS256, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {hash: SHA-256, name: HMAC}, false, [sign, verify, sign, verify])Pass Empty Usages: 128 bits (jwk, {alg: HS256, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {hash: SHA-256, name: HMAC}, false, [])Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-256, name: HMAC}, true, [sign])Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-256, name: HMAC}, true, [verify, sign])Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-256, name: HMAC}, true, [verify])-Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-256, name: HMAC}, true, [sign, verify, sign, verify])+Fail Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-256, name: HMAC}, true, [sign, verify, sign, verify])Pass Empty Usages: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-256, name: HMAC}, true, [])+Fail Key data altered during call: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-256, name: HMAC}, true, [sign])+Fail Key data altered during call: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-256, name: HMAC}, true, [verify, sign])+Fail Key data altered during call: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-256, name: HMAC}, true, [verify])+Fail Key data altered during call: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-256, name: HMAC}, true, [sign, verify, sign, verify])Pass Good parameters: 192 bits (jwk, {alg: HS256, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {hash: SHA-256, name: HMAC}, true, [sign])Pass Good parameters: 192 bits (jwk, {alg: HS256, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {hash: SHA-256, name: HMAC}, true, [verify, sign])Pass Good parameters: 192 bits (jwk, {alg: HS256, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {hash: SHA-256, name: HMAC}, true, [verify])-Pass Good parameters: 192 bits (jwk, {alg: HS256, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {hash: SHA-256, name: HMAC}, true, [sign, verify, sign, verify])+Fail Good parameters: 192 bits (jwk, {alg: HS256, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {hash: SHA-256, name: HMAC}, true, [sign, verify, sign, verify])Pass Empty Usages: 192 bits (jwk, {alg: HS256, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {hash: SHA-256, name: HMAC}, true, [])Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-256, name: HMAC}, false, [sign])Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-256, name: HMAC}, false, [verify, sign])Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-256, name: HMAC}, false, [verify])-Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-256, name: HMAC}, false, [sign, verify, sign, verify])+Fail Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-256, name: HMAC}, false, [sign, verify, sign, verify])Pass Empty Usages: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-256, name: HMAC}, false, [])Pass Good parameters: 192 bits (jwk, {alg: HS256, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {hash: SHA-256, name: HMAC}, false, [sign])Pass Good parameters: 192 bits (jwk, {alg: HS256, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {hash: SHA-256, name: HMAC}, false, [verify, sign])Pass Good parameters: 192 bits (jwk, {alg: HS256, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {hash: SHA-256, name: HMAC}, false, [verify])-Pass Good parameters: 192 bits (jwk, {alg: HS256, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {hash: SHA-256, name: HMAC}, false, [sign, verify, sign, verify])+Fail Good parameters: 192 bits (jwk, {alg: HS256, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {hash: SHA-256, name: HMAC}, false, [sign, verify, sign, verify])Pass Empty Usages: 192 bits (jwk, {alg: HS256, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {hash: SHA-256, name: HMAC}, false, [])Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-256, name: HMAC}, true, [sign])Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-256, name: HMAC}, true, [verify, sign])Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-256, name: HMAC}, true, [verify])-Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-256, name: HMAC}, true, [sign, verify, sign, verify])+Fail Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-256, name: HMAC}, true, [sign, verify, sign, verify])Pass Empty Usages: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-256, name: HMAC}, true, [])+Fail Key data altered during call: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-256, name: HMAC}, true, [sign])+Fail Key data altered during call: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-256, name: HMAC}, true, [verify, sign])+Fail Key data altered during call: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-256, name: HMAC}, true, [verify])+Fail Key data altered during call: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-256, name: HMAC}, true, [sign, verify, sign, verify])Pass Good parameters: 256 bits (jwk, {alg: HS256, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {hash: SHA-256, name: HMAC}, true, [sign])Pass Good parameters: 256 bits (jwk, {alg: HS256, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {hash: SHA-256, name: HMAC}, true, [verify, sign])Pass Good parameters: 256 bits (jwk, {alg: HS256, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {hash: SHA-256, name: HMAC}, true, [verify])-Pass Good parameters: 256 bits (jwk, {alg: HS256, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {hash: SHA-256, name: HMAC}, true, [sign, verify, sign, verify])+Fail Good parameters: 256 bits (jwk, {alg: HS256, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {hash: SHA-256, name: HMAC}, true, [sign, verify, sign, verify])Pass Empty Usages: 256 bits (jwk, {alg: HS256, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {hash: SHA-256, name: HMAC}, true, [])Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-256, name: HMAC}, false, [sign])Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-256, name: HMAC}, false, [verify, sign])Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-256, name: HMAC}, false, [verify])-Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-256, name: HMAC}, false, [sign, verify, sign, verify])+Fail Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-256, name: HMAC}, false, [sign, verify, sign, verify])Pass Empty Usages: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-256, name: HMAC}, false, [])Pass Good parameters: 256 bits (jwk, {alg: HS256, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {hash: SHA-256, name: HMAC}, false, [sign])Pass Good parameters: 256 bits (jwk, {alg: HS256, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {hash: SHA-256, name: HMAC}, false, [verify, sign])Pass Good parameters: 256 bits (jwk, {alg: HS256, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {hash: SHA-256, name: HMAC}, false, [verify])-Pass Good parameters: 256 bits (jwk, {alg: HS256, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {hash: SHA-256, name: HMAC}, false, [sign, verify, sign, verify])+Fail Good parameters: 256 bits (jwk, {alg: HS256, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {hash: SHA-256, name: HMAC}, false, [sign, verify, sign, verify])Pass Empty Usages: 256 bits (jwk, {alg: HS256, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {hash: SHA-256, name: HMAC}, false, [])Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-384, name: HMAC}, true, [sign])Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-384, name: HMAC}, true, [verify, sign])Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-384, name: HMAC}, true, [verify])-Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-384, name: HMAC}, true, [sign, verify, sign, verify])+Fail Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-384, name: HMAC}, true, [sign, verify, sign, verify])Pass Empty Usages: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-384, name: HMAC}, true, [])+Fail Key data altered during call: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-384, name: HMAC}, true, [sign])+Fail Key data altered during call: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-384, name: HMAC}, true, [verify, sign])+Fail Key data altered during call: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-384, name: HMAC}, true, [verify])+Fail Key data altered during call: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-384, name: HMAC}, true, [sign, verify, sign, verify])Pass Good parameters: 128 bits (jwk, {alg: HS384, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {hash: SHA-384, name: HMAC}, true, [sign])Pass Good parameters: 128 bits (jwk, {alg: HS384, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {hash: SHA-384, name: HMAC}, true, [verify, sign])Pass Good parameters: 128 bits (jwk, {alg: HS384, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {hash: SHA-384, name: HMAC}, true, [verify])-Pass Good parameters: 128 bits (jwk, {alg: HS384, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {hash: SHA-384, name: HMAC}, true, [sign, verify, sign, verify])+Fail Good parameters: 128 bits (jwk, {alg: HS384, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {hash: SHA-384, name: HMAC}, true, [sign, verify, sign, verify])Pass Empty Usages: 128 bits (jwk, {alg: HS384, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {hash: SHA-384, name: HMAC}, true, [])Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-384, name: HMAC}, false, [sign])Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-384, name: HMAC}, false, [verify, sign])Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-384, name: HMAC}, false, [verify])-Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-384, name: HMAC}, false, [sign, verify, sign, verify])+Fail Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-384, name: HMAC}, false, [sign, verify, sign, verify])Pass Empty Usages: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-384, name: HMAC}, false, [])Pass Good parameters: 128 bits (jwk, {alg: HS384, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {hash: SHA-384, name: HMAC}, false, [sign])Pass Good parameters: 128 bits (jwk, {alg: HS384, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {hash: SHA-384, name: HMAC}, false, [verify, sign])Pass Good parameters: 128 bits (jwk, {alg: HS384, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {hash: SHA-384, name: HMAC}, false, [verify])-Pass Good parameters: 128 bits (jwk, {alg: HS384, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {hash: SHA-384, name: HMAC}, false, [sign, verify, sign, verify])+Fail Good parameters: 128 bits (jwk, {alg: HS384, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {hash: SHA-384, name: HMAC}, false, [sign, verify, sign, verify])Pass Empty Usages: 128 bits (jwk, {alg: HS384, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {hash: SHA-384, name: HMAC}, false, [])Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-384, name: HMAC}, true, [sign])Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-384, name: HMAC}, true, [verify, sign])Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-384, name: HMAC}, true, [verify])-Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-384, name: HMAC}, true, [sign, verify, sign, verify])+Fail Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-384, name: HMAC}, true, [sign, verify, sign, verify])Pass Empty Usages: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-384, name: HMAC}, true, [])+Fail Key data altered during call: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-384, name: HMAC}, true, [sign])+Fail Key data altered during call: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-384, name: HMAC}, true, [verify, sign])+Fail Key data altered during call: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-384, name: HMAC}, true, [verify])+Fail Key data altered during call: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-384, name: HMAC}, true, [sign, verify, sign, verify])Pass Good parameters: 192 bits (jwk, {alg: HS384, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {hash: SHA-384, name: HMAC}, true, [sign])Pass Good parameters: 192 bits (jwk, {alg: HS384, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {hash: SHA-384, name: HMAC}, true, [verify, sign])Pass Good parameters: 192 bits (jwk, {alg: HS384, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {hash: SHA-384, name: HMAC}, true, [verify])-Pass Good parameters: 192 bits (jwk, {alg: HS384, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {hash: SHA-384, name: HMAC}, true, [sign, verify, sign, verify])+Fail Good parameters: 192 bits (jwk, {alg: HS384, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {hash: SHA-384, name: HMAC}, true, [sign, verify, sign, verify])Pass Empty Usages: 192 bits (jwk, {alg: HS384, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {hash: SHA-384, name: HMAC}, true, [])Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-384, name: HMAC}, false, [sign])Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-384, name: HMAC}, false, [verify, sign])Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-384, name: HMAC}, false, [verify])-Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-384, name: HMAC}, false, [sign, verify, sign, verify])+Fail Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-384, name: HMAC}, false, [sign, verify, sign, verify])Pass Empty Usages: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-384, name: HMAC}, false, [])Pass Good parameters: 192 bits (jwk, {alg: HS384, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {hash: SHA-384, name: HMAC}, false, [sign])Pass Good parameters: 192 bits (jwk, {alg: HS384, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {hash: SHA-384, name: HMAC}, false, [verify, sign])Pass Good parameters: 192 bits (jwk, {alg: HS384, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {hash: SHA-384, name: HMAC}, false, [verify])-Pass Good parameters: 192 bits (jwk, {alg: HS384, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {hash: SHA-384, name: HMAC}, false, [sign, verify, sign, verify])+Fail Good parameters: 192 bits (jwk, {alg: HS384, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {hash: SHA-384, name: HMAC}, false, [sign, verify, sign, verify])Pass Empty Usages: 192 bits (jwk, {alg: HS384, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {hash: SHA-384, name: HMAC}, false, [])Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-384, name: HMAC}, true, [sign])Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-384, name: HMAC}, true, [verify, sign])Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-384, name: HMAC}, true, [verify])-Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-384, name: HMAC}, true, [sign, verify, sign, verify])+Fail Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-384, name: HMAC}, true, [sign, verify, sign, verify])Pass Empty Usages: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-384, name: HMAC}, true, [])+Fail Key data altered during call: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-384, name: HMAC}, true, [sign])+Fail Key data altered during call: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-384, name: HMAC}, true, [verify, sign])+Fail Key data altered during call: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-384, name: HMAC}, true, [verify])+Fail Key data altered during call: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-384, name: HMAC}, true, [sign, verify, sign, verify])Pass Good parameters: 256 bits (jwk, {alg: HS384, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {hash: SHA-384, name: HMAC}, true, [sign])Pass Good parameters: 256 bits (jwk, {alg: HS384, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {hash: SHA-384, name: HMAC}, true, [verify, sign])Pass Good parameters: 256 bits (jwk, {alg: HS384, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {hash: SHA-384, name: HMAC}, true, [verify])-Pass Good parameters: 256 bits (jwk, {alg: HS384, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {hash: SHA-384, name: HMAC}, true, [sign, verify, sign, verify])+Fail Good parameters: 256 bits (jwk, {alg: HS384, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {hash: SHA-384, name: HMAC}, true, [sign, verify, sign, verify])Pass Empty Usages: 256 bits (jwk, {alg: HS384, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {hash: SHA-384, name: HMAC}, true, [])Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-384, name: HMAC}, false, [sign])Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-384, name: HMAC}, false, [verify, sign])Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-384, name: HMAC}, false, [verify])-Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-384, name: HMAC}, false, [sign, verify, sign, verify])+Fail Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-384, name: HMAC}, false, [sign, verify, sign, verify])Pass Empty Usages: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-384, name: HMAC}, false, [])Pass Good parameters: 256 bits (jwk, {alg: HS384, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {hash: SHA-384, name: HMAC}, false, [sign])Pass Good parameters: 256 bits (jwk, {alg: HS384, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {hash: SHA-384, name: HMAC}, false, [verify, sign])Pass Good parameters: 256 bits (jwk, {alg: HS384, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {hash: SHA-384, name: HMAC}, false, [verify])-Pass Good parameters: 256 bits (jwk, {alg: HS384, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {hash: SHA-384, name: HMAC}, false, [sign, verify, sign, verify])+Fail Good parameters: 256 bits (jwk, {alg: HS384, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {hash: SHA-384, name: HMAC}, false, [sign, verify, sign, verify])Pass Empty Usages: 256 bits (jwk, {alg: HS384, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {hash: SHA-384, name: HMAC}, false, [])Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-512, name: HMAC}, true, [sign])Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-512, name: HMAC}, true, [verify, sign])Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-512, name: HMAC}, true, [verify])-Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-512, name: HMAC}, true, [sign, verify, sign, verify])+Fail Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-512, name: HMAC}, true, [sign, verify, sign, verify])Pass Empty Usages: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-512, name: HMAC}, true, [])+Fail Key data altered during call: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-512, name: HMAC}, true, [sign])+Fail Key data altered during call: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-512, name: HMAC}, true, [verify, sign])+Fail Key data altered during call: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-512, name: HMAC}, true, [verify])+Fail Key data altered during call: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-512, name: HMAC}, true, [sign, verify, sign, verify])Pass Good parameters: 128 bits (jwk, {alg: HS512, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {hash: SHA-512, name: HMAC}, true, [sign])Pass Good parameters: 128 bits (jwk, {alg: HS512, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {hash: SHA-512, name: HMAC}, true, [verify, sign])Pass Good parameters: 128 bits (jwk, {alg: HS512, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {hash: SHA-512, name: HMAC}, true, [verify])-Pass Good parameters: 128 bits (jwk, {alg: HS512, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {hash: SHA-512, name: HMAC}, true, [sign, verify, sign, verify])+Fail Good parameters: 128 bits (jwk, {alg: HS512, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {hash: SHA-512, name: HMAC}, true, [sign, verify, sign, verify])Pass Empty Usages: 128 bits (jwk, {alg: HS512, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {hash: SHA-512, name: HMAC}, true, [])Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-512, name: HMAC}, false, [sign])Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-512, name: HMAC}, false, [verify, sign])Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-512, name: HMAC}, false, [verify])-Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-512, name: HMAC}, false, [sign, verify, sign, verify])+Fail Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-512, name: HMAC}, false, [sign, verify, sign, verify])Pass Empty Usages: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-512, name: HMAC}, false, [])Pass Good parameters: 128 bits (jwk, {alg: HS512, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {hash: SHA-512, name: HMAC}, false, [sign])Pass Good parameters: 128 bits (jwk, {alg: HS512, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {hash: SHA-512, name: HMAC}, false, [verify, sign])Pass Good parameters: 128 bits (jwk, {alg: HS512, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {hash: SHA-512, name: HMAC}, false, [verify])-Pass Good parameters: 128 bits (jwk, {alg: HS512, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {hash: SHA-512, name: HMAC}, false, [sign, verify, sign, verify])+Fail Good parameters: 128 bits (jwk, {alg: HS512, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {hash: SHA-512, name: HMAC}, false, [sign, verify, sign, verify])Pass Empty Usages: 128 bits (jwk, {alg: HS512, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {hash: SHA-512, name: HMAC}, false, [])Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-512, name: HMAC}, true, [sign])Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-512, name: HMAC}, true, [verify, sign])Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-512, name: HMAC}, true, [verify])-Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-512, name: HMAC}, true, [sign, verify, sign, verify])+Fail Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-512, name: HMAC}, true, [sign, verify, sign, verify])Pass Empty Usages: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-512, name: HMAC}, true, [])+Fail Key data altered during call: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-512, name: HMAC}, true, [sign])+Fail Key data altered during call: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-512, name: HMAC}, true, [verify, sign])+Fail Key data altered during call: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-512, name: HMAC}, true, [verify])+Fail Key data altered during call: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-512, name: HMAC}, true, [sign, verify, sign, verify])Pass Good parameters: 192 bits (jwk, {alg: HS512, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {hash: SHA-512, name: HMAC}, true, [sign])Pass Good parameters: 192 bits (jwk, {alg: HS512, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {hash: SHA-512, name: HMAC}, true, [verify, sign])Pass Good parameters: 192 bits (jwk, {alg: HS512, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {hash: SHA-512, name: HMAC}, true, [verify])-Pass Good parameters: 192 bits (jwk, {alg: HS512, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {hash: SHA-512, name: HMAC}, true, [sign, verify, sign, verify])+Fail Good parameters: 192 bits (jwk, {alg: HS512, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {hash: SHA-512, name: HMAC}, true, [sign, verify, sign, verify])Pass Empty Usages: 192 bits (jwk, {alg: HS512, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {hash: SHA-512, name: HMAC}, true, [])Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-512, name: HMAC}, false, [sign])Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-512, name: HMAC}, false, [verify, sign])Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-512, name: HMAC}, false, [verify])-Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-512, name: HMAC}, false, [sign, verify, sign, verify])+Fail Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-512, name: HMAC}, false, [sign, verify, sign, verify])Pass Empty Usages: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-512, name: HMAC}, false, [])Pass Good parameters: 192 bits (jwk, {alg: HS512, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {hash: SHA-512, name: HMAC}, false, [sign])Pass Good parameters: 192 bits (jwk, {alg: HS512, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {hash: SHA-512, name: HMAC}, false, [verify, sign])Pass Good parameters: 192 bits (jwk, {alg: HS512, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {hash: SHA-512, name: HMAC}, false, [verify])-Pass Good parameters: 192 bits (jwk, {alg: HS512, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {hash: SHA-512, name: HMAC}, false, [sign, verify, sign, verify])+Fail Good parameters: 192 bits (jwk, {alg: HS512, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {hash: SHA-512, name: HMAC}, false, [sign, verify, sign, verify])Pass Empty Usages: 192 bits (jwk, {alg: HS512, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {hash: SHA-512, name: HMAC}, false, [])Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-512, name: HMAC}, true, [sign])Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-512, name: HMAC}, true, [verify, sign])Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-512, name: HMAC}, true, [verify])-Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-512, name: HMAC}, true, [sign, verify, sign, verify])+Fail Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-512, name: HMAC}, true, [sign, verify, sign, verify])Pass Empty Usages: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-512, name: HMAC}, true, [])+Fail Key data altered during call: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-512, name: HMAC}, true, [sign])+Fail Key data altered during call: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-512, name: HMAC}, true, [verify, sign])+Fail Key data altered during call: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-512, name: HMAC}, true, [verify])+Fail Key data altered during call: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-512, name: HMAC}, true, [sign, verify, sign, verify])Pass Good parameters: 256 bits (jwk, {alg: HS512, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {hash: SHA-512, name: HMAC}, true, [sign])Pass Good parameters: 256 bits (jwk, {alg: HS512, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {hash: SHA-512, name: HMAC}, true, [verify, sign])Pass Good parameters: 256 bits (jwk, {alg: HS512, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {hash: SHA-512, name: HMAC}, true, [verify])-Pass Good parameters: 256 bits (jwk, {alg: HS512, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {hash: SHA-512, name: HMAC}, true, [sign, verify, sign, verify])+Fail Good parameters: 256 bits (jwk, {alg: HS512, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {hash: SHA-512, name: HMAC}, true, [sign, verify, sign, verify])Pass Empty Usages: 256 bits (jwk, {alg: HS512, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {hash: SHA-512, name: HMAC}, true, [])Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-512, name: HMAC}, false, [sign])Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-512, name: HMAC}, false, [verify, sign])Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-512, name: HMAC}, false, [verify])-Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-512, name: HMAC}, false, [sign, verify, sign, verify])+Fail Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-512, name: HMAC}, false, [sign, verify, sign, verify])Pass Empty Usages: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {hash: SHA-512, name: HMAC}, false, [])Pass Good parameters: 256 bits (jwk, {alg: HS512, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {hash: SHA-512, name: HMAC}, false, [sign])Pass Good parameters: 256 bits (jwk, {alg: HS512, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {hash: SHA-512, name: HMAC}, false, [verify, sign])Pass Good parameters: 256 bits (jwk, {alg: HS512, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {hash: SHA-512, name: HMAC}, false, [verify])-Pass Good parameters: 256 bits (jwk, {alg: HS512, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {hash: SHA-512, name: HMAC}, false, [sign, verify, sign, verify])+Fail Good parameters: 256 bits (jwk, {alg: HS512, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {hash: SHA-512, name: HMAC}, false, [sign, verify, sign, verify])Pass Empty Usages: 256 bits (jwk, {alg: HS512, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {hash: SHA-512, name: HMAC}, false, [])Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: HKDF}, false, [deriveBits])Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: HKDF}, false, [deriveKey, deriveBits])Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: HKDF}, false, [deriveKey])-Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: HKDF}, false, [deriveBits, deriveKey, deriveBits, deriveKey])+Fail Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: HKDF}, false, [deriveBits, deriveKey, deriveBits, deriveKey])Pass Empty Usages: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: HKDF}, false, [])Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: HKDF}, false, [deriveBits])Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: HKDF}, false, [deriveKey, deriveBits])Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: HKDF}, false, [deriveKey])-Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: HKDF}, false, [deriveBits, deriveKey, deriveBits, deriveKey])+Fail Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: HKDF}, false, [deriveBits, deriveKey, deriveBits, deriveKey])Pass Empty Usages: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: HKDF}, false, [])Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: HKDF}, false, [deriveBits])Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: HKDF}, false, [deriveKey, deriveBits])Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: HKDF}, false, [deriveKey])-Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: HKDF}, false, [deriveBits, deriveKey, deriveBits, deriveKey])+Fail Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: HKDF}, false, [deriveBits, deriveKey, deriveBits, deriveKey])Pass Empty Usages: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: HKDF}, false, [])Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: PBKDF2}, false, [deriveBits])Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: PBKDF2}, false, [deriveKey, deriveBits])Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: PBKDF2}, false, [deriveKey])-Pass Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: PBKDF2}, false, [deriveBits, deriveKey, deriveBits, deriveKey])+Fail Good parameters: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: PBKDF2}, false, [deriveBits, deriveKey, deriveBits, deriveKey])Pass Empty Usages: 128 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: PBKDF2}, false, [])Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: PBKDF2}, false, [deriveBits])Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: PBKDF2}, false, [deriveKey, deriveBits])Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: PBKDF2}, false, [deriveKey])-Pass Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: PBKDF2}, false, [deriveBits, deriveKey, deriveBits, deriveKey])+Fail Good parameters: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: PBKDF2}, false, [deriveBits, deriveKey, deriveBits, deriveKey])Pass Empty Usages: 192 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: PBKDF2}, false, [])Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: PBKDF2}, false, [deriveBits])Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: PBKDF2}, false, [deriveKey, deriveBits])Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: PBKDF2}, false, [deriveKey])-Pass Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: PBKDF2}, false, [deriveBits, deriveKey, deriveBits, deriveKey])-Pass Empty Usages: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: PBKDF2}, false, [])+Fail Good parameters: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: PBKDF2}, false, [deriveBits, deriveKey, deriveBits, deriveKey])+Pass Empty Usages: 256 bits (raw, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: PBKDF2}, false, [])\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/derive_bits_keys/argon2.tentative.https.any.txt b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/modern-algos/derive_bits_keys/argon2.https.any.txtsimilarity index 100%rename from Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/derive_bits_keys/argon2.tentative.https.any.txtrename to Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/modern-algos/derive_bits_keys/argon2.https.any.txtdiff --git a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/digest/cshake.tentative.https.any.txt b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/modern-algos/digest/cshake.https.any.txtsimilarity index 99%rename from Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/digest/cshake.tentative.https.any.txtrename to Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/modern-algos/digest/cshake.https.any.txtindex 179f7e0d84e..4116b37dd1b 100644--- a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/digest/cshake.tentative.https.any.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/modern-algos/digest/cshake.https.any.txt@@ -4,88 +4,88 @@ Found 88 tests88 PassPass cSHAKE128 with 0 bit output and empty source data+Pass cSHAKE128 with 256 bit output and empty source data+Pass cSHAKE128 with 384 bit output and empty source data+Pass cSHAKE128 with 512 bit output and empty source data+Pass cSHAKE256 with 0 bit output and empty source data+Pass cSHAKE256 with 256 bit output and empty source data+Pass cSHAKE256 with 384 bit output and empty source data+Pass cSHAKE256 with 512 bit output and empty source dataPass cSHAKE128 with 0 bit output and short source dataPass cSHAKE128 with 0 bit output and short source data and altered buffer during callPass cSHAKE128 with 0 bit output and short source data and altered buffer after callPass cSHAKE128 with 0 bit output and short source data and transferred buffer during callPass cSHAKE128 with 0 bit output and short source data and transferred buffer after call-Pass cSHAKE128 with 0 bit output and medium source data-Pass cSHAKE128 with 0 bit output and medium source data and altered buffer during call-Pass cSHAKE128 with 0 bit output and medium source data and altered buffer after call-Pass cSHAKE128 with 0 bit output and medium source data and transferred buffer during call-Pass cSHAKE128 with 0 bit output and medium source data and transferred buffer after call-Pass cSHAKE128 with 256 bit output and empty source dataPass cSHAKE128 with 256 bit output and short source dataPass cSHAKE128 with 256 bit output and short source data and altered buffer during callPass cSHAKE128 with 256 bit output and short source data and altered buffer after callPass cSHAKE128 with 256 bit output and short source data and transferred buffer during callPass cSHAKE128 with 256 bit output and short source data and transferred buffer after call-Pass cSHAKE128 with 256 bit output and medium source data-Pass cSHAKE128 with 256 bit output and medium source data and altered buffer during call-Pass cSHAKE128 with 256 bit output and medium source data and altered buffer after call-Pass cSHAKE128 with 256 bit output and medium source data and transferred buffer during call-Pass cSHAKE128 with 256 bit output and medium source data and transferred buffer after call-Pass cSHAKE128 with 384 bit output and empty source dataPass cSHAKE128 with 384 bit output and short source dataPass cSHAKE128 with 384 bit output and short source data and altered buffer during callPass cSHAKE128 with 384 bit output and short source data and altered buffer after callPass cSHAKE128 with 384 bit output and short source data and transferred buffer during callPass cSHAKE128 with 384 bit output and short source data and transferred buffer after call-Pass cSHAKE128 with 384 bit output and medium source data-Pass cSHAKE128 with 384 bit output and medium source data and altered buffer during call-Pass cSHAKE128 with 384 bit output and medium source data and altered buffer after call-Pass cSHAKE128 with 384 bit output and medium source data and transferred buffer during call-Pass cSHAKE128 with 384 bit output and medium source data and transferred buffer after call-Pass cSHAKE128 with 512 bit output and empty source dataPass cSHAKE128 with 512 bit output and short source dataPass cSHAKE128 with 512 bit output and short source data and altered buffer during callPass cSHAKE128 with 512 bit output and short source data and altered buffer after callPass cSHAKE128 with 512 bit output and short source data and transferred buffer during callPass cSHAKE128 with 512 bit output and short source data and transferred buffer after call-Pass cSHAKE128 with 512 bit output and medium source data-Pass cSHAKE128 with 512 bit output and medium source data and altered buffer during call-Pass cSHAKE128 with 512 bit output and medium source data and altered buffer after call-Pass cSHAKE128 with 512 bit output and medium source data and transferred buffer during call-Pass cSHAKE128 with 512 bit output and medium source data and transferred buffer after call-Pass cSHAKE256 with 0 bit output and empty source dataPass cSHAKE256 with 0 bit output and short source dataPass cSHAKE256 with 0 bit output and short source data and altered buffer during callPass cSHAKE256 with 0 bit output and short source data and altered buffer after callPass cSHAKE256 with 0 bit output and short source data and transferred buffer during callPass cSHAKE256 with 0 bit output and short source data and transferred buffer after call-Pass cSHAKE256 with 0 bit output and medium source data-Pass cSHAKE256 with 0 bit output and medium source data and altered buffer during call-Pass cSHAKE256 with 0 bit output and medium source data and altered buffer after call-Pass cSHAKE256 with 0 bit output and medium source data and transferred buffer during call-Pass cSHAKE256 with 0 bit output and medium source data and transferred buffer after call-Pass cSHAKE256 with 256 bit output and empty source dataPass cSHAKE256 with 256 bit output and short source dataPass cSHAKE256 with 256 bit output and short source data and altered buffer during callPass cSHAKE256 with 256 bit output and short source data and altered buffer after callPass cSHAKE256 with 256 bit output and short source data and transferred buffer during callPass cSHAKE256 with 256 bit output and short source data and transferred buffer after call-Pass cSHAKE256 with 256 bit output and medium source data-Pass cSHAKE256 with 256 bit output and medium source data and altered buffer during call-Pass cSHAKE256 with 256 bit output and medium source data and altered buffer after call-Pass cSHAKE256 with 256 bit output and medium source data and transferred buffer during call-Pass cSHAKE256 with 256 bit output and medium source data and transferred buffer after call-Pass cSHAKE256 with 384 bit output and empty source dataPass cSHAKE256 with 384 bit output and short source dataPass cSHAKE256 with 384 bit output and short source data and altered buffer during callPass cSHAKE256 with 384 bit output and short source data and altered buffer after callPass cSHAKE256 with 384 bit output and short source data and transferred buffer during callPass cSHAKE256 with 384 bit output and short source data and transferred buffer after call-Pass cSHAKE256 with 384 bit output and medium source data-Pass cSHAKE256 with 384 bit output and medium source data and altered buffer during call-Pass cSHAKE256 with 384 bit output and medium source data and altered buffer after call-Pass cSHAKE256 with 384 bit output and medium source data and transferred buffer during call-Pass cSHAKE256 with 384 bit output and medium source data and transferred buffer after call-Pass cSHAKE256 with 512 bit output and empty source dataPass cSHAKE256 with 512 bit output and short source dataPass cSHAKE256 with 512 bit output and short source data and altered buffer during callPass cSHAKE256 with 512 bit output and short source data and altered buffer after callPass cSHAKE256 with 512 bit output and short source data and transferred buffer during callPass cSHAKE256 with 512 bit output and short source data and transferred buffer after call+Pass cSHAKE128 with 0 bit output and medium source data+Pass cSHAKE128 with 0 bit output and medium source data and altered buffer during call+Pass cSHAKE128 with 0 bit output and medium source data and altered buffer after call+Pass cSHAKE128 with 0 bit output and medium source data and transferred buffer during call+Pass cSHAKE128 with 0 bit output and medium source data and transferred buffer after call+Pass cSHAKE128 with 256 bit output and medium source data+Pass cSHAKE128 with 256 bit output and medium source data and altered buffer during call+Pass cSHAKE128 with 256 bit output and medium source data and altered buffer after call+Pass cSHAKE128 with 256 bit output and medium source data and transferred buffer during call+Pass cSHAKE128 with 256 bit output and medium source data and transferred buffer after call+Pass cSHAKE128 with 384 bit output and medium source data+Pass cSHAKE128 with 384 bit output and medium source data and altered buffer during call+Pass cSHAKE128 with 384 bit output and medium source data and altered buffer after call+Pass cSHAKE128 with 384 bit output and medium source data and transferred buffer during call+Pass cSHAKE128 with 384 bit output and medium source data and transferred buffer after call+Pass cSHAKE128 with 512 bit output and medium source data+Pass cSHAKE128 with 512 bit output and medium source data and altered buffer during call+Pass cSHAKE128 with 512 bit output and medium source data and altered buffer after call+Pass cSHAKE128 with 512 bit output and medium source data and transferred buffer during call+Pass cSHAKE128 with 512 bit output and medium source data and transferred buffer after call+Pass cSHAKE256 with 0 bit output and medium source data+Pass cSHAKE256 with 0 bit output and medium source data and altered buffer during call+Pass cSHAKE256 with 0 bit output and medium source data and altered buffer after call+Pass cSHAKE256 with 0 bit output and medium source data and transferred buffer during call+Pass cSHAKE256 with 0 bit output and medium source data and transferred buffer after call+Pass cSHAKE256 with 256 bit output and medium source data+Pass cSHAKE256 with 256 bit output and medium source data and altered buffer during call+Pass cSHAKE256 with 256 bit output and medium source data and altered buffer after call+Pass cSHAKE256 with 256 bit output and medium source data and transferred buffer during call+Pass cSHAKE256 with 256 bit output and medium source data and transferred buffer after call+Pass cSHAKE256 with 384 bit output and medium source data+Pass cSHAKE256 with 384 bit output and medium source data and altered buffer during call+Pass cSHAKE256 with 384 bit output and medium source data and altered buffer after call+Pass cSHAKE256 with 384 bit output and medium source data and transferred buffer during call+Pass cSHAKE256 with 384 bit output and medium source data and transferred buffer after callPass cSHAKE256 with 512 bit output and medium source dataPass cSHAKE256 with 512 bit output and medium source data and altered buffer during callPass cSHAKE256 with 512 bit output and medium source data and altered buffer after calldiff --git a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/digest/sha3.tentative.https.any.txt b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/modern-algos/digest/sha3.https.any.txtsimilarity index 100%rename from Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/digest/sha3.tentative.https.any.txtrename to Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/modern-algos/digest/sha3.https.any.txtdiff --git a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/modern-algos/encap_decap/encap_decap_bits.https.any.txt b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/modern-algos/encap_decap/encap_decap_bits.https.any.txtnew file mode 100644index 00000000000..6f624521118--- /dev/null+++ b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/modern-algos/encap_decap/encap_decap_bits.https.any.txt@@ -0,0 +1,24 @@+Harness status: OK++Found 18 tests++9 Pass+9 Fail+Pass ML-KEM-512 encapsulateBits basic functionality+Pass ML-KEM-512 encapsulateBits/decapsulateBits round-trip compatibility+Pass ML-KEM-512 vector-based sampleCiphertext decapsulation+Pass ML-KEM-768 encapsulateBits basic functionality+Pass ML-KEM-768 encapsulateBits/decapsulateBits round-trip compatibility+Pass ML-KEM-768 vector-based sampleCiphertext decapsulation+Pass ML-KEM-1024 encapsulateBits basic functionality+Pass ML-KEM-1024 encapsulateBits/decapsulateBits round-trip compatibility+Pass ML-KEM-1024 vector-based sampleCiphertext decapsulation+Fail MLKEM768-P256 encapsulateBits basic functionality+Fail MLKEM768-P256 encapsulateBits/decapsulateBits round-trip compatibility+Fail MLKEM768-P256 vector-based sampleCiphertext decapsulation+Fail MLKEM768-X25519 encapsulateBits basic functionality+Fail MLKEM768-X25519 encapsulateBits/decapsulateBits round-trip compatibility+Fail MLKEM768-X25519 vector-based sampleCiphertext decapsulation+Fail MLKEM1024-P384 encapsulateBits basic functionality+Fail MLKEM1024-P384 encapsulateBits/decapsulateBits round-trip compatibility+Fail MLKEM1024-P384 vector-based sampleCiphertext decapsulation\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/modern-algos/encap_decap/encap_decap_keys.https.any.txt b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/modern-algos/encap_decap/encap_decap_keys.https.any.txtnew file mode 100644index 00000000000..321fc54ebf5--- /dev/null+++ b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/modern-algos/encap_decap/encap_decap_keys.https.any.txt@@ -0,0 +1,246 @@+Harness status: OK++Found 240 tests++120 Pass+120 Fail+Pass ML-KEM-512 encapsulateKey with AES-GCM-256 (extractable=true)+Pass ML-KEM-512 decapsulateKey with AES-GCM-256 (extractable=true)+Pass ML-KEM-512 encapsulateKey/decapsulateKey round-trip with AES-GCM-256 (extractable=true)+Pass ML-KEM-512 vector-based sampleCiphertext decapsulation with AES-GCM-256 (extractable=true)+Pass ML-KEM-512 encapsulateKey with AES-GCM-256 (extractable=false)+Pass ML-KEM-512 decapsulateKey with AES-GCM-256 (extractable=false)+Pass ML-KEM-512 encapsulateKey/decapsulateKey round-trip with AES-GCM-256 (extractable=false)+Pass ML-KEM-512 vector-based sampleCiphertext decapsulation with AES-GCM-256 (extractable=false)+Pass ML-KEM-512 encapsulateKey with AES-CBC-256 (extractable=true)+Pass ML-KEM-512 decapsulateKey with AES-CBC-256 (extractable=true)+Pass ML-KEM-512 encapsulateKey/decapsulateKey round-trip with AES-CBC-256 (extractable=true)+Pass ML-KEM-512 vector-based sampleCiphertext decapsulation with AES-CBC-256 (extractable=true)+Pass ML-KEM-512 encapsulateKey with AES-CBC-256 (extractable=false)+Pass ML-KEM-512 decapsulateKey with AES-CBC-256 (extractable=false)+Pass ML-KEM-512 encapsulateKey/decapsulateKey round-trip with AES-CBC-256 (extractable=false)+Pass ML-KEM-512 vector-based sampleCiphertext decapsulation with AES-CBC-256 (extractable=false)+Pass ML-KEM-512 encapsulateKey with AES-CTR-256 (extractable=true)+Pass ML-KEM-512 decapsulateKey with AES-CTR-256 (extractable=true)+Pass ML-KEM-512 encapsulateKey/decapsulateKey round-trip with AES-CTR-256 (extractable=true)+Pass ML-KEM-512 vector-based sampleCiphertext decapsulation with AES-CTR-256 (extractable=true)+Pass ML-KEM-512 encapsulateKey with AES-CTR-256 (extractable=false)+Pass ML-KEM-512 decapsulateKey with AES-CTR-256 (extractable=false)+Pass ML-KEM-512 encapsulateKey/decapsulateKey round-trip with AES-CTR-256 (extractable=false)+Pass ML-KEM-512 vector-based sampleCiphertext decapsulation with AES-CTR-256 (extractable=false)+Pass ML-KEM-512 encapsulateKey with AES-KW-256 (extractable=true)+Pass ML-KEM-512 decapsulateKey with AES-KW-256 (extractable=true)+Pass ML-KEM-512 encapsulateKey/decapsulateKey round-trip with AES-KW-256 (extractable=true)+Pass ML-KEM-512 vector-based sampleCiphertext decapsulation with AES-KW-256 (extractable=true)+Pass ML-KEM-512 encapsulateKey with AES-KW-256 (extractable=false)+Pass ML-KEM-512 decapsulateKey with AES-KW-256 (extractable=false)+Pass ML-KEM-512 encapsulateKey/decapsulateKey round-trip with AES-KW-256 (extractable=false)+Pass ML-KEM-512 vector-based sampleCiphertext decapsulation with AES-KW-256 (extractable=false)+Pass ML-KEM-512 encapsulateKey with HMAC-SHA-256 (extractable=true)+Pass ML-KEM-512 decapsulateKey with HMAC-SHA-256 (extractable=true)+Pass ML-KEM-512 encapsulateKey/decapsulateKey round-trip with HMAC-SHA-256 (extractable=true)+Pass ML-KEM-512 vector-based sampleCiphertext decapsulation with HMAC-SHA-256 (extractable=true)+Pass ML-KEM-512 encapsulateKey with HMAC-SHA-256 (extractable=false)+Pass ML-KEM-512 decapsulateKey with HMAC-SHA-256 (extractable=false)+Pass ML-KEM-512 encapsulateKey/decapsulateKey round-trip with HMAC-SHA-256 (extractable=false)+Pass ML-KEM-512 vector-based sampleCiphertext decapsulation with HMAC-SHA-256 (extractable=false)+Pass ML-KEM-768 encapsulateKey with AES-GCM-256 (extractable=true)+Pass ML-KEM-768 decapsulateKey with AES-GCM-256 (extractable=true)+Pass ML-KEM-768 encapsulateKey/decapsulateKey round-trip with AES-GCM-256 (extractable=true)+Pass ML-KEM-768 vector-based sampleCiphertext decapsulation with AES-GCM-256 (extractable=true)+Pass ML-KEM-768 encapsulateKey with AES-GCM-256 (extractable=false)+Pass ML-KEM-768 decapsulateKey with AES-GCM-256 (extractable=false)+Pass ML-KEM-768 encapsulateKey/decapsulateKey round-trip with AES-GCM-256 (extractable=false)+Pass ML-KEM-768 vector-based sampleCiphertext decapsulation with AES-GCM-256 (extractable=false)+Pass ML-KEM-768 encapsulateKey with AES-CBC-256 (extractable=true)+Pass ML-KEM-768 decapsulateKey with AES-CBC-256 (extractable=true)+Pass ML-KEM-768 encapsulateKey/decapsulateKey round-trip with AES-CBC-256 (extractable=true)+Pass ML-KEM-768 vector-based sampleCiphertext decapsulation with AES-CBC-256 (extractable=true)+Pass ML-KEM-768 encapsulateKey with AES-CBC-256 (extractable=false)+Pass ML-KEM-768 decapsulateKey with AES-CBC-256 (extractable=false)+Pass ML-KEM-768 encapsulateKey/decapsulateKey round-trip with AES-CBC-256 (extractable=false)+Pass ML-KEM-768 vector-based sampleCiphertext decapsulation with AES-CBC-256 (extractable=false)+Pass ML-KEM-768 encapsulateKey with AES-CTR-256 (extractable=true)+Pass ML-KEM-768 decapsulateKey with AES-CTR-256 (extractable=true)+Pass ML-KEM-768 encapsulateKey/decapsulateKey round-trip with AES-CTR-256 (extractable=true)+Pass ML-KEM-768 vector-based sampleCiphertext decapsulation with AES-CTR-256 (extractable=true)+Pass ML-KEM-768 encapsulateKey with AES-CTR-256 (extractable=false)+Pass ML-KEM-768 decapsulateKey with AES-CTR-256 (extractable=false)+Pass ML-KEM-768 encapsulateKey/decapsulateKey round-trip with AES-CTR-256 (extractable=false)+Pass ML-KEM-768 vector-based sampleCiphertext decapsulation with AES-CTR-256 (extractable=false)+Pass ML-KEM-768 encapsulateKey with AES-KW-256 (extractable=true)+Pass ML-KEM-768 decapsulateKey with AES-KW-256 (extractable=true)+Pass ML-KEM-768 encapsulateKey/decapsulateKey round-trip with AES-KW-256 (extractable=true)+Pass ML-KEM-768 vector-based sampleCiphertext decapsulation with AES-KW-256 (extractable=true)+Pass ML-KEM-768 encapsulateKey with AES-KW-256 (extractable=false)+Pass ML-KEM-768 decapsulateKey with AES-KW-256 (extractable=false)+Pass ML-KEM-768 encapsulateKey/decapsulateKey round-trip with AES-KW-256 (extractable=false)+Pass ML-KEM-768 vector-based sampleCiphertext decapsulation with AES-KW-256 (extractable=false)+Pass ML-KEM-768 encapsulateKey with HMAC-SHA-256 (extractable=true)+Pass ML-KEM-768 decapsulateKey with HMAC-SHA-256 (extractable=true)+Pass ML-KEM-768 encapsulateKey/decapsulateKey round-trip with HMAC-SHA-256 (extractable=true)+Pass ML-KEM-768 vector-based sampleCiphertext decapsulation with HMAC-SHA-256 (extractable=true)+Pass ML-KEM-768 encapsulateKey with HMAC-SHA-256 (extractable=false)+Pass ML-KEM-768 decapsulateKey with HMAC-SHA-256 (extractable=false)+Pass ML-KEM-768 encapsulateKey/decapsulateKey round-trip with HMAC-SHA-256 (extractable=false)+Pass ML-KEM-768 vector-based sampleCiphertext decapsulation with HMAC-SHA-256 (extractable=false)+Pass ML-KEM-1024 encapsulateKey with AES-GCM-256 (extractable=true)+Pass ML-KEM-1024 decapsulateKey with AES-GCM-256 (extractable=true)+Pass ML-KEM-1024 encapsulateKey/decapsulateKey round-trip with AES-GCM-256 (extractable=true)+Pass ML-KEM-1024 vector-based sampleCiphertext decapsulation with AES-GCM-256 (extractable=true)+Pass ML-KEM-1024 encapsulateKey with AES-GCM-256 (extractable=false)+Pass ML-KEM-1024 decapsulateKey with AES-GCM-256 (extractable=false)+Pass ML-KEM-1024 encapsulateKey/decapsulateKey round-trip with AES-GCM-256 (extractable=false)+Pass ML-KEM-1024 vector-based sampleCiphertext decapsulation with AES-GCM-256 (extractable=false)+Pass ML-KEM-1024 encapsulateKey with AES-CBC-256 (extractable=true)+Pass ML-KEM-1024 decapsulateKey with AES-CBC-256 (extractable=true)+Pass ML-KEM-1024 encapsulateKey/decapsulateKey round-trip with AES-CBC-256 (extractable=true)+Pass ML-KEM-1024 vector-based sampleCiphertext decapsulation with AES-CBC-256 (extractable=true)+Pass ML-KEM-1024 encapsulateKey with AES-CBC-256 (extractable=false)+Pass ML-KEM-1024 decapsulateKey with AES-CBC-256 (extractable=false)+Pass ML-KEM-1024 encapsulateKey/decapsulateKey round-trip with AES-CBC-256 (extractable=false)+Pass ML-KEM-1024 vector-based sampleCiphertext decapsulation with AES-CBC-256 (extractable=false)+Pass ML-KEM-1024 encapsulateKey with AES-CTR-256 (extractable=true)+Pass ML-KEM-1024 decapsulateKey with AES-CTR-256 (extractable=true)+Pass ML-KEM-1024 encapsulateKey/decapsulateKey round-trip with AES-CTR-256 (extractable=true)+Pass ML-KEM-1024 vector-based sampleCiphertext decapsulation with AES-CTR-256 (extractable=true)+Pass ML-KEM-1024 encapsulateKey with AES-CTR-256 (extractable=false)+Pass ML-KEM-1024 decapsulateKey with AES-CTR-256 (extractable=false)+Pass ML-KEM-1024 encapsulateKey/decapsulateKey round-trip with AES-CTR-256 (extractable=false)+Pass ML-KEM-1024 vector-based sampleCiphertext decapsulation with AES-CTR-256 (extractable=false)+Pass ML-KEM-1024 encapsulateKey with AES-KW-256 (extractable=true)+Pass ML-KEM-1024 decapsulateKey with AES-KW-256 (extractable=true)+Pass ML-KEM-1024 encapsulateKey/decapsulateKey round-trip with AES-KW-256 (extractable=true)+Pass ML-KEM-1024 vector-based sampleCiphertext decapsulation with AES-KW-256 (extractable=true)+Pass ML-KEM-1024 encapsulateKey with AES-KW-256 (extractable=false)+Pass ML-KEM-1024 decapsulateKey with AES-KW-256 (extractable=false)+Pass ML-KEM-1024 encapsulateKey/decapsulateKey round-trip with AES-KW-256 (extractable=false)+Pass ML-KEM-1024 vector-based sampleCiphertext decapsulation with AES-KW-256 (extractable=false)+Pass ML-KEM-1024 encapsulateKey with HMAC-SHA-256 (extractable=true)+Pass ML-KEM-1024 decapsulateKey with HMAC-SHA-256 (extractable=true)+Pass ML-KEM-1024 encapsulateKey/decapsulateKey round-trip with HMAC-SHA-256 (extractable=true)+Pass ML-KEM-1024 vector-based sampleCiphertext decapsulation with HMAC-SHA-256 (extractable=true)+Pass ML-KEM-1024 encapsulateKey with HMAC-SHA-256 (extractable=false)+Pass ML-KEM-1024 decapsulateKey with HMAC-SHA-256 (extractable=false)+Pass ML-KEM-1024 encapsulateKey/decapsulateKey round-trip with HMAC-SHA-256 (extractable=false)+Pass ML-KEM-1024 vector-based sampleCiphertext decapsulation with HMAC-SHA-256 (extractable=false)+Fail MLKEM768-P256 encapsulateKey with AES-GCM-256 (extractable=true)+Fail MLKEM768-P256 decapsulateKey with AES-GCM-256 (extractable=true)+Fail MLKEM768-P256 encapsulateKey/decapsulateKey round-trip with AES-GCM-256 (extractable=true)+Fail MLKEM768-P256 vector-based sampleCiphertext decapsulation with AES-GCM-256 (extractable=true)+Fail MLKEM768-P256 encapsulateKey with AES-GCM-256 (extractable=false)+Fail MLKEM768-P256 decapsulateKey with AES-GCM-256 (extractable=false)+Fail MLKEM768-P256 encapsulateKey/decapsulateKey round-trip with AES-GCM-256 (extractable=false)+Fail MLKEM768-P256 vector-based sampleCiphertext decapsulation with AES-GCM-256 (extractable=false)+Fail MLKEM768-P256 encapsulateKey with AES-CBC-256 (extractable=true)+Fail MLKEM768-P256 decapsulateKey with AES-CBC-256 (extractable=true)+Fail MLKEM768-P256 encapsulateKey/decapsulateKey round-trip with AES-CBC-256 (extractable=true)+Fail MLKEM768-P256 vector-based sampleCiphertext decapsulation with AES-CBC-256 (extractable=true)+Fail MLKEM768-P256 encapsulateKey with AES-CBC-256 (extractable=false)+Fail MLKEM768-P256 decapsulateKey with AES-CBC-256 (extractable=false)+Fail MLKEM768-P256 encapsulateKey/decapsulateKey round-trip with AES-CBC-256 (extractable=false)+Fail MLKEM768-P256 vector-based sampleCiphertext decapsulation with AES-CBC-256 (extractable=false)+Fail MLKEM768-P256 encapsulateKey with AES-CTR-256 (extractable=true)+Fail MLKEM768-P256 decapsulateKey with AES-CTR-256 (extractable=true)+Fail MLKEM768-P256 encapsulateKey/decapsulateKey round-trip with AES-CTR-256 (extractable=true)+Fail MLKEM768-P256 vector-based sampleCiphertext decapsulation with AES-CTR-256 (extractable=true)+Fail MLKEM768-P256 encapsulateKey with AES-CTR-256 (extractable=false)+Fail MLKEM768-P256 decapsulateKey with AES-CTR-256 (extractable=false)+Fail MLKEM768-P256 encapsulateKey/decapsulateKey round-trip with AES-CTR-256 (extractable=false)+Fail MLKEM768-P256 vector-based sampleCiphertext decapsulation with AES-CTR-256 (extractable=false)+Fail MLKEM768-P256 encapsulateKey with AES-KW-256 (extractable=true)+Fail MLKEM768-P256 decapsulateKey with AES-KW-256 (extractable=true)+Fail MLKEM768-P256 encapsulateKey/decapsulateKey round-trip with AES-KW-256 (extractable=true)+Fail MLKEM768-P256 vector-based sampleCiphertext decapsulation with AES-KW-256 (extractable=true)+Fail MLKEM768-P256 encapsulateKey with AES-KW-256 (extractable=false)+Fail MLKEM768-P256 decapsulateKey with AES-KW-256 (extractable=false)+Fail MLKEM768-P256 encapsulateKey/decapsulateKey round-trip with AES-KW-256 (extractable=false)+Fail MLKEM768-P256 vector-based sampleCiphertext decapsulation with AES-KW-256 (extractable=false)+Fail MLKEM768-P256 encapsulateKey with HMAC-SHA-256 (extractable=true)+Fail MLKEM768-P256 decapsulateKey with HMAC-SHA-256 (extractable=true)+Fail MLKEM768-P256 encapsulateKey/decapsulateKey round-trip with HMAC-SHA-256 (extractable=true)+Fail MLKEM768-P256 vector-based sampleCiphertext decapsulation with HMAC-SHA-256 (extractable=true)+Fail MLKEM768-P256 encapsulateKey with HMAC-SHA-256 (extractable=false)+Fail MLKEM768-P256 decapsulateKey with HMAC-SHA-256 (extractable=false)+Fail MLKEM768-P256 encapsulateKey/decapsulateKey round-trip with HMAC-SHA-256 (extractable=false)+Fail MLKEM768-P256 vector-based sampleCiphertext decapsulation with HMAC-SHA-256 (extractable=false)+Fail MLKEM768-X25519 encapsulateKey with AES-GCM-256 (extractable=true)+Fail MLKEM768-X25519 decapsulateKey with AES-GCM-256 (extractable=true)+Fail MLKEM768-X25519 encapsulateKey/decapsulateKey round-trip with AES-GCM-256 (extractable=true)+Fail MLKEM768-X25519 vector-based sampleCiphertext decapsulation with AES-GCM-256 (extractable=true)+Fail MLKEM768-X25519 encapsulateKey with AES-GCM-256 (extractable=false)+Fail MLKEM768-X25519 decapsulateKey with AES-GCM-256 (extractable=false)+Fail MLKEM768-X25519 encapsulateKey/decapsulateKey round-trip with AES-GCM-256 (extractable=false)+Fail MLKEM768-X25519 vector-based sampleCiphertext decapsulation with AES-GCM-256 (extractable=false)+Fail MLKEM768-X25519 encapsulateKey with AES-CBC-256 (extractable=true)+Fail MLKEM768-X25519 decapsulateKey with AES-CBC-256 (extractable=true)+Fail MLKEM768-X25519 encapsulateKey/decapsulateKey round-trip with AES-CBC-256 (extractable=true)+Fail MLKEM768-X25519 vector-based sampleCiphertext decapsulation with AES-CBC-256 (extractable=true)+Fail MLKEM768-X25519 encapsulateKey with AES-CBC-256 (extractable=false)+Fail MLKEM768-X25519 decapsulateKey with AES-CBC-256 (extractable=false)+Fail MLKEM768-X25519 encapsulateKey/decapsulateKey round-trip with AES-CBC-256 (extractable=false)+Fail MLKEM768-X25519 vector-based sampleCiphertext decapsulation with AES-CBC-256 (extractable=false)+Fail MLKEM768-X25519 encapsulateKey with AES-CTR-256 (extractable=true)+Fail MLKEM768-X25519 decapsulateKey with AES-CTR-256 (extractable=true)+Fail MLKEM768-X25519 encapsulateKey/decapsulateKey round-trip with AES-CTR-256 (extractable=true)+Fail MLKEM768-X25519 vector-based sampleCiphertext decapsulation with AES-CTR-256 (extractable=true)+Fail MLKEM768-X25519 encapsulateKey with AES-CTR-256 (extractable=false)+Fail MLKEM768-X25519 decapsulateKey with AES-CTR-256 (extractable=false)+Fail MLKEM768-X25519 encapsulateKey/decapsulateKey round-trip with AES-CTR-256 (extractable=false)+Fail MLKEM768-X25519 vector-based sampleCiphertext decapsulation with AES-CTR-256 (extractable=false)+Fail MLKEM768-X25519 encapsulateKey with AES-KW-256 (extractable=true)+Fail MLKEM768-X25519 decapsulateKey with AES-KW-256 (extractable=true)+Fail MLKEM768-X25519 encapsulateKey/decapsulateKey round-trip with AES-KW-256 (extractable=true)+Fail MLKEM768-X25519 vector-based sampleCiphertext decapsulation with AES-KW-256 (extractable=true)+Fail MLKEM768-X25519 encapsulateKey with AES-KW-256 (extractable=false)+Fail MLKEM768-X25519 decapsulateKey with AES-KW-256 (extractable=false)+Fail MLKEM768-X25519 encapsulateKey/decapsulateKey round-trip with AES-KW-256 (extractable=false)+Fail MLKEM768-X25519 vector-based sampleCiphertext decapsulation with AES-KW-256 (extractable=false)+Fail MLKEM768-X25519 encapsulateKey with HMAC-SHA-256 (extractable=true)+Fail MLKEM768-X25519 decapsulateKey with HMAC-SHA-256 (extractable=true)+Fail MLKEM768-X25519 encapsulateKey/decapsulateKey round-trip with HMAC-SHA-256 (extractable=true)+Fail MLKEM768-X25519 vector-based sampleCiphertext decapsulation with HMAC-SHA-256 (extractable=true)+Fail MLKEM768-X25519 encapsulateKey with HMAC-SHA-256 (extractable=false)+Fail MLKEM768-X25519 decapsulateKey with HMAC-SHA-256 (extractable=false)+Fail MLKEM768-X25519 encapsulateKey/decapsulateKey round-trip with HMAC-SHA-256 (extractable=false)+Fail MLKEM768-X25519 vector-based sampleCiphertext decapsulation with HMAC-SHA-256 (extractable=false)+Fail MLKEM1024-P384 encapsulateKey with AES-GCM-256 (extractable=true)+Fail MLKEM1024-P384 decapsulateKey with AES-GCM-256 (extractable=true)+Fail MLKEM1024-P384 encapsulateKey/decapsulateKey round-trip with AES-GCM-256 (extractable=true)+Fail MLKEM1024-P384 vector-based sampleCiphertext decapsulation with AES-GCM-256 (extractable=true)+Fail MLKEM1024-P384 encapsulateKey with AES-GCM-256 (extractable=false)+Fail MLKEM1024-P384 decapsulateKey with AES-GCM-256 (extractable=false)+Fail MLKEM1024-P384 encapsulateKey/decapsulateKey round-trip with AES-GCM-256 (extractable=false)+Fail MLKEM1024-P384 vector-based sampleCiphertext decapsulation with AES-GCM-256 (extractable=false)+Fail MLKEM1024-P384 encapsulateKey with AES-CBC-256 (extractable=true)+Fail MLKEM1024-P384 decapsulateKey with AES-CBC-256 (extractable=true)+Fail MLKEM1024-P384 encapsulateKey/decapsulateKey round-trip with AES-CBC-256 (extractable=true)+Fail MLKEM1024-P384 vector-based sampleCiphertext decapsulation with AES-CBC-256 (extractable=true)+Fail MLKEM1024-P384 encapsulateKey with AES-CBC-256 (extractable=false)+Fail MLKEM1024-P384 decapsulateKey with AES-CBC-256 (extractable=false)+Fail MLKEM1024-P384 encapsulateKey/decapsulateKey round-trip with AES-CBC-256 (extractable=false)+Fail MLKEM1024-P384 vector-based sampleCiphertext decapsulation with AES-CBC-256 (extractable=false)+Fail MLKEM1024-P384 encapsulateKey with AES-CTR-256 (extractable=true)+Fail MLKEM1024-P384 decapsulateKey with AES-CTR-256 (extractable=true)+Fail MLKEM1024-P384 encapsulateKey/decapsulateKey round-trip with AES-CTR-256 (extractable=true)+Fail MLKEM1024-P384 vector-based sampleCiphertext decapsulation with AES-CTR-256 (extractable=true)+Fail MLKEM1024-P384 encapsulateKey with AES-CTR-256 (extractable=false)+Fail MLKEM1024-P384 decapsulateKey with AES-CTR-256 (extractable=false)+Fail MLKEM1024-P384 encapsulateKey/decapsulateKey round-trip with AES-CTR-256 (extractable=false)+Fail MLKEM1024-P384 vector-based sampleCiphertext decapsulation with AES-CTR-256 (extractable=false)+Fail MLKEM1024-P384 encapsulateKey with AES-KW-256 (extractable=true)+Fail MLKEM1024-P384 decapsulateKey with AES-KW-256 (extractable=true)+Fail MLKEM1024-P384 encapsulateKey/decapsulateKey round-trip with AES-KW-256 (extractable=true)+Fail MLKEM1024-P384 vector-based sampleCiphertext decapsulation with AES-KW-256 (extractable=true)+Fail MLKEM1024-P384 encapsulateKey with AES-KW-256 (extractable=false)+Fail MLKEM1024-P384 decapsulateKey with AES-KW-256 (extractable=false)+Fail MLKEM1024-P384 encapsulateKey/decapsulateKey round-trip with AES-KW-256 (extractable=false)+Fail MLKEM1024-P384 vector-based sampleCiphertext decapsulation with AES-KW-256 (extractable=false)+Fail MLKEM1024-P384 encapsulateKey with HMAC-SHA-256 (extractable=true)+Fail MLKEM1024-P384 decapsulateKey with HMAC-SHA-256 (extractable=true)+Fail MLKEM1024-P384 encapsulateKey/decapsulateKey round-trip with HMAC-SHA-256 (extractable=true)+Fail MLKEM1024-P384 vector-based sampleCiphertext decapsulation with HMAC-SHA-256 (extractable=true)+Fail MLKEM1024-P384 encapsulateKey with HMAC-SHA-256 (extractable=false)+Fail MLKEM1024-P384 decapsulateKey with HMAC-SHA-256 (extractable=false)+Fail MLKEM1024-P384 encapsulateKey/decapsulateKey round-trip with HMAC-SHA-256 (extractable=false)+Fail MLKEM1024-P384 vector-based sampleCiphertext decapsulation with HMAC-SHA-256 (extractable=false)\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/encrypt_decrypt/aes_ocb.tentative.https.any.txt b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/modern-algos/encrypt_decrypt/aes_ocb.https.any.txtsimilarity index 100%rename from Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/encrypt_decrypt/aes_ocb.tentative.https.any.txtrename to Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/modern-algos/encrypt_decrypt/aes_ocb.https.any.txtdiff --git a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/encrypt_decrypt/chacha20_poly1305.tentative.https.any.txt b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/modern-algos/encrypt_decrypt/chacha20_poly1305.https.any.txtsimilarity index 100%rename from Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/encrypt_decrypt/chacha20_poly1305.tentative.https.any.txtrename to Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/modern-algos/encrypt_decrypt/chacha20_poly1305.https.any.txtdiff --git a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/modern-algos/generateKey/failures_ML-DSA.https.any.txt b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/modern-algos/generateKey/failures_ML-DSA.https.any.txtnew file mode 100644index 00000000000..589c8903955--- /dev/null+++ b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/modern-algos/generateKey/failures_ML-DSA.https.any.txt@@ -0,0 +1,257 @@+Harness status: OK++Found 252 tests++252 Pass+Pass Bad usages: generateKey(ML-DSA-44, true, [encrypt])+Pass Bad usages: generateKey(ML-DSA-44, true, [sign, encrypt])+Pass Bad usages: generateKey(ML-DSA-44, true, [verify, sign, encrypt])+Pass Bad usages: generateKey(ML-DSA-44, true, [sign, verify, sign, sign, verify, encrypt])+Pass Bad usages: generateKey(ML-DSA-44, true, [decrypt])+Pass Bad usages: generateKey(ML-DSA-44, true, [sign, decrypt])+Pass Bad usages: generateKey(ML-DSA-44, true, [verify, sign, decrypt])+Pass Bad usages: generateKey(ML-DSA-44, true, [sign, verify, sign, sign, verify, decrypt])+Pass Bad usages: generateKey(ML-DSA-44, true, [wrapKey])+Pass Bad usages: generateKey(ML-DSA-44, true, [sign, wrapKey])+Pass Bad usages: generateKey(ML-DSA-44, true, [verify, sign, wrapKey])+Pass Bad usages: generateKey(ML-DSA-44, true, [sign, verify, sign, sign, verify, wrapKey])+Pass Bad usages: generateKey(ML-DSA-44, true, [unwrapKey])+Pass Bad usages: generateKey(ML-DSA-44, true, [sign, unwrapKey])+Pass Bad usages: generateKey(ML-DSA-44, true, [verify, sign, unwrapKey])+Pass Bad usages: generateKey(ML-DSA-44, true, [sign, verify, sign, sign, verify, unwrapKey])+Pass Bad usages: generateKey(ML-DSA-44, true, [deriveKey])+Pass Bad usages: generateKey(ML-DSA-44, true, [sign, deriveKey])+Pass Bad usages: generateKey(ML-DSA-44, true, [verify, sign, deriveKey])+Pass Bad usages: generateKey(ML-DSA-44, true, [sign, verify, sign, sign, verify, deriveKey])+Pass Bad usages: generateKey(ML-DSA-44, true, [deriveBits])+Pass Bad usages: generateKey(ML-DSA-44, true, [sign, deriveBits])+Pass Bad usages: generateKey(ML-DSA-44, true, [verify, sign, deriveBits])+Pass Bad usages: generateKey(ML-DSA-44, true, [sign, verify, sign, sign, verify, deriveBits])+Pass Bad usages: generateKey(ML-DSA-44, true, [encapsulateKey])+Pass Bad usages: generateKey(ML-DSA-44, true, [sign, encapsulateKey])+Pass Bad usages: generateKey(ML-DSA-44, true, [verify, sign, encapsulateKey])+Pass Bad usages: generateKey(ML-DSA-44, true, [sign, verify, sign, sign, verify, encapsulateKey])+Pass Bad usages: generateKey(ML-DSA-44, true, [encapsulateBits])+Pass Bad usages: generateKey(ML-DSA-44, true, [sign, encapsulateBits])+Pass Bad usages: generateKey(ML-DSA-44, true, [verify, sign, encapsulateBits])+Pass Bad usages: generateKey(ML-DSA-44, true, [sign, verify, sign, sign, verify, encapsulateBits])+Pass Bad usages: generateKey(ML-DSA-44, true, [decapsulateKey])+Pass Bad usages: generateKey(ML-DSA-44, true, [sign, decapsulateKey])+Pass Bad usages: generateKey(ML-DSA-44, true, [verify, sign, decapsulateKey])+Pass Bad usages: generateKey(ML-DSA-44, true, [sign, verify, sign, sign, verify, decapsulateKey])+Pass Bad usages: generateKey(ML-DSA-44, true, [decapsulateBits])+Pass Bad usages: generateKey(ML-DSA-44, true, [sign, decapsulateBits])+Pass Bad usages: generateKey(ML-DSA-44, true, [verify, sign, decapsulateBits])+Pass Bad usages: generateKey(ML-DSA-44, true, [sign, verify, sign, sign, verify, decapsulateBits])+Pass Bad usages: generateKey({name: ML-DSA-44}, true, [encrypt])+Pass Bad usages: generateKey({name: ML-DSA-44}, true, [sign, encrypt])+Pass Bad usages: generateKey({name: ML-DSA-44}, true, [verify, sign, encrypt])+Pass Bad usages: generateKey({name: ML-DSA-44}, true, [sign, verify, sign, sign, verify, encrypt])+Pass Bad usages: generateKey({name: ML-DSA-44}, true, [decrypt])+Pass Bad usages: generateKey({name: ML-DSA-44}, true, [sign, decrypt])+Pass Bad usages: generateKey({name: ML-DSA-44}, true, [verify, sign, decrypt])+Pass Bad usages: generateKey({name: ML-DSA-44}, true, [sign, verify, sign, sign, verify, decrypt])+Pass Bad usages: generateKey({name: ML-DSA-44}, true, [wrapKey])+Pass Bad usages: generateKey({name: ML-DSA-44}, true, [sign, wrapKey])+Pass Bad usages: generateKey({name: ML-DSA-44}, true, [verify, sign, wrapKey])+Pass Bad usages: generateKey({name: ML-DSA-44}, true, [sign, verify, sign, sign, verify, wrapKey])+Pass Bad usages: generateKey({name: ML-DSA-44}, true, [unwrapKey])+Pass Bad usages: generateKey({name: ML-DSA-44}, true, [sign, unwrapKey])+Pass Bad usages: generateKey({name: ML-DSA-44}, true, [verify, sign, unwrapKey])+Pass Bad usages: generateKey({name: ML-DSA-44}, true, [sign, verify, sign, sign, verify, unwrapKey])+Pass Bad usages: generateKey({name: ML-DSA-44}, true, [deriveKey])+Pass Bad usages: generateKey({name: ML-DSA-44}, true, [sign, deriveKey])+Pass Bad usages: generateKey({name: ML-DSA-44}, true, [verify, sign, deriveKey])+Pass Bad usages: generateKey({name: ML-DSA-44}, true, [sign, verify, sign, sign, verify, deriveKey])+Pass Bad usages: generateKey({name: ML-DSA-44}, true, [deriveBits])+Pass Bad usages: generateKey({name: ML-DSA-44}, true, [sign, deriveBits])+Pass Bad usages: generateKey({name: ML-DSA-44}, true, [verify, sign, deriveBits])+Pass Bad usages: generateKey({name: ML-DSA-44}, true, [sign, verify, sign, sign, verify, deriveBits])+Pass Bad usages: generateKey({name: ML-DSA-44}, true, [encapsulateKey])+Pass Bad usages: generateKey({name: ML-DSA-44}, true, [sign, encapsulateKey])+Pass Bad usages: generateKey({name: ML-DSA-44}, true, [verify, sign, encapsulateKey])+Pass Bad usages: generateKey({name: ML-DSA-44}, true, [sign, verify, sign, sign, verify, encapsulateKey])+Pass Bad usages: generateKey({name: ML-DSA-44}, true, [encapsulateBits])+Pass Bad usages: generateKey({name: ML-DSA-44}, true, [sign, encapsulateBits])+Pass Bad usages: generateKey({name: ML-DSA-44}, true, [verify, sign, encapsulateBits])+Pass Bad usages: generateKey({name: ML-DSA-44}, true, [sign, verify, sign, sign, verify, encapsulateBits])+Pass Bad usages: generateKey({name: ML-DSA-44}, true, [decapsulateKey])+Pass Bad usages: generateKey({name: ML-DSA-44}, true, [sign, decapsulateKey])+Pass Bad usages: generateKey({name: ML-DSA-44}, true, [verify, sign, decapsulateKey])+Pass Bad usages: generateKey({name: ML-DSA-44}, true, [sign, verify, sign, sign, verify, decapsulateKey])+Pass Bad usages: generateKey({name: ML-DSA-44}, true, [decapsulateBits])+Pass Bad usages: generateKey({name: ML-DSA-44}, true, [sign, decapsulateBits])+Pass Bad usages: generateKey({name: ML-DSA-44}, true, [verify, sign, decapsulateBits])+Pass Bad usages: generateKey({name: ML-DSA-44}, true, [sign, verify, sign, sign, verify, decapsulateBits])+Pass Bad usages: generateKey(ML-DSA-65, true, [encrypt])+Pass Bad usages: generateKey(ML-DSA-65, true, [sign, encrypt])+Pass Bad usages: generateKey(ML-DSA-65, true, [verify, sign, encrypt])+Pass Bad usages: generateKey(ML-DSA-65, true, [sign, verify, sign, sign, verify, encrypt])+Pass Bad usages: generateKey(ML-DSA-65, true, [decrypt])+Pass Bad usages: generateKey(ML-DSA-65, true, [sign, decrypt])+Pass Bad usages: generateKey(ML-DSA-65, true, [verify, sign, decrypt])+Pass Bad usages: generateKey(ML-DSA-65, true, [sign, verify, sign, sign, verify, decrypt])+Pass Bad usages: generateKey(ML-DSA-65, true, [wrapKey])+Pass Bad usages: generateKey(ML-DSA-65, true, [sign, wrapKey])+Pass Bad usages: generateKey(ML-DSA-65, true, [verify, sign, wrapKey])+Pass Bad usages: generateKey(ML-DSA-65, true, [sign, verify, sign, sign, verify, wrapKey])+Pass Bad usages: generateKey(ML-DSA-65, true, [unwrapKey])+Pass Bad usages: generateKey(ML-DSA-65, true, [sign, unwrapKey])+Pass Bad usages: generateKey(ML-DSA-65, true, [verify, sign, unwrapKey])+Pass Bad usages: generateKey(ML-DSA-65, true, [sign, verify, sign, sign, verify, unwrapKey])+Pass Bad usages: generateKey(ML-DSA-65, true, [deriveKey])+Pass Bad usages: generateKey(ML-DSA-65, true, [sign, deriveKey])+Pass Bad usages: generateKey(ML-DSA-65, true, [verify, sign, deriveKey])+Pass Bad usages: generateKey(ML-DSA-65, true, [sign, verify, sign, sign, verify, deriveKey])+Pass Bad usages: generateKey(ML-DSA-65, true, [deriveBits])+Pass Bad usages: generateKey(ML-DSA-65, true, [sign, deriveBits])+Pass Bad usages: generateKey(ML-DSA-65, true, [verify, sign, deriveBits])+Pass Bad usages: generateKey(ML-DSA-65, true, [sign, verify, sign, sign, verify, deriveBits])+Pass Bad usages: generateKey(ML-DSA-65, true, [encapsulateKey])+Pass Bad usages: generateKey(ML-DSA-65, true, [sign, encapsulateKey])+Pass Bad usages: generateKey(ML-DSA-65, true, [verify, sign, encapsulateKey])+Pass Bad usages: generateKey(ML-DSA-65, true, [sign, verify, sign, sign, verify, encapsulateKey])+Pass Bad usages: generateKey(ML-DSA-65, true, [encapsulateBits])+Pass Bad usages: generateKey(ML-DSA-65, true, [sign, encapsulateBits])+Pass Bad usages: generateKey(ML-DSA-65, true, [verify, sign, encapsulateBits])+Pass Bad usages: generateKey(ML-DSA-65, true, [sign, verify, sign, sign, verify, encapsulateBits])+Pass Bad usages: generateKey(ML-DSA-65, true, [decapsulateKey])+Pass Bad usages: generateKey(ML-DSA-65, true, [sign, decapsulateKey])+Pass Bad usages: generateKey(ML-DSA-65, true, [verify, sign, decapsulateKey])+Pass Bad usages: generateKey(ML-DSA-65, true, [sign, verify, sign, sign, verify, decapsulateKey])+Pass Bad usages: generateKey(ML-DSA-65, true, [decapsulateBits])+Pass Bad usages: generateKey(ML-DSA-65, true, [sign, decapsulateBits])+Pass Bad usages: generateKey(ML-DSA-65, true, [verify, sign, decapsulateBits])+Pass Bad usages: generateKey(ML-DSA-65, true, [sign, verify, sign, sign, verify, decapsulateBits])+Pass Bad usages: generateKey({name: ML-DSA-65}, true, [encrypt])+Pass Bad usages: generateKey({name: ML-DSA-65}, true, [sign, encrypt])+Pass Bad usages: generateKey({name: ML-DSA-65}, true, [verify, sign, encrypt])+Pass Bad usages: generateKey({name: ML-DSA-65}, true, [sign, verify, sign, sign, verify, encrypt])+Pass Bad usages: generateKey({name: ML-DSA-65}, true, [decrypt])+Pass Bad usages: generateKey({name: ML-DSA-65}, true, [sign, decrypt])+Pass Bad usages: generateKey({name: ML-DSA-65}, true, [verify, sign, decrypt])+Pass Bad usages: generateKey({name: ML-DSA-65}, true, [sign, verify, sign, sign, verify, decrypt])+Pass Bad usages: generateKey({name: ML-DSA-65}, true, [wrapKey])+Pass Bad usages: generateKey({name: ML-DSA-65}, true, [sign, wrapKey])+Pass Bad usages: generateKey({name: ML-DSA-65}, true, [verify, sign, wrapKey])+Pass Bad usages: generateKey({name: ML-DSA-65}, true, [sign, verify, sign, sign, verify, wrapKey])+Pass Bad usages: generateKey({name: ML-DSA-65}, true, [unwrapKey])+Pass Bad usages: generateKey({name: ML-DSA-65}, true, [sign, unwrapKey])+Pass Bad usages: generateKey({name: ML-DSA-65}, true, [verify, sign, unwrapKey])+Pass Bad usages: generateKey({name: ML-DSA-65}, true, [sign, verify, sign, sign, verify, unwrapKey])+Pass Bad usages: generateKey({name: ML-DSA-65}, true, [deriveKey])+Pass Bad usages: generateKey({name: ML-DSA-65}, true, [sign, deriveKey])+Pass Bad usages: generateKey({name: ML-DSA-65}, true, [verify, sign, deriveKey])+Pass Bad usages: generateKey({name: ML-DSA-65}, true, [sign, verify, sign, sign, verify, deriveKey])+Pass Bad usages: generateKey({name: ML-DSA-65}, true, [deriveBits])+Pass Bad usages: generateKey({name: ML-DSA-65}, true, [sign, deriveBits])+Pass Bad usages: generateKey({name: ML-DSA-65}, true, [verify, sign, deriveBits])+Pass Bad usages: generateKey({name: ML-DSA-65}, true, [sign, verify, sign, sign, verify, deriveBits])+Pass Bad usages: generateKey({name: ML-DSA-65}, true, [encapsulateKey])+Pass Bad usages: generateKey({name: ML-DSA-65}, true, [sign, encapsulateKey])+Pass Bad usages: generateKey({name: ML-DSA-65}, true, [verify, sign, encapsulateKey])+Pass Bad usages: generateKey({name: ML-DSA-65}, true, [sign, verify, sign, sign, verify, encapsulateKey])+Pass Bad usages: generateKey({name: ML-DSA-65}, true, [encapsulateBits])+Pass Bad usages: generateKey({name: ML-DSA-65}, true, [sign, encapsulateBits])+Pass Bad usages: generateKey({name: ML-DSA-65}, true, [verify, sign, encapsulateBits])+Pass Bad usages: generateKey({name: ML-DSA-65}, true, [sign, verify, sign, sign, verify, encapsulateBits])+Pass Bad usages: generateKey({name: ML-DSA-65}, true, [decapsulateKey])+Pass Bad usages: generateKey({name: ML-DSA-65}, true, [sign, decapsulateKey])+Pass Bad usages: generateKey({name: ML-DSA-65}, true, [verify, sign, decapsulateKey])+Pass Bad usages: generateKey({name: ML-DSA-65}, true, [sign, verify, sign, sign, verify, decapsulateKey])+Pass Bad usages: generateKey({name: ML-DSA-65}, true, [decapsulateBits])+Pass Bad usages: generateKey({name: ML-DSA-65}, true, [sign, decapsulateBits])+Pass Bad usages: generateKey({name: ML-DSA-65}, true, [verify, sign, decapsulateBits])+Pass Bad usages: generateKey({name: ML-DSA-65}, true, [sign, verify, sign, sign, verify, decapsulateBits])+Pass Bad usages: generateKey(ML-DSA-87, true, [encrypt])+Pass Bad usages: generateKey(ML-DSA-87, true, [sign, encrypt])+Pass Bad usages: generateKey(ML-DSA-87, true, [verify, sign, encrypt])+Pass Bad usages: generateKey(ML-DSA-87, true, [sign, verify, sign, sign, verify, encrypt])+Pass Bad usages: generateKey(ML-DSA-87, true, [decrypt])+Pass Bad usages: generateKey(ML-DSA-87, true, [sign, decrypt])+Pass Bad usages: generateKey(ML-DSA-87, true, [verify, sign, decrypt])+Pass Bad usages: generateKey(ML-DSA-87, true, [sign, verify, sign, sign, verify, decrypt])+Pass Bad usages: generateKey(ML-DSA-87, true, [wrapKey])+Pass Bad usages: generateKey(ML-DSA-87, true, [sign, wrapKey])+Pass Bad usages: generateKey(ML-DSA-87, true, [verify, sign, wrapKey])+Pass Bad usages: generateKey(ML-DSA-87, true, [sign, verify, sign, sign, verify, wrapKey])+Pass Bad usages: generateKey(ML-DSA-87, true, [unwrapKey])+Pass Bad usages: generateKey(ML-DSA-87, true, [sign, unwrapKey])+Pass Bad usages: generateKey(ML-DSA-87, true, [verify, sign, unwrapKey])+Pass Bad usages: generateKey(ML-DSA-87, true, [sign, verify, sign, sign, verify, unwrapKey])+Pass Bad usages: generateKey(ML-DSA-87, true, [deriveKey])+Pass Bad usages: generateKey(ML-DSA-87, true, [sign, deriveKey])+Pass Bad usages: generateKey(ML-DSA-87, true, [verify, sign, deriveKey])+Pass Bad usages: generateKey(ML-DSA-87, true, [sign, verify, sign, sign, verify, deriveKey])+Pass Bad usages: generateKey(ML-DSA-87, true, [deriveBits])+Pass Bad usages: generateKey(ML-DSA-87, true, [sign, deriveBits])+Pass Bad usages: generateKey(ML-DSA-87, true, [verify, sign, deriveBits])+Pass Bad usages: generateKey(ML-DSA-87, true, [sign, verify, sign, sign, verify, deriveBits])+Pass Bad usages: generateKey(ML-DSA-87, true, [encapsulateKey])+Pass Bad usages: generateKey(ML-DSA-87, true, [sign, encapsulateKey])+Pass Bad usages: generateKey(ML-DSA-87, true, [verify, sign, encapsulateKey])+Pass Bad usages: generateKey(ML-DSA-87, true, [sign, verify, sign, sign, verify, encapsulateKey])+Pass Bad usages: generateKey(ML-DSA-87, true, [encapsulateBits])+Pass Bad usages: generateKey(ML-DSA-87, true, [sign, encapsulateBits])+Pass Bad usages: generateKey(ML-DSA-87, true, [verify, sign, encapsulateBits])+Pass Bad usages: generateKey(ML-DSA-87, true, [sign, verify, sign, sign, verify, encapsulateBits])+Pass Bad usages: generateKey(ML-DSA-87, true, [decapsulateKey])+Pass Bad usages: generateKey(ML-DSA-87, true, [sign, decapsulateKey])+Pass Bad usages: generateKey(ML-DSA-87, true, [verify, sign, decapsulateKey])+Pass Bad usages: generateKey(ML-DSA-87, true, [sign, verify, sign, sign, verify, decapsulateKey])+Pass Bad usages: generateKey(ML-DSA-87, true, [decapsulateBits])+Pass Bad usages: generateKey(ML-DSA-87, true, [sign, decapsulateBits])+Pass Bad usages: generateKey(ML-DSA-87, true, [verify, sign, decapsulateBits])+Pass Bad usages: generateKey(ML-DSA-87, true, [sign, verify, sign, sign, verify, decapsulateBits])+Pass Bad usages: generateKey({name: ML-DSA-87}, true, [encrypt])+Pass Bad usages: generateKey({name: ML-DSA-87}, true, [sign, encrypt])+Pass Bad usages: generateKey({name: ML-DSA-87}, true, [verify, sign, encrypt])+Pass Bad usages: generateKey({name: ML-DSA-87}, true, [sign, verify, sign, sign, verify, encrypt])+Pass Bad usages: generateKey({name: ML-DSA-87}, true, [decrypt])+Pass Bad usages: generateKey({name: ML-DSA-87}, true, [sign, decrypt])+Pass Bad usages: generateKey({name: ML-DSA-87}, true, [verify, sign, decrypt])+Pass Bad usages: generateKey({name: ML-DSA-87}, true, [sign, verify, sign, sign, verify, decrypt])+Pass Bad usages: generateKey({name: ML-DSA-87}, true, [wrapKey])+Pass Bad usages: generateKey({name: ML-DSA-87}, true, [sign, wrapKey])+Pass Bad usages: generateKey({name: ML-DSA-87}, true, [verify, sign, wrapKey])+Pass Bad usages: generateKey({name: ML-DSA-87}, true, [sign, verify, sign, sign, verify, wrapKey])+Pass Bad usages: generateKey({name: ML-DSA-87}, true, [unwrapKey])+Pass Bad usages: generateKey({name: ML-DSA-87}, true, [sign, unwrapKey])+Pass Bad usages: generateKey({name: ML-DSA-87}, true, [verify, sign, unwrapKey])+Pass Bad usages: generateKey({name: ML-DSA-87}, true, [sign, verify, sign, sign, verify, unwrapKey])+Pass Bad usages: generateKey({name: ML-DSA-87}, true, [deriveKey])+Pass Bad usages: generateKey({name: ML-DSA-87}, true, [sign, deriveKey])+Pass Bad usages: generateKey({name: ML-DSA-87}, true, [verify, sign, deriveKey])+Pass Bad usages: generateKey({name: ML-DSA-87}, true, [sign, verify, sign, sign, verify, deriveKey])+Pass Bad usages: generateKey({name: ML-DSA-87}, true, [deriveBits])+Pass Bad usages: generateKey({name: ML-DSA-87}, true, [sign, deriveBits])+Pass Bad usages: generateKey({name: ML-DSA-87}, true, [verify, sign, deriveBits])+Pass Bad usages: generateKey({name: ML-DSA-87}, true, [sign, verify, sign, sign, verify, deriveBits])+Pass Bad usages: generateKey({name: ML-DSA-87}, true, [encapsulateKey])+Pass Bad usages: generateKey({name: ML-DSA-87}, true, [sign, encapsulateKey])+Pass Bad usages: generateKey({name: ML-DSA-87}, true, [verify, sign, encapsulateKey])+Pass Bad usages: generateKey({name: ML-DSA-87}, true, [sign, verify, sign, sign, verify, encapsulateKey])+Pass Bad usages: generateKey({name: ML-DSA-87}, true, [encapsulateBits])+Pass Bad usages: generateKey({name: ML-DSA-87}, true, [sign, encapsulateBits])+Pass Bad usages: generateKey({name: ML-DSA-87}, true, [verify, sign, encapsulateBits])+Pass Bad usages: generateKey({name: ML-DSA-87}, true, [sign, verify, sign, sign, verify, encapsulateBits])+Pass Bad usages: generateKey({name: ML-DSA-87}, true, [decapsulateKey])+Pass Bad usages: generateKey({name: ML-DSA-87}, true, [sign, decapsulateKey])+Pass Bad usages: generateKey({name: ML-DSA-87}, true, [verify, sign, decapsulateKey])+Pass Bad usages: generateKey({name: ML-DSA-87}, true, [sign, verify, sign, sign, verify, decapsulateKey])+Pass Bad usages: generateKey({name: ML-DSA-87}, true, [decapsulateBits])+Pass Bad usages: generateKey({name: ML-DSA-87}, true, [sign, decapsulateBits])+Pass Bad usages: generateKey({name: ML-DSA-87}, true, [verify, sign, decapsulateBits])+Pass Bad usages: generateKey({name: ML-DSA-87}, true, [sign, verify, sign, sign, verify, decapsulateBits])+Pass Empty usages: generateKey(ML-DSA-44, false, [])+Pass Empty usages: generateKey(ML-DSA-44, true, [])+Pass Empty usages: generateKey({name: ML-DSA-44}, false, [])+Pass Empty usages: generateKey({name: ML-DSA-44}, true, [])+Pass Empty usages: generateKey(ML-DSA-65, false, [])+Pass Empty usages: generateKey(ML-DSA-65, true, [])+Pass Empty usages: generateKey({name: ML-DSA-65}, false, [])+Pass Empty usages: generateKey({name: ML-DSA-65}, true, [])+Pass Empty usages: generateKey(ML-DSA-87, false, [])+Pass Empty usages: generateKey(ML-DSA-87, true, [])+Pass Empty usages: generateKey({name: ML-DSA-87}, false, [])+Pass Empty usages: generateKey({name: ML-DSA-87}, true, [])\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/modern-algos/generateKey/failures_kmac.https.any.txt b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/modern-algos/generateKey/failures_kmac.https.any.txtnew file mode 100644index 00000000000..3cc17d5dae3--- /dev/null+++ b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/modern-algos/generateKey/failures_kmac.https.any.txt@@ -0,0 +1,317 @@+Harness status: OK++Found 312 tests++312 Pass+Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [encrypt])+Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [sign, encrypt])+Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [verify, sign, encrypt])+Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [verify, encrypt])+Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [sign, verify, sign, verify, encrypt])+Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [decrypt])+Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [sign, decrypt])+Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [verify, sign, decrypt])+Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [verify, decrypt])+Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [sign, verify, sign, verify, decrypt])+Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [wrapKey])+Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [sign, wrapKey])+Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [verify, sign, wrapKey])+Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [verify, wrapKey])+Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [sign, verify, sign, verify, wrapKey])+Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [unwrapKey])+Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [sign, unwrapKey])+Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [verify, sign, unwrapKey])+Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [verify, unwrapKey])+Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [sign, verify, sign, verify, unwrapKey])+Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [deriveKey])+Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [sign, deriveKey])+Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [verify, sign, deriveKey])+Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [verify, deriveKey])+Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [sign, verify, sign, verify, deriveKey])+Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [deriveBits])+Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [sign, deriveBits])+Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [verify, sign, deriveBits])+Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [verify, deriveBits])+Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [sign, verify, sign, verify, deriveBits])+Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [encapsulateKey])+Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [sign, encapsulateKey])+Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [verify, sign, encapsulateKey])+Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [verify, encapsulateKey])+Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [sign, verify, sign, verify, encapsulateKey])+Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [encapsulateBits])+Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [sign, encapsulateBits])+Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [verify, sign, encapsulateBits])+Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [verify, encapsulateBits])+Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [sign, verify, sign, verify, encapsulateBits])+Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [decapsulateKey])+Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [sign, decapsulateKey])+Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [verify, sign, decapsulateKey])+Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [verify, decapsulateKey])+Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [sign, verify, sign, verify, decapsulateKey])+Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [decapsulateBits])+Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [sign, decapsulateBits])+Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [verify, sign, decapsulateBits])+Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [verify, decapsulateBits])+Pass Bad usages: generateKey({length: 128, name: KMAC128}, true, [sign, verify, sign, verify, decapsulateBits])+Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [encrypt])+Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [sign, encrypt])+Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [verify, sign, encrypt])+Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [verify, encrypt])+Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [sign, verify, sign, verify, encrypt])+Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [decrypt])+Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [sign, decrypt])+Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [verify, sign, decrypt])+Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [verify, decrypt])+Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [sign, verify, sign, verify, decrypt])+Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [wrapKey])+Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [sign, wrapKey])+Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [verify, sign, wrapKey])+Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [verify, wrapKey])+Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [sign, verify, sign, verify, wrapKey])+Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [unwrapKey])+Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [sign, unwrapKey])+Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [verify, sign, unwrapKey])+Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [verify, unwrapKey])+Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [sign, verify, sign, verify, unwrapKey])+Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [deriveKey])+Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [sign, deriveKey])+Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [verify, sign, deriveKey])+Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [verify, deriveKey])+Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [sign, verify, sign, verify, deriveKey])+Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [deriveBits])+Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [sign, deriveBits])+Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [verify, sign, deriveBits])+Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [verify, deriveBits])+Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [sign, verify, sign, verify, deriveBits])+Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [encapsulateKey])+Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [sign, encapsulateKey])+Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [verify, sign, encapsulateKey])+Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [verify, encapsulateKey])+Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [sign, verify, sign, verify, encapsulateKey])+Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [encapsulateBits])+Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [sign, encapsulateBits])+Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [verify, sign, encapsulateBits])+Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [verify, encapsulateBits])+Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [sign, verify, sign, verify, encapsulateBits])+Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [decapsulateKey])+Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [sign, decapsulateKey])+Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [verify, sign, decapsulateKey])+Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [verify, decapsulateKey])+Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [sign, verify, sign, verify, decapsulateKey])+Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [decapsulateBits])+Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [sign, decapsulateBits])+Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [verify, sign, decapsulateBits])+Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [verify, decapsulateBits])+Pass Bad usages: generateKey({length: 160, name: KMAC128}, true, [sign, verify, sign, verify, decapsulateBits])+Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [encrypt])+Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [sign, encrypt])+Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [verify, sign, encrypt])+Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [verify, encrypt])+Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [sign, verify, sign, verify, encrypt])+Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [decrypt])+Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [sign, decrypt])+Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [verify, sign, decrypt])+Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [verify, decrypt])+Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [sign, verify, sign, verify, decrypt])+Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [wrapKey])+Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [sign, wrapKey])+Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [verify, sign, wrapKey])+Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [verify, wrapKey])+Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [sign, verify, sign, verify, wrapKey])+Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [unwrapKey])+Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [sign, unwrapKey])+Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [verify, sign, unwrapKey])+Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [verify, unwrapKey])+Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [sign, verify, sign, verify, unwrapKey])+Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [deriveKey])+Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [sign, deriveKey])+Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [verify, sign, deriveKey])+Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [verify, deriveKey])+Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [sign, verify, sign, verify, deriveKey])+Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [deriveBits])+Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [sign, deriveBits])+Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [verify, sign, deriveBits])+Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [verify, deriveBits])+Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [sign, verify, sign, verify, deriveBits])+Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [encapsulateKey])+Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [sign, encapsulateKey])+Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [verify, sign, encapsulateKey])+Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [verify, encapsulateKey])+Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [sign, verify, sign, verify, encapsulateKey])+Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [encapsulateBits])+Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [sign, encapsulateBits])+Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [verify, sign, encapsulateBits])+Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [verify, encapsulateBits])+Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [sign, verify, sign, verify, encapsulateBits])+Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [decapsulateKey])+Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [sign, decapsulateKey])+Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [verify, sign, decapsulateKey])+Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [verify, decapsulateKey])+Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [sign, verify, sign, verify, decapsulateKey])+Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [decapsulateBits])+Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [sign, decapsulateBits])+Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [verify, sign, decapsulateBits])+Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [verify, decapsulateBits])+Pass Bad usages: generateKey({length: 256, name: KMAC128}, true, [sign, verify, sign, verify, decapsulateBits])+Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [encrypt])+Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [sign, encrypt])+Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [verify, sign, encrypt])+Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [verify, encrypt])+Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [sign, verify, sign, verify, encrypt])+Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [decrypt])+Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [sign, decrypt])+Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [verify, sign, decrypt])+Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [verify, decrypt])+Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [sign, verify, sign, verify, decrypt])+Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [wrapKey])+Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [sign, wrapKey])+Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [verify, sign, wrapKey])+Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [verify, wrapKey])+Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [sign, verify, sign, verify, wrapKey])+Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [unwrapKey])+Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [sign, unwrapKey])+Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [verify, sign, unwrapKey])+Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [verify, unwrapKey])+Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [sign, verify, sign, verify, unwrapKey])+Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [deriveKey])+Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [sign, deriveKey])+Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [verify, sign, deriveKey])+Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [verify, deriveKey])+Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [sign, verify, sign, verify, deriveKey])+Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [deriveBits])+Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [sign, deriveBits])+Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [verify, sign, deriveBits])+Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [verify, deriveBits])+Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [sign, verify, sign, verify, deriveBits])+Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [encapsulateKey])+Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [sign, encapsulateKey])+Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [verify, sign, encapsulateKey])+Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [verify, encapsulateKey])+Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [sign, verify, sign, verify, encapsulateKey])+Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [encapsulateBits])+Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [sign, encapsulateBits])+Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [verify, sign, encapsulateBits])+Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [verify, encapsulateBits])+Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [sign, verify, sign, verify, encapsulateBits])+Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [decapsulateKey])+Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [sign, decapsulateKey])+Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [verify, sign, decapsulateKey])+Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [verify, decapsulateKey])+Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [sign, verify, sign, verify, decapsulateKey])+Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [decapsulateBits])+Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [sign, decapsulateBits])+Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [verify, sign, decapsulateBits])+Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [verify, decapsulateBits])+Pass Bad usages: generateKey({length: 128, name: KMAC256}, true, [sign, verify, sign, verify, decapsulateBits])+Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [encrypt])+Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [sign, encrypt])+Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [verify, sign, encrypt])+Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [verify, encrypt])+Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [sign, verify, sign, verify, encrypt])+Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [decrypt])+Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [sign, decrypt])+Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [verify, sign, decrypt])+Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [verify, decrypt])+Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [sign, verify, sign, verify, decrypt])+Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [wrapKey])+Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [sign, wrapKey])+Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [verify, sign, wrapKey])+Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [verify, wrapKey])+Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [sign, verify, sign, verify, wrapKey])+Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [unwrapKey])+Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [sign, unwrapKey])+Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [verify, sign, unwrapKey])+Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [verify, unwrapKey])+Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [sign, verify, sign, verify, unwrapKey])+Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [deriveKey])+Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [sign, deriveKey])+Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [verify, sign, deriveKey])+Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [verify, deriveKey])+Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [sign, verify, sign, verify, deriveKey])+Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [deriveBits])+Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [sign, deriveBits])+Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [verify, sign, deriveBits])+Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [verify, deriveBits])+Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [sign, verify, sign, verify, deriveBits])+Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [encapsulateKey])+Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [sign, encapsulateKey])+Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [verify, sign, encapsulateKey])+Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [verify, encapsulateKey])+Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [sign, verify, sign, verify, encapsulateKey])+Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [encapsulateBits])+Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [sign, encapsulateBits])+Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [verify, sign, encapsulateBits])+Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [verify, encapsulateBits])+Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [sign, verify, sign, verify, encapsulateBits])+Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [decapsulateKey])+Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [sign, decapsulateKey])+Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [verify, sign, decapsulateKey])+Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [verify, decapsulateKey])+Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [sign, verify, sign, verify, decapsulateKey])+Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [decapsulateBits])+Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [sign, decapsulateBits])+Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [verify, sign, decapsulateBits])+Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [verify, decapsulateBits])+Pass Bad usages: generateKey({length: 160, name: KMAC256}, true, [sign, verify, sign, verify, decapsulateBits])+Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [encrypt])+Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [sign, encrypt])+Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [verify, sign, encrypt])+Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [verify, encrypt])+Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [sign, verify, sign, verify, encrypt])+Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [decrypt])+Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [sign, decrypt])+Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [verify, sign, decrypt])+Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [verify, decrypt])+Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [sign, verify, sign, verify, decrypt])+Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [wrapKey])+Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [sign, wrapKey])+Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [verify, sign, wrapKey])+Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [verify, wrapKey])+Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [sign, verify, sign, verify, wrapKey])+Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [unwrapKey])+Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [sign, unwrapKey])+Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [verify, sign, unwrapKey])+Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [verify, unwrapKey])+Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [sign, verify, sign, verify, unwrapKey])+Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [deriveKey])+Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [sign, deriveKey])+Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [verify, sign, deriveKey])+Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [verify, deriveKey])+Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [sign, verify, sign, verify, deriveKey])+Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [deriveBits])+Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [sign, deriveBits])+Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [verify, sign, deriveBits])+Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [verify, deriveBits])+Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [sign, verify, sign, verify, deriveBits])+Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [encapsulateKey])+Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [sign, encapsulateKey])+Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [verify, sign, encapsulateKey])+Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [verify, encapsulateKey])+Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [sign, verify, sign, verify, encapsulateKey])+Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [encapsulateBits])+Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [sign, encapsulateBits])+Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [verify, sign, encapsulateBits])+Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [verify, encapsulateBits])+Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [sign, verify, sign, verify, encapsulateBits])+Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [decapsulateKey])+Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [sign, decapsulateKey])+Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [verify, sign, decapsulateKey])+Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [verify, decapsulateKey])+Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [sign, verify, sign, verify, decapsulateKey])+Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [decapsulateBits])+Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [sign, decapsulateBits])+Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [verify, sign, decapsulateBits])+Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [verify, decapsulateBits])+Pass Bad usages: generateKey({length: 256, name: KMAC256}, true, [sign, verify, sign, verify, decapsulateBits])+Pass Empty usages: generateKey({length: 128, name: KMAC128}, false, [])+Pass Empty usages: generateKey({length: 128, name: KMAC128}, true, [])+Pass Empty usages: generateKey({length: 160, name: KMAC128}, false, [])+Pass Empty usages: generateKey({length: 160, name: KMAC128}, true, [])+Pass Empty usages: generateKey({length: 256, name: KMAC128}, false, [])+Pass Empty usages: generateKey({length: 256, name: KMAC128}, true, [])+Pass Empty usages: generateKey({length: 128, name: KMAC256}, false, [])+Pass Empty usages: generateKey({length: 128, name: KMAC256}, true, [])+Pass Empty usages: generateKey({length: 160, name: KMAC256}, false, [])+Pass Empty usages: generateKey({length: 160, name: KMAC256}, true, [])+Pass Empty usages: generateKey({length: 256, name: KMAC256}, false, [])+Pass Empty usages: generateKey({length: 256, name: KMAC256}, true, [])\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/generateKey/successes_ML-DSA.tentative.https.any.txt b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/modern-algos/generateKey/successes_ML-DSA.https.any.txtsimilarity index 68%rename from Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/generateKey/successes_ML-DSA.tentative.https.any.txtrename to Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/modern-algos/generateKey/successes_ML-DSA.https.any.txtindex 4b62fd4065f..4a3a5e2ffed 100644--- a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/generateKey/successes_ML-DSA.tentative.https.any.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/modern-algos/generateKey/successes_ML-DSA.https.any.txt@@ -2,112 +2,113 @@ Harness status: OKFound 108 tests-108 Pass+72 Pass+36 FailPass Success: generateKey(ML-DSA-44, false, [sign])Pass Success: generateKey(ML-DSA-44, true, [sign])Pass Success: generateKey(ML-DSA-44, false, [verify, sign])Pass Success: generateKey(ML-DSA-44, true, [verify, sign])-Pass Success: generateKey(ML-DSA-44, false, [sign, verify, sign, sign, verify])-Pass Success: generateKey(ML-DSA-44, true, [sign, verify, sign, sign, verify])+Fail Success: generateKey(ML-DSA-44, false, [sign, verify, sign, sign, verify])+Fail Success: generateKey(ML-DSA-44, true, [sign, verify, sign, sign, verify])Pass Success: generateKey({name: ML-DSA-44}, false, [sign])Pass Success: generateKey({name: ML-DSA-44}, true, [sign])Pass Success: generateKey({name: ML-DSA-44}, false, [verify, sign])Pass Success: generateKey({name: ML-DSA-44}, true, [verify, sign])-Pass Success: generateKey({name: ML-DSA-44}, false, [sign, verify, sign, sign, verify])-Pass Success: generateKey({name: ML-DSA-44}, true, [sign, verify, sign, sign, verify])+Fail Success: generateKey({name: ML-DSA-44}, false, [sign, verify, sign, sign, verify])+Fail Success: generateKey({name: ML-DSA-44}, true, [sign, verify, sign, sign, verify])Pass Success: generateKey(ml-dsa-44, false, [sign])Pass Success: generateKey(ml-dsa-44, true, [sign])Pass Success: generateKey(ml-dsa-44, false, [verify, sign])Pass Success: generateKey(ml-dsa-44, true, [verify, sign])-Pass Success: generateKey(ml-dsa-44, false, [sign, verify, sign, sign, verify])-Pass Success: generateKey(ml-dsa-44, true, [sign, verify, sign, sign, verify])+Fail Success: generateKey(ml-dsa-44, false, [sign, verify, sign, sign, verify])+Fail Success: generateKey(ml-dsa-44, true, [sign, verify, sign, sign, verify])Pass Success: generateKey({name: ml-dsa-44}, false, [sign])Pass Success: generateKey({name: ml-dsa-44}, true, [sign])Pass Success: generateKey({name: ml-dsa-44}, false, [verify, sign])Pass Success: generateKey({name: ml-dsa-44}, true, [verify, sign])-Pass Success: generateKey({name: ml-dsa-44}, false, [sign, verify, sign, sign, verify])-Pass Success: generateKey({name: ml-dsa-44}, true, [sign, verify, sign, sign, verify])+Fail Success: generateKey({name: ml-dsa-44}, false, [sign, verify, sign, sign, verify])+Fail Success: generateKey({name: ml-dsa-44}, true, [sign, verify, sign, sign, verify])Pass Success: generateKey(Ml-dsa-44, false, [sign])Pass Success: generateKey(Ml-dsa-44, true, [sign])Pass Success: generateKey(Ml-dsa-44, false, [verify, sign])Pass Success: generateKey(Ml-dsa-44, true, [verify, sign])-Pass Success: generateKey(Ml-dsa-44, false, [sign, verify, sign, sign, verify])-Pass Success: generateKey(Ml-dsa-44, true, [sign, verify, sign, sign, verify])+Fail Success: generateKey(Ml-dsa-44, false, [sign, verify, sign, sign, verify])+Fail Success: generateKey(Ml-dsa-44, true, [sign, verify, sign, sign, verify])Pass Success: generateKey({name: Ml-dsa-44}, false, [sign])Pass Success: generateKey({name: Ml-dsa-44}, true, [sign])Pass Success: generateKey({name: Ml-dsa-44}, false, [verify, sign])Pass Success: generateKey({name: Ml-dsa-44}, true, [verify, sign])-Pass Success: generateKey({name: Ml-dsa-44}, false, [sign, verify, sign, sign, verify])-Pass Success: generateKey({name: Ml-dsa-44}, true, [sign, verify, sign, sign, verify])+Fail Success: generateKey({name: Ml-dsa-44}, false, [sign, verify, sign, sign, verify])+Fail Success: generateKey({name: Ml-dsa-44}, true, [sign, verify, sign, sign, verify])Pass Success: generateKey(ML-DSA-65, false, [sign])Pass Success: generateKey(ML-DSA-65, true, [sign])Pass Success: generateKey(ML-DSA-65, false, [verify, sign])Pass Success: generateKey(ML-DSA-65, true, [verify, sign])-Pass Success: generateKey(ML-DSA-65, false, [sign, verify, sign, sign, verify])-Pass Success: generateKey(ML-DSA-65, true, [sign, verify, sign, sign, verify])+Fail Success: generateKey(ML-DSA-65, false, [sign, verify, sign, sign, verify])+Fail Success: generateKey(ML-DSA-65, true, [sign, verify, sign, sign, verify])Pass Success: generateKey({name: ML-DSA-65}, false, [sign])Pass Success: generateKey({name: ML-DSA-65}, true, [sign])Pass Success: generateKey({name: ML-DSA-65}, false, [verify, sign])Pass Success: generateKey({name: ML-DSA-65}, true, [verify, sign])-Pass Success: generateKey({name: ML-DSA-65}, false, [sign, verify, sign, sign, verify])-Pass Success: generateKey({name: ML-DSA-65}, true, [sign, verify, sign, sign, verify])+Fail Success: generateKey({name: ML-DSA-65}, false, [sign, verify, sign, sign, verify])+Fail Success: generateKey({name: ML-DSA-65}, true, [sign, verify, sign, sign, verify])Pass Success: generateKey(ml-dsa-65, false, [sign])Pass Success: generateKey(ml-dsa-65, true, [sign])Pass Success: generateKey(ml-dsa-65, false, [verify, sign])Pass Success: generateKey(ml-dsa-65, true, [verify, sign])-Pass Success: generateKey(ml-dsa-65, false, [sign, verify, sign, sign, verify])-Pass Success: generateKey(ml-dsa-65, true, [sign, verify, sign, sign, verify])+Fail Success: generateKey(ml-dsa-65, false, [sign, verify, sign, sign, verify])+Fail Success: generateKey(ml-dsa-65, true, [sign, verify, sign, sign, verify])Pass Success: generateKey({name: ml-dsa-65}, false, [sign])Pass Success: generateKey({name: ml-dsa-65}, true, [sign])Pass Success: generateKey({name: ml-dsa-65}, false, [verify, sign])Pass Success: generateKey({name: ml-dsa-65}, true, [verify, sign])-Pass Success: generateKey({name: ml-dsa-65}, false, [sign, verify, sign, sign, verify])-Pass Success: generateKey({name: ml-dsa-65}, true, [sign, verify, sign, sign, verify])+Fail Success: generateKey({name: ml-dsa-65}, false, [sign, verify, sign, sign, verify])+Fail Success: generateKey({name: ml-dsa-65}, true, [sign, verify, sign, sign, verify])Pass Success: generateKey(Ml-dsa-65, false, [sign])Pass Success: generateKey(Ml-dsa-65, true, [sign])Pass Success: generateKey(Ml-dsa-65, false, [verify, sign])Pass Success: generateKey(Ml-dsa-65, true, [verify, sign])-Pass Success: generateKey(Ml-dsa-65, false, [sign, verify, sign, sign, verify])-Pass Success: generateKey(Ml-dsa-65, true, [sign, verify, sign, sign, verify])+Fail Success: generateKey(Ml-dsa-65, false, [sign, verify, sign, sign, verify])+Fail Success: generateKey(Ml-dsa-65, true, [sign, verify, sign, sign, verify])Pass Success: generateKey({name: Ml-dsa-65}, false, [sign])Pass Success: generateKey({name: Ml-dsa-65}, true, [sign])Pass Success: generateKey({name: Ml-dsa-65}, false, [verify, sign])Pass Success: generateKey({name: Ml-dsa-65}, true, [verify, sign])-Pass Success: generateKey({name: Ml-dsa-65}, false, [sign, verify, sign, sign, verify])-Pass Success: generateKey({name: Ml-dsa-65}, true, [sign, verify, sign, sign, verify])+Fail Success: generateKey({name: Ml-dsa-65}, false, [sign, verify, sign, sign, verify])+Fail Success: generateKey({name: Ml-dsa-65}, true, [sign, verify, sign, sign, verify])Pass Success: generateKey(ML-DSA-87, false, [sign])Pass Success: generateKey(ML-DSA-87, true, [sign])Pass Success: generateKey(ML-DSA-87, false, [verify, sign])Pass Success: generateKey(ML-DSA-87, true, [verify, sign])-Pass Success: generateKey(ML-DSA-87, false, [sign, verify, sign, sign, verify])-Pass Success: generateKey(ML-DSA-87, true, [sign, verify, sign, sign, verify])+Fail Success: generateKey(ML-DSA-87, false, [sign, verify, sign, sign, verify])+Fail Success: generateKey(ML-DSA-87, true, [sign, verify, sign, sign, verify])Pass Success: generateKey({name: ML-DSA-87}, false, [sign])Pass Success: generateKey({name: ML-DSA-87}, true, [sign])Pass Success: generateKey({name: ML-DSA-87}, false, [verify, sign])Pass Success: generateKey({name: ML-DSA-87}, true, [verify, sign])-Pass Success: generateKey({name: ML-DSA-87}, false, [sign, verify, sign, sign, verify])-Pass Success: generateKey({name: ML-DSA-87}, true, [sign, verify, sign, sign, verify])+Fail Success: generateKey({name: ML-DSA-87}, false, [sign, verify, sign, sign, verify])+Fail Success: generateKey({name: ML-DSA-87}, true, [sign, verify, sign, sign, verify])Pass Success: generateKey(ml-dsa-87, false, [sign])Pass Success: generateKey(ml-dsa-87, true, [sign])Pass Success: generateKey(ml-dsa-87, false, [verify, sign])Pass Success: generateKey(ml-dsa-87, true, [verify, sign])-Pass Success: generateKey(ml-dsa-87, false, [sign, verify, sign, sign, verify])-Pass Success: generateKey(ml-dsa-87, true, [sign, verify, sign, sign, verify])+Fail Success: generateKey(ml-dsa-87, false, [sign, verify, sign, sign, verify])+Fail Success: generateKey(ml-dsa-87, true, [sign, verify, sign, sign, verify])Pass Success: generateKey({name: ml-dsa-87}, false, [sign])Pass Success: generateKey({name: ml-dsa-87}, true, [sign])Pass Success: generateKey({name: ml-dsa-87}, false, [verify, sign])Pass Success: generateKey({name: ml-dsa-87}, true, [verify, sign])-Pass Success: generateKey({name: ml-dsa-87}, false, [sign, verify, sign, sign, verify])-Pass Success: generateKey({name: ml-dsa-87}, true, [sign, verify, sign, sign, verify])+Fail Success: generateKey({name: ml-dsa-87}, false, [sign, verify, sign, sign, verify])+Fail Success: generateKey({name: ml-dsa-87}, true, [sign, verify, sign, sign, verify])Pass Success: generateKey(Ml-dsa-87, false, [sign])Pass Success: generateKey(Ml-dsa-87, true, [sign])Pass Success: generateKey(Ml-dsa-87, false, [verify, sign])Pass Success: generateKey(Ml-dsa-87, true, [verify, sign])-Pass Success: generateKey(Ml-dsa-87, false, [sign, verify, sign, sign, verify])-Pass Success: generateKey(Ml-dsa-87, true, [sign, verify, sign, sign, verify])+Fail Success: generateKey(Ml-dsa-87, false, [sign, verify, sign, sign, verify])+Fail Success: generateKey(Ml-dsa-87, true, [sign, verify, sign, sign, verify])Pass Success: generateKey({name: Ml-dsa-87}, false, [sign])Pass Success: generateKey({name: Ml-dsa-87}, true, [sign])Pass Success: generateKey({name: Ml-dsa-87}, false, [verify, sign])Pass Success: generateKey({name: Ml-dsa-87}, true, [verify, sign])-Pass Success: generateKey({name: Ml-dsa-87}, false, [sign, verify, sign, sign, verify])-Pass Success: generateKey({name: Ml-dsa-87}, true, [sign, verify, sign, sign, verify])+Fail Success: generateKey({name: Ml-dsa-87}, false, [sign, verify, sign, sign, verify])+Fail Success: generateKey({name: Ml-dsa-87}, true, [sign, verify, sign, sign, verify])\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/generateKey/successes_ML-KEM.tentative.https.any.txt b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/modern-algos/generateKey/successes_ML-KEM.https.any.txtsimilarity index 94%rename from Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/generateKey/successes_ML-KEM.tentative.https.any.txtrename to Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/modern-algos/generateKey/successes_ML-KEM.https.any.txtindex b7d452ab5f4..86c6248b239 100644--- a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/generateKey/successes_ML-KEM.tentative.https.any.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/modern-algos/generateKey/successes_ML-KEM.https.any.txt@@ -2,7 +2,8 @@ Harness status: OKFound 468 tests-468 Pass+432 Pass+36 FailPass Success: generateKey(ML-KEM-512, false, [decapsulateBits])Pass Success: generateKey(ML-KEM-512, true, [decapsulateBits])Pass Success: generateKey(ML-KEM-512, false, [decapsulateKey, decapsulateBits])@@ -27,8 +28,8 @@ Pass Success: generateKey(ML-KEM-512, false, [encapsulateKey, encapsulateBits, dPass Success: generateKey(ML-KEM-512, true, [encapsulateKey, encapsulateBits, decapsulateKey])Pass Success: generateKey(ML-KEM-512, false, [encapsulateKey, decapsulateKey])Pass Success: generateKey(ML-KEM-512, true, [encapsulateKey, decapsulateKey])-Pass Success: generateKey(ML-KEM-512, false, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])-Pass Success: generateKey(ML-KEM-512, true, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])+Fail Success: generateKey(ML-KEM-512, false, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])+Fail Success: generateKey(ML-KEM-512, true, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])Pass Success: generateKey({name: ML-KEM-512}, false, [decapsulateBits])Pass Success: generateKey({name: ML-KEM-512}, true, [decapsulateBits])Pass Success: generateKey({name: ML-KEM-512}, false, [decapsulateKey, decapsulateBits])@@ -53,8 +54,8 @@ Pass Success: generateKey({name: ML-KEM-512}, false, [encapsulateKey, encapsulatPass Success: generateKey({name: ML-KEM-512}, true, [encapsulateKey, encapsulateBits, decapsulateKey])Pass Success: generateKey({name: ML-KEM-512}, false, [encapsulateKey, decapsulateKey])Pass Success: generateKey({name: ML-KEM-512}, true, [encapsulateKey, decapsulateKey])-Pass Success: generateKey({name: ML-KEM-512}, false, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])-Pass Success: generateKey({name: ML-KEM-512}, true, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])+Fail Success: generateKey({name: ML-KEM-512}, false, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])+Fail Success: generateKey({name: ML-KEM-512}, true, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])Pass Success: generateKey(ml-kem-512, false, [decapsulateBits])Pass Success: generateKey(ml-kem-512, true, [decapsulateBits])Pass Success: generateKey(ml-kem-512, false, [decapsulateKey, decapsulateBits])@@ -79,8 +80,8 @@ Pass Success: generateKey(ml-kem-512, false, [encapsulateKey, encapsulateBits, dPass Success: generateKey(ml-kem-512, true, [encapsulateKey, encapsulateBits, decapsulateKey])Pass Success: generateKey(ml-kem-512, false, [encapsulateKey, decapsulateKey])Pass Success: generateKey(ml-kem-512, true, [encapsulateKey, decapsulateKey])-Pass Success: generateKey(ml-kem-512, false, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])-Pass Success: generateKey(ml-kem-512, true, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])+Fail Success: generateKey(ml-kem-512, false, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])+Fail Success: generateKey(ml-kem-512, true, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])Pass Success: generateKey({name: ml-kem-512}, false, [decapsulateBits])Pass Success: generateKey({name: ml-kem-512}, true, [decapsulateBits])Pass Success: generateKey({name: ml-kem-512}, false, [decapsulateKey, decapsulateBits])@@ -105,8 +106,8 @@ Pass Success: generateKey({name: ml-kem-512}, false, [encapsulateKey, encapsulatPass Success: generateKey({name: ml-kem-512}, true, [encapsulateKey, encapsulateBits, decapsulateKey])Pass Success: generateKey({name: ml-kem-512}, false, [encapsulateKey, decapsulateKey])Pass Success: generateKey({name: ml-kem-512}, true, [encapsulateKey, decapsulateKey])-Pass Success: generateKey({name: ml-kem-512}, false, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])-Pass Success: generateKey({name: ml-kem-512}, true, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])+Fail Success: generateKey({name: ml-kem-512}, false, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])+Fail Success: generateKey({name: ml-kem-512}, true, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])Pass Success: generateKey(Ml-kem-512, false, [decapsulateBits])Pass Success: generateKey(Ml-kem-512, true, [decapsulateBits])Pass Success: generateKey(Ml-kem-512, false, [decapsulateKey, decapsulateBits])@@ -131,8 +132,8 @@ Pass Success: generateKey(Ml-kem-512, false, [encapsulateKey, encapsulateBits, dPass Success: generateKey(Ml-kem-512, true, [encapsulateKey, encapsulateBits, decapsulateKey])Pass Success: generateKey(Ml-kem-512, false, [encapsulateKey, decapsulateKey])Pass Success: generateKey(Ml-kem-512, true, [encapsulateKey, decapsulateKey])-Pass Success: generateKey(Ml-kem-512, false, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])-Pass Success: generateKey(Ml-kem-512, true, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])+Fail Success: generateKey(Ml-kem-512, false, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])+Fail Success: generateKey(Ml-kem-512, true, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])Pass Success: generateKey({name: Ml-kem-512}, false, [decapsulateBits])Pass Success: generateKey({name: Ml-kem-512}, true, [decapsulateBits])Pass Success: generateKey({name: Ml-kem-512}, false, [decapsulateKey, decapsulateBits])@@ -157,8 +158,8 @@ Pass Success: generateKey({name: Ml-kem-512}, false, [encapsulateKey, encapsulatPass Success: generateKey({name: Ml-kem-512}, true, [encapsulateKey, encapsulateBits, decapsulateKey])Pass Success: generateKey({name: Ml-kem-512}, false, [encapsulateKey, decapsulateKey])Pass Success: generateKey({name: Ml-kem-512}, true, [encapsulateKey, decapsulateKey])-Pass Success: generateKey({name: Ml-kem-512}, false, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])-Pass Success: generateKey({name: Ml-kem-512}, true, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])+Fail Success: generateKey({name: Ml-kem-512}, false, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])+Fail Success: generateKey({name: Ml-kem-512}, true, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])Pass Success: generateKey(ML-KEM-768, false, [decapsulateBits])Pass Success: generateKey(ML-KEM-768, true, [decapsulateBits])Pass Success: generateKey(ML-KEM-768, false, [decapsulateKey, decapsulateBits])@@ -183,8 +184,8 @@ Pass Success: generateKey(ML-KEM-768, false, [encapsulateKey, encapsulateBits, dPass Success: generateKey(ML-KEM-768, true, [encapsulateKey, encapsulateBits, decapsulateKey])Pass Success: generateKey(ML-KEM-768, false, [encapsulateKey, decapsulateKey])Pass Success: generateKey(ML-KEM-768, true, [encapsulateKey, decapsulateKey])-Pass Success: generateKey(ML-KEM-768, false, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])-Pass Success: generateKey(ML-KEM-768, true, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])+Fail Success: generateKey(ML-KEM-768, false, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])+Fail Success: generateKey(ML-KEM-768, true, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])Pass Success: generateKey({name: ML-KEM-768}, false, [decapsulateBits])Pass Success: generateKey({name: ML-KEM-768}, true, [decapsulateBits])Pass Success: generateKey({name: ML-KEM-768}, false, [decapsulateKey, decapsulateBits])@@ -209,8 +210,8 @@ Pass Success: generateKey({name: ML-KEM-768}, false, [encapsulateKey, encapsulatPass Success: generateKey({name: ML-KEM-768}, true, [encapsulateKey, encapsulateBits, decapsulateKey])Pass Success: generateKey({name: ML-KEM-768}, false, [encapsulateKey, decapsulateKey])Pass Success: generateKey({name: ML-KEM-768}, true, [encapsulateKey, decapsulateKey])-Pass Success: generateKey({name: ML-KEM-768}, false, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])-Pass Success: generateKey({name: ML-KEM-768}, true, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])+Fail Success: generateKey({name: ML-KEM-768}, false, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])+Fail Success: generateKey({name: ML-KEM-768}, true, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])Pass Success: generateKey(ml-kem-768, false, [decapsulateBits])Pass Success: generateKey(ml-kem-768, true, [decapsulateBits])Pass Success: generateKey(ml-kem-768, false, [decapsulateKey, decapsulateBits])@@ -235,8 +236,8 @@ Pass Success: generateKey(ml-kem-768, false, [encapsulateKey, encapsulateBits, dPass Success: generateKey(ml-kem-768, true, [encapsulateKey, encapsulateBits, decapsulateKey])Pass Success: generateKey(ml-kem-768, false, [encapsulateKey, decapsulateKey])Pass Success: generateKey(ml-kem-768, true, [encapsulateKey, decapsulateKey])-Pass Success: generateKey(ml-kem-768, false, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])-Pass Success: generateKey(ml-kem-768, true, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])+Fail Success: generateKey(ml-kem-768, false, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])+Fail Success: generateKey(ml-kem-768, true, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])Pass Success: generateKey({name: ml-kem-768}, false, [decapsulateBits])Pass Success: generateKey({name: ml-kem-768}, true, [decapsulateBits])Pass Success: generateKey({name: ml-kem-768}, false, [decapsulateKey, decapsulateBits])@@ -261,8 +262,8 @@ Pass Success: generateKey({name: ml-kem-768}, false, [encapsulateKey, encapsulatPass Success: generateKey({name: ml-kem-768}, true, [encapsulateKey, encapsulateBits, decapsulateKey])Pass Success: generateKey({name: ml-kem-768}, false, [encapsulateKey, decapsulateKey])Pass Success: generateKey({name: ml-kem-768}, true, [encapsulateKey, decapsulateKey])-Pass Success: generateKey({name: ml-kem-768}, false, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])-Pass Success: generateKey({name: ml-kem-768}, true, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])+Fail Success: generateKey({name: ml-kem-768}, false, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])+Fail Success: generateKey({name: ml-kem-768}, true, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])Pass Success: generateKey(Ml-kem-768, false, [decapsulateBits])Pass Success: generateKey(Ml-kem-768, true, [decapsulateBits])Pass Success: generateKey(Ml-kem-768, false, [decapsulateKey, decapsulateBits])@@ -287,8 +288,8 @@ Pass Success: generateKey(Ml-kem-768, false, [encapsulateKey, encapsulateBits, dPass Success: generateKey(Ml-kem-768, true, [encapsulateKey, encapsulateBits, decapsulateKey])Pass Success: generateKey(Ml-kem-768, false, [encapsulateKey, decapsulateKey])Pass Success: generateKey(Ml-kem-768, true, [encapsulateKey, decapsulateKey])-Pass Success: generateKey(Ml-kem-768, false, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])-Pass Success: generateKey(Ml-kem-768, true, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])+Fail Success: generateKey(Ml-kem-768, false, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])+Fail Success: generateKey(Ml-kem-768, true, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])Pass Success: generateKey({name: Ml-kem-768}, false, [decapsulateBits])Pass Success: generateKey({name: Ml-kem-768}, true, [decapsulateBits])Pass Success: generateKey({name: Ml-kem-768}, false, [decapsulateKey, decapsulateBits])@@ -313,8 +314,8 @@ Pass Success: generateKey({name: Ml-kem-768}, false, [encapsulateKey, encapsulatPass Success: generateKey({name: Ml-kem-768}, true, [encapsulateKey, encapsulateBits, decapsulateKey])Pass Success: generateKey({name: Ml-kem-768}, false, [encapsulateKey, decapsulateKey])Pass Success: generateKey({name: Ml-kem-768}, true, [encapsulateKey, decapsulateKey])-Pass Success: generateKey({name: Ml-kem-768}, false, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])-Pass Success: generateKey({name: Ml-kem-768}, true, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])+Fail Success: generateKey({name: Ml-kem-768}, false, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])+Fail Success: generateKey({name: Ml-kem-768}, true, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])Pass Success: generateKey(ML-KEM-1024, false, [decapsulateBits])Pass Success: generateKey(ML-KEM-1024, true, [decapsulateBits])Pass Success: generateKey(ML-KEM-1024, false, [decapsulateKey, decapsulateBits])@@ -339,8 +340,8 @@ Pass Success: generateKey(ML-KEM-1024, false, [encapsulateKey, encapsulateBits,Pass Success: generateKey(ML-KEM-1024, true, [encapsulateKey, encapsulateBits, decapsulateKey])Pass Success: generateKey(ML-KEM-1024, false, [encapsulateKey, decapsulateKey])Pass Success: generateKey(ML-KEM-1024, true, [encapsulateKey, decapsulateKey])-Pass Success: generateKey(ML-KEM-1024, false, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])-Pass Success: generateKey(ML-KEM-1024, true, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])+Fail Success: generateKey(ML-KEM-1024, false, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])+Fail Success: generateKey(ML-KEM-1024, true, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])Pass Success: generateKey({name: ML-KEM-1024}, false, [decapsulateBits])Pass Success: generateKey({name: ML-KEM-1024}, true, [decapsulateBits])Pass Success: generateKey({name: ML-KEM-1024}, false, [decapsulateKey, decapsulateBits])@@ -365,8 +366,8 @@ Pass Success: generateKey({name: ML-KEM-1024}, false, [encapsulateKey, encapsulaPass Success: generateKey({name: ML-KEM-1024}, true, [encapsulateKey, encapsulateBits, decapsulateKey])Pass Success: generateKey({name: ML-KEM-1024}, false, [encapsulateKey, decapsulateKey])Pass Success: generateKey({name: ML-KEM-1024}, true, [encapsulateKey, decapsulateKey])-Pass Success: generateKey({name: ML-KEM-1024}, false, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])-Pass Success: generateKey({name: ML-KEM-1024}, true, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])+Fail Success: generateKey({name: ML-KEM-1024}, false, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])+Fail Success: generateKey({name: ML-KEM-1024}, true, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])Pass Success: generateKey(ml-kem-1024, false, [decapsulateBits])Pass Success: generateKey(ml-kem-1024, true, [decapsulateBits])Pass Success: generateKey(ml-kem-1024, false, [decapsulateKey, decapsulateBits])@@ -391,8 +392,8 @@ Pass Success: generateKey(ml-kem-1024, false, [encapsulateKey, encapsulateBits,Pass Success: generateKey(ml-kem-1024, true, [encapsulateKey, encapsulateBits, decapsulateKey])Pass Success: generateKey(ml-kem-1024, false, [encapsulateKey, decapsulateKey])Pass Success: generateKey(ml-kem-1024, true, [encapsulateKey, decapsulateKey])-Pass Success: generateKey(ml-kem-1024, false, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])-Pass Success: generateKey(ml-kem-1024, true, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])+Fail Success: generateKey(ml-kem-1024, false, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])+Fail Success: generateKey(ml-kem-1024, true, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])Pass Success: generateKey({name: ml-kem-1024}, false, [decapsulateBits])Pass Success: generateKey({name: ml-kem-1024}, true, [decapsulateBits])Pass Success: generateKey({name: ml-kem-1024}, false, [decapsulateKey, decapsulateBits])@@ -417,8 +418,8 @@ Pass Success: generateKey({name: ml-kem-1024}, false, [encapsulateKey, encapsulaPass Success: generateKey({name: ml-kem-1024}, true, [encapsulateKey, encapsulateBits, decapsulateKey])Pass Success: generateKey({name: ml-kem-1024}, false, [encapsulateKey, decapsulateKey])Pass Success: generateKey({name: ml-kem-1024}, true, [encapsulateKey, decapsulateKey])-Pass Success: generateKey({name: ml-kem-1024}, false, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])-Pass Success: generateKey({name: ml-kem-1024}, true, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])+Fail Success: generateKey({name: ml-kem-1024}, false, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])+Fail Success: generateKey({name: ml-kem-1024}, true, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])Pass Success: generateKey(Ml-kem-1024, false, [decapsulateBits])Pass Success: generateKey(Ml-kem-1024, true, [decapsulateBits])Pass Success: generateKey(Ml-kem-1024, false, [decapsulateKey, decapsulateBits])@@ -443,8 +444,8 @@ Pass Success: generateKey(Ml-kem-1024, false, [encapsulateKey, encapsulateBits,Pass Success: generateKey(Ml-kem-1024, true, [encapsulateKey, encapsulateBits, decapsulateKey])Pass Success: generateKey(Ml-kem-1024, false, [encapsulateKey, decapsulateKey])Pass Success: generateKey(Ml-kem-1024, true, [encapsulateKey, decapsulateKey])-Pass Success: generateKey(Ml-kem-1024, false, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])-Pass Success: generateKey(Ml-kem-1024, true, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])+Fail Success: generateKey(Ml-kem-1024, false, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])+Fail Success: generateKey(Ml-kem-1024, true, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])Pass Success: generateKey({name: Ml-kem-1024}, false, [decapsulateBits])Pass Success: generateKey({name: Ml-kem-1024}, true, [decapsulateBits])Pass Success: generateKey({name: Ml-kem-1024}, false, [decapsulateKey, decapsulateBits])@@ -469,5 +470,5 @@ Pass Success: generateKey({name: Ml-kem-1024}, false, [encapsulateKey, encapsulaPass Success: generateKey({name: Ml-kem-1024}, true, [encapsulateKey, encapsulateBits, decapsulateKey])Pass Success: generateKey({name: Ml-kem-1024}, false, [encapsulateKey, decapsulateKey])Pass Success: generateKey({name: Ml-kem-1024}, true, [encapsulateKey, decapsulateKey])-Pass Success: generateKey({name: Ml-kem-1024}, false, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])-Pass Success: generateKey({name: Ml-kem-1024}, true, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])\ No newline at end of file+Fail Success: generateKey({name: Ml-kem-1024}, false, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])+Fail Success: generateKey({name: Ml-kem-1024}, true, [decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey, decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey, encapsulateBits, encapsulateKey])\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/generateKey/successes_kmac.tentative.https.any.txt b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/modern-algos/generateKey/successes_kmac.https.any.txtsimilarity index 79%rename from Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/generateKey/successes_kmac.tentative.https.any.txtrename to Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/modern-algos/generateKey/successes_kmac.https.any.txtindex 1a6fb2de8fa..7d48928f652 100644--- a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/generateKey/successes_kmac.tentative.https.any.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/modern-algos/generateKey/successes_kmac.https.any.txt@@ -2,148 +2,149 @@ Harness status: OKFound 144 tests-144 Pass+108 Pass+36 FailPass Success: generateKey({length: 128, name: KMAC128}, false, [sign])Pass Success: generateKey({length: 128, name: KMAC128}, true, [sign])Pass Success: generateKey({length: 128, name: KMAC128}, false, [verify, sign])Pass Success: generateKey({length: 128, name: KMAC128}, true, [verify, sign])Pass Success: generateKey({length: 128, name: KMAC128}, false, [verify])Pass Success: generateKey({length: 128, name: KMAC128}, true, [verify])-Pass Success: generateKey({length: 128, name: KMAC128}, false, [sign, verify, sign, verify])-Pass Success: generateKey({length: 128, name: KMAC128}, true, [sign, verify, sign, verify])+Fail Success: generateKey({length: 128, name: KMAC128}, false, [sign, verify, sign, verify])+Fail Success: generateKey({length: 128, name: KMAC128}, true, [sign, verify, sign, verify])Pass Success: generateKey({length: 160, name: KMAC128}, false, [sign])Pass Success: generateKey({length: 160, name: KMAC128}, true, [sign])Pass Success: generateKey({length: 160, name: KMAC128}, false, [verify, sign])Pass Success: generateKey({length: 160, name: KMAC128}, true, [verify, sign])Pass Success: generateKey({length: 160, name: KMAC128}, false, [verify])Pass Success: generateKey({length: 160, name: KMAC128}, true, [verify])-Pass Success: generateKey({length: 160, name: KMAC128}, false, [sign, verify, sign, verify])-Pass Success: generateKey({length: 160, name: KMAC128}, true, [sign, verify, sign, verify])+Fail Success: generateKey({length: 160, name: KMAC128}, false, [sign, verify, sign, verify])+Fail Success: generateKey({length: 160, name: KMAC128}, true, [sign, verify, sign, verify])Pass Success: generateKey({length: 256, name: KMAC128}, false, [sign])Pass Success: generateKey({length: 256, name: KMAC128}, true, [sign])Pass Success: generateKey({length: 256, name: KMAC128}, false, [verify, sign])Pass Success: generateKey({length: 256, name: KMAC128}, true, [verify, sign])Pass Success: generateKey({length: 256, name: KMAC128}, false, [verify])Pass Success: generateKey({length: 256, name: KMAC128}, true, [verify])-Pass Success: generateKey({length: 256, name: KMAC128}, false, [sign, verify, sign, verify])-Pass Success: generateKey({length: 256, name: KMAC128}, true, [sign, verify, sign, verify])+Fail Success: generateKey({length: 256, name: KMAC128}, false, [sign, verify, sign, verify])+Fail Success: generateKey({length: 256, name: KMAC128}, true, [sign, verify, sign, verify])Pass Success: generateKey({length: 128, name: kmac128}, false, [sign])Pass Success: generateKey({length: 128, name: kmac128}, true, [sign])Pass Success: generateKey({length: 128, name: kmac128}, false, [verify, sign])Pass Success: generateKey({length: 128, name: kmac128}, true, [verify, sign])Pass Success: generateKey({length: 128, name: kmac128}, false, [verify])Pass Success: generateKey({length: 128, name: kmac128}, true, [verify])-Pass Success: generateKey({length: 128, name: kmac128}, false, [sign, verify, sign, verify])-Pass Success: generateKey({length: 128, name: kmac128}, true, [sign, verify, sign, verify])+Fail Success: generateKey({length: 128, name: kmac128}, false, [sign, verify, sign, verify])+Fail Success: generateKey({length: 128, name: kmac128}, true, [sign, verify, sign, verify])Pass Success: generateKey({length: 160, name: kmac128}, false, [sign])Pass Success: generateKey({length: 160, name: kmac128}, true, [sign])Pass Success: generateKey({length: 160, name: kmac128}, false, [verify, sign])Pass Success: generateKey({length: 160, name: kmac128}, true, [verify, sign])Pass Success: generateKey({length: 160, name: kmac128}, false, [verify])Pass Success: generateKey({length: 160, name: kmac128}, true, [verify])-Pass Success: generateKey({length: 160, name: kmac128}, false, [sign, verify, sign, verify])-Pass Success: generateKey({length: 160, name: kmac128}, true, [sign, verify, sign, verify])+Fail Success: generateKey({length: 160, name: kmac128}, false, [sign, verify, sign, verify])+Fail Success: generateKey({length: 160, name: kmac128}, true, [sign, verify, sign, verify])Pass Success: generateKey({length: 256, name: kmac128}, false, [sign])Pass Success: generateKey({length: 256, name: kmac128}, true, [sign])Pass Success: generateKey({length: 256, name: kmac128}, false, [verify, sign])Pass Success: generateKey({length: 256, name: kmac128}, true, [verify, sign])Pass Success: generateKey({length: 256, name: kmac128}, false, [verify])Pass Success: generateKey({length: 256, name: kmac128}, true, [verify])-Pass Success: generateKey({length: 256, name: kmac128}, false, [sign, verify, sign, verify])-Pass Success: generateKey({length: 256, name: kmac128}, true, [sign, verify, sign, verify])+Fail Success: generateKey({length: 256, name: kmac128}, false, [sign, verify, sign, verify])+Fail Success: generateKey({length: 256, name: kmac128}, true, [sign, verify, sign, verify])Pass Success: generateKey({length: 128, name: Kmac128}, false, [sign])Pass Success: generateKey({length: 128, name: Kmac128}, true, [sign])Pass Success: generateKey({length: 128, name: Kmac128}, false, [verify, sign])Pass Success: generateKey({length: 128, name: Kmac128}, true, [verify, sign])Pass Success: generateKey({length: 128, name: Kmac128}, false, [verify])Pass Success: generateKey({length: 128, name: Kmac128}, true, [verify])-Pass Success: generateKey({length: 128, name: Kmac128}, false, [sign, verify, sign, verify])-Pass Success: generateKey({length: 128, name: Kmac128}, true, [sign, verify, sign, verify])+Fail Success: generateKey({length: 128, name: Kmac128}, false, [sign, verify, sign, verify])+Fail Success: generateKey({length: 128, name: Kmac128}, true, [sign, verify, sign, verify])Pass Success: generateKey({length: 160, name: Kmac128}, false, [sign])Pass Success: generateKey({length: 160, name: Kmac128}, true, [sign])Pass Success: generateKey({length: 160, name: Kmac128}, false, [verify, sign])Pass Success: generateKey({length: 160, name: Kmac128}, true, [verify, sign])Pass Success: generateKey({length: 160, name: Kmac128}, false, [verify])Pass Success: generateKey({length: 160, name: Kmac128}, true, [verify])-Pass Success: generateKey({length: 160, name: Kmac128}, false, [sign, verify, sign, verify])-Pass Success: generateKey({length: 160, name: Kmac128}, true, [sign, verify, sign, verify])+Fail Success: generateKey({length: 160, name: Kmac128}, false, [sign, verify, sign, verify])+Fail Success: generateKey({length: 160, name: Kmac128}, true, [sign, verify, sign, verify])Pass Success: generateKey({length: 256, name: Kmac128}, false, [sign])Pass Success: generateKey({length: 256, name: Kmac128}, true, [sign])Pass Success: generateKey({length: 256, name: Kmac128}, false, [verify, sign])Pass Success: generateKey({length: 256, name: Kmac128}, true, [verify, sign])Pass Success: generateKey({length: 256, name: Kmac128}, false, [verify])Pass Success: generateKey({length: 256, name: Kmac128}, true, [verify])-Pass Success: generateKey({length: 256, name: Kmac128}, false, [sign, verify, sign, verify])-Pass Success: generateKey({length: 256, name: Kmac128}, true, [sign, verify, sign, verify])+Fail Success: generateKey({length: 256, name: Kmac128}, false, [sign, verify, sign, verify])+Fail Success: generateKey({length: 256, name: Kmac128}, true, [sign, verify, sign, verify])Pass Success: generateKey({length: 128, name: KMAC256}, false, [sign])Pass Success: generateKey({length: 128, name: KMAC256}, true, [sign])Pass Success: generateKey({length: 128, name: KMAC256}, false, [verify, sign])Pass Success: generateKey({length: 128, name: KMAC256}, true, [verify, sign])Pass Success: generateKey({length: 128, name: KMAC256}, false, [verify])Pass Success: generateKey({length: 128, name: KMAC256}, true, [verify])-Pass Success: generateKey({length: 128, name: KMAC256}, false, [sign, verify, sign, verify])-Pass Success: generateKey({length: 128, name: KMAC256}, true, [sign, verify, sign, verify])+Fail Success: generateKey({length: 128, name: KMAC256}, false, [sign, verify, sign, verify])+Fail Success: generateKey({length: 128, name: KMAC256}, true, [sign, verify, sign, verify])Pass Success: generateKey({length: 160, name: KMAC256}, false, [sign])Pass Success: generateKey({length: 160, name: KMAC256}, true, [sign])Pass Success: generateKey({length: 160, name: KMAC256}, false, [verify, sign])Pass Success: generateKey({length: 160, name: KMAC256}, true, [verify, sign])Pass Success: generateKey({length: 160, name: KMAC256}, false, [verify])Pass Success: generateKey({length: 160, name: KMAC256}, true, [verify])-Pass Success: generateKey({length: 160, name: KMAC256}, false, [sign, verify, sign, verify])-Pass Success: generateKey({length: 160, name: KMAC256}, true, [sign, verify, sign, verify])+Fail Success: generateKey({length: 160, name: KMAC256}, false, [sign, verify, sign, verify])+Fail Success: generateKey({length: 160, name: KMAC256}, true, [sign, verify, sign, verify])Pass Success: generateKey({length: 256, name: KMAC256}, false, [sign])Pass Success: generateKey({length: 256, name: KMAC256}, true, [sign])Pass Success: generateKey({length: 256, name: KMAC256}, false, [verify, sign])Pass Success: generateKey({length: 256, name: KMAC256}, true, [verify, sign])Pass Success: generateKey({length: 256, name: KMAC256}, false, [verify])Pass Success: generateKey({length: 256, name: KMAC256}, true, [verify])-Pass Success: generateKey({length: 256, name: KMAC256}, false, [sign, verify, sign, verify])-Pass Success: generateKey({length: 256, name: KMAC256}, true, [sign, verify, sign, verify])+Fail Success: generateKey({length: 256, name: KMAC256}, false, [sign, verify, sign, verify])+Fail Success: generateKey({length: 256, name: KMAC256}, true, [sign, verify, sign, verify])Pass Success: generateKey({length: 128, name: kmac256}, false, [sign])Pass Success: generateKey({length: 128, name: kmac256}, true, [sign])Pass Success: generateKey({length: 128, name: kmac256}, false, [verify, sign])Pass Success: generateKey({length: 128, name: kmac256}, true, [verify, sign])Pass Success: generateKey({length: 128, name: kmac256}, false, [verify])Pass Success: generateKey({length: 128, name: kmac256}, true, [verify])-Pass Success: generateKey({length: 128, name: kmac256}, false, [sign, verify, sign, verify])-Pass Success: generateKey({length: 128, name: kmac256}, true, [sign, verify, sign, verify])+Fail Success: generateKey({length: 128, name: kmac256}, false, [sign, verify, sign, verify])+Fail Success: generateKey({length: 128, name: kmac256}, true, [sign, verify, sign, verify])Pass Success: generateKey({length: 160, name: kmac256}, false, [sign])Pass Success: generateKey({length: 160, name: kmac256}, true, [sign])Pass Success: generateKey({length: 160, name: kmac256}, false, [verify, sign])Pass Success: generateKey({length: 160, name: kmac256}, true, [verify, sign])Pass Success: generateKey({length: 160, name: kmac256}, false, [verify])Pass Success: generateKey({length: 160, name: kmac256}, true, [verify])-Pass Success: generateKey({length: 160, name: kmac256}, false, [sign, verify, sign, verify])-Pass Success: generateKey({length: 160, name: kmac256}, true, [sign, verify, sign, verify])+Fail Success: generateKey({length: 160, name: kmac256}, false, [sign, verify, sign, verify])+Fail Success: generateKey({length: 160, name: kmac256}, true, [sign, verify, sign, verify])Pass Success: generateKey({length: 256, name: kmac256}, false, [sign])Pass Success: generateKey({length: 256, name: kmac256}, true, [sign])Pass Success: generateKey({length: 256, name: kmac256}, false, [verify, sign])Pass Success: generateKey({length: 256, name: kmac256}, true, [verify, sign])Pass Success: generateKey({length: 256, name: kmac256}, false, [verify])Pass Success: generateKey({length: 256, name: kmac256}, true, [verify])-Pass Success: generateKey({length: 256, name: kmac256}, false, [sign, verify, sign, verify])-Pass Success: generateKey({length: 256, name: kmac256}, true, [sign, verify, sign, verify])+Fail Success: generateKey({length: 256, name: kmac256}, false, [sign, verify, sign, verify])+Fail Success: generateKey({length: 256, name: kmac256}, true, [sign, verify, sign, verify])Pass Success: generateKey({length: 128, name: Kmac256}, false, [sign])Pass Success: generateKey({length: 128, name: Kmac256}, true, [sign])Pass Success: generateKey({length: 128, name: Kmac256}, false, [verify, sign])Pass Success: generateKey({length: 128, name: Kmac256}, true, [verify, sign])Pass Success: generateKey({length: 128, name: Kmac256}, false, [verify])Pass Success: generateKey({length: 128, name: Kmac256}, true, [verify])-Pass Success: generateKey({length: 128, name: Kmac256}, false, [sign, verify, sign, verify])-Pass Success: generateKey({length: 128, name: Kmac256}, true, [sign, verify, sign, verify])+Fail Success: generateKey({length: 128, name: Kmac256}, false, [sign, verify, sign, verify])+Fail Success: generateKey({length: 128, name: Kmac256}, true, [sign, verify, sign, verify])Pass Success: generateKey({length: 160, name: Kmac256}, false, [sign])Pass Success: generateKey({length: 160, name: Kmac256}, true, [sign])Pass Success: generateKey({length: 160, name: Kmac256}, false, [verify, sign])Pass Success: generateKey({length: 160, name: Kmac256}, true, [verify, sign])Pass Success: generateKey({length: 160, name: Kmac256}, false, [verify])Pass Success: generateKey({length: 160, name: Kmac256}, true, [verify])-Pass Success: generateKey({length: 160, name: Kmac256}, false, [sign, verify, sign, verify])-Pass Success: generateKey({length: 160, name: Kmac256}, true, [sign, verify, sign, verify])+Fail Success: generateKey({length: 160, name: Kmac256}, false, [sign, verify, sign, verify])+Fail Success: generateKey({length: 160, name: Kmac256}, true, [sign, verify, sign, verify])Pass Success: generateKey({length: 256, name: Kmac256}, false, [sign])Pass Success: generateKey({length: 256, name: Kmac256}, true, [sign])Pass Success: generateKey({length: 256, name: Kmac256}, false, [verify, sign])Pass Success: generateKey({length: 256, name: Kmac256}, true, [verify, sign])Pass Success: generateKey({length: 256, name: Kmac256}, false, [verify])Pass Success: generateKey({length: 256, name: Kmac256}, true, [verify])-Pass Success: generateKey({length: 256, name: Kmac256}, false, [sign, verify, sign, verify])-Pass Success: generateKey({length: 256, name: Kmac256}, true, [sign, verify, sign, verify])\ No newline at end of file+Fail Success: generateKey({length: 256, name: Kmac256}, false, [sign, verify, sign, verify])+Fail Success: generateKey({length: 256, name: Kmac256}, true, [sign, verify, sign, verify])\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/import_export/KMAC_importKey.tentative.https.any.txt b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/modern-algos/import_export/KMAC_importKey.https.any.txtsimilarity index 73%rename from Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/import_export/KMAC_importKey.tentative.https.any.txtrename to Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/modern-algos/import_export/KMAC_importKey.https.any.txtindex 256f33bc630..dd8aa0ce0ca 100644--- a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/import_export/KMAC_importKey.tentative.https.any.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/modern-algos/import_export/KMAC_importKey.https.any.txt@@ -1,125 +1,150 @@Harness status: OK-Found 120 tests+Found 144 tests-120 Pass+96 Pass+48 FailPass Good parameters: 128 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC128}, true, [sign])Pass Good parameters: 128 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC128}, true, [verify, sign])Pass Good parameters: 128 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC128}, true, [verify])-Pass Good parameters: 128 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC128}, true, [sign, verify, sign, verify])+Fail Good parameters: 128 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC128}, true, [sign, verify, sign, verify])Pass Empty Usages: 128 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC128}, true, [])+Fail Key data altered during call: 128 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC128}, true, [sign])+Fail Key data altered during call: 128 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC128}, true, [verify, sign])+Fail Key data altered during call: 128 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC128}, true, [verify])+Fail Key data altered during call: 128 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC128}, true, [sign, verify, sign, verify])Pass Good parameters: 128 bits (jwk, {alg: K128, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: KMAC128}, true, [sign])Pass Good parameters: 128 bits (jwk, {alg: K128, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: KMAC128}, true, [verify, sign])Pass Good parameters: 128 bits (jwk, {alg: K128, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: KMAC128}, true, [verify])-Pass Good parameters: 128 bits (jwk, {alg: K128, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: KMAC128}, true, [sign, verify, sign, verify])+Fail Good parameters: 128 bits (jwk, {alg: K128, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: KMAC128}, true, [sign, verify, sign, verify])Pass Empty Usages: 128 bits (jwk, {alg: K128, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: KMAC128}, true, [])Pass Good parameters: 128 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC128}, false, [sign])Pass Good parameters: 128 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC128}, false, [verify, sign])Pass Good parameters: 128 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC128}, false, [verify])-Pass Good parameters: 128 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC128}, false, [sign, verify, sign, verify])+Fail Good parameters: 128 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC128}, false, [sign, verify, sign, verify])Pass Empty Usages: 128 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC128}, false, [])Pass Good parameters: 128 bits (jwk, {alg: K128, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: KMAC128}, false, [sign])Pass Good parameters: 128 bits (jwk, {alg: K128, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: KMAC128}, false, [verify, sign])Pass Good parameters: 128 bits (jwk, {alg: K128, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: KMAC128}, false, [verify])-Pass Good parameters: 128 bits (jwk, {alg: K128, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: KMAC128}, false, [sign, verify, sign, verify])+Fail Good parameters: 128 bits (jwk, {alg: K128, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: KMAC128}, false, [sign, verify, sign, verify])Pass Empty Usages: 128 bits (jwk, {alg: K128, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: KMAC128}, false, [])Pass Good parameters: 192 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC128}, true, [sign])Pass Good parameters: 192 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC128}, true, [verify, sign])Pass Good parameters: 192 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC128}, true, [verify])-Pass Good parameters: 192 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC128}, true, [sign, verify, sign, verify])+Fail Good parameters: 192 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC128}, true, [sign, verify, sign, verify])Pass Empty Usages: 192 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC128}, true, [])+Fail Key data altered during call: 192 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC128}, true, [sign])+Fail Key data altered during call: 192 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC128}, true, [verify, sign])+Fail Key data altered during call: 192 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC128}, true, [verify])+Fail Key data altered during call: 192 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC128}, true, [sign, verify, sign, verify])Pass Good parameters: 192 bits (jwk, {alg: K128, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: KMAC128}, true, [sign])Pass Good parameters: 192 bits (jwk, {alg: K128, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: KMAC128}, true, [verify, sign])Pass Good parameters: 192 bits (jwk, {alg: K128, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: KMAC128}, true, [verify])-Pass Good parameters: 192 bits (jwk, {alg: K128, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: KMAC128}, true, [sign, verify, sign, verify])+Fail Good parameters: 192 bits (jwk, {alg: K128, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: KMAC128}, true, [sign, verify, sign, verify])Pass Empty Usages: 192 bits (jwk, {alg: K128, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: KMAC128}, true, [])Pass Good parameters: 192 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC128}, false, [sign])Pass Good parameters: 192 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC128}, false, [verify, sign])Pass Good parameters: 192 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC128}, false, [verify])-Pass Good parameters: 192 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC128}, false, [sign, verify, sign, verify])+Fail Good parameters: 192 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC128}, false, [sign, verify, sign, verify])Pass Empty Usages: 192 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC128}, false, [])Pass Good parameters: 192 bits (jwk, {alg: K128, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: KMAC128}, false, [sign])Pass Good parameters: 192 bits (jwk, {alg: K128, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: KMAC128}, false, [verify, sign])Pass Good parameters: 192 bits (jwk, {alg: K128, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: KMAC128}, false, [verify])-Pass Good parameters: 192 bits (jwk, {alg: K128, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: KMAC128}, false, [sign, verify, sign, verify])+Fail Good parameters: 192 bits (jwk, {alg: K128, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: KMAC128}, false, [sign, verify, sign, verify])Pass Empty Usages: 192 bits (jwk, {alg: K128, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: KMAC128}, false, [])Pass Good parameters: 256 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC128}, true, [sign])Pass Good parameters: 256 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC128}, true, [verify, sign])Pass Good parameters: 256 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC128}, true, [verify])-Pass Good parameters: 256 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC128}, true, [sign, verify, sign, verify])+Fail Good parameters: 256 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC128}, true, [sign, verify, sign, verify])Pass Empty Usages: 256 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC128}, true, [])+Fail Key data altered during call: 256 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC128}, true, [sign])+Fail Key data altered during call: 256 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC128}, true, [verify, sign])+Fail Key data altered during call: 256 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC128}, true, [verify])+Fail Key data altered during call: 256 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC128}, true, [sign, verify, sign, verify])Pass Good parameters: 256 bits (jwk, {alg: K128, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: KMAC128}, true, [sign])Pass Good parameters: 256 bits (jwk, {alg: K128, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: KMAC128}, true, [verify, sign])Pass Good parameters: 256 bits (jwk, {alg: K128, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: KMAC128}, true, [verify])-Pass Good parameters: 256 bits (jwk, {alg: K128, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: KMAC128}, true, [sign, verify, sign, verify])+Fail Good parameters: 256 bits (jwk, {alg: K128, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: KMAC128}, true, [sign, verify, sign, verify])Pass Empty Usages: 256 bits (jwk, {alg: K128, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: KMAC128}, true, [])Pass Good parameters: 256 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC128}, false, [sign])Pass Good parameters: 256 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC128}, false, [verify, sign])Pass Good parameters: 256 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC128}, false, [verify])-Pass Good parameters: 256 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC128}, false, [sign, verify, sign, verify])+Fail Good parameters: 256 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC128}, false, [sign, verify, sign, verify])Pass Empty Usages: 256 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC128}, false, [])Pass Good parameters: 256 bits (jwk, {alg: K128, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: KMAC128}, false, [sign])Pass Good parameters: 256 bits (jwk, {alg: K128, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: KMAC128}, false, [verify, sign])Pass Good parameters: 256 bits (jwk, {alg: K128, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: KMAC128}, false, [verify])-Pass Good parameters: 256 bits (jwk, {alg: K128, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: KMAC128}, false, [sign, verify, sign, verify])+Fail Good parameters: 256 bits (jwk, {alg: K128, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: KMAC128}, false, [sign, verify, sign, verify])Pass Empty Usages: 256 bits (jwk, {alg: K128, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: KMAC128}, false, [])Pass Good parameters: 128 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC256}, true, [sign])Pass Good parameters: 128 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC256}, true, [verify, sign])Pass Good parameters: 128 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC256}, true, [verify])-Pass Good parameters: 128 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC256}, true, [sign, verify, sign, verify])+Fail Good parameters: 128 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC256}, true, [sign, verify, sign, verify])Pass Empty Usages: 128 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC256}, true, [])+Fail Key data altered during call: 128 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC256}, true, [sign])+Fail Key data altered during call: 128 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC256}, true, [verify, sign])+Fail Key data altered during call: 128 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC256}, true, [verify])+Fail Key data altered during call: 128 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC256}, true, [sign, verify, sign, verify])Pass Good parameters: 128 bits (jwk, {alg: K256, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: KMAC256}, true, [sign])Pass Good parameters: 128 bits (jwk, {alg: K256, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: KMAC256}, true, [verify, sign])Pass Good parameters: 128 bits (jwk, {alg: K256, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: KMAC256}, true, [verify])-Pass Good parameters: 128 bits (jwk, {alg: K256, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: KMAC256}, true, [sign, verify, sign, verify])+Fail Good parameters: 128 bits (jwk, {alg: K256, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: KMAC256}, true, [sign, verify, sign, verify])Pass Empty Usages: 128 bits (jwk, {alg: K256, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: KMAC256}, true, [])Pass Good parameters: 128 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC256}, false, [sign])Pass Good parameters: 128 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC256}, false, [verify, sign])Pass Good parameters: 128 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC256}, false, [verify])-Pass Good parameters: 128 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC256}, false, [sign, verify, sign, verify])+Fail Good parameters: 128 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC256}, false, [sign, verify, sign, verify])Pass Empty Usages: 128 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 2: 3, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC256}, false, [])Pass Good parameters: 128 bits (jwk, {alg: K256, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: KMAC256}, false, [sign])Pass Good parameters: 128 bits (jwk, {alg: K256, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: KMAC256}, false, [verify, sign])Pass Good parameters: 128 bits (jwk, {alg: K256, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: KMAC256}, false, [verify])-Pass Good parameters: 128 bits (jwk, {alg: K256, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: KMAC256}, false, [sign, verify, sign, verify])+Fail Good parameters: 128 bits (jwk, {alg: K256, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: KMAC256}, false, [sign, verify, sign, verify])Pass Empty Usages: 128 bits (jwk, {alg: K256, k: AQIDBAUGBwgJCgsMDQ4PEA, kty: oct}, {name: KMAC256}, false, [])Pass Good parameters: 192 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC256}, true, [sign])Pass Good parameters: 192 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC256}, true, [verify, sign])Pass Good parameters: 192 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC256}, true, [verify])-Pass Good parameters: 192 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC256}, true, [sign, verify, sign, verify])+Fail Good parameters: 192 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC256}, true, [sign, verify, sign, verify])Pass Empty Usages: 192 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC256}, true, [])+Fail Key data altered during call: 192 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC256}, true, [sign])+Fail Key data altered during call: 192 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC256}, true, [verify, sign])+Fail Key data altered during call: 192 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC256}, true, [verify])+Fail Key data altered during call: 192 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC256}, true, [sign, verify, sign, verify])Pass Good parameters: 192 bits (jwk, {alg: K256, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: KMAC256}, true, [sign])Pass Good parameters: 192 bits (jwk, {alg: K256, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: KMAC256}, true, [verify, sign])Pass Good parameters: 192 bits (jwk, {alg: K256, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: KMAC256}, true, [verify])-Pass Good parameters: 192 bits (jwk, {alg: K256, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: KMAC256}, true, [sign, verify, sign, verify])+Fail Good parameters: 192 bits (jwk, {alg: K256, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: KMAC256}, true, [sign, verify, sign, verify])Pass Empty Usages: 192 bits (jwk, {alg: K256, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: KMAC256}, true, [])Pass Good parameters: 192 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC256}, false, [sign])Pass Good parameters: 192 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC256}, false, [verify, sign])Pass Good parameters: 192 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC256}, false, [verify])-Pass Good parameters: 192 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC256}, false, [sign, verify, sign, verify])+Fail Good parameters: 192 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC256}, false, [sign, verify, sign, verify])Pass Empty Usages: 192 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 3: 4, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC256}, false, [])Pass Good parameters: 192 bits (jwk, {alg: K256, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: KMAC256}, false, [sign])Pass Good parameters: 192 bits (jwk, {alg: K256, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: KMAC256}, false, [verify, sign])Pass Good parameters: 192 bits (jwk, {alg: K256, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: KMAC256}, false, [verify])-Pass Good parameters: 192 bits (jwk, {alg: K256, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: KMAC256}, false, [sign, verify, sign, verify])+Fail Good parameters: 192 bits (jwk, {alg: K256, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: KMAC256}, false, [sign, verify, sign, verify])Pass Empty Usages: 192 bits (jwk, {alg: K256, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcY, kty: oct}, {name: KMAC256}, false, [])Pass Good parameters: 256 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC256}, true, [sign])Pass Good parameters: 256 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC256}, true, [verify, sign])Pass Good parameters: 256 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC256}, true, [verify])-Pass Good parameters: 256 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC256}, true, [sign, verify, sign, verify])+Fail Good parameters: 256 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC256}, true, [sign, verify, sign, verify])Pass Empty Usages: 256 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC256}, true, [])+Fail Key data altered during call: 256 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC256}, true, [sign])+Fail Key data altered during call: 256 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC256}, true, [verify, sign])+Fail Key data altered during call: 256 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC256}, true, [verify])+Fail Key data altered during call: 256 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC256}, true, [sign, verify, sign, verify])Pass Good parameters: 256 bits (jwk, {alg: K256, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: KMAC256}, true, [sign])Pass Good parameters: 256 bits (jwk, {alg: K256, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: KMAC256}, true, [verify, sign])Pass Good parameters: 256 bits (jwk, {alg: K256, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: KMAC256}, true, [verify])-Pass Good parameters: 256 bits (jwk, {alg: K256, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: KMAC256}, true, [sign, verify, sign, verify])+Fail Good parameters: 256 bits (jwk, {alg: K256, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: KMAC256}, true, [sign, verify, sign, verify])Pass Empty Usages: 256 bits (jwk, {alg: K256, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: KMAC256}, true, [])Pass Good parameters: 256 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC256}, false, [sign])Pass Good parameters: 256 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC256}, false, [verify, sign])Pass Good parameters: 256 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC256}, false, [verify])-Pass Good parameters: 256 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC256}, false, [sign, verify, sign, verify])+Fail Good parameters: 256 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC256}, false, [sign, verify, sign, verify])Pass Empty Usages: 256 bits (raw-secret, {0: 1, 1: 2, 10: 11, 11: 12, 12: 13, 13: 14, 14: 15, 15: 16, 16: 17, 17: 18, 18: 19, 19: 20, 2: 3, 20: 21, 21: 22, 22: 23, 23: 24, 24: 25, 25: 26, 26: 27, 27: 28, 28: 29, 29: 30, 3: 4, 30: 31, 31: 32, 4: 5, 5: 6, 6: 7, 7: 8, 8: 9, 9: 10}, {name: KMAC256}, false, [])Pass Good parameters: 256 bits (jwk, {alg: K256, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: KMAC256}, false, [sign])Pass Good parameters: 256 bits (jwk, {alg: K256, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: KMAC256}, false, [verify, sign])Pass Good parameters: 256 bits (jwk, {alg: K256, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: KMAC256}, false, [verify])-Pass Good parameters: 256 bits (jwk, {alg: K256, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: KMAC256}, false, [sign, verify, sign, verify])+Fail Good parameters: 256 bits (jwk, {alg: K256, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: KMAC256}, false, [sign, verify, sign, verify])Pass Empty Usages: 256 bits (jwk, {alg: K256, k: AQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHyA, kty: oct}, {name: KMAC256}, false, [])\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/import_export/ML-DSA_importKey.tentative.https.any.txt b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/modern-algos/import_export/ML-DSA_importKey.https.any.txtsimilarity index 72%rename from Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/import_export/ML-DSA_importKey.tentative.https.any.txtrename to Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/modern-algos/import_export/ML-DSA_importKey.https.any.txtindex 189d5e79904..f4b84e02cf0 100644--- a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/import_export/ML-DSA_importKey.tentative.https.any.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/modern-algos/import_export/ML-DSA_importKey.https.any.txt@@ -2,7 +2,8 @@ Harness status: OKFound 180 tests-180 Pass+108 Pass+72 FailPass Good parameters: ML-DSA-44 bits (spki, buffer(1334), {name: ML-DSA-44}, true, [verify])Pass Good parameters: ML-DSA-44 bits (spki, buffer(1334), ML-DSA-44, true, [verify])Pass Good parameters: ML-DSA-44 bits (jwk, object(kty, alg, pub), {name: ML-DSA-44}, true, [verify])@@ -15,24 +16,24 @@ Pass Good parameters: ML-DSA-44 bits (jwk, object(kty, alg, pub), {name: ML-DSA-Pass Good parameters: ML-DSA-44 bits (jwk, object(kty, alg, pub), ML-DSA-44, true, [])Pass Good parameters: ML-DSA-44 bits (raw-public, buffer(1312), {name: ML-DSA-44}, true, [])Pass Good parameters: ML-DSA-44 bits (raw-public, buffer(1312), ML-DSA-44, true, [])-Pass Good parameters: ML-DSA-44 bits (spki, buffer(1334), {name: ML-DSA-44}, true, [verify, verify])-Pass Good parameters: ML-DSA-44 bits (spki, buffer(1334), ML-DSA-44, true, [verify, verify])-Pass Good parameters: ML-DSA-44 bits (jwk, object(kty, alg, pub), {name: ML-DSA-44}, true, [verify, verify])-Pass Good parameters: ML-DSA-44 bits (jwk, object(kty, alg, pub), ML-DSA-44, true, [verify, verify])-Pass Good parameters: ML-DSA-44 bits (raw-public, buffer(1312), {name: ML-DSA-44}, true, [verify, verify])-Pass Good parameters: ML-DSA-44 bits (raw-public, buffer(1312), ML-DSA-44, true, [verify, verify])+Fail Good parameters: ML-DSA-44 bits (spki, buffer(1334), {name: ML-DSA-44}, true, [verify, verify])+Fail Good parameters: ML-DSA-44 bits (spki, buffer(1334), ML-DSA-44, true, [verify, verify])+Fail Good parameters: ML-DSA-44 bits (jwk, object(kty, alg, pub), {name: ML-DSA-44}, true, [verify, verify])+Fail Good parameters: ML-DSA-44 bits (jwk, object(kty, alg, pub), ML-DSA-44, true, [verify, verify])+Fail Good parameters: ML-DSA-44 bits (raw-public, buffer(1312), {name: ML-DSA-44}, true, [verify, verify])+Fail Good parameters: ML-DSA-44 bits (raw-public, buffer(1312), ML-DSA-44, true, [verify, verify])Pass Good parameters: ML-DSA-44 bits (pkcs8, buffer(54), {name: ML-DSA-44}, true, [sign])Pass Good parameters: ML-DSA-44 bits (pkcs8, buffer(54), ML-DSA-44, true, [sign])Pass Good parameters: ML-DSA-44 bits (jwk, object(priv, kty, alg, pub), {name: ML-DSA-44}, true, [sign])Pass Good parameters: ML-DSA-44 bits (jwk, object(priv, kty, alg, pub), ML-DSA-44, true, [sign])Pass Good parameters: ML-DSA-44 bits (raw-seed, buffer(32), {name: ML-DSA-44}, true, [sign])Pass Good parameters: ML-DSA-44 bits (raw-seed, buffer(32), ML-DSA-44, true, [sign])-Pass Good parameters: ML-DSA-44 bits (pkcs8, buffer(54), {name: ML-DSA-44}, true, [sign, sign])-Pass Good parameters: ML-DSA-44 bits (pkcs8, buffer(54), ML-DSA-44, true, [sign, sign])-Pass Good parameters: ML-DSA-44 bits (jwk, object(priv, kty, alg, pub), {name: ML-DSA-44}, true, [sign, sign])-Pass Good parameters: ML-DSA-44 bits (jwk, object(priv, kty, alg, pub), ML-DSA-44, true, [sign, sign])-Pass Good parameters: ML-DSA-44 bits (raw-seed, buffer(32), {name: ML-DSA-44}, true, [sign, sign])-Pass Good parameters: ML-DSA-44 bits (raw-seed, buffer(32), ML-DSA-44, true, [sign, sign])+Fail Good parameters: ML-DSA-44 bits (pkcs8, buffer(54), {name: ML-DSA-44}, true, [sign, sign])+Fail Good parameters: ML-DSA-44 bits (pkcs8, buffer(54), ML-DSA-44, true, [sign, sign])+Fail Good parameters: ML-DSA-44 bits (jwk, object(priv, kty, alg, pub), {name: ML-DSA-44}, true, [sign, sign])+Fail Good parameters: ML-DSA-44 bits (jwk, object(priv, kty, alg, pub), ML-DSA-44, true, [sign, sign])+Fail Good parameters: ML-DSA-44 bits (raw-seed, buffer(32), {name: ML-DSA-44}, true, [sign, sign])+Fail Good parameters: ML-DSA-44 bits (raw-seed, buffer(32), ML-DSA-44, true, [sign, sign])Pass Good parameters: ML-DSA-44 bits (spki, buffer(1334), {name: ML-DSA-44}, false, [verify])Pass Good parameters: ML-DSA-44 bits (spki, buffer(1334), ML-DSA-44, false, [verify])Pass Good parameters: ML-DSA-44 bits (jwk, object(kty, alg, pub), {name: ML-DSA-44}, false, [verify])@@ -45,24 +46,24 @@ Pass Good parameters: ML-DSA-44 bits (jwk, object(kty, alg, pub), {name: ML-DSA-Pass Good parameters: ML-DSA-44 bits (jwk, object(kty, alg, pub), ML-DSA-44, false, [])Pass Good parameters: ML-DSA-44 bits (raw-public, buffer(1312), {name: ML-DSA-44}, false, [])Pass Good parameters: ML-DSA-44 bits (raw-public, buffer(1312), ML-DSA-44, false, [])-Pass Good parameters: ML-DSA-44 bits (spki, buffer(1334), {name: ML-DSA-44}, false, [verify, verify])-Pass Good parameters: ML-DSA-44 bits (spki, buffer(1334), ML-DSA-44, false, [verify, verify])-Pass Good parameters: ML-DSA-44 bits (jwk, object(kty, alg, pub), {name: ML-DSA-44}, false, [verify, verify])-Pass Good parameters: ML-DSA-44 bits (jwk, object(kty, alg, pub), ML-DSA-44, false, [verify, verify])-Pass Good parameters: ML-DSA-44 bits (raw-public, buffer(1312), {name: ML-DSA-44}, false, [verify, verify])-Pass Good parameters: ML-DSA-44 bits (raw-public, buffer(1312), ML-DSA-44, false, [verify, verify])+Fail Good parameters: ML-DSA-44 bits (spki, buffer(1334), {name: ML-DSA-44}, false, [verify, verify])+Fail Good parameters: ML-DSA-44 bits (spki, buffer(1334), ML-DSA-44, false, [verify, verify])+Fail Good parameters: ML-DSA-44 bits (jwk, object(kty, alg, pub), {name: ML-DSA-44}, false, [verify, verify])+Fail Good parameters: ML-DSA-44 bits (jwk, object(kty, alg, pub), ML-DSA-44, false, [verify, verify])+Fail Good parameters: ML-DSA-44 bits (raw-public, buffer(1312), {name: ML-DSA-44}, false, [verify, verify])+Fail Good parameters: ML-DSA-44 bits (raw-public, buffer(1312), ML-DSA-44, false, [verify, verify])Pass Good parameters: ML-DSA-44 bits (pkcs8, buffer(54), {name: ML-DSA-44}, false, [sign])Pass Good parameters: ML-DSA-44 bits (pkcs8, buffer(54), ML-DSA-44, false, [sign])Pass Good parameters: ML-DSA-44 bits (jwk, object(priv, kty, alg, pub), {name: ML-DSA-44}, false, [sign])Pass Good parameters: ML-DSA-44 bits (jwk, object(priv, kty, alg, pub), ML-DSA-44, false, [sign])Pass Good parameters: ML-DSA-44 bits (raw-seed, buffer(32), {name: ML-DSA-44}, false, [sign])Pass Good parameters: ML-DSA-44 bits (raw-seed, buffer(32), ML-DSA-44, false, [sign])-Pass Good parameters: ML-DSA-44 bits (pkcs8, buffer(54), {name: ML-DSA-44}, false, [sign, sign])-Pass Good parameters: ML-DSA-44 bits (pkcs8, buffer(54), ML-DSA-44, false, [sign, sign])-Pass Good parameters: ML-DSA-44 bits (jwk, object(priv, kty, alg, pub), {name: ML-DSA-44}, false, [sign, sign])-Pass Good parameters: ML-DSA-44 bits (jwk, object(priv, kty, alg, pub), ML-DSA-44, false, [sign, sign])-Pass Good parameters: ML-DSA-44 bits (raw-seed, buffer(32), {name: ML-DSA-44}, false, [sign, sign])-Pass Good parameters: ML-DSA-44 bits (raw-seed, buffer(32), ML-DSA-44, false, [sign, sign])+Fail Good parameters: ML-DSA-44 bits (pkcs8, buffer(54), {name: ML-DSA-44}, false, [sign, sign])+Fail Good parameters: ML-DSA-44 bits (pkcs8, buffer(54), ML-DSA-44, false, [sign, sign])+Fail Good parameters: ML-DSA-44 bits (jwk, object(priv, kty, alg, pub), {name: ML-DSA-44}, false, [sign, sign])+Fail Good parameters: ML-DSA-44 bits (jwk, object(priv, kty, alg, pub), ML-DSA-44, false, [sign, sign])+Fail Good parameters: ML-DSA-44 bits (raw-seed, buffer(32), {name: ML-DSA-44}, false, [sign, sign])+Fail Good parameters: ML-DSA-44 bits (raw-seed, buffer(32), ML-DSA-44, false, [sign, sign])Pass Good parameters: ML-DSA-65 bits (spki, buffer(1974), {name: ML-DSA-65}, true, [verify])Pass Good parameters: ML-DSA-65 bits (spki, buffer(1974), ML-DSA-65, true, [verify])Pass Good parameters: ML-DSA-65 bits (jwk, object(kty, alg, pub), {name: ML-DSA-65}, true, [verify])@@ -75,24 +76,24 @@ Pass Good parameters: ML-DSA-65 bits (jwk, object(kty, alg, pub), {name: ML-DSA-Pass Good parameters: ML-DSA-65 bits (jwk, object(kty, alg, pub), ML-DSA-65, true, [])Pass Good parameters: ML-DSA-65 bits (raw-public, buffer(1952), {name: ML-DSA-65}, true, [])Pass Good parameters: ML-DSA-65 bits (raw-public, buffer(1952), ML-DSA-65, true, [])-Pass Good parameters: ML-DSA-65 bits (spki, buffer(1974), {name: ML-DSA-65}, true, [verify, verify])-Pass Good parameters: ML-DSA-65 bits (spki, buffer(1974), ML-DSA-65, true, [verify, verify])-Pass Good parameters: ML-DSA-65 bits (jwk, object(kty, alg, pub), {name: ML-DSA-65}, true, [verify, verify])-Pass Good parameters: ML-DSA-65 bits (jwk, object(kty, alg, pub), ML-DSA-65, true, [verify, verify])-Pass Good parameters: ML-DSA-65 bits (raw-public, buffer(1952), {name: ML-DSA-65}, true, [verify, verify])-Pass Good parameters: ML-DSA-65 bits (raw-public, buffer(1952), ML-DSA-65, true, [verify, verify])+Fail Good parameters: ML-DSA-65 bits (spki, buffer(1974), {name: ML-DSA-65}, true, [verify, verify])+Fail Good parameters: ML-DSA-65 bits (spki, buffer(1974), ML-DSA-65, true, [verify, verify])+Fail Good parameters: ML-DSA-65 bits (jwk, object(kty, alg, pub), {name: ML-DSA-65}, true, [verify, verify])+Fail Good parameters: ML-DSA-65 bits (jwk, object(kty, alg, pub), ML-DSA-65, true, [verify, verify])+Fail Good parameters: ML-DSA-65 bits (raw-public, buffer(1952), {name: ML-DSA-65}, true, [verify, verify])+Fail Good parameters: ML-DSA-65 bits (raw-public, buffer(1952), ML-DSA-65, true, [verify, verify])Pass Good parameters: ML-DSA-65 bits (pkcs8, buffer(54), {name: ML-DSA-65}, true, [sign])Pass Good parameters: ML-DSA-65 bits (pkcs8, buffer(54), ML-DSA-65, true, [sign])Pass Good parameters: ML-DSA-65 bits (jwk, object(priv, kty, alg, pub), {name: ML-DSA-65}, true, [sign])Pass Good parameters: ML-DSA-65 bits (jwk, object(priv, kty, alg, pub), ML-DSA-65, true, [sign])Pass Good parameters: ML-DSA-65 bits (raw-seed, buffer(32), {name: ML-DSA-65}, true, [sign])Pass Good parameters: ML-DSA-65 bits (raw-seed, buffer(32), ML-DSA-65, true, [sign])-Pass Good parameters: ML-DSA-65 bits (pkcs8, buffer(54), {name: ML-DSA-65}, true, [sign, sign])-Pass Good parameters: ML-DSA-65 bits (pkcs8, buffer(54), ML-DSA-65, true, [sign, sign])-Pass Good parameters: ML-DSA-65 bits (jwk, object(priv, kty, alg, pub), {name: ML-DSA-65}, true, [sign, sign])-Pass Good parameters: ML-DSA-65 bits (jwk, object(priv, kty, alg, pub), ML-DSA-65, true, [sign, sign])-Pass Good parameters: ML-DSA-65 bits (raw-seed, buffer(32), {name: ML-DSA-65}, true, [sign, sign])-Pass Good parameters: ML-DSA-65 bits (raw-seed, buffer(32), ML-DSA-65, true, [sign, sign])+Fail Good parameters: ML-DSA-65 bits (pkcs8, buffer(54), {name: ML-DSA-65}, true, [sign, sign])+Fail Good parameters: ML-DSA-65 bits (pkcs8, buffer(54), ML-DSA-65, true, [sign, sign])+Fail Good parameters: ML-DSA-65 bits (jwk, object(priv, kty, alg, pub), {name: ML-DSA-65}, true, [sign, sign])+Fail Good parameters: ML-DSA-65 bits (jwk, object(priv, kty, alg, pub), ML-DSA-65, true, [sign, sign])+Fail Good parameters: ML-DSA-65 bits (raw-seed, buffer(32), {name: ML-DSA-65}, true, [sign, sign])+Fail Good parameters: ML-DSA-65 bits (raw-seed, buffer(32), ML-DSA-65, true, [sign, sign])Pass Good parameters: ML-DSA-65 bits (spki, buffer(1974), {name: ML-DSA-65}, false, [verify])Pass Good parameters: ML-DSA-65 bits (spki, buffer(1974), ML-DSA-65, false, [verify])Pass Good parameters: ML-DSA-65 bits (jwk, object(kty, alg, pub), {name: ML-DSA-65}, false, [verify])@@ -105,24 +106,24 @@ Pass Good parameters: ML-DSA-65 bits (jwk, object(kty, alg, pub), {name: ML-DSA-Pass Good parameters: ML-DSA-65 bits (jwk, object(kty, alg, pub), ML-DSA-65, false, [])Pass Good parameters: ML-DSA-65 bits (raw-public, buffer(1952), {name: ML-DSA-65}, false, [])Pass Good parameters: ML-DSA-65 bits (raw-public, buffer(1952), ML-DSA-65, false, [])-Pass Good parameters: ML-DSA-65 bits (spki, buffer(1974), {name: ML-DSA-65}, false, [verify, verify])-Pass Good parameters: ML-DSA-65 bits (spki, buffer(1974), ML-DSA-65, false, [verify, verify])-Pass Good parameters: ML-DSA-65 bits (jwk, object(kty, alg, pub), {name: ML-DSA-65}, false, [verify, verify])-Pass Good parameters: ML-DSA-65 bits (jwk, object(kty, alg, pub), ML-DSA-65, false, [verify, verify])-Pass Good parameters: ML-DSA-65 bits (raw-public, buffer(1952), {name: ML-DSA-65}, false, [verify, verify])-Pass Good parameters: ML-DSA-65 bits (raw-public, buffer(1952), ML-DSA-65, false, [verify, verify])+Fail Good parameters: ML-DSA-65 bits (spki, buffer(1974), {name: ML-DSA-65}, false, [verify, verify])+Fail Good parameters: ML-DSA-65 bits (spki, buffer(1974), ML-DSA-65, false, [verify, verify])+Fail Good parameters: ML-DSA-65 bits (jwk, object(kty, alg, pub), {name: ML-DSA-65}, false, [verify, verify])+Fail Good parameters: ML-DSA-65 bits (jwk, object(kty, alg, pub), ML-DSA-65, false, [verify, verify])+Fail Good parameters: ML-DSA-65 bits (raw-public, buffer(1952), {name: ML-DSA-65}, false, [verify, verify])+Fail Good parameters: ML-DSA-65 bits (raw-public, buffer(1952), ML-DSA-65, false, [verify, verify])Pass Good parameters: ML-DSA-65 bits (pkcs8, buffer(54), {name: ML-DSA-65}, false, [sign])Pass Good parameters: ML-DSA-65 bits (pkcs8, buffer(54), ML-DSA-65, false, [sign])Pass Good parameters: ML-DSA-65 bits (jwk, object(priv, kty, alg, pub), {name: ML-DSA-65}, false, [sign])Pass Good parameters: ML-DSA-65 bits (jwk, object(priv, kty, alg, pub), ML-DSA-65, false, [sign])Pass Good parameters: ML-DSA-65 bits (raw-seed, buffer(32), {name: ML-DSA-65}, false, [sign])Pass Good parameters: ML-DSA-65 bits (raw-seed, buffer(32), ML-DSA-65, false, [sign])-Pass Good parameters: ML-DSA-65 bits (pkcs8, buffer(54), {name: ML-DSA-65}, false, [sign, sign])-Pass Good parameters: ML-DSA-65 bits (pkcs8, buffer(54), ML-DSA-65, false, [sign, sign])-Pass Good parameters: ML-DSA-65 bits (jwk, object(priv, kty, alg, pub), {name: ML-DSA-65}, false, [sign, sign])-Pass Good parameters: ML-DSA-65 bits (jwk, object(priv, kty, alg, pub), ML-DSA-65, false, [sign, sign])-Pass Good parameters: ML-DSA-65 bits (raw-seed, buffer(32), {name: ML-DSA-65}, false, [sign, sign])-Pass Good parameters: ML-DSA-65 bits (raw-seed, buffer(32), ML-DSA-65, false, [sign, sign])+Fail Good parameters: ML-DSA-65 bits (pkcs8, buffer(54), {name: ML-DSA-65}, false, [sign, sign])+Fail Good parameters: ML-DSA-65 bits (pkcs8, buffer(54), ML-DSA-65, false, [sign, sign])+Fail Good parameters: ML-DSA-65 bits (jwk, object(priv, kty, alg, pub), {name: ML-DSA-65}, false, [sign, sign])+Fail Good parameters: ML-DSA-65 bits (jwk, object(priv, kty, alg, pub), ML-DSA-65, false, [sign, sign])+Fail Good parameters: ML-DSA-65 bits (raw-seed, buffer(32), {name: ML-DSA-65}, false, [sign, sign])+Fail Good parameters: ML-DSA-65 bits (raw-seed, buffer(32), ML-DSA-65, false, [sign, sign])Pass Good parameters: ML-DSA-87 bits (spki, buffer(2614), {name: ML-DSA-87}, true, [verify])Pass Good parameters: ML-DSA-87 bits (spki, buffer(2614), ML-DSA-87, true, [verify])Pass Good parameters: ML-DSA-87 bits (jwk, object(kty, alg, pub), {name: ML-DSA-87}, true, [verify])@@ -135,24 +136,24 @@ Pass Good parameters: ML-DSA-87 bits (jwk, object(kty, alg, pub), {name: ML-DSA-Pass Good parameters: ML-DSA-87 bits (jwk, object(kty, alg, pub), ML-DSA-87, true, [])Pass Good parameters: ML-DSA-87 bits (raw-public, buffer(2592), {name: ML-DSA-87}, true, [])Pass Good parameters: ML-DSA-87 bits (raw-public, buffer(2592), ML-DSA-87, true, [])-Pass Good parameters: ML-DSA-87 bits (spki, buffer(2614), {name: ML-DSA-87}, true, [verify, verify])-Pass Good parameters: ML-DSA-87 bits (spki, buffer(2614), ML-DSA-87, true, [verify, verify])-Pass Good parameters: ML-DSA-87 bits (jwk, object(kty, alg, pub), {name: ML-DSA-87}, true, [verify, verify])-Pass Good parameters: ML-DSA-87 bits (jwk, object(kty, alg, pub), ML-DSA-87, true, [verify, verify])-Pass Good parameters: ML-DSA-87 bits (raw-public, buffer(2592), {name: ML-DSA-87}, true, [verify, verify])-Pass Good parameters: ML-DSA-87 bits (raw-public, buffer(2592), ML-DSA-87, true, [verify, verify])+Fail Good parameters: ML-DSA-87 bits (spki, buffer(2614), {name: ML-DSA-87}, true, [verify, verify])+Fail Good parameters: ML-DSA-87 bits (spki, buffer(2614), ML-DSA-87, true, [verify, verify])+Fail Good parameters: ML-DSA-87 bits (jwk, object(kty, alg, pub), {name: ML-DSA-87}, true, [verify, verify])+Fail Good parameters: ML-DSA-87 bits (jwk, object(kty, alg, pub), ML-DSA-87, true, [verify, verify])+Fail Good parameters: ML-DSA-87 bits (raw-public, buffer(2592), {name: ML-DSA-87}, true, [verify, verify])+Fail Good parameters: ML-DSA-87 bits (raw-public, buffer(2592), ML-DSA-87, true, [verify, verify])Pass Good parameters: ML-DSA-87 bits (pkcs8, buffer(54), {name: ML-DSA-87}, true, [sign])Pass Good parameters: ML-DSA-87 bits (pkcs8, buffer(54), ML-DSA-87, true, [sign])Pass Good parameters: ML-DSA-87 bits (jwk, object(priv, kty, alg, pub), {name: ML-DSA-87}, true, [sign])Pass Good parameters: ML-DSA-87 bits (jwk, object(priv, kty, alg, pub), ML-DSA-87, true, [sign])Pass Good parameters: ML-DSA-87 bits (raw-seed, buffer(32), {name: ML-DSA-87}, true, [sign])Pass Good parameters: ML-DSA-87 bits (raw-seed, buffer(32), ML-DSA-87, true, [sign])-Pass Good parameters: ML-DSA-87 bits (pkcs8, buffer(54), {name: ML-DSA-87}, true, [sign, sign])-Pass Good parameters: ML-DSA-87 bits (pkcs8, buffer(54), ML-DSA-87, true, [sign, sign])-Pass Good parameters: ML-DSA-87 bits (jwk, object(priv, kty, alg, pub), {name: ML-DSA-87}, true, [sign, sign])-Pass Good parameters: ML-DSA-87 bits (jwk, object(priv, kty, alg, pub), ML-DSA-87, true, [sign, sign])-Pass Good parameters: ML-DSA-87 bits (raw-seed, buffer(32), {name: ML-DSA-87}, true, [sign, sign])-Pass Good parameters: ML-DSA-87 bits (raw-seed, buffer(32), ML-DSA-87, true, [sign, sign])+Fail Good parameters: ML-DSA-87 bits (pkcs8, buffer(54), {name: ML-DSA-87}, true, [sign, sign])+Fail Good parameters: ML-DSA-87 bits (pkcs8, buffer(54), ML-DSA-87, true, [sign, sign])+Fail Good parameters: ML-DSA-87 bits (jwk, object(priv, kty, alg, pub), {name: ML-DSA-87}, true, [sign, sign])+Fail Good parameters: ML-DSA-87 bits (jwk, object(priv, kty, alg, pub), ML-DSA-87, true, [sign, sign])+Fail Good parameters: ML-DSA-87 bits (raw-seed, buffer(32), {name: ML-DSA-87}, true, [sign, sign])+Fail Good parameters: ML-DSA-87 bits (raw-seed, buffer(32), ML-DSA-87, true, [sign, sign])Pass Good parameters: ML-DSA-87 bits (spki, buffer(2614), {name: ML-DSA-87}, false, [verify])Pass Good parameters: ML-DSA-87 bits (spki, buffer(2614), ML-DSA-87, false, [verify])Pass Good parameters: ML-DSA-87 bits (jwk, object(kty, alg, pub), {name: ML-DSA-87}, false, [verify])@@ -165,21 +166,21 @@ Pass Good parameters: ML-DSA-87 bits (jwk, object(kty, alg, pub), {name: ML-DSA-Pass Good parameters: ML-DSA-87 bits (jwk, object(kty, alg, pub), ML-DSA-87, false, [])Pass Good parameters: ML-DSA-87 bits (raw-public, buffer(2592), {name: ML-DSA-87}, false, [])Pass Good parameters: ML-DSA-87 bits (raw-public, buffer(2592), ML-DSA-87, false, [])-Pass Good parameters: ML-DSA-87 bits (spki, buffer(2614), {name: ML-DSA-87}, false, [verify, verify])-Pass Good parameters: ML-DSA-87 bits (spki, buffer(2614), ML-DSA-87, false, [verify, verify])-Pass Good parameters: ML-DSA-87 bits (jwk, object(kty, alg, pub), {name: ML-DSA-87}, false, [verify, verify])-Pass Good parameters: ML-DSA-87 bits (jwk, object(kty, alg, pub), ML-DSA-87, false, [verify, verify])-Pass Good parameters: ML-DSA-87 bits (raw-public, buffer(2592), {name: ML-DSA-87}, false, [verify, verify])-Pass Good parameters: ML-DSA-87 bits (raw-public, buffer(2592), ML-DSA-87, false, [verify, verify])+Fail Good parameters: ML-DSA-87 bits (spki, buffer(2614), {name: ML-DSA-87}, false, [verify, verify])+Fail Good parameters: ML-DSA-87 bits (spki, buffer(2614), ML-DSA-87, false, [verify, verify])+Fail Good parameters: ML-DSA-87 bits (jwk, object(kty, alg, pub), {name: ML-DSA-87}, false, [verify, verify])+Fail Good parameters: ML-DSA-87 bits (jwk, object(kty, alg, pub), ML-DSA-87, false, [verify, verify])+Fail Good parameters: ML-DSA-87 bits (raw-public, buffer(2592), {name: ML-DSA-87}, false, [verify, verify])+Fail Good parameters: ML-DSA-87 bits (raw-public, buffer(2592), ML-DSA-87, false, [verify, verify])Pass Good parameters: ML-DSA-87 bits (pkcs8, buffer(54), {name: ML-DSA-87}, false, [sign])Pass Good parameters: ML-DSA-87 bits (pkcs8, buffer(54), ML-DSA-87, false, [sign])Pass Good parameters: ML-DSA-87 bits (jwk, object(priv, kty, alg, pub), {name: ML-DSA-87}, false, [sign])Pass Good parameters: ML-DSA-87 bits (jwk, object(priv, kty, alg, pub), ML-DSA-87, false, [sign])Pass Good parameters: ML-DSA-87 bits (raw-seed, buffer(32), {name: ML-DSA-87}, false, [sign])Pass Good parameters: ML-DSA-87 bits (raw-seed, buffer(32), ML-DSA-87, false, [sign])-Pass Good parameters: ML-DSA-87 bits (pkcs8, buffer(54), {name: ML-DSA-87}, false, [sign, sign])-Pass Good parameters: ML-DSA-87 bits (pkcs8, buffer(54), ML-DSA-87, false, [sign, sign])-Pass Good parameters: ML-DSA-87 bits (jwk, object(priv, kty, alg, pub), {name: ML-DSA-87}, false, [sign, sign])-Pass Good parameters: ML-DSA-87 bits (jwk, object(priv, kty, alg, pub), ML-DSA-87, false, [sign, sign])-Pass Good parameters: ML-DSA-87 bits (raw-seed, buffer(32), {name: ML-DSA-87}, false, [sign, sign])-Pass Good parameters: ML-DSA-87 bits (raw-seed, buffer(32), ML-DSA-87, false, [sign, sign])\ No newline at end of file+Fail Good parameters: ML-DSA-87 bits (pkcs8, buffer(54), {name: ML-DSA-87}, false, [sign, sign])+Fail Good parameters: ML-DSA-87 bits (pkcs8, buffer(54), ML-DSA-87, false, [sign, sign])+Fail Good parameters: ML-DSA-87 bits (jwk, object(priv, kty, alg, pub), {name: ML-DSA-87}, false, [sign, sign])+Fail Good parameters: ML-DSA-87 bits (jwk, object(priv, kty, alg, pub), ML-DSA-87, false, [sign, sign])+Fail Good parameters: ML-DSA-87 bits (raw-seed, buffer(32), {name: ML-DSA-87}, false, [sign, sign])+Fail Good parameters: ML-DSA-87 bits (raw-seed, buffer(32), ML-DSA-87, false, [sign, sign])\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/import_export/ML-KEM_importKey.tentative.https.any.txt b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/modern-algos/import_export/ML-KEM_importKey.https.any.txtsimilarity index 56%rename from Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/import_export/ML-KEM_importKey.tentative.https.any.txtrename to Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/modern-algos/import_export/ML-KEM_importKey.https.any.txtindex f997eb50693..aaf0f60c6e1 100644--- a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/import_export/ML-KEM_importKey.tentative.https.any.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/modern-algos/import_export/ML-KEM_importKey.https.any.txt@@ -1,221 +1,330 @@Harness status: OK-Found 216 tests+Found 324 tests-216 Pass+168 Pass+156 FailPass Good parameters: ML-KEM-512 bits (spki, buffer(822), {name: ML-KEM-512}, true, [encapsulateBits])Pass Good parameters: ML-KEM-512 bits (spki, buffer(822), ML-KEM-512, true, [encapsulateBits])+Fail Good parameters: ML-KEM-512 bits (jwk, object(kty, alg, pub), {name: ML-KEM-512}, true, [encapsulateBits])+Fail Good parameters: ML-KEM-512 bits (jwk, object(kty, alg, pub), ML-KEM-512, true, [encapsulateBits])Pass Good parameters: ML-KEM-512 bits (raw-public, buffer(800), {name: ML-KEM-512}, true, [encapsulateBits])Pass Good parameters: ML-KEM-512 bits (raw-public, buffer(800), ML-KEM-512, true, [encapsulateBits])Pass Good parameters: ML-KEM-512 bits (spki, buffer(822), {name: ML-KEM-512}, true, [encapsulateKey, encapsulateBits])Pass Good parameters: ML-KEM-512 bits (spki, buffer(822), ML-KEM-512, true, [encapsulateKey, encapsulateBits])+Fail Good parameters: ML-KEM-512 bits (jwk, object(kty, alg, pub), {name: ML-KEM-512}, true, [encapsulateKey, encapsulateBits])+Fail Good parameters: ML-KEM-512 bits (jwk, object(kty, alg, pub), ML-KEM-512, true, [encapsulateKey, encapsulateBits])Pass Good parameters: ML-KEM-512 bits (raw-public, buffer(800), {name: ML-KEM-512}, true, [encapsulateKey, encapsulateBits])Pass Good parameters: ML-KEM-512 bits (raw-public, buffer(800), ML-KEM-512, true, [encapsulateKey, encapsulateBits])Pass Good parameters: ML-KEM-512 bits (spki, buffer(822), {name: ML-KEM-512}, true, [encapsulateKey])Pass Good parameters: ML-KEM-512 bits (spki, buffer(822), ML-KEM-512, true, [encapsulateKey])+Fail Good parameters: ML-KEM-512 bits (jwk, object(kty, alg, pub), {name: ML-KEM-512}, true, [encapsulateKey])+Fail Good parameters: ML-KEM-512 bits (jwk, object(kty, alg, pub), ML-KEM-512, true, [encapsulateKey])Pass Good parameters: ML-KEM-512 bits (raw-public, buffer(800), {name: ML-KEM-512}, true, [encapsulateKey])Pass Good parameters: ML-KEM-512 bits (raw-public, buffer(800), ML-KEM-512, true, [encapsulateKey])Pass Good parameters: ML-KEM-512 bits (spki, buffer(822), {name: ML-KEM-512}, true, [])Pass Good parameters: ML-KEM-512 bits (spki, buffer(822), ML-KEM-512, true, [])+Fail Good parameters: ML-KEM-512 bits (jwk, object(kty, alg, pub), {name: ML-KEM-512}, true, [])+Fail Good parameters: ML-KEM-512 bits (jwk, object(kty, alg, pub), ML-KEM-512, true, [])Pass Good parameters: ML-KEM-512 bits (raw-public, buffer(800), {name: ML-KEM-512}, true, [])Pass Good parameters: ML-KEM-512 bits (raw-public, buffer(800), ML-KEM-512, true, [])-Pass Good parameters: ML-KEM-512 bits (spki, buffer(822), {name: ML-KEM-512}, true, [encapsulateBits, encapsulateKey, encapsulateBits, encapsulateKey])-Pass Good parameters: ML-KEM-512 bits (spki, buffer(822), ML-KEM-512, true, [encapsulateBits, encapsulateKey, encapsulateBits, encapsulateKey])-Pass Good parameters: ML-KEM-512 bits (raw-public, buffer(800), {name: ML-KEM-512}, true, [encapsulateBits, encapsulateKey, encapsulateBits, encapsulateKey])-Pass Good parameters: ML-KEM-512 bits (raw-public, buffer(800), ML-KEM-512, true, [encapsulateBits, encapsulateKey, encapsulateBits, encapsulateKey])+Fail Good parameters: ML-KEM-512 bits (spki, buffer(822), {name: ML-KEM-512}, true, [encapsulateBits, encapsulateKey, encapsulateBits, encapsulateKey])+Fail Good parameters: ML-KEM-512 bits (spki, buffer(822), ML-KEM-512, true, [encapsulateBits, encapsulateKey, encapsulateBits, encapsulateKey])+Fail Good parameters: ML-KEM-512 bits (jwk, object(kty, alg, pub), {name: ML-KEM-512}, true, [encapsulateBits, encapsulateKey, encapsulateBits, encapsulateKey])+Fail Good parameters: ML-KEM-512 bits (jwk, object(kty, alg, pub), ML-KEM-512, true, [encapsulateBits, encapsulateKey, encapsulateBits, encapsulateKey])+Fail Good parameters: ML-KEM-512 bits (raw-public, buffer(800), {name: ML-KEM-512}, true, [encapsulateBits, encapsulateKey, encapsulateBits, encapsulateKey])+Fail Good parameters: ML-KEM-512 bits (raw-public, buffer(800), ML-KEM-512, true, [encapsulateBits, encapsulateKey, encapsulateBits, encapsulateKey])Pass Good parameters: ML-KEM-512 bits (pkcs8, buffer(86), {name: ML-KEM-512}, true, [decapsulateBits])Pass Good parameters: ML-KEM-512 bits (pkcs8, buffer(86), ML-KEM-512, true, [decapsulateBits])+Fail Good parameters: ML-KEM-512 bits (jwk, object(priv, kty, alg, pub), {name: ML-KEM-512}, true, [decapsulateBits])+Fail Good parameters: ML-KEM-512 bits (jwk, object(priv, kty, alg, pub), ML-KEM-512, true, [decapsulateBits])Pass Good parameters: ML-KEM-512 bits (raw-seed, buffer(64), {name: ML-KEM-512}, true, [decapsulateBits])Pass Good parameters: ML-KEM-512 bits (raw-seed, buffer(64), ML-KEM-512, true, [decapsulateBits])Pass Good parameters: ML-KEM-512 bits (pkcs8, buffer(86), {name: ML-KEM-512}, true, [decapsulateKey, decapsulateBits])Pass Good parameters: ML-KEM-512 bits (pkcs8, buffer(86), ML-KEM-512, true, [decapsulateKey, decapsulateBits])+Fail Good parameters: ML-KEM-512 bits (jwk, object(priv, kty, alg, pub), {name: ML-KEM-512}, true, [decapsulateKey, decapsulateBits])+Fail Good parameters: ML-KEM-512 bits (jwk, object(priv, kty, alg, pub), ML-KEM-512, true, [decapsulateKey, decapsulateBits])Pass Good parameters: ML-KEM-512 bits (raw-seed, buffer(64), {name: ML-KEM-512}, true, [decapsulateKey, decapsulateBits])Pass Good parameters: ML-KEM-512 bits (raw-seed, buffer(64), ML-KEM-512, true, [decapsulateKey, decapsulateBits])Pass Good parameters: ML-KEM-512 bits (pkcs8, buffer(86), {name: ML-KEM-512}, true, [decapsulateKey])Pass Good parameters: ML-KEM-512 bits (pkcs8, buffer(86), ML-KEM-512, true, [decapsulateKey])+Fail Good parameters: ML-KEM-512 bits (jwk, object(priv, kty, alg, pub), {name: ML-KEM-512}, true, [decapsulateKey])+Fail Good parameters: ML-KEM-512 bits (jwk, object(priv, kty, alg, pub), ML-KEM-512, true, [decapsulateKey])Pass Good parameters: ML-KEM-512 bits (raw-seed, buffer(64), {name: ML-KEM-512}, true, [decapsulateKey])Pass Good parameters: ML-KEM-512 bits (raw-seed, buffer(64), ML-KEM-512, true, [decapsulateKey])-Pass Good parameters: ML-KEM-512 bits (pkcs8, buffer(86), {name: ML-KEM-512}, true, [decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey])-Pass Good parameters: ML-KEM-512 bits (pkcs8, buffer(86), ML-KEM-512, true, [decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey])-Pass Good parameters: ML-KEM-512 bits (raw-seed, buffer(64), {name: ML-KEM-512}, true, [decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey])-Pass Good parameters: ML-KEM-512 bits (raw-seed, buffer(64), ML-KEM-512, true, [decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey])+Fail Good parameters: ML-KEM-512 bits (pkcs8, buffer(86), {name: ML-KEM-512}, true, [decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey])+Fail Good parameters: ML-KEM-512 bits (pkcs8, buffer(86), ML-KEM-512, true, [decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey])+Fail Good parameters: ML-KEM-512 bits (jwk, object(priv, kty, alg, pub), {name: ML-KEM-512}, true, [decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey])+Fail Good parameters: ML-KEM-512 bits (jwk, object(priv, kty, alg, pub), ML-KEM-512, true, [decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey])+Fail Good parameters: ML-KEM-512 bits (raw-seed, buffer(64), {name: ML-KEM-512}, true, [decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey])+Fail Good parameters: ML-KEM-512 bits (raw-seed, buffer(64), ML-KEM-512, true, [decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey])Pass Good parameters: ML-KEM-512 bits (spki, buffer(822), {name: ML-KEM-512}, false, [encapsulateBits])Pass Good parameters: ML-KEM-512 bits (spki, buffer(822), ML-KEM-512, false, [encapsulateBits])+Fail Good parameters: ML-KEM-512 bits (jwk, object(kty, alg, pub), {name: ML-KEM-512}, false, [encapsulateBits])+Fail Good parameters: ML-KEM-512 bits (jwk, object(kty, alg, pub), ML-KEM-512, false, [encapsulateBits])Pass Good parameters: ML-KEM-512 bits (raw-public, buffer(800), {name: ML-KEM-512}, false, [encapsulateBits])Pass Good parameters: ML-KEM-512 bits (raw-public, buffer(800), ML-KEM-512, false, [encapsulateBits])Pass Good parameters: ML-KEM-512 bits (spki, buffer(822), {name: ML-KEM-512}, false, [encapsulateKey, encapsulateBits])Pass Good parameters: ML-KEM-512 bits (spki, buffer(822), ML-KEM-512, false, [encapsulateKey, encapsulateBits])+Fail Good parameters: ML-KEM-512 bits (jwk, object(kty, alg, pub), {name: ML-KEM-512}, false, [encapsulateKey, encapsulateBits])+Fail Good parameters: ML-KEM-512 bits (jwk, object(kty, alg, pub), ML-KEM-512, false, [encapsulateKey, encapsulateBits])Pass Good parameters: ML-KEM-512 bits (raw-public, buffer(800), {name: ML-KEM-512}, false, [encapsulateKey, encapsulateBits])Pass Good parameters: ML-KEM-512 bits (raw-public, buffer(800), ML-KEM-512, false, [encapsulateKey, encapsulateBits])Pass Good parameters: ML-KEM-512 bits (spki, buffer(822), {name: ML-KEM-512}, false, [encapsulateKey])Pass Good parameters: ML-KEM-512 bits (spki, buffer(822), ML-KEM-512, false, [encapsulateKey])+Fail Good parameters: ML-KEM-512 bits (jwk, object(kty, alg, pub), {name: ML-KEM-512}, false, [encapsulateKey])+Fail Good parameters: ML-KEM-512 bits (jwk, object(kty, alg, pub), ML-KEM-512, false, [encapsulateKey])Pass Good parameters: ML-KEM-512 bits (raw-public, buffer(800), {name: ML-KEM-512}, false, [encapsulateKey])Pass Good parameters: ML-KEM-512 bits (raw-public, buffer(800), ML-KEM-512, false, [encapsulateKey])Pass Good parameters: ML-KEM-512 bits (spki, buffer(822), {name: ML-KEM-512}, false, [])Pass Good parameters: ML-KEM-512 bits (spki, buffer(822), ML-KEM-512, false, [])+Fail Good parameters: ML-KEM-512 bits (jwk, object(kty, alg, pub), {name: ML-KEM-512}, false, [])+Fail Good parameters: ML-KEM-512 bits (jwk, object(kty, alg, pub), ML-KEM-512, false, [])Pass Good parameters: ML-KEM-512 bits (raw-public, buffer(800), {name: ML-KEM-512}, false, [])Pass Good parameters: ML-KEM-512 bits (raw-public, buffer(800), ML-KEM-512, false, [])-Pass Good parameters: ML-KEM-512 bits (spki, buffer(822), {name: ML-KEM-512}, false, [encapsulateBits, encapsulateKey, encapsulateBits, encapsulateKey])-Pass Good parameters: ML-KEM-512 bits (spki, buffer(822), ML-KEM-512, false, [encapsulateBits, encapsulateKey, encapsulateBits, encapsulateKey])-Pass Good parameters: ML-KEM-512 bits (raw-public, buffer(800), {name: ML-KEM-512}, false, [encapsulateBits, encapsulateKey, encapsulateBits, encapsulateKey])-Pass Good parameters: ML-KEM-512 bits (raw-public, buffer(800), ML-KEM-512, false, [encapsulateBits, encapsulateKey, encapsulateBits, encapsulateKey])+Fail Good parameters: ML-KEM-512 bits (spki, buffer(822), {name: ML-KEM-512}, false, [encapsulateBits, encapsulateKey, encapsulateBits, encapsulateKey])+Fail Good parameters: ML-KEM-512 bits (spki, buffer(822), ML-KEM-512, false, [encapsulateBits, encapsulateKey, encapsulateBits, encapsulateKey])+Fail Good parameters: ML-KEM-512 bits (jwk, object(kty, alg, pub), {name: ML-KEM-512}, false, [encapsulateBits, encapsulateKey, encapsulateBits, encapsulateKey])+Fail Good parameters: ML-KEM-512 bits (jwk, object(kty, alg, pub), ML-KEM-512, false, [encapsulateBits, encapsulateKey, encapsulateBits, encapsulateKey])+Fail Good parameters: ML-KEM-512 bits (raw-public, buffer(800), {name: ML-KEM-512}, false, [encapsulateBits, encapsulateKey, encapsulateBits, encapsulateKey])+Fail Good parameters: ML-KEM-512 bits (raw-public, buffer(800), ML-KEM-512, false, [encapsulateBits, encapsulateKey, encapsulateBits, encapsulateKey])Pass Good parameters: ML-KEM-512 bits (pkcs8, buffer(86), {name: ML-KEM-512}, false, [decapsulateBits])Pass Good parameters: ML-KEM-512 bits (pkcs8, buffer(86), ML-KEM-512, false, [decapsulateBits])+Fail Good parameters: ML-KEM-512 bits (jwk, object(priv, kty, alg, pub), {name: ML-KEM-512}, false, [decapsulateBits])+Fail Good parameters: ML-KEM-512 bits (jwk, object(priv, kty, alg, pub), ML-KEM-512, false, [decapsulateBits])Pass Good parameters: ML-KEM-512 bits (raw-seed, buffer(64), {name: ML-KEM-512}, false, [decapsulateBits])Pass Good parameters: ML-KEM-512 bits (raw-seed, buffer(64), ML-KEM-512, false, [decapsulateBits])Pass Good parameters: ML-KEM-512 bits (pkcs8, buffer(86), {name: ML-KEM-512}, false, [decapsulateKey, decapsulateBits])Pass Good parameters: ML-KEM-512 bits (pkcs8, buffer(86), ML-KEM-512, false, [decapsulateKey, decapsulateBits])+Fail Good parameters: ML-KEM-512 bits (jwk, object(priv, kty, alg, pub), {name: ML-KEM-512}, false, [decapsulateKey, decapsulateBits])+Fail Good parameters: ML-KEM-512 bits (jwk, object(priv, kty, alg, pub), ML-KEM-512, false, [decapsulateKey, decapsulateBits])Pass Good parameters: ML-KEM-512 bits (raw-seed, buffer(64), {name: ML-KEM-512}, false, [decapsulateKey, decapsulateBits])Pass Good parameters: ML-KEM-512 bits (raw-seed, buffer(64), ML-KEM-512, false, [decapsulateKey, decapsulateBits])Pass Good parameters: ML-KEM-512 bits (pkcs8, buffer(86), {name: ML-KEM-512}, false, [decapsulateKey])Pass Good parameters: ML-KEM-512 bits (pkcs8, buffer(86), ML-KEM-512, false, [decapsulateKey])+Fail Good parameters: ML-KEM-512 bits (jwk, object(priv, kty, alg, pub), {name: ML-KEM-512}, false, [decapsulateKey])+Fail Good parameters: ML-KEM-512 bits (jwk, object(priv, kty, alg, pub), ML-KEM-512, false, [decapsulateKey])Pass Good parameters: ML-KEM-512 bits (raw-seed, buffer(64), {name: ML-KEM-512}, false, [decapsulateKey])Pass Good parameters: ML-KEM-512 bits (raw-seed, buffer(64), ML-KEM-512, false, [decapsulateKey])-Pass Good parameters: ML-KEM-512 bits (pkcs8, buffer(86), {name: ML-KEM-512}, false, [decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey])-Pass Good parameters: ML-KEM-512 bits (pkcs8, buffer(86), ML-KEM-512, false, [decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey])-Pass Good parameters: ML-KEM-512 bits (raw-seed, buffer(64), {name: ML-KEM-512}, false, [decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey])-Pass Good parameters: ML-KEM-512 bits (raw-seed, buffer(64), ML-KEM-512, false, [decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey])+Fail Good parameters: ML-KEM-512 bits (pkcs8, buffer(86), {name: ML-KEM-512}, false, [decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey])+Fail Good parameters: ML-KEM-512 bits (pkcs8, buffer(86), ML-KEM-512, false, [decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey])+Fail Good parameters: ML-KEM-512 bits (jwk, object(priv, kty, alg, pub), {name: ML-KEM-512}, false, [decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey])+Fail Good parameters: ML-KEM-512 bits (jwk, object(priv, kty, alg, pub), ML-KEM-512, false, [decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey])+Fail Good parameters: ML-KEM-512 bits (raw-seed, buffer(64), {name: ML-KEM-512}, false, [decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey])+Fail Good parameters: ML-KEM-512 bits (raw-seed, buffer(64), ML-KEM-512, false, [decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey])Pass Good parameters: ML-KEM-768 bits (spki, buffer(1206), {name: ML-KEM-768}, true, [encapsulateBits])Pass Good parameters: ML-KEM-768 bits (spki, buffer(1206), ML-KEM-768, true, [encapsulateBits])+Fail Good parameters: ML-KEM-768 bits (jwk, object(kty, alg, pub), {name: ML-KEM-768}, true, [encapsulateBits])+Fail Good parameters: ML-KEM-768 bits (jwk, object(kty, alg, pub), ML-KEM-768, true, [encapsulateBits])Pass Good parameters: ML-KEM-768 bits (raw-public, buffer(1184), {name: ML-KEM-768}, true, [encapsulateBits])Pass Good parameters: ML-KEM-768 bits (raw-public, buffer(1184), ML-KEM-768, true, [encapsulateBits])Pass Good parameters: ML-KEM-768 bits (spki, buffer(1206), {name: ML-KEM-768}, true, [encapsulateKey, encapsulateBits])Pass Good parameters: ML-KEM-768 bits (spki, buffer(1206), ML-KEM-768, true, [encapsulateKey, encapsulateBits])+Fail Good parameters: ML-KEM-768 bits (jwk, object(kty, alg, pub), {name: ML-KEM-768}, true, [encapsulateKey, encapsulateBits])+Fail Good parameters: ML-KEM-768 bits (jwk, object(kty, alg, pub), ML-KEM-768, true, [encapsulateKey, encapsulateBits])Pass Good parameters: ML-KEM-768 bits (raw-public, buffer(1184), {name: ML-KEM-768}, true, [encapsulateKey, encapsulateBits])Pass Good parameters: ML-KEM-768 bits (raw-public, buffer(1184), ML-KEM-768, true, [encapsulateKey, encapsulateBits])Pass Good parameters: ML-KEM-768 bits (spki, buffer(1206), {name: ML-KEM-768}, true, [encapsulateKey])Pass Good parameters: ML-KEM-768 bits (spki, buffer(1206), ML-KEM-768, true, [encapsulateKey])+Fail Good parameters: ML-KEM-768 bits (jwk, object(kty, alg, pub), {name: ML-KEM-768}, true, [encapsulateKey])+Fail Good parameters: ML-KEM-768 bits (jwk, object(kty, alg, pub), ML-KEM-768, true, [encapsulateKey])Pass Good parameters: ML-KEM-768 bits (raw-public, buffer(1184), {name: ML-KEM-768}, true, [encapsulateKey])Pass Good parameters: ML-KEM-768 bits (raw-public, buffer(1184), ML-KEM-768, true, [encapsulateKey])Pass Good parameters: ML-KEM-768 bits (spki, buffer(1206), {name: ML-KEM-768}, true, [])Pass Good parameters: ML-KEM-768 bits (spki, buffer(1206), ML-KEM-768, true, [])+Fail Good parameters: ML-KEM-768 bits (jwk, object(kty, alg, pub), {name: ML-KEM-768}, true, [])+Fail Good parameters: ML-KEM-768 bits (jwk, object(kty, alg, pub), ML-KEM-768, true, [])Pass Good parameters: ML-KEM-768 bits (raw-public, buffer(1184), {name: ML-KEM-768}, true, [])Pass Good parameters: ML-KEM-768 bits (raw-public, buffer(1184), ML-KEM-768, true, [])-Pass Good parameters: ML-KEM-768 bits (spki, buffer(1206), {name: ML-KEM-768}, true, [encapsulateBits, encapsulateKey, encapsulateBits, encapsulateKey])-Pass Good parameters: ML-KEM-768 bits (spki, buffer(1206), ML-KEM-768, true, [encapsulateBits, encapsulateKey, encapsulateBits, encapsulateKey])-Pass Good parameters: ML-KEM-768 bits (raw-public, buffer(1184), {name: ML-KEM-768}, true, [encapsulateBits, encapsulateKey, encapsulateBits, encapsulateKey])-Pass Good parameters: ML-KEM-768 bits (raw-public, buffer(1184), ML-KEM-768, true, [encapsulateBits, encapsulateKey, encapsulateBits, encapsulateKey])+Fail Good parameters: ML-KEM-768 bits (spki, buffer(1206), {name: ML-KEM-768}, true, [encapsulateBits, encapsulateKey, encapsulateBits, encapsulateKey])+Fail Good parameters: ML-KEM-768 bits (spki, buffer(1206), ML-KEM-768, true, [encapsulateBits, encapsulateKey, encapsulateBits, encapsulateKey])+Fail Good parameters: ML-KEM-768 bits (jwk, object(kty, alg, pub), {name: ML-KEM-768}, true, [encapsulateBits, encapsulateKey, encapsulateBits, encapsulateKey])+Fail Good parameters: ML-KEM-768 bits (jwk, object(kty, alg, pub), ML-KEM-768, true, [encapsulateBits, encapsulateKey, encapsulateBits, encapsulateKey])+Fail Good parameters: ML-KEM-768 bits (raw-public, buffer(1184), {name: ML-KEM-768}, true, [encapsulateBits, encapsulateKey, encapsulateBits, encapsulateKey])+Fail Good parameters: ML-KEM-768 bits (raw-public, buffer(1184), ML-KEM-768, true, [encapsulateBits, encapsulateKey, encapsulateBits, encapsulateKey])Pass Good parameters: ML-KEM-768 bits (pkcs8, buffer(86), {name: ML-KEM-768}, true, [decapsulateBits])Pass Good parameters: ML-KEM-768 bits (pkcs8, buffer(86), ML-KEM-768, true, [decapsulateBits])+Fail Good parameters: ML-KEM-768 bits (jwk, object(priv, kty, alg, pub), {name: ML-KEM-768}, true, [decapsulateBits])+Fail Good parameters: ML-KEM-768 bits (jwk, object(priv, kty, alg, pub), ML-KEM-768, true, [decapsulateBits])Pass Good parameters: ML-KEM-768 bits (raw-seed, buffer(64), {name: ML-KEM-768}, true, [decapsulateBits])Pass Good parameters: ML-KEM-768 bits (raw-seed, buffer(64), ML-KEM-768, true, [decapsulateBits])Pass Good parameters: ML-KEM-768 bits (pkcs8, buffer(86), {name: ML-KEM-768}, true, [decapsulateKey, decapsulateBits])Pass Good parameters: ML-KEM-768 bits (pkcs8, buffer(86), ML-KEM-768, true, [decapsulateKey, decapsulateBits])+Fail Good parameters: ML-KEM-768 bits (jwk, object(priv, kty, alg, pub), {name: ML-KEM-768}, true, [decapsulateKey, decapsulateBits])+Fail Good parameters: ML-KEM-768 bits (jwk, object(priv, kty, alg, pub), ML-KEM-768, true, [decapsulateKey, decapsulateBits])Pass Good parameters: ML-KEM-768 bits (raw-seed, buffer(64), {name: ML-KEM-768}, true, [decapsulateKey, decapsulateBits])Pass Good parameters: ML-KEM-768 bits (raw-seed, buffer(64), ML-KEM-768, true, [decapsulateKey, decapsulateBits])Pass Good parameters: ML-KEM-768 bits (pkcs8, buffer(86), {name: ML-KEM-768}, true, [decapsulateKey])Pass Good parameters: ML-KEM-768 bits (pkcs8, buffer(86), ML-KEM-768, true, [decapsulateKey])+Fail Good parameters: ML-KEM-768 bits (jwk, object(priv, kty, alg, pub), {name: ML-KEM-768}, true, [decapsulateKey])+Fail Good parameters: ML-KEM-768 bits (jwk, object(priv, kty, alg, pub), ML-KEM-768, true, [decapsulateKey])Pass Good parameters: ML-KEM-768 bits (raw-seed, buffer(64), {name: ML-KEM-768}, true, [decapsulateKey])Pass Good parameters: ML-KEM-768 bits (raw-seed, buffer(64), ML-KEM-768, true, [decapsulateKey])-Pass Good parameters: ML-KEM-768 bits (pkcs8, buffer(86), {name: ML-KEM-768}, true, [decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey])-Pass Good parameters: ML-KEM-768 bits (pkcs8, buffer(86), ML-KEM-768, true, [decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey])-Pass Good parameters: ML-KEM-768 bits (raw-seed, buffer(64), {name: ML-KEM-768}, true, [decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey])-Pass Good parameters: ML-KEM-768 bits (raw-seed, buffer(64), ML-KEM-768, true, [decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey])+Fail Good parameters: ML-KEM-768 bits (pkcs8, buffer(86), {name: ML-KEM-768}, true, [decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey])+Fail Good parameters: ML-KEM-768 bits (pkcs8, buffer(86), ML-KEM-768, true, [decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey])+Fail Good parameters: ML-KEM-768 bits (jwk, object(priv, kty, alg, pub), {name: ML-KEM-768}, true, [decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey])+Fail Good parameters: ML-KEM-768 bits (jwk, object(priv, kty, alg, pub), ML-KEM-768, true, [decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey])+Fail Good parameters: ML-KEM-768 bits (raw-seed, buffer(64), {name: ML-KEM-768}, true, [decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey])+Fail Good parameters: ML-KEM-768 bits (raw-seed, buffer(64), ML-KEM-768, true, [decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey])Pass Good parameters: ML-KEM-768 bits (spki, buffer(1206), {name: ML-KEM-768}, false, [encapsulateBits])Pass Good parameters: ML-KEM-768 bits (spki, buffer(1206), ML-KEM-768, false, [encapsulateBits])+Fail Good parameters: ML-KEM-768 bits (jwk, object(kty, alg, pub), {name: ML-KEM-768}, false, [encapsulateBits])+Fail Good parameters: ML-KEM-768 bits (jwk, object(kty, alg, pub), ML-KEM-768, false, [encapsulateBits])Pass Good parameters: ML-KEM-768 bits (raw-public, buffer(1184), {name: ML-KEM-768}, false, [encapsulateBits])Pass Good parameters: ML-KEM-768 bits (raw-public, buffer(1184), ML-KEM-768, false, [encapsulateBits])Pass Good parameters: ML-KEM-768 bits (spki, buffer(1206), {name: ML-KEM-768}, false, [encapsulateKey, encapsulateBits])Pass Good parameters: ML-KEM-768 bits (spki, buffer(1206), ML-KEM-768, false, [encapsulateKey, encapsulateBits])+Fail Good parameters: ML-KEM-768 bits (jwk, object(kty, alg, pub), {name: ML-KEM-768}, false, [encapsulateKey, encapsulateBits])+Fail Good parameters: ML-KEM-768 bits (jwk, object(kty, alg, pub), ML-KEM-768, false, [encapsulateKey, encapsulateBits])Pass Good parameters: ML-KEM-768 bits (raw-public, buffer(1184), {name: ML-KEM-768}, false, [encapsulateKey, encapsulateBits])Pass Good parameters: ML-KEM-768 bits (raw-public, buffer(1184), ML-KEM-768, false, [encapsulateKey, encapsulateBits])Pass Good parameters: ML-KEM-768 bits (spki, buffer(1206), {name: ML-KEM-768}, false, [encapsulateKey])Pass Good parameters: ML-KEM-768 bits (spki, buffer(1206), ML-KEM-768, false, [encapsulateKey])+Fail Good parameters: ML-KEM-768 bits (jwk, object(kty, alg, pub), {name: ML-KEM-768}, false, [encapsulateKey])+Fail Good parameters: ML-KEM-768 bits (jwk, object(kty, alg, pub), ML-KEM-768, false, [encapsulateKey])Pass Good parameters: ML-KEM-768 bits (raw-public, buffer(1184), {name: ML-KEM-768}, false, [encapsulateKey])Pass Good parameters: ML-KEM-768 bits (raw-public, buffer(1184), ML-KEM-768, false, [encapsulateKey])Pass Good parameters: ML-KEM-768 bits (spki, buffer(1206), {name: ML-KEM-768}, false, [])Pass Good parameters: ML-KEM-768 bits (spki, buffer(1206), ML-KEM-768, false, [])+Fail Good parameters: ML-KEM-768 bits (jwk, object(kty, alg, pub), {name: ML-KEM-768}, false, [])+Fail Good parameters: ML-KEM-768 bits (jwk, object(kty, alg, pub), ML-KEM-768, false, [])Pass Good parameters: ML-KEM-768 bits (raw-public, buffer(1184), {name: ML-KEM-768}, false, [])Pass Good parameters: ML-KEM-768 bits (raw-public, buffer(1184), ML-KEM-768, false, [])-Pass Good parameters: ML-KEM-768 bits (spki, buffer(1206), {name: ML-KEM-768}, false, [encapsulateBits, encapsulateKey, encapsulateBits, encapsulateKey])-Pass Good parameters: ML-KEM-768 bits (spki, buffer(1206), ML-KEM-768, false, [encapsulateBits, encapsulateKey, encapsulateBits, encapsulateKey])-Pass Good parameters: ML-KEM-768 bits (raw-public, buffer(1184), {name: ML-KEM-768}, false, [encapsulateBits, encapsulateKey, encapsulateBits, encapsulateKey])-Pass Good parameters: ML-KEM-768 bits (raw-public, buffer(1184), ML-KEM-768, false, [encapsulateBits, encapsulateKey, encapsulateBits, encapsulateKey])+Fail Good parameters: ML-KEM-768 bits (spki, buffer(1206), {name: ML-KEM-768}, false, [encapsulateBits, encapsulateKey, encapsulateBits, encapsulateKey])+Fail Good parameters: ML-KEM-768 bits (spki, buffer(1206), ML-KEM-768, false, [encapsulateBits, encapsulateKey, encapsulateBits, encapsulateKey])+Fail Good parameters: ML-KEM-768 bits (jwk, object(kty, alg, pub), {name: ML-KEM-768}, false, [encapsulateBits, encapsulateKey, encapsulateBits, encapsulateKey])+Fail Good parameters: ML-KEM-768 bits (jwk, object(kty, alg, pub), ML-KEM-768, false, [encapsulateBits, encapsulateKey, encapsulateBits, encapsulateKey])+Fail Good parameters: ML-KEM-768 bits (raw-public, buffer(1184), {name: ML-KEM-768}, false, [encapsulateBits, encapsulateKey, encapsulateBits, encapsulateKey])+Fail Good parameters: ML-KEM-768 bits (raw-public, buffer(1184), ML-KEM-768, false, [encapsulateBits, encapsulateKey, encapsulateBits, encapsulateKey])Pass Good parameters: ML-KEM-768 bits (pkcs8, buffer(86), {name: ML-KEM-768}, false, [decapsulateBits])Pass Good parameters: ML-KEM-768 bits (pkcs8, buffer(86), ML-KEM-768, false, [decapsulateBits])+Fail Good parameters: ML-KEM-768 bits (jwk, object(priv, kty, alg, pub), {name: ML-KEM-768}, false, [decapsulateBits])+Fail Good parameters: ML-KEM-768 bits (jwk, object(priv, kty, alg, pub), ML-KEM-768, false, [decapsulateBits])Pass Good parameters: ML-KEM-768 bits (raw-seed, buffer(64), {name: ML-KEM-768}, false, [decapsulateBits])Pass Good parameters: ML-KEM-768 bits (raw-seed, buffer(64), ML-KEM-768, false, [decapsulateBits])Pass Good parameters: ML-KEM-768 bits (pkcs8, buffer(86), {name: ML-KEM-768}, false, [decapsulateKey, decapsulateBits])Pass Good parameters: ML-KEM-768 bits (pkcs8, buffer(86), ML-KEM-768, false, [decapsulateKey, decapsulateBits])+Fail Good parameters: ML-KEM-768 bits (jwk, object(priv, kty, alg, pub), {name: ML-KEM-768}, false, [decapsulateKey, decapsulateBits])+Fail Good parameters: ML-KEM-768 bits (jwk, object(priv, kty, alg, pub), ML-KEM-768, false, [decapsulateKey, decapsulateBits])Pass Good parameters: ML-KEM-768 bits (raw-seed, buffer(64), {name: ML-KEM-768}, false, [decapsulateKey, decapsulateBits])Pass Good parameters: ML-KEM-768 bits (raw-seed, buffer(64), ML-KEM-768, false, [decapsulateKey, decapsulateBits])Pass Good parameters: ML-KEM-768 bits (pkcs8, buffer(86), {name: ML-KEM-768}, false, [decapsulateKey])Pass Good parameters: ML-KEM-768 bits (pkcs8, buffer(86), ML-KEM-768, false, [decapsulateKey])+Fail Good parameters: ML-KEM-768 bits (jwk, object(priv, kty, alg, pub), {name: ML-KEM-768}, false, [decapsulateKey])+Fail Good parameters: ML-KEM-768 bits (jwk, object(priv, kty, alg, pub), ML-KEM-768, false, [decapsulateKey])Pass Good parameters: ML-KEM-768 bits (raw-seed, buffer(64), {name: ML-KEM-768}, false, [decapsulateKey])Pass Good parameters: ML-KEM-768 bits (raw-seed, buffer(64), ML-KEM-768, false, [decapsulateKey])-Pass Good parameters: ML-KEM-768 bits (pkcs8, buffer(86), {name: ML-KEM-768}, false, [decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey])-Pass Good parameters: ML-KEM-768 bits (pkcs8, buffer(86), ML-KEM-768, false, [decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey])-Pass Good parameters: ML-KEM-768 bits (raw-seed, buffer(64), {name: ML-KEM-768}, false, [decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey])-Pass Good parameters: ML-KEM-768 bits (raw-seed, buffer(64), ML-KEM-768, false, [decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey])+Fail Good parameters: ML-KEM-768 bits (pkcs8, buffer(86), {name: ML-KEM-768}, false, [decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey])+Fail Good parameters: ML-KEM-768 bits (pkcs8, buffer(86), ML-KEM-768, false, [decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey])+Fail Good parameters: ML-KEM-768 bits (jwk, object(priv, kty, alg, pub), {name: ML-KEM-768}, false, [decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey])+Fail Good parameters: ML-KEM-768 bits (jwk, object(priv, kty, alg, pub), ML-KEM-768, false, [decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey])+Fail Good parameters: ML-KEM-768 bits (raw-seed, buffer(64), {name: ML-KEM-768}, false, [decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey])+Fail Good parameters: ML-KEM-768 bits (raw-seed, buffer(64), ML-KEM-768, false, [decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey])Pass Good parameters: ML-KEM-1024 bits (spki, buffer(1590), {name: ML-KEM-1024}, true, [encapsulateBits])Pass Good parameters: ML-KEM-1024 bits (spki, buffer(1590), ML-KEM-1024, true, [encapsulateBits])+Fail Good parameters: ML-KEM-1024 bits (jwk, object(kty, alg, pub), {name: ML-KEM-1024}, true, [encapsulateBits])+Fail Good parameters: ML-KEM-1024 bits (jwk, object(kty, alg, pub), ML-KEM-1024, true, [encapsulateBits])Pass Good parameters: ML-KEM-1024 bits (raw-public, buffer(1568), {name: ML-KEM-1024}, true, [encapsulateBits])Pass Good parameters: ML-KEM-1024 bits (raw-public, buffer(1568), ML-KEM-1024, true, [encapsulateBits])Pass Good parameters: ML-KEM-1024 bits (spki, buffer(1590), {name: ML-KEM-1024}, true, [encapsulateKey, encapsulateBits])Pass Good parameters: ML-KEM-1024 bits (spki, buffer(1590), ML-KEM-1024, true, [encapsulateKey, encapsulateBits])+Fail Good parameters: ML-KEM-1024 bits (jwk, object(kty, alg, pub), {name: ML-KEM-1024}, true, [encapsulateKey, encapsulateBits])+Fail Good parameters: ML-KEM-1024 bits (jwk, object(kty, alg, pub), ML-KEM-1024, true, [encapsulateKey, encapsulateBits])Pass Good parameters: ML-KEM-1024 bits (raw-public, buffer(1568), {name: ML-KEM-1024}, true, [encapsulateKey, encapsulateBits])Pass Good parameters: ML-KEM-1024 bits (raw-public, buffer(1568), ML-KEM-1024, true, [encapsulateKey, encapsulateBits])Pass Good parameters: ML-KEM-1024 bits (spki, buffer(1590), {name: ML-KEM-1024}, true, [encapsulateKey])Pass Good parameters: ML-KEM-1024 bits (spki, buffer(1590), ML-KEM-1024, true, [encapsulateKey])+Fail Good parameters: ML-KEM-1024 bits (jwk, object(kty, alg, pub), {name: ML-KEM-1024}, true, [encapsulateKey])+Fail Good parameters: ML-KEM-1024 bits (jwk, object(kty, alg, pub), ML-KEM-1024, true, [encapsulateKey])Pass Good parameters: ML-KEM-1024 bits (raw-public, buffer(1568), {name: ML-KEM-1024}, true, [encapsulateKey])Pass Good parameters: ML-KEM-1024 bits (raw-public, buffer(1568), ML-KEM-1024, true, [encapsulateKey])Pass Good parameters: ML-KEM-1024 bits (spki, buffer(1590), {name: ML-KEM-1024}, true, [])Pass Good parameters: ML-KEM-1024 bits (spki, buffer(1590), ML-KEM-1024, true, [])+Fail Good parameters: ML-KEM-1024 bits (jwk, object(kty, alg, pub), {name: ML-KEM-1024}, true, [])+Fail Good parameters: ML-KEM-1024 bits (jwk, object(kty, alg, pub), ML-KEM-1024, true, [])Pass Good parameters: ML-KEM-1024 bits (raw-public, buffer(1568), {name: ML-KEM-1024}, true, [])Pass Good parameters: ML-KEM-1024 bits (raw-public, buffer(1568), ML-KEM-1024, true, [])-Pass Good parameters: ML-KEM-1024 bits (spki, buffer(1590), {name: ML-KEM-1024}, true, [encapsulateBits, encapsulateKey, encapsulateBits, encapsulateKey])-Pass Good parameters: ML-KEM-1024 bits (spki, buffer(1590), ML-KEM-1024, true, [encapsulateBits, encapsulateKey, encapsulateBits, encapsulateKey])-Pass Good parameters: ML-KEM-1024 bits (raw-public, buffer(1568), {name: ML-KEM-1024}, true, [encapsulateBits, encapsulateKey, encapsulateBits, encapsulateKey])-Pass Good parameters: ML-KEM-1024 bits (raw-public, buffer(1568), ML-KEM-1024, true, [encapsulateBits, encapsulateKey, encapsulateBits, encapsulateKey])+Fail Good parameters: ML-KEM-1024 bits (spki, buffer(1590), {name: ML-KEM-1024}, true, [encapsulateBits, encapsulateKey, encapsulateBits, encapsulateKey])+Fail Good parameters: ML-KEM-1024 bits (spki, buffer(1590), ML-KEM-1024, true, [encapsulateBits, encapsulateKey, encapsulateBits, encapsulateKey])+Fail Good parameters: ML-KEM-1024 bits (jwk, object(kty, alg, pub), {name: ML-KEM-1024}, true, [encapsulateBits, encapsulateKey, encapsulateBits, encapsulateKey])+Fail Good parameters: ML-KEM-1024 bits (jwk, object(kty, alg, pub), ML-KEM-1024, true, [encapsulateBits, encapsulateKey, encapsulateBits, encapsulateKey])+Fail Good parameters: ML-KEM-1024 bits (raw-public, buffer(1568), {name: ML-KEM-1024}, true, [encapsulateBits, encapsulateKey, encapsulateBits, encapsulateKey])+Fail Good parameters: ML-KEM-1024 bits (raw-public, buffer(1568), ML-KEM-1024, true, [encapsulateBits, encapsulateKey, encapsulateBits, encapsulateKey])Pass Good parameters: ML-KEM-1024 bits (pkcs8, buffer(86), {name: ML-KEM-1024}, true, [decapsulateBits])Pass Good parameters: ML-KEM-1024 bits (pkcs8, buffer(86), ML-KEM-1024, true, [decapsulateBits])+Fail Good parameters: ML-KEM-1024 bits (jwk, object(priv, kty, alg, pub), {name: ML-KEM-1024}, true, [decapsulateBits])+Fail Good parameters: ML-KEM-1024 bits (jwk, object(priv, kty, alg, pub), ML-KEM-1024, true, [decapsulateBits])Pass Good parameters: ML-KEM-1024 bits (raw-seed, buffer(64), {name: ML-KEM-1024}, true, [decapsulateBits])Pass Good parameters: ML-KEM-1024 bits (raw-seed, buffer(64), ML-KEM-1024, true, [decapsulateBits])Pass Good parameters: ML-KEM-1024 bits (pkcs8, buffer(86), {name: ML-KEM-1024}, true, [decapsulateKey, decapsulateBits])Pass Good parameters: ML-KEM-1024 bits (pkcs8, buffer(86), ML-KEM-1024, true, [decapsulateKey, decapsulateBits])+Fail Good parameters: ML-KEM-1024 bits (jwk, object(priv, kty, alg, pub), {name: ML-KEM-1024}, true, [decapsulateKey, decapsulateBits])+Fail Good parameters: ML-KEM-1024 bits (jwk, object(priv, kty, alg, pub), ML-KEM-1024, true, [decapsulateKey, decapsulateBits])Pass Good parameters: ML-KEM-1024 bits (raw-seed, buffer(64), {name: ML-KEM-1024}, true, [decapsulateKey, decapsulateBits])Pass Good parameters: ML-KEM-1024 bits (raw-seed, buffer(64), ML-KEM-1024, true, [decapsulateKey, decapsulateBits])Pass Good parameters: ML-KEM-1024 bits (pkcs8, buffer(86), {name: ML-KEM-1024}, true, [decapsulateKey])Pass Good parameters: ML-KEM-1024 bits (pkcs8, buffer(86), ML-KEM-1024, true, [decapsulateKey])+Fail Good parameters: ML-KEM-1024 bits (jwk, object(priv, kty, alg, pub), {name: ML-KEM-1024}, true, [decapsulateKey])+Fail Good parameters: ML-KEM-1024 bits (jwk, object(priv, kty, alg, pub), ML-KEM-1024, true, [decapsulateKey])Pass Good parameters: ML-KEM-1024 bits (raw-seed, buffer(64), {name: ML-KEM-1024}, true, [decapsulateKey])Pass Good parameters: ML-KEM-1024 bits (raw-seed, buffer(64), ML-KEM-1024, true, [decapsulateKey])-Pass Good parameters: ML-KEM-1024 bits (pkcs8, buffer(86), {name: ML-KEM-1024}, true, [decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey])-Pass Good parameters: ML-KEM-1024 bits (pkcs8, buffer(86), ML-KEM-1024, true, [decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey])-Pass Good parameters: ML-KEM-1024 bits (raw-seed, buffer(64), {name: ML-KEM-1024}, true, [decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey])-Pass Good parameters: ML-KEM-1024 bits (raw-seed, buffer(64), ML-KEM-1024, true, [decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey])+Fail Good parameters: ML-KEM-1024 bits (pkcs8, buffer(86), {name: ML-KEM-1024}, true, [decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey])+Fail Good parameters: ML-KEM-1024 bits (pkcs8, buffer(86), ML-KEM-1024, true, [decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey])+Fail Good parameters: ML-KEM-1024 bits (jwk, object(priv, kty, alg, pub), {name: ML-KEM-1024}, true, [decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey])+Fail Good parameters: ML-KEM-1024 bits (jwk, object(priv, kty, alg, pub), ML-KEM-1024, true, [decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey])+Fail Good parameters: ML-KEM-1024 bits (raw-seed, buffer(64), {name: ML-KEM-1024}, true, [decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey])+Fail Good parameters: ML-KEM-1024 bits (raw-seed, buffer(64), ML-KEM-1024, true, [decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey])Pass Good parameters: ML-KEM-1024 bits (spki, buffer(1590), {name: ML-KEM-1024}, false, [encapsulateBits])Pass Good parameters: ML-KEM-1024 bits (spki, buffer(1590), ML-KEM-1024, false, [encapsulateBits])+Fail Good parameters: ML-KEM-1024 bits (jwk, object(kty, alg, pub), {name: ML-KEM-1024}, false, [encapsulateBits])+Fail Good parameters: ML-KEM-1024 bits (jwk, object(kty, alg, pub), ML-KEM-1024, false, [encapsulateBits])Pass Good parameters: ML-KEM-1024 bits (raw-public, buffer(1568), {name: ML-KEM-1024}, false, [encapsulateBits])Pass Good parameters: ML-KEM-1024 bits (raw-public, buffer(1568), ML-KEM-1024, false, [encapsulateBits])Pass Good parameters: ML-KEM-1024 bits (spki, buffer(1590), {name: ML-KEM-1024}, false, [encapsulateKey, encapsulateBits])Pass Good parameters: ML-KEM-1024 bits (spki, buffer(1590), ML-KEM-1024, false, [encapsulateKey, encapsulateBits])+Fail Good parameters: ML-KEM-1024 bits (jwk, object(kty, alg, pub), {name: ML-KEM-1024}, false, [encapsulateKey, encapsulateBits])+Fail Good parameters: ML-KEM-1024 bits (jwk, object(kty, alg, pub), ML-KEM-1024, false, [encapsulateKey, encapsulateBits])Pass Good parameters: ML-KEM-1024 bits (raw-public, buffer(1568), {name: ML-KEM-1024}, false, [encapsulateKey, encapsulateBits])Pass Good parameters: ML-KEM-1024 bits (raw-public, buffer(1568), ML-KEM-1024, false, [encapsulateKey, encapsulateBits])Pass Good parameters: ML-KEM-1024 bits (spki, buffer(1590), {name: ML-KEM-1024}, false, [encapsulateKey])Pass Good parameters: ML-KEM-1024 bits (spki, buffer(1590), ML-KEM-1024, false, [encapsulateKey])+Fail Good parameters: ML-KEM-1024 bits (jwk, object(kty, alg, pub), {name: ML-KEM-1024}, false, [encapsulateKey])+Fail Good parameters: ML-KEM-1024 bits (jwk, object(kty, alg, pub), ML-KEM-1024, false, [encapsulateKey])Pass Good parameters: ML-KEM-1024 bits (raw-public, buffer(1568), {name: ML-KEM-1024}, false, [encapsulateKey])Pass Good parameters: ML-KEM-1024 bits (raw-public, buffer(1568), ML-KEM-1024, false, [encapsulateKey])Pass Good parameters: ML-KEM-1024 bits (spki, buffer(1590), {name: ML-KEM-1024}, false, [])Pass Good parameters: ML-KEM-1024 bits (spki, buffer(1590), ML-KEM-1024, false, [])+Fail Good parameters: ML-KEM-1024 bits (jwk, object(kty, alg, pub), {name: ML-KEM-1024}, false, [])+Fail Good parameters: ML-KEM-1024 bits (jwk, object(kty, alg, pub), ML-KEM-1024, false, [])Pass Good parameters: ML-KEM-1024 bits (raw-public, buffer(1568), {name: ML-KEM-1024}, false, [])Pass Good parameters: ML-KEM-1024 bits (raw-public, buffer(1568), ML-KEM-1024, false, [])-Pass Good parameters: ML-KEM-1024 bits (spki, buffer(1590), {name: ML-KEM-1024}, false, [encapsulateBits, encapsulateKey, encapsulateBits, encapsulateKey])-Pass Good parameters: ML-KEM-1024 bits (spki, buffer(1590), ML-KEM-1024, false, [encapsulateBits, encapsulateKey, encapsulateBits, encapsulateKey])-Pass Good parameters: ML-KEM-1024 bits (raw-public, buffer(1568), {name: ML-KEM-1024}, false, [encapsulateBits, encapsulateKey, encapsulateBits, encapsulateKey])-Pass Good parameters: ML-KEM-1024 bits (raw-public, buffer(1568), ML-KEM-1024, false, [encapsulateBits, encapsulateKey, encapsulateBits, encapsulateKey])+Fail Good parameters: ML-KEM-1024 bits (spki, buffer(1590), {name: ML-KEM-1024}, false, [encapsulateBits, encapsulateKey, encapsulateBits, encapsulateKey])+Fail Good parameters: ML-KEM-1024 bits (spki, buffer(1590), ML-KEM-1024, false, [encapsulateBits, encapsulateKey, encapsulateBits, encapsulateKey])+Fail Good parameters: ML-KEM-1024 bits (jwk, object(kty, alg, pub), {name: ML-KEM-1024}, false, [encapsulateBits, encapsulateKey, encapsulateBits, encapsulateKey])+Fail Good parameters: ML-KEM-1024 bits (jwk, object(kty, alg, pub), ML-KEM-1024, false, [encapsulateBits, encapsulateKey, encapsulateBits, encapsulateKey])+Fail Good parameters: ML-KEM-1024 bits (raw-public, buffer(1568), {name: ML-KEM-1024}, false, [encapsulateBits, encapsulateKey, encapsulateBits, encapsulateKey])+Fail Good parameters: ML-KEM-1024 bits (raw-public, buffer(1568), ML-KEM-1024, false, [encapsulateBits, encapsulateKey, encapsulateBits, encapsulateKey])Pass Good parameters: ML-KEM-1024 bits (pkcs8, buffer(86), {name: ML-KEM-1024}, false, [decapsulateBits])Pass Good parameters: ML-KEM-1024 bits (pkcs8, buffer(86), ML-KEM-1024, false, [decapsulateBits])+Fail Good parameters: ML-KEM-1024 bits (jwk, object(priv, kty, alg, pub), {name: ML-KEM-1024}, false, [decapsulateBits])+Fail Good parameters: ML-KEM-1024 bits (jwk, object(priv, kty, alg, pub), ML-KEM-1024, false, [decapsulateBits])Pass Good parameters: ML-KEM-1024 bits (raw-seed, buffer(64), {name: ML-KEM-1024}, false, [decapsulateBits])Pass Good parameters: ML-KEM-1024 bits (raw-seed, buffer(64), ML-KEM-1024, false, [decapsulateBits])Pass Good parameters: ML-KEM-1024 bits (pkcs8, buffer(86), {name: ML-KEM-1024}, false, [decapsulateKey, decapsulateBits])Pass Good parameters: ML-KEM-1024 bits (pkcs8, buffer(86), ML-KEM-1024, false, [decapsulateKey, decapsulateBits])+Fail Good parameters: ML-KEM-1024 bits (jwk, object(priv, kty, alg, pub), {name: ML-KEM-1024}, false, [decapsulateKey, decapsulateBits])+Fail Good parameters: ML-KEM-1024 bits (jwk, object(priv, kty, alg, pub), ML-KEM-1024, false, [decapsulateKey, decapsulateBits])Pass Good parameters: ML-KEM-1024 bits (raw-seed, buffer(64), {name: ML-KEM-1024}, false, [decapsulateKey, decapsulateBits])Pass Good parameters: ML-KEM-1024 bits (raw-seed, buffer(64), ML-KEM-1024, false, [decapsulateKey, decapsulateBits])Pass Good parameters: ML-KEM-1024 bits (pkcs8, buffer(86), {name: ML-KEM-1024}, false, [decapsulateKey])Pass Good parameters: ML-KEM-1024 bits (pkcs8, buffer(86), ML-KEM-1024, false, [decapsulateKey])+Fail Good parameters: ML-KEM-1024 bits (jwk, object(priv, kty, alg, pub), {name: ML-KEM-1024}, false, [decapsulateKey])+Fail Good parameters: ML-KEM-1024 bits (jwk, object(priv, kty, alg, pub), ML-KEM-1024, false, [decapsulateKey])Pass Good parameters: ML-KEM-1024 bits (raw-seed, buffer(64), {name: ML-KEM-1024}, false, [decapsulateKey])Pass Good parameters: ML-KEM-1024 bits (raw-seed, buffer(64), ML-KEM-1024, false, [decapsulateKey])-Pass Good parameters: ML-KEM-1024 bits (pkcs8, buffer(86), {name: ML-KEM-1024}, false, [decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey])-Pass Good parameters: ML-KEM-1024 bits (pkcs8, buffer(86), ML-KEM-1024, false, [decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey])-Pass Good parameters: ML-KEM-1024 bits (raw-seed, buffer(64), {name: ML-KEM-1024}, false, [decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey])-Pass Good parameters: ML-KEM-1024 bits (raw-seed, buffer(64), ML-KEM-1024, false, [decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey])\ No newline at end of file+Fail Good parameters: ML-KEM-1024 bits (pkcs8, buffer(86), {name: ML-KEM-1024}, false, [decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey])+Fail Good parameters: ML-KEM-1024 bits (pkcs8, buffer(86), ML-KEM-1024, false, [decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey])+Fail Good parameters: ML-KEM-1024 bits (jwk, object(priv, kty, alg, pub), {name: ML-KEM-1024}, false, [decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey])+Fail Good parameters: ML-KEM-1024 bits (jwk, object(priv, kty, alg, pub), ML-KEM-1024, false, [decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey])+Fail Good parameters: ML-KEM-1024 bits (raw-seed, buffer(64), {name: ML-KEM-1024}, false, [decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey])+Fail Good parameters: ML-KEM-1024 bits (raw-seed, buffer(64), ML-KEM-1024, false, [decapsulateBits, decapsulateKey, decapsulateBits, decapsulateKey])\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/import_export/raw_format_aliases.tentative.https.any.txt b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/modern-algos/import_export/raw_format_aliases.https.any.txtsimilarity index 100%rename from Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/import_export/raw_format_aliases.tentative.https.any.txtrename to Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/modern-algos/import_export/raw_format_aliases.https.any.txtdiff --git a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/serialization/aes-ocb.tentative.https.any.txt b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/modern-algos/serialization/aes-ocb.https.any.txtsimilarity index 100%rename from Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/serialization/aes-ocb.tentative.https.any.txtrename to Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/modern-algos/serialization/aes-ocb.https.any.txtdiff --git a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/serialization/chacha20-poly1305.tentative.https.any.txt b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/modern-algos/serialization/chacha20-poly1305.https.any.txtsimilarity index 100%rename from Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/serialization/chacha20-poly1305.tentative.https.any.txtrename to Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/modern-algos/serialization/chacha20-poly1305.https.any.txtdiff --git a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/serialization/kmac.tentative.https.any.txt b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/modern-algos/serialization/kmac.https.any.txtsimilarity index 100%rename from Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/serialization/kmac.tentative.https.any.txtrename to Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/modern-algos/serialization/kmac.https.any.txtdiff --git a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/serialization/mldsa.tentative.https.any.txt b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/modern-algos/serialization/mldsa.https.any.txtsimilarity index 100%rename from Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/serialization/mldsa.tentative.https.any.txtrename to Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/modern-algos/serialization/mldsa.https.any.txtdiff --git a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/serialization/mlkem.tentative.https.any.txt b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/modern-algos/serialization/mlkem.https.any.txtsimilarity index 100%rename from Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/serialization/mlkem.tentative.https.any.txtrename to Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/modern-algos/serialization/mlkem.https.any.txtdiff --git a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/sign_verify/kmac.tentative.https.any.txt b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/modern-algos/sign_verify/kmac.https.any.txtsimilarity index 100%rename from Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/sign_verify/kmac.tentative.https.any.txtrename to Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/modern-algos/sign_verify/kmac.https.any.txtdiff --git a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/sign_verify/mldsa.tentative.https.any.txt b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/modern-algos/sign_verify/mldsa.https.any.txtsimilarity index 97%rename from Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/sign_verify/mldsa.tentative.https.any.txtrename to Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/modern-algos/sign_verify/mldsa.https.any.txtindex c0d520bcd61..1ab5932804f 100644--- a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/sign_verify/mldsa.tentative.https.any.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/modern-algos/sign_verify/mldsa.https.any.txt@@ -1,62 +1,61 @@Harness status: OK-Found 58 tests+Found 57 tests-58 Pass-Pass setup+57 PassPass ML-DSA-44 basic test verification-Pass ML-DSA-65 basic test verification-Pass ML-DSA-87 basic test verificationPass ML-DSA-44 basic test verification with altered signature during call-Pass ML-DSA-65 basic test verification with altered signature during call-Pass ML-DSA-87 basic test verification with altered signature during callPass ML-DSA-44 basic test verification with altered signature after call-Pass ML-DSA-65 basic test verification with altered signature after call-Pass ML-DSA-87 basic test verification with altered signature after callPass ML-DSA-44 basic test verification with transferred signature during call-Pass ML-DSA-65 basic test verification with transferred signature during call-Pass ML-DSA-87 basic test verification with transferred signature during callPass ML-DSA-44 basic test verification with transferred signature after call-Pass ML-DSA-65 basic test verification with transferred signature after call-Pass ML-DSA-87 basic test verification with transferred signature after callPass ML-DSA-44 basic test with altered plaintext during call-Pass ML-DSA-65 basic test with altered plaintext during call-Pass ML-DSA-87 basic test with altered plaintext during callPass ML-DSA-44 basic test with altered plaintext after call-Pass ML-DSA-65 basic test with altered plaintext after call-Pass ML-DSA-87 basic test with altered plaintext after callPass ML-DSA-44 basic test with transferred plaintext during call-Pass ML-DSA-65 basic test with transferred plaintext during call-Pass ML-DSA-87 basic test with transferred plaintext during callPass ML-DSA-44 basic test with transferred plaintext after call-Pass ML-DSA-65 basic test with transferred plaintext after call-Pass ML-DSA-87 basic test with transferred plaintext after callPass ML-DSA-44 basic test using privateKey to verify-Pass ML-DSA-65 basic test using privateKey to verify-Pass ML-DSA-87 basic test using privateKey to verifyPass ML-DSA-44 basic test using publicKey to sign-Pass ML-DSA-65 basic test using publicKey to sign-Pass ML-DSA-87 basic test using publicKey to signPass ML-DSA-44 basic test no verify usage-Pass ML-DSA-65 basic test no verify usage-Pass ML-DSA-87 basic test no verify usagePass ML-DSA-44 basic test round trip-Pass ML-DSA-65 basic test round trip-Pass ML-DSA-87 basic test round tripPass ML-DSA-44 basic test signing with wrong algorithm name-Pass ML-DSA-65 basic test signing with wrong algorithm name-Pass ML-DSA-87 basic test signing with wrong algorithm namePass ML-DSA-44 basic test verifying with wrong algorithm name-Pass ML-DSA-65 basic test verifying with wrong algorithm name-Pass ML-DSA-87 basic test verifying with wrong algorithm namePass ML-DSA-44 basic test verification failure due to altered signature-Pass ML-DSA-65 basic test verification failure due to altered signature-Pass ML-DSA-87 basic test verification failure due to altered signaturePass ML-DSA-44 basic test verification failure due to shortened signature-Pass ML-DSA-65 basic test verification failure due to shortened signature-Pass ML-DSA-87 basic test verification failure due to shortened signaturePass ML-DSA-44 basic test verification failure due to altered plaintext+Pass ML-DSA-65 basic test verification+Pass ML-DSA-65 basic test verification with altered signature during call+Pass ML-DSA-65 basic test verification with altered signature after call+Pass ML-DSA-65 basic test verification with transferred signature during call+Pass ML-DSA-65 basic test verification with transferred signature after call+Pass ML-DSA-65 basic test with altered plaintext during call+Pass ML-DSA-65 basic test with altered plaintext after call+Pass ML-DSA-65 basic test with transferred plaintext during call+Pass ML-DSA-65 basic test with transferred plaintext after call+Pass ML-DSA-65 basic test using privateKey to verify+Pass ML-DSA-65 basic test using publicKey to sign+Pass ML-DSA-65 basic test no verify usage+Pass ML-DSA-65 basic test round trip+Pass ML-DSA-65 basic test signing with wrong algorithm name+Pass ML-DSA-65 basic test verifying with wrong algorithm name+Pass ML-DSA-65 basic test verification failure due to altered signature+Pass ML-DSA-65 basic test verification failure due to shortened signaturePass ML-DSA-65 basic test verification failure due to altered plaintext+Pass ML-DSA-87 basic test verification+Pass ML-DSA-87 basic test verification with altered signature during call+Pass ML-DSA-87 basic test verification with altered signature after call+Pass ML-DSA-87 basic test verification with transferred signature during call+Pass ML-DSA-87 basic test verification with transferred signature after call+Pass ML-DSA-87 basic test with altered plaintext during call+Pass ML-DSA-87 basic test with altered plaintext after call+Pass ML-DSA-87 basic test with transferred plaintext during call+Pass ML-DSA-87 basic test with transferred plaintext after call+Pass ML-DSA-87 basic test using privateKey to verify+Pass ML-DSA-87 basic test using publicKey to sign+Pass ML-DSA-87 basic test no verify usage+Pass ML-DSA-87 basic test round trip+Pass ML-DSA-87 basic test signing with wrong algorithm name+Pass ML-DSA-87 basic test verifying with wrong algorithm name+Pass ML-DSA-87 basic test verification failure due to altered signature+Pass ML-DSA-87 basic test verification failure due to shortened signaturePass ML-DSA-87 basic test verification failure due to altered plaintextPass ML-DSA-44 invalid signature verificationPass ML-DSA-65 invalid signature verificationdiff --git a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/derive_bits_keys/cfrg_curves_bits_curve448.tentative.https.any.txt b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/secure-curves/derive_bits_keys/cfrg_curves_bits_curve448.https.any.txtsimilarity index 100%rename from Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/derive_bits_keys/cfrg_curves_bits_curve448.tentative.https.any.txtrename to Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/secure-curves/derive_bits_keys/cfrg_curves_bits_curve448.https.any.txtdiff --git a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/secure-curves/generateKey/failures_Ed448.https.any.txt b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/secure-curves/generateKey/failures_Ed448.https.any.txtnew file mode 100644index 00000000000..4c3c7468c7d--- /dev/null+++ b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/secure-curves/generateKey/failures_Ed448.https.any.txt@@ -0,0 +1,89 @@+Harness status: OK++Found 84 tests++84 Pass+Pass Bad usages: generateKey(Ed448, true, [encrypt])+Pass Bad usages: generateKey(Ed448, true, [sign, encrypt])+Pass Bad usages: generateKey(Ed448, true, [verify, sign, encrypt])+Pass Bad usages: generateKey(Ed448, true, [sign, verify, sign, sign, verify, encrypt])+Pass Bad usages: generateKey(Ed448, true, [decrypt])+Pass Bad usages: generateKey(Ed448, true, [sign, decrypt])+Pass Bad usages: generateKey(Ed448, true, [verify, sign, decrypt])+Pass Bad usages: generateKey(Ed448, true, [sign, verify, sign, sign, verify, decrypt])+Pass Bad usages: generateKey(Ed448, true, [wrapKey])+Pass Bad usages: generateKey(Ed448, true, [sign, wrapKey])+Pass Bad usages: generateKey(Ed448, true, [verify, sign, wrapKey])+Pass Bad usages: generateKey(Ed448, true, [sign, verify, sign, sign, verify, wrapKey])+Pass Bad usages: generateKey(Ed448, true, [unwrapKey])+Pass Bad usages: generateKey(Ed448, true, [sign, unwrapKey])+Pass Bad usages: generateKey(Ed448, true, [verify, sign, unwrapKey])+Pass Bad usages: generateKey(Ed448, true, [sign, verify, sign, sign, verify, unwrapKey])+Pass Bad usages: generateKey(Ed448, true, [deriveKey])+Pass Bad usages: generateKey(Ed448, true, [sign, deriveKey])+Pass Bad usages: generateKey(Ed448, true, [verify, sign, deriveKey])+Pass Bad usages: generateKey(Ed448, true, [sign, verify, sign, sign, verify, deriveKey])+Pass Bad usages: generateKey(Ed448, true, [deriveBits])+Pass Bad usages: generateKey(Ed448, true, [sign, deriveBits])+Pass Bad usages: generateKey(Ed448, true, [verify, sign, deriveBits])+Pass Bad usages: generateKey(Ed448, true, [sign, verify, sign, sign, verify, deriveBits])+Pass Bad usages: generateKey(Ed448, true, [encapsulateKey])+Pass Bad usages: generateKey(Ed448, true, [sign, encapsulateKey])+Pass Bad usages: generateKey(Ed448, true, [verify, sign, encapsulateKey])+Pass Bad usages: generateKey(Ed448, true, [sign, verify, sign, sign, verify, encapsulateKey])+Pass Bad usages: generateKey(Ed448, true, [encapsulateBits])+Pass Bad usages: generateKey(Ed448, true, [sign, encapsulateBits])+Pass Bad usages: generateKey(Ed448, true, [verify, sign, encapsulateBits])+Pass Bad usages: generateKey(Ed448, true, [sign, verify, sign, sign, verify, encapsulateBits])+Pass Bad usages: generateKey(Ed448, true, [decapsulateKey])+Pass Bad usages: generateKey(Ed448, true, [sign, decapsulateKey])+Pass Bad usages: generateKey(Ed448, true, [verify, sign, decapsulateKey])+Pass Bad usages: generateKey(Ed448, true, [sign, verify, sign, sign, verify, decapsulateKey])+Pass Bad usages: generateKey(Ed448, true, [decapsulateBits])+Pass Bad usages: generateKey(Ed448, true, [sign, decapsulateBits])+Pass Bad usages: generateKey(Ed448, true, [verify, sign, decapsulateBits])+Pass Bad usages: generateKey(Ed448, true, [sign, verify, sign, sign, verify, decapsulateBits])+Pass Bad usages: generateKey({name: Ed448}, true, [encrypt])+Pass Bad usages: generateKey({name: Ed448}, true, [sign, encrypt])+Pass Bad usages: generateKey({name: Ed448}, true, [verify, sign, encrypt])+Pass Bad usages: generateKey({name: Ed448}, true, [sign, verify, sign, sign, verify, encrypt])+Pass Bad usages: generateKey({name: Ed448}, true, [decrypt])+Pass Bad usages: generateKey({name: Ed448}, true, [sign, decrypt])+Pass Bad usages: generateKey({name: Ed448}, true, [verify, sign, decrypt])+Pass Bad usages: generateKey({name: Ed448}, true, [sign, verify, sign, sign, verify, decrypt])+Pass Bad usages: generateKey({name: Ed448}, true, [wrapKey])+Pass Bad usages: generateKey({name: Ed448}, true, [sign, wrapKey])+Pass Bad usages: generateKey({name: Ed448}, true, [verify, sign, wrapKey])+Pass Bad usages: generateKey({name: Ed448}, true, [sign, verify, sign, sign, verify, wrapKey])+Pass Bad usages: generateKey({name: Ed448}, true, [unwrapKey])+Pass Bad usages: generateKey({name: Ed448}, true, [sign, unwrapKey])+Pass Bad usages: generateKey({name: Ed448}, true, [verify, sign, unwrapKey])+Pass Bad usages: generateKey({name: Ed448}, true, [sign, verify, sign, sign, verify, unwrapKey])+Pass Bad usages: generateKey({name: Ed448}, true, [deriveKey])+Pass Bad usages: generateKey({name: Ed448}, true, [sign, deriveKey])+Pass Bad usages: generateKey({name: Ed448}, true, [verify, sign, deriveKey])+Pass Bad usages: generateKey({name: Ed448}, true, [sign, verify, sign, sign, verify, deriveKey])+Pass Bad usages: generateKey({name: Ed448}, true, [deriveBits])+Pass Bad usages: generateKey({name: Ed448}, true, [sign, deriveBits])+Pass Bad usages: generateKey({name: Ed448}, true, [verify, sign, deriveBits])+Pass Bad usages: generateKey({name: Ed448}, true, [sign, verify, sign, sign, verify, deriveBits])+Pass Bad usages: generateKey({name: Ed448}, true, [encapsulateKey])+Pass Bad usages: generateKey({name: Ed448}, true, [sign, encapsulateKey])+Pass Bad usages: generateKey({name: Ed448}, true, [verify, sign, encapsulateKey])+Pass Bad usages: generateKey({name: Ed448}, true, [sign, verify, sign, sign, verify, encapsulateKey])+Pass Bad usages: generateKey({name: Ed448}, true, [encapsulateBits])+Pass Bad usages: generateKey({name: Ed448}, true, [sign, encapsulateBits])+Pass Bad usages: generateKey({name: Ed448}, true, [verify, sign, encapsulateBits])+Pass Bad usages: generateKey({name: Ed448}, true, [sign, verify, sign, sign, verify, encapsulateBits])+Pass Bad usages: generateKey({name: Ed448}, true, [decapsulateKey])+Pass Bad usages: generateKey({name: Ed448}, true, [sign, decapsulateKey])+Pass Bad usages: generateKey({name: Ed448}, true, [verify, sign, decapsulateKey])+Pass Bad usages: generateKey({name: Ed448}, true, [sign, verify, sign, sign, verify, decapsulateKey])+Pass Bad usages: generateKey({name: Ed448}, true, [decapsulateBits])+Pass Bad usages: generateKey({name: Ed448}, true, [sign, decapsulateBits])+Pass Bad usages: generateKey({name: Ed448}, true, [verify, sign, decapsulateBits])+Pass Bad usages: generateKey({name: Ed448}, true, [sign, verify, sign, sign, verify, decapsulateBits])+Pass Empty usages: generateKey(Ed448, false, [])+Pass Empty usages: generateKey(Ed448, true, [])+Pass Empty usages: generateKey({name: Ed448}, false, [])+Pass Empty usages: generateKey({name: Ed448}, true, [])\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/secure-curves/generateKey/failures_X448.https.any.txt b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/secure-curves/generateKey/failures_X448.https.any.txtnew file mode 100644index 00000000000..b430ff24265--- /dev/null+++ b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/secure-curves/generateKey/failures_X448.https.any.txt@@ -0,0 +1,109 @@+Harness status: OK++Found 104 tests++104 Pass+Pass Bad usages: generateKey(X448, true, [encrypt])+Pass Bad usages: generateKey(X448, true, [deriveKey, encrypt])+Pass Bad usages: generateKey(X448, true, [deriveBits, deriveKey, encrypt])+Pass Bad usages: generateKey(X448, true, [deriveBits, encrypt])+Pass Bad usages: generateKey(X448, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits, encrypt])+Pass Bad usages: generateKey(X448, true, [decrypt])+Pass Bad usages: generateKey(X448, true, [deriveKey, decrypt])+Pass Bad usages: generateKey(X448, true, [deriveBits, deriveKey, decrypt])+Pass Bad usages: generateKey(X448, true, [deriveBits, decrypt])+Pass Bad usages: generateKey(X448, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits, decrypt])+Pass Bad usages: generateKey(X448, true, [sign])+Pass Bad usages: generateKey(X448, true, [deriveKey, sign])+Pass Bad usages: generateKey(X448, true, [deriveBits, deriveKey, sign])+Pass Bad usages: generateKey(X448, true, [deriveBits, sign])+Pass Bad usages: generateKey(X448, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits, sign])+Pass Bad usages: generateKey(X448, true, [verify])+Pass Bad usages: generateKey(X448, true, [deriveKey, verify])+Pass Bad usages: generateKey(X448, true, [deriveBits, deriveKey, verify])+Pass Bad usages: generateKey(X448, true, [deriveBits, verify])+Pass Bad usages: generateKey(X448, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits, verify])+Pass Bad usages: generateKey(X448, true, [wrapKey])+Pass Bad usages: generateKey(X448, true, [deriveKey, wrapKey])+Pass Bad usages: generateKey(X448, true, [deriveBits, deriveKey, wrapKey])+Pass Bad usages: generateKey(X448, true, [deriveBits, wrapKey])+Pass Bad usages: generateKey(X448, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits, wrapKey])+Pass Bad usages: generateKey(X448, true, [unwrapKey])+Pass Bad usages: generateKey(X448, true, [deriveKey, unwrapKey])+Pass Bad usages: generateKey(X448, true, [deriveBits, deriveKey, unwrapKey])+Pass Bad usages: generateKey(X448, true, [deriveBits, unwrapKey])+Pass Bad usages: generateKey(X448, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits, unwrapKey])+Pass Bad usages: generateKey(X448, true, [encapsulateKey])+Pass Bad usages: generateKey(X448, true, [deriveKey, encapsulateKey])+Pass Bad usages: generateKey(X448, true, [deriveBits, deriveKey, encapsulateKey])+Pass Bad usages: generateKey(X448, true, [deriveBits, encapsulateKey])+Pass Bad usages: generateKey(X448, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits, encapsulateKey])+Pass Bad usages: generateKey(X448, true, [encapsulateBits])+Pass Bad usages: generateKey(X448, true, [deriveKey, encapsulateBits])+Pass Bad usages: generateKey(X448, true, [deriveBits, deriveKey, encapsulateBits])+Pass Bad usages: generateKey(X448, true, [deriveBits, encapsulateBits])+Pass Bad usages: generateKey(X448, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits, encapsulateBits])+Pass Bad usages: generateKey(X448, true, [decapsulateKey])+Pass Bad usages: generateKey(X448, true, [deriveKey, decapsulateKey])+Pass Bad usages: generateKey(X448, true, [deriveBits, deriveKey, decapsulateKey])+Pass Bad usages: generateKey(X448, true, [deriveBits, decapsulateKey])+Pass Bad usages: generateKey(X448, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits, decapsulateKey])+Pass Bad usages: generateKey(X448, true, [decapsulateBits])+Pass Bad usages: generateKey(X448, true, [deriveKey, decapsulateBits])+Pass Bad usages: generateKey(X448, true, [deriveBits, deriveKey, decapsulateBits])+Pass Bad usages: generateKey(X448, true, [deriveBits, decapsulateBits])+Pass Bad usages: generateKey(X448, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits, decapsulateBits])+Pass Bad usages: generateKey({name: X448}, true, [encrypt])+Pass Bad usages: generateKey({name: X448}, true, [deriveKey, encrypt])+Pass Bad usages: generateKey({name: X448}, true, [deriveBits, deriveKey, encrypt])+Pass Bad usages: generateKey({name: X448}, true, [deriveBits, encrypt])+Pass Bad usages: generateKey({name: X448}, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits, encrypt])+Pass Bad usages: generateKey({name: X448}, true, [decrypt])+Pass Bad usages: generateKey({name: X448}, true, [deriveKey, decrypt])+Pass Bad usages: generateKey({name: X448}, true, [deriveBits, deriveKey, decrypt])+Pass Bad usages: generateKey({name: X448}, true, [deriveBits, decrypt])+Pass Bad usages: generateKey({name: X448}, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits, decrypt])+Pass Bad usages: generateKey({name: X448}, true, [sign])+Pass Bad usages: generateKey({name: X448}, true, [deriveKey, sign])+Pass Bad usages: generateKey({name: X448}, true, [deriveBits, deriveKey, sign])+Pass Bad usages: generateKey({name: X448}, true, [deriveBits, sign])+Pass Bad usages: generateKey({name: X448}, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits, sign])+Pass Bad usages: generateKey({name: X448}, true, [verify])+Pass Bad usages: generateKey({name: X448}, true, [deriveKey, verify])+Pass Bad usages: generateKey({name: X448}, true, [deriveBits, deriveKey, verify])+Pass Bad usages: generateKey({name: X448}, true, [deriveBits, verify])+Pass Bad usages: generateKey({name: X448}, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits, verify])+Pass Bad usages: generateKey({name: X448}, true, [wrapKey])+Pass Bad usages: generateKey({name: X448}, true, [deriveKey, wrapKey])+Pass Bad usages: generateKey({name: X448}, true, [deriveBits, deriveKey, wrapKey])+Pass Bad usages: generateKey({name: X448}, true, [deriveBits, wrapKey])+Pass Bad usages: generateKey({name: X448}, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits, wrapKey])+Pass Bad usages: generateKey({name: X448}, true, [unwrapKey])+Pass Bad usages: generateKey({name: X448}, true, [deriveKey, unwrapKey])+Pass Bad usages: generateKey({name: X448}, true, [deriveBits, deriveKey, unwrapKey])+Pass Bad usages: generateKey({name: X448}, true, [deriveBits, unwrapKey])+Pass Bad usages: generateKey({name: X448}, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits, unwrapKey])+Pass Bad usages: generateKey({name: X448}, true, [encapsulateKey])+Pass Bad usages: generateKey({name: X448}, true, [deriveKey, encapsulateKey])+Pass Bad usages: generateKey({name: X448}, true, [deriveBits, deriveKey, encapsulateKey])+Pass Bad usages: generateKey({name: X448}, true, [deriveBits, encapsulateKey])+Pass Bad usages: generateKey({name: X448}, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits, encapsulateKey])+Pass Bad usages: generateKey({name: X448}, true, [encapsulateBits])+Pass Bad usages: generateKey({name: X448}, true, [deriveKey, encapsulateBits])+Pass Bad usages: generateKey({name: X448}, true, [deriveBits, deriveKey, encapsulateBits])+Pass Bad usages: generateKey({name: X448}, true, [deriveBits, encapsulateBits])+Pass Bad usages: generateKey({name: X448}, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits, encapsulateBits])+Pass Bad usages: generateKey({name: X448}, true, [decapsulateKey])+Pass Bad usages: generateKey({name: X448}, true, [deriveKey, decapsulateKey])+Pass Bad usages: generateKey({name: X448}, true, [deriveBits, deriveKey, decapsulateKey])+Pass Bad usages: generateKey({name: X448}, true, [deriveBits, decapsulateKey])+Pass Bad usages: generateKey({name: X448}, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits, decapsulateKey])+Pass Bad usages: generateKey({name: X448}, true, [decapsulateBits])+Pass Bad usages: generateKey({name: X448}, true, [deriveKey, decapsulateBits])+Pass Bad usages: generateKey({name: X448}, true, [deriveBits, deriveKey, decapsulateBits])+Pass Bad usages: generateKey({name: X448}, true, [deriveBits, decapsulateBits])+Pass Bad usages: generateKey({name: X448}, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits, decapsulateBits])+Pass Empty usages: generateKey(X448, false, [])+Pass Empty usages: generateKey(X448, true, [])+Pass Empty usages: generateKey({name: X448}, false, [])+Pass Empty usages: generateKey({name: X448}, true, [])\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/generateKey/successes_Ed448.tentative.https.any.txt b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/secure-curves/generateKey/successes_Ed448.https.any.txtsimilarity index 65%rename from Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/generateKey/successes_Ed448.tentative.https.any.txtrename to Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/secure-curves/generateKey/successes_Ed448.https.any.txtindex b357c759352..cdc03289921 100644--- a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/generateKey/successes_Ed448.tentative.https.any.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/secure-curves/generateKey/successes_Ed448.https.any.txt@@ -2,40 +2,41 @@ Harness status: OKFound 36 tests-36 Pass+24 Pass+12 FailPass Success: generateKey(ED448, false, [sign])Pass Success: generateKey(ED448, true, [sign])Pass Success: generateKey(ED448, false, [verify, sign])Pass Success: generateKey(ED448, true, [verify, sign])-Pass Success: generateKey(ED448, false, [sign, verify, sign, sign, verify])-Pass Success: generateKey(ED448, true, [sign, verify, sign, sign, verify])+Fail Success: generateKey(ED448, false, [sign, verify, sign, sign, verify])+Fail Success: generateKey(ED448, true, [sign, verify, sign, sign, verify])Pass Success: generateKey({name: ED448}, false, [sign])Pass Success: generateKey({name: ED448}, true, [sign])Pass Success: generateKey({name: ED448}, false, [verify, sign])Pass Success: generateKey({name: ED448}, true, [verify, sign])-Pass Success: generateKey({name: ED448}, false, [sign, verify, sign, sign, verify])-Pass Success: generateKey({name: ED448}, true, [sign, verify, sign, sign, verify])+Fail Success: generateKey({name: ED448}, false, [sign, verify, sign, sign, verify])+Fail Success: generateKey({name: ED448}, true, [sign, verify, sign, sign, verify])Pass Success: generateKey(ed448, false, [sign])Pass Success: generateKey(ed448, true, [sign])Pass Success: generateKey(ed448, false, [verify, sign])Pass Success: generateKey(ed448, true, [verify, sign])-Pass Success: generateKey(ed448, false, [sign, verify, sign, sign, verify])-Pass Success: generateKey(ed448, true, [sign, verify, sign, sign, verify])+Fail Success: generateKey(ed448, false, [sign, verify, sign, sign, verify])+Fail Success: generateKey(ed448, true, [sign, verify, sign, sign, verify])Pass Success: generateKey({name: ed448}, false, [sign])Pass Success: generateKey({name: ed448}, true, [sign])Pass Success: generateKey({name: ed448}, false, [verify, sign])Pass Success: generateKey({name: ed448}, true, [verify, sign])-Pass Success: generateKey({name: ed448}, false, [sign, verify, sign, sign, verify])-Pass Success: generateKey({name: ed448}, true, [sign, verify, sign, sign, verify])+Fail Success: generateKey({name: ed448}, false, [sign, verify, sign, sign, verify])+Fail Success: generateKey({name: ed448}, true, [sign, verify, sign, sign, verify])Pass Success: generateKey(Ed448, false, [sign])Pass Success: generateKey(Ed448, true, [sign])Pass Success: generateKey(Ed448, false, [verify, sign])Pass Success: generateKey(Ed448, true, [verify, sign])-Pass Success: generateKey(Ed448, false, [sign, verify, sign, sign, verify])-Pass Success: generateKey(Ed448, true, [sign, verify, sign, sign, verify])+Fail Success: generateKey(Ed448, false, [sign, verify, sign, sign, verify])+Fail Success: generateKey(Ed448, true, [sign, verify, sign, sign, verify])Pass Success: generateKey({name: Ed448}, false, [sign])Pass Success: generateKey({name: Ed448}, true, [sign])Pass Success: generateKey({name: Ed448}, false, [verify, sign])Pass Success: generateKey({name: Ed448}, true, [verify, sign])-Pass Success: generateKey({name: Ed448}, false, [sign, verify, sign, sign, verify])-Pass Success: generateKey({name: Ed448}, true, [sign, verify, sign, sign, verify])\ No newline at end of file+Fail Success: generateKey({name: Ed448}, false, [sign, verify, sign, sign, verify])+Fail Success: generateKey({name: Ed448}, true, [sign, verify, sign, sign, verify])\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/generateKey/successes_X448.tentative.https.any.txt b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/secure-curves/generateKey/successes_X448.https.any.txtsimilarity index 75%rename from Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/generateKey/successes_X448.tentative.https.any.txtrename to Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/secure-curves/generateKey/successes_X448.https.any.txtindex 94679c95fdc..527dfac56df 100644--- a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/generateKey/successes_X448.tentative.https.any.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/secure-curves/generateKey/successes_X448.https.any.txt@@ -2,36 +2,37 @@ Harness status: OKFound 32 tests-32 Pass+24 Pass+8 FailPass Success: generateKey(X448, false, [deriveKey])Pass Success: generateKey(X448, true, [deriveKey])Pass Success: generateKey(X448, false, [deriveBits, deriveKey])Pass Success: generateKey(X448, true, [deriveBits, deriveKey])Pass Success: generateKey(X448, false, [deriveBits])Pass Success: generateKey(X448, true, [deriveBits])-Pass Success: generateKey(X448, false, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits])-Pass Success: generateKey(X448, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits])+Fail Success: generateKey(X448, false, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits])+Fail Success: generateKey(X448, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits])Pass Success: generateKey({name: X448}, false, [deriveKey])Pass Success: generateKey({name: X448}, true, [deriveKey])Pass Success: generateKey({name: X448}, false, [deriveBits, deriveKey])Pass Success: generateKey({name: X448}, true, [deriveBits, deriveKey])Pass Success: generateKey({name: X448}, false, [deriveBits])Pass Success: generateKey({name: X448}, true, [deriveBits])-Pass Success: generateKey({name: X448}, false, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits])-Pass Success: generateKey({name: X448}, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits])+Fail Success: generateKey({name: X448}, false, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits])+Fail Success: generateKey({name: X448}, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits])Pass Success: generateKey(x448, false, [deriveKey])Pass Success: generateKey(x448, true, [deriveKey])Pass Success: generateKey(x448, false, [deriveBits, deriveKey])Pass Success: generateKey(x448, true, [deriveBits, deriveKey])Pass Success: generateKey(x448, false, [deriveBits])Pass Success: generateKey(x448, true, [deriveBits])-Pass Success: generateKey(x448, false, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits])-Pass Success: generateKey(x448, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits])+Fail Success: generateKey(x448, false, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits])+Fail Success: generateKey(x448, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits])Pass Success: generateKey({name: x448}, false, [deriveKey])Pass Success: generateKey({name: x448}, true, [deriveKey])Pass Success: generateKey({name: x448}, false, [deriveBits, deriveKey])Pass Success: generateKey({name: x448}, true, [deriveBits, deriveKey])Pass Success: generateKey({name: x448}, false, [deriveBits])Pass Success: generateKey({name: x448}, true, [deriveBits])-Pass Success: generateKey({name: x448}, false, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits])-Pass Success: generateKey({name: x448}, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits])\ No newline at end of file+Fail Success: generateKey({name: x448}, false, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits])+Fail Success: generateKey({name: x448}, true, [deriveKey, deriveBits, deriveKey, deriveBits, deriveKey, deriveBits])\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/import_export/okp_importKey_Ed448.tentative.https.any.txt b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/secure-curves/import_export/okp_importKey_Ed448.https.any.txtsimilarity index 79%rename from Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/import_export/okp_importKey_Ed448.tentative.https.any.txtrename to Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/secure-curves/import_export/okp_importKey_Ed448.https.any.txtindex 65417e50f77..e175f307c43 100644--- a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/import_export/okp_importKey_Ed448.tentative.https.any.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/secure-curves/import_export/okp_importKey_Ed448.https.any.txt@@ -2,7 +2,8 @@ Harness status: OKFound 72 tests-72 Pass+52 Pass+20 FailPass Good parameters: Ed448 bits (spki, buffer(69), {name: Ed448}, true, [verify])Pass Good parameters: Ed448 bits (spki, buffer(69), Ed448, true, [verify])Pass Good parameters: Ed448 bits (jwk, object(kty, crv, x), {name: Ed448}, true, [verify])@@ -23,16 +24,16 @@ Pass Good parameters with JWK alg Ed448: Ed448 (jwk, object(kty, crv, x), Ed448,Pass Good parameters with JWK alg EdDSA: Ed448 (jwk, object(kty, crv, x), Ed448, true, [])Pass Good parameters: Ed448 bits (raw, buffer(57), {name: Ed448}, true, [])Pass Good parameters: Ed448 bits (raw, buffer(57), Ed448, true, [])-Pass Good parameters: Ed448 bits (spki, buffer(69), {name: Ed448}, true, [verify, verify])-Pass Good parameters: Ed448 bits (spki, buffer(69), Ed448, true, [verify, verify])-Pass Good parameters: Ed448 bits (jwk, object(kty, crv, x), {name: Ed448}, true, [verify, verify])-Pass Good parameters: Ed448 bits (jwk, object(kty, crv, x), Ed448, true, [verify, verify])+Fail Good parameters: Ed448 bits (spki, buffer(69), {name: Ed448}, true, [verify, verify])+Fail Good parameters: Ed448 bits (spki, buffer(69), Ed448, true, [verify, verify])+Fail Good parameters: Ed448 bits (jwk, object(kty, crv, x), {name: Ed448}, true, [verify, verify])+Fail Good parameters: Ed448 bits (jwk, object(kty, crv, x), Ed448, true, [verify, verify])Pass Good parameters with JWK alg Ed448: Ed448 (jwk, object(kty, crv, x), {name: Ed448}, true, [verify, verify])Pass Good parameters with JWK alg EdDSA: Ed448 (jwk, object(kty, crv, x), {name: Ed448}, true, [verify, verify])Pass Good parameters with JWK alg Ed448: Ed448 (jwk, object(kty, crv, x), Ed448, true, [verify, verify])Pass Good parameters with JWK alg EdDSA: Ed448 (jwk, object(kty, crv, x), Ed448, true, [verify, verify])-Pass Good parameters: Ed448 bits (raw, buffer(57), {name: Ed448}, true, [verify, verify])-Pass Good parameters: Ed448 bits (raw, buffer(57), Ed448, true, [verify, verify])+Fail Good parameters: Ed448 bits (raw, buffer(57), {name: Ed448}, true, [verify, verify])+Fail Good parameters: Ed448 bits (raw, buffer(57), Ed448, true, [verify, verify])Pass Good parameters: Ed448 bits (pkcs8, buffer(73), {name: Ed448}, true, [sign])Pass Good parameters: Ed448 bits (pkcs8, buffer(73), Ed448, true, [sign])Pass Good parameters: Ed448 bits (jwk, object(crv, d, x, kty), {name: Ed448}, true, [sign])@@ -41,10 +42,10 @@ Pass Good parameters with JWK alg Ed448: Ed448 (jwk, object(crv, d, x, kty), {naPass Good parameters with JWK alg EdDSA: Ed448 (jwk, object(crv, d, x, kty), {name: Ed448}, true, [sign])Pass Good parameters with JWK alg Ed448: Ed448 (jwk, object(crv, d, x, kty), Ed448, true, [sign])Pass Good parameters with JWK alg EdDSA: Ed448 (jwk, object(crv, d, x, kty), Ed448, true, [sign])-Pass Good parameters: Ed448 bits (pkcs8, buffer(73), {name: Ed448}, true, [sign, sign])-Pass Good parameters: Ed448 bits (pkcs8, buffer(73), Ed448, true, [sign, sign])-Pass Good parameters: Ed448 bits (jwk, object(crv, d, x, kty), {name: Ed448}, true, [sign, sign])-Pass Good parameters: Ed448 bits (jwk, object(crv, d, x, kty), Ed448, true, [sign, sign])+Fail Good parameters: Ed448 bits (pkcs8, buffer(73), {name: Ed448}, true, [sign, sign])+Fail Good parameters: Ed448 bits (pkcs8, buffer(73), Ed448, true, [sign, sign])+Fail Good parameters: Ed448 bits (jwk, object(crv, d, x, kty), {name: Ed448}, true, [sign, sign])+Fail Good parameters: Ed448 bits (jwk, object(crv, d, x, kty), Ed448, true, [sign, sign])Pass Good parameters with JWK alg Ed448: Ed448 (jwk, object(crv, d, x, kty), {name: Ed448}, true, [sign, sign])Pass Good parameters with JWK alg EdDSA: Ed448 (jwk, object(crv, d, x, kty), {name: Ed448}, true, [sign, sign])Pass Good parameters with JWK alg Ed448: Ed448 (jwk, object(crv, d, x, kty), Ed448, true, [sign, sign])@@ -61,17 +62,17 @@ Pass Good parameters: Ed448 bits (jwk, object(kty, crv, x), {name: Ed448}, falsePass Good parameters: Ed448 bits (jwk, object(kty, crv, x), Ed448, false, [])Pass Good parameters: Ed448 bits (raw, buffer(57), {name: Ed448}, false, [])Pass Good parameters: Ed448 bits (raw, buffer(57), Ed448, false, [])-Pass Good parameters: Ed448 bits (spki, buffer(69), {name: Ed448}, false, [verify, verify])-Pass Good parameters: Ed448 bits (spki, buffer(69), Ed448, false, [verify, verify])-Pass Good parameters: Ed448 bits (jwk, object(kty, crv, x), {name: Ed448}, false, [verify, verify])-Pass Good parameters: Ed448 bits (jwk, object(kty, crv, x), Ed448, false, [verify, verify])-Pass Good parameters: Ed448 bits (raw, buffer(57), {name: Ed448}, false, [verify, verify])-Pass Good parameters: Ed448 bits (raw, buffer(57), Ed448, false, [verify, verify])+Fail Good parameters: Ed448 bits (spki, buffer(69), {name: Ed448}, false, [verify, verify])+Fail Good parameters: Ed448 bits (spki, buffer(69), Ed448, false, [verify, verify])+Fail Good parameters: Ed448 bits (jwk, object(kty, crv, x), {name: Ed448}, false, [verify, verify])+Fail Good parameters: Ed448 bits (jwk, object(kty, crv, x), Ed448, false, [verify, verify])+Fail Good parameters: Ed448 bits (raw, buffer(57), {name: Ed448}, false, [verify, verify])+Fail Good parameters: Ed448 bits (raw, buffer(57), Ed448, false, [verify, verify])Pass Good parameters: Ed448 bits (pkcs8, buffer(73), {name: Ed448}, false, [sign])Pass Good parameters: Ed448 bits (pkcs8, buffer(73), Ed448, false, [sign])Pass Good parameters: Ed448 bits (jwk, object(crv, d, x, kty), {name: Ed448}, false, [sign])Pass Good parameters: Ed448 bits (jwk, object(crv, d, x, kty), Ed448, false, [sign])-Pass Good parameters: Ed448 bits (pkcs8, buffer(73), {name: Ed448}, false, [sign, sign])-Pass Good parameters: Ed448 bits (pkcs8, buffer(73), Ed448, false, [sign, sign])-Pass Good parameters: Ed448 bits (jwk, object(crv, d, x, kty), {name: Ed448}, false, [sign, sign])-Pass Good parameters: Ed448 bits (jwk, object(crv, d, x, kty), Ed448, false, [sign, sign])\ No newline at end of file+Fail Good parameters: Ed448 bits (pkcs8, buffer(73), {name: Ed448}, false, [sign, sign])+Fail Good parameters: Ed448 bits (pkcs8, buffer(73), Ed448, false, [sign, sign])+Fail Good parameters: Ed448 bits (jwk, object(crv, d, x, kty), {name: Ed448}, false, [sign, sign])+Fail Good parameters: Ed448 bits (jwk, object(crv, d, x, kty), Ed448, false, [sign, sign])\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/import_export/okp_importKey_X448.tentative.https.any.txt b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/secure-curves/import_export/okp_importKey_X448.https.any.txtsimilarity index 88%rename from Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/import_export/okp_importKey_X448.tentative.https.any.txtrename to Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/secure-curves/import_export/okp_importKey_X448.https.any.txtindex f5d4ee635a9..aed352cf7f2 100644--- a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/import_export/okp_importKey_X448.tentative.https.any.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/secure-curves/import_export/okp_importKey_X448.https.any.txt@@ -2,7 +2,8 @@ Harness status: OKFound 54 tests-54 Pass+46 Pass+8 FailPass Good parameters: X448 bits (spki, buffer(68), {name: X448}, true, [])Pass Good parameters: X448 bits (spki, buffer(68), X448, true, [])Pass Good parameters: X448 bits (jwk, object(kty, crv, x), {name: X448}, true, [])@@ -29,10 +30,10 @@ Pass Good parameters: X448 bits (jwk, object(crv, d, x, kty), {name: X448}, truePass Good parameters: X448 bits (jwk, object(crv, d, x, kty), X448, true, [deriveBits])Pass Good parameters with JWK alg: X448 (jwk, object(crv, d, x, kty), {name: X448}, true, [deriveBits])Pass Good parameters with JWK alg: X448 (jwk, object(crv, d, x, kty), X448, true, [deriveBits])-Pass Good parameters: X448 bits (pkcs8, buffer(72), {name: X448}, true, [deriveKey, deriveBits, deriveKey, deriveBits])-Pass Good parameters: X448 bits (pkcs8, buffer(72), X448, true, [deriveKey, deriveBits, deriveKey, deriveBits])-Pass Good parameters: X448 bits (jwk, object(crv, d, x, kty), {name: X448}, true, [deriveKey, deriveBits, deriveKey, deriveBits])-Pass Good parameters: X448 bits (jwk, object(crv, d, x, kty), X448, true, [deriveKey, deriveBits, deriveKey, deriveBits])+Fail Good parameters: X448 bits (pkcs8, buffer(72), {name: X448}, true, [deriveKey, deriveBits, deriveKey, deriveBits])+Fail Good parameters: X448 bits (pkcs8, buffer(72), X448, true, [deriveKey, deriveBits, deriveKey, deriveBits])+Fail Good parameters: X448 bits (jwk, object(crv, d, x, kty), {name: X448}, true, [deriveKey, deriveBits, deriveKey, deriveBits])+Fail Good parameters: X448 bits (jwk, object(crv, d, x, kty), X448, true, [deriveKey, deriveBits, deriveKey, deriveBits])Pass Good parameters with JWK alg: X448 (jwk, object(crv, d, x, kty), {name: X448}, true, [deriveKey, deriveBits, deriveKey, deriveBits])Pass Good parameters with JWK alg: X448 (jwk, object(crv, d, x, kty), X448, true, [deriveKey, deriveBits, deriveKey, deriveBits])Pass Good parameters: X448 bits (spki, buffer(68), {name: X448}, false, [])@@ -53,7 +54,7 @@ Pass Good parameters: X448 bits (pkcs8, buffer(72), {name: X448}, false, [derivePass Good parameters: X448 bits (pkcs8, buffer(72), X448, false, [deriveBits])Pass Good parameters: X448 bits (jwk, object(crv, d, x, kty), {name: X448}, false, [deriveBits])Pass Good parameters: X448 bits (jwk, object(crv, d, x, kty), X448, false, [deriveBits])-Pass Good parameters: X448 bits (pkcs8, buffer(72), {name: X448}, false, [deriveKey, deriveBits, deriveKey, deriveBits])-Pass Good parameters: X448 bits (pkcs8, buffer(72), X448, false, [deriveKey, deriveBits, deriveKey, deriveBits])-Pass Good parameters: X448 bits (jwk, object(crv, d, x, kty), {name: X448}, false, [deriveKey, deriveBits, deriveKey, deriveBits])-Pass Good parameters: X448 bits (jwk, object(crv, d, x, kty), X448, false, [deriveKey, deriveBits, deriveKey, deriveBits])\ No newline at end of file+Fail Good parameters: X448 bits (pkcs8, buffer(72), {name: X448}, false, [deriveKey, deriveBits, deriveKey, deriveBits])+Fail Good parameters: X448 bits (pkcs8, buffer(72), X448, false, [deriveKey, deriveBits, deriveKey, deriveBits])+Fail Good parameters: X448 bits (jwk, object(crv, d, x, kty), {name: X448}, false, [deriveKey, deriveBits, deriveKey, deriveBits])+Fail Good parameters: X448 bits (jwk, object(crv, d, x, kty), X448, false, [deriveKey, deriveBits, deriveKey, deriveBits])\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/import_export/okp_importKey_failures_Ed448.tentative.https.any.txt b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/secure-curves/import_export/okp_importKey_failures_Ed448.https.any.txtsimilarity index 66%rename from Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/import_export/okp_importKey_failures_Ed448.tentative.https.any.txtrename to Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/secure-curves/import_export/okp_importKey_failures_Ed448.https.any.txtindex e3887f4c3f8..f02fae79349 100644--- a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/import_export/okp_importKey_failures_Ed448.tentative.https.any.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/secure-curves/import_export/okp_importKey_failures_Ed448.https.any.txt@@ -1,8 +1,8 @@Harness status: OK-Found 530 tests+Found 770 tests-530 Pass+770 PassPass Bad usages: importKey(spki, Ed448, true, [encrypt])Pass Bad usages: importKey(spki, Ed448, false, [encrypt])Pass Bad usages: importKey(spki, Ed448, true, [verify, encrypt])@@ -45,6 +45,30 @@ Pass Bad usages: importKey(spki, Ed448, true, [verify, deriveBits])Pass Bad usages: importKey(spki, Ed448, false, [verify, deriveBits])Pass Bad usages: importKey(spki, Ed448, true, [verify, verify, deriveBits])Pass Bad usages: importKey(spki, Ed448, false, [verify, verify, deriveBits])+Pass Bad usages: importKey(spki, Ed448, true, [encapsulateKey])+Pass Bad usages: importKey(spki, Ed448, false, [encapsulateKey])+Pass Bad usages: importKey(spki, Ed448, true, [verify, encapsulateKey])+Pass Bad usages: importKey(spki, Ed448, false, [verify, encapsulateKey])+Pass Bad usages: importKey(spki, Ed448, true, [verify, verify, encapsulateKey])+Pass Bad usages: importKey(spki, Ed448, false, [verify, verify, encapsulateKey])+Pass Bad usages: importKey(spki, Ed448, true, [encapsulateBits])+Pass Bad usages: importKey(spki, Ed448, false, [encapsulateBits])+Pass Bad usages: importKey(spki, Ed448, true, [verify, encapsulateBits])+Pass Bad usages: importKey(spki, Ed448, false, [verify, encapsulateBits])+Pass Bad usages: importKey(spki, Ed448, true, [verify, verify, encapsulateBits])+Pass Bad usages: importKey(spki, Ed448, false, [verify, verify, encapsulateBits])+Pass Bad usages: importKey(spki, Ed448, true, [decapsulateKey])+Pass Bad usages: importKey(spki, Ed448, false, [decapsulateKey])+Pass Bad usages: importKey(spki, Ed448, true, [verify, decapsulateKey])+Pass Bad usages: importKey(spki, Ed448, false, [verify, decapsulateKey])+Pass Bad usages: importKey(spki, Ed448, true, [verify, verify, decapsulateKey])+Pass Bad usages: importKey(spki, Ed448, false, [verify, verify, decapsulateKey])+Pass Bad usages: importKey(spki, Ed448, true, [decapsulateBits])+Pass Bad usages: importKey(spki, Ed448, false, [decapsulateBits])+Pass Bad usages: importKey(spki, Ed448, true, [verify, decapsulateBits])+Pass Bad usages: importKey(spki, Ed448, false, [verify, decapsulateBits])+Pass Bad usages: importKey(spki, Ed448, true, [verify, verify, decapsulateBits])+Pass Bad usages: importKey(spki, Ed448, false, [verify, verify, decapsulateBits])Pass Bad usages: importKey(pkcs8, Ed448, true, [encrypt])Pass Bad usages: importKey(pkcs8, Ed448, false, [encrypt])Pass Bad usages: importKey(pkcs8, Ed448, true, [sign, encrypt])@@ -87,6 +111,30 @@ Pass Bad usages: importKey(pkcs8, Ed448, true, [sign, deriveBits])Pass Bad usages: importKey(pkcs8, Ed448, false, [sign, deriveBits])Pass Bad usages: importKey(pkcs8, Ed448, true, [sign, sign, deriveBits])Pass Bad usages: importKey(pkcs8, Ed448, false, [sign, sign, deriveBits])+Pass Bad usages: importKey(pkcs8, Ed448, true, [encapsulateKey])+Pass Bad usages: importKey(pkcs8, Ed448, false, [encapsulateKey])+Pass Bad usages: importKey(pkcs8, Ed448, true, [sign, encapsulateKey])+Pass Bad usages: importKey(pkcs8, Ed448, false, [sign, encapsulateKey])+Pass Bad usages: importKey(pkcs8, Ed448, true, [sign, sign, encapsulateKey])+Pass Bad usages: importKey(pkcs8, Ed448, false, [sign, sign, encapsulateKey])+Pass Bad usages: importKey(pkcs8, Ed448, true, [encapsulateBits])+Pass Bad usages: importKey(pkcs8, Ed448, false, [encapsulateBits])+Pass Bad usages: importKey(pkcs8, Ed448, true, [sign, encapsulateBits])+Pass Bad usages: importKey(pkcs8, Ed448, false, [sign, encapsulateBits])+Pass Bad usages: importKey(pkcs8, Ed448, true, [sign, sign, encapsulateBits])+Pass Bad usages: importKey(pkcs8, Ed448, false, [sign, sign, encapsulateBits])+Pass Bad usages: importKey(pkcs8, Ed448, true, [decapsulateKey])+Pass Bad usages: importKey(pkcs8, Ed448, false, [decapsulateKey])+Pass Bad usages: importKey(pkcs8, Ed448, true, [sign, decapsulateKey])+Pass Bad usages: importKey(pkcs8, Ed448, false, [sign, decapsulateKey])+Pass Bad usages: importKey(pkcs8, Ed448, true, [sign, sign, decapsulateKey])+Pass Bad usages: importKey(pkcs8, Ed448, false, [sign, sign, decapsulateKey])+Pass Bad usages: importKey(pkcs8, Ed448, true, [decapsulateBits])+Pass Bad usages: importKey(pkcs8, Ed448, false, [decapsulateBits])+Pass Bad usages: importKey(pkcs8, Ed448, true, [sign, decapsulateBits])+Pass Bad usages: importKey(pkcs8, Ed448, false, [sign, decapsulateBits])+Pass Bad usages: importKey(pkcs8, Ed448, true, [sign, sign, decapsulateBits])+Pass Bad usages: importKey(pkcs8, Ed448, false, [sign, sign, decapsulateBits])Pass Bad usages: importKey(raw, Ed448, true, [encrypt])Pass Bad usages: importKey(raw, Ed448, false, [encrypt])Pass Bad usages: importKey(raw, Ed448, true, [verify, encrypt])@@ -129,6 +177,30 @@ Pass Bad usages: importKey(raw, Ed448, true, [verify, deriveBits])Pass Bad usages: importKey(raw, Ed448, false, [verify, deriveBits])Pass Bad usages: importKey(raw, Ed448, true, [verify, verify, deriveBits])Pass Bad usages: importKey(raw, Ed448, false, [verify, verify, deriveBits])+Pass Bad usages: importKey(raw, Ed448, true, [encapsulateKey])+Pass Bad usages: importKey(raw, Ed448, false, [encapsulateKey])+Pass Bad usages: importKey(raw, Ed448, true, [verify, encapsulateKey])+Pass Bad usages: importKey(raw, Ed448, false, [verify, encapsulateKey])+Pass Bad usages: importKey(raw, Ed448, true, [verify, verify, encapsulateKey])+Pass Bad usages: importKey(raw, Ed448, false, [verify, verify, encapsulateKey])+Pass Bad usages: importKey(raw, Ed448, true, [encapsulateBits])+Pass Bad usages: importKey(raw, Ed448, false, [encapsulateBits])+Pass Bad usages: importKey(raw, Ed448, true, [verify, encapsulateBits])+Pass Bad usages: importKey(raw, Ed448, false, [verify, encapsulateBits])+Pass Bad usages: importKey(raw, Ed448, true, [verify, verify, encapsulateBits])+Pass Bad usages: importKey(raw, Ed448, false, [verify, verify, encapsulateBits])+Pass Bad usages: importKey(raw, Ed448, true, [decapsulateKey])+Pass Bad usages: importKey(raw, Ed448, false, [decapsulateKey])+Pass Bad usages: importKey(raw, Ed448, true, [verify, decapsulateKey])+Pass Bad usages: importKey(raw, Ed448, false, [verify, decapsulateKey])+Pass Bad usages: importKey(raw, Ed448, true, [verify, verify, decapsulateKey])+Pass Bad usages: importKey(raw, Ed448, false, [verify, verify, decapsulateKey])+Pass Bad usages: importKey(raw, Ed448, true, [decapsulateBits])+Pass Bad usages: importKey(raw, Ed448, false, [decapsulateBits])+Pass Bad usages: importKey(raw, Ed448, true, [verify, decapsulateBits])+Pass Bad usages: importKey(raw, Ed448, false, [verify, decapsulateBits])+Pass Bad usages: importKey(raw, Ed448, true, [verify, verify, decapsulateBits])+Pass Bad usages: importKey(raw, Ed448, false, [verify, verify, decapsulateBits])Pass Bad usages: importKey(jwk(private), Ed448, true, [encrypt])Pass Bad usages: importKey(jwk(private), Ed448, false, [encrypt])Pass Bad usages: importKey(jwk(private), Ed448, true, [sign, encrypt])@@ -171,6 +243,30 @@ Pass Bad usages: importKey(jwk(private), Ed448, true, [sign, deriveBits])Pass Bad usages: importKey(jwk(private), Ed448, false, [sign, deriveBits])Pass Bad usages: importKey(jwk(private), Ed448, true, [sign, sign, deriveBits])Pass Bad usages: importKey(jwk(private), Ed448, false, [sign, sign, deriveBits])+Pass Bad usages: importKey(jwk(private), Ed448, true, [encapsulateKey])+Pass Bad usages: importKey(jwk(private), Ed448, false, [encapsulateKey])+Pass Bad usages: importKey(jwk(private), Ed448, true, [sign, encapsulateKey])+Pass Bad usages: importKey(jwk(private), Ed448, false, [sign, encapsulateKey])+Pass Bad usages: importKey(jwk(private), Ed448, true, [sign, sign, encapsulateKey])+Pass Bad usages: importKey(jwk(private), Ed448, false, [sign, sign, encapsulateKey])+Pass Bad usages: importKey(jwk(private), Ed448, true, [encapsulateBits])+Pass Bad usages: importKey(jwk(private), Ed448, false, [encapsulateBits])+Pass Bad usages: importKey(jwk(private), Ed448, true, [sign, encapsulateBits])+Pass Bad usages: importKey(jwk(private), Ed448, false, [sign, encapsulateBits])+Pass Bad usages: importKey(jwk(private), Ed448, true, [sign, sign, encapsulateBits])+Pass Bad usages: importKey(jwk(private), Ed448, false, [sign, sign, encapsulateBits])+Pass Bad usages: importKey(jwk(private), Ed448, true, [decapsulateKey])+Pass Bad usages: importKey(jwk(private), Ed448, false, [decapsulateKey])+Pass Bad usages: importKey(jwk(private), Ed448, true, [sign, decapsulateKey])+Pass Bad usages: importKey(jwk(private), Ed448, false, [sign, decapsulateKey])+Pass Bad usages: importKey(jwk(private), Ed448, true, [sign, sign, decapsulateKey])+Pass Bad usages: importKey(jwk(private), Ed448, false, [sign, sign, decapsulateKey])+Pass Bad usages: importKey(jwk(private), Ed448, true, [decapsulateBits])+Pass Bad usages: importKey(jwk(private), Ed448, false, [decapsulateBits])+Pass Bad usages: importKey(jwk(private), Ed448, true, [sign, decapsulateBits])+Pass Bad usages: importKey(jwk(private), Ed448, false, [sign, decapsulateBits])+Pass Bad usages: importKey(jwk(private), Ed448, true, [sign, sign, decapsulateBits])+Pass Bad usages: importKey(jwk(private), Ed448, false, [sign, sign, decapsulateBits])Pass Bad usages: importKey(jwk (public) , Ed448, true, [encrypt])Pass Bad usages: importKey(jwk (public) , Ed448, false, [encrypt])Pass Bad usages: importKey(jwk (public) , Ed448, true, [verify, encrypt])@@ -213,6 +309,30 @@ Pass Bad usages: importKey(jwk (public) , Ed448, true, [verify, deriveBits])Pass Bad usages: importKey(jwk (public) , Ed448, false, [verify, deriveBits])Pass Bad usages: importKey(jwk (public) , Ed448, true, [verify, verify, deriveBits])Pass Bad usages: importKey(jwk (public) , Ed448, false, [verify, verify, deriveBits])+Pass Bad usages: importKey(jwk (public) , Ed448, true, [encapsulateKey])+Pass Bad usages: importKey(jwk (public) , Ed448, false, [encapsulateKey])+Pass Bad usages: importKey(jwk (public) , Ed448, true, [verify, encapsulateKey])+Pass Bad usages: importKey(jwk (public) , Ed448, false, [verify, encapsulateKey])+Pass Bad usages: importKey(jwk (public) , Ed448, true, [verify, verify, encapsulateKey])+Pass Bad usages: importKey(jwk (public) , Ed448, false, [verify, verify, encapsulateKey])+Pass Bad usages: importKey(jwk (public) , Ed448, true, [encapsulateBits])+Pass Bad usages: importKey(jwk (public) , Ed448, false, [encapsulateBits])+Pass Bad usages: importKey(jwk (public) , Ed448, true, [verify, encapsulateBits])+Pass Bad usages: importKey(jwk (public) , Ed448, false, [verify, encapsulateBits])+Pass Bad usages: importKey(jwk (public) , Ed448, true, [verify, verify, encapsulateBits])+Pass Bad usages: importKey(jwk (public) , Ed448, false, [verify, verify, encapsulateBits])+Pass Bad usages: importKey(jwk (public) , Ed448, true, [decapsulateKey])+Pass Bad usages: importKey(jwk (public) , Ed448, false, [decapsulateKey])+Pass Bad usages: importKey(jwk (public) , Ed448, true, [verify, decapsulateKey])+Pass Bad usages: importKey(jwk (public) , Ed448, false, [verify, decapsulateKey])+Pass Bad usages: importKey(jwk (public) , Ed448, true, [verify, verify, decapsulateKey])+Pass Bad usages: importKey(jwk (public) , Ed448, false, [verify, verify, decapsulateKey])+Pass Bad usages: importKey(jwk (public) , Ed448, true, [decapsulateBits])+Pass Bad usages: importKey(jwk (public) , Ed448, false, [decapsulateBits])+Pass Bad usages: importKey(jwk (public) , Ed448, true, [verify, decapsulateBits])+Pass Bad usages: importKey(jwk (public) , Ed448, false, [verify, decapsulateBits])+Pass Bad usages: importKey(jwk (public) , Ed448, true, [verify, verify, decapsulateBits])+Pass Bad usages: importKey(jwk (public) , Ed448, false, [verify, verify, decapsulateBits])Pass Bad usages: importKey(spki, {name: Ed448}, true, [encrypt])Pass Bad usages: importKey(spki, {name: Ed448}, false, [encrypt])Pass Bad usages: importKey(spki, {name: Ed448}, true, [verify, encrypt])@@ -255,6 +375,30 @@ Pass Bad usages: importKey(spki, {name: Ed448}, true, [verify, deriveBits])Pass Bad usages: importKey(spki, {name: Ed448}, false, [verify, deriveBits])Pass Bad usages: importKey(spki, {name: Ed448}, true, [verify, verify, deriveBits])Pass Bad usages: importKey(spki, {name: Ed448}, false, [verify, verify, deriveBits])+Pass Bad usages: importKey(spki, {name: Ed448}, true, [encapsulateKey])+Pass Bad usages: importKey(spki, {name: Ed448}, false, [encapsulateKey])+Pass Bad usages: importKey(spki, {name: Ed448}, true, [verify, encapsulateKey])+Pass Bad usages: importKey(spki, {name: Ed448}, false, [verify, encapsulateKey])+Pass Bad usages: importKey(spki, {name: Ed448}, true, [verify, verify, encapsulateKey])+Pass Bad usages: importKey(spki, {name: Ed448}, false, [verify, verify, encapsulateKey])+Pass Bad usages: importKey(spki, {name: Ed448}, true, [encapsulateBits])+Pass Bad usages: importKey(spki, {name: Ed448}, false, [encapsulateBits])+Pass Bad usages: importKey(spki, {name: Ed448}, true, [verify, encapsulateBits])+Pass Bad usages: importKey(spki, {name: Ed448}, false, [verify, encapsulateBits])+Pass Bad usages: importKey(spki, {name: Ed448}, true, [verify, verify, encapsulateBits])+Pass Bad usages: importKey(spki, {name: Ed448}, false, [verify, verify, encapsulateBits])+Pass Bad usages: importKey(spki, {name: Ed448}, true, [decapsulateKey])+Pass Bad usages: importKey(spki, {name: Ed448}, false, [decapsulateKey])+Pass Bad usages: importKey(spki, {name: Ed448}, true, [verify, decapsulateKey])+Pass Bad usages: importKey(spki, {name: Ed448}, false, [verify, decapsulateKey])+Pass Bad usages: importKey(spki, {name: Ed448}, true, [verify, verify, decapsulateKey])+Pass Bad usages: importKey(spki, {name: Ed448}, false, [verify, verify, decapsulateKey])+Pass Bad usages: importKey(spki, {name: Ed448}, true, [decapsulateBits])+Pass Bad usages: importKey(spki, {name: Ed448}, false, [decapsulateBits])+Pass Bad usages: importKey(spki, {name: Ed448}, true, [verify, decapsulateBits])+Pass Bad usages: importKey(spki, {name: Ed448}, false, [verify, decapsulateBits])+Pass Bad usages: importKey(spki, {name: Ed448}, true, [verify, verify, decapsulateBits])+Pass Bad usages: importKey(spki, {name: Ed448}, false, [verify, verify, decapsulateBits])Pass Bad usages: importKey(pkcs8, {name: Ed448}, true, [encrypt])Pass Bad usages: importKey(pkcs8, {name: Ed448}, false, [encrypt])Pass Bad usages: importKey(pkcs8, {name: Ed448}, true, [sign, encrypt])@@ -297,6 +441,30 @@ Pass Bad usages: importKey(pkcs8, {name: Ed448}, true, [sign, deriveBits])Pass Bad usages: importKey(pkcs8, {name: Ed448}, false, [sign, deriveBits])Pass Bad usages: importKey(pkcs8, {name: Ed448}, true, [sign, sign, deriveBits])Pass Bad usages: importKey(pkcs8, {name: Ed448}, false, [sign, sign, deriveBits])+Pass Bad usages: importKey(pkcs8, {name: Ed448}, true, [encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: Ed448}, false, [encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: Ed448}, true, [sign, encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: Ed448}, false, [sign, encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: Ed448}, true, [sign, sign, encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: Ed448}, false, [sign, sign, encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: Ed448}, true, [encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: Ed448}, false, [encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: Ed448}, true, [sign, encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: Ed448}, false, [sign, encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: Ed448}, true, [sign, sign, encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: Ed448}, false, [sign, sign, encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: Ed448}, true, [decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: Ed448}, false, [decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: Ed448}, true, [sign, decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: Ed448}, false, [sign, decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: Ed448}, true, [sign, sign, decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: Ed448}, false, [sign, sign, decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: Ed448}, true, [decapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: Ed448}, false, [decapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: Ed448}, true, [sign, decapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: Ed448}, false, [sign, decapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: Ed448}, true, [sign, sign, decapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: Ed448}, false, [sign, sign, decapsulateBits])Pass Bad usages: importKey(raw, {name: Ed448}, true, [encrypt])Pass Bad usages: importKey(raw, {name: Ed448}, false, [encrypt])Pass Bad usages: importKey(raw, {name: Ed448}, true, [verify, encrypt])@@ -339,6 +507,30 @@ Pass Bad usages: importKey(raw, {name: Ed448}, true, [verify, deriveBits])Pass Bad usages: importKey(raw, {name: Ed448}, false, [verify, deriveBits])Pass Bad usages: importKey(raw, {name: Ed448}, true, [verify, verify, deriveBits])Pass Bad usages: importKey(raw, {name: Ed448}, false, [verify, verify, deriveBits])+Pass Bad usages: importKey(raw, {name: Ed448}, true, [encapsulateKey])+Pass Bad usages: importKey(raw, {name: Ed448}, false, [encapsulateKey])+Pass Bad usages: importKey(raw, {name: Ed448}, true, [verify, encapsulateKey])+Pass Bad usages: importKey(raw, {name: Ed448}, false, [verify, encapsulateKey])+Pass Bad usages: importKey(raw, {name: Ed448}, true, [verify, verify, encapsulateKey])+Pass Bad usages: importKey(raw, {name: Ed448}, false, [verify, verify, encapsulateKey])+Pass Bad usages: importKey(raw, {name: Ed448}, true, [encapsulateBits])+Pass Bad usages: importKey(raw, {name: Ed448}, false, [encapsulateBits])+Pass Bad usages: importKey(raw, {name: Ed448}, true, [verify, encapsulateBits])+Pass Bad usages: importKey(raw, {name: Ed448}, false, [verify, encapsulateBits])+Pass Bad usages: importKey(raw, {name: Ed448}, true, [verify, verify, encapsulateBits])+Pass Bad usages: importKey(raw, {name: Ed448}, false, [verify, verify, encapsulateBits])+Pass Bad usages: importKey(raw, {name: Ed448}, true, [decapsulateKey])+Pass Bad usages: importKey(raw, {name: Ed448}, false, [decapsulateKey])+Pass Bad usages: importKey(raw, {name: Ed448}, true, [verify, decapsulateKey])+Pass Bad usages: importKey(raw, {name: Ed448}, false, [verify, decapsulateKey])+Pass Bad usages: importKey(raw, {name: Ed448}, true, [verify, verify, decapsulateKey])+Pass Bad usages: importKey(raw, {name: Ed448}, false, [verify, verify, decapsulateKey])+Pass Bad usages: importKey(raw, {name: Ed448}, true, [decapsulateBits])+Pass Bad usages: importKey(raw, {name: Ed448}, false, [decapsulateBits])+Pass Bad usages: importKey(raw, {name: Ed448}, true, [verify, decapsulateBits])+Pass Bad usages: importKey(raw, {name: Ed448}, false, [verify, decapsulateBits])+Pass Bad usages: importKey(raw, {name: Ed448}, true, [verify, verify, decapsulateBits])+Pass Bad usages: importKey(raw, {name: Ed448}, false, [verify, verify, decapsulateBits])Pass Bad usages: importKey(jwk(private), {name: Ed448}, true, [encrypt])Pass Bad usages: importKey(jwk(private), {name: Ed448}, false, [encrypt])Pass Bad usages: importKey(jwk(private), {name: Ed448}, true, [sign, encrypt])@@ -381,6 +573,30 @@ Pass Bad usages: importKey(jwk(private), {name: Ed448}, true, [sign, deriveBits]Pass Bad usages: importKey(jwk(private), {name: Ed448}, false, [sign, deriveBits])Pass Bad usages: importKey(jwk(private), {name: Ed448}, true, [sign, sign, deriveBits])Pass Bad usages: importKey(jwk(private), {name: Ed448}, false, [sign, sign, deriveBits])+Pass Bad usages: importKey(jwk(private), {name: Ed448}, true, [encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: Ed448}, false, [encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: Ed448}, true, [sign, encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: Ed448}, false, [sign, encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: Ed448}, true, [sign, sign, encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: Ed448}, false, [sign, sign, encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: Ed448}, true, [encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: Ed448}, false, [encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: Ed448}, true, [sign, encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: Ed448}, false, [sign, encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: Ed448}, true, [sign, sign, encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: Ed448}, false, [sign, sign, encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: Ed448}, true, [decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: Ed448}, false, [decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: Ed448}, true, [sign, decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: Ed448}, false, [sign, decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: Ed448}, true, [sign, sign, decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: Ed448}, false, [sign, sign, decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: Ed448}, true, [decapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: Ed448}, false, [decapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: Ed448}, true, [sign, decapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: Ed448}, false, [sign, decapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: Ed448}, true, [sign, sign, decapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: Ed448}, false, [sign, sign, decapsulateBits])Pass Bad usages: importKey(jwk (public) , {name: Ed448}, true, [encrypt])Pass Bad usages: importKey(jwk (public) , {name: Ed448}, false, [encrypt])Pass Bad usages: importKey(jwk (public) , {name: Ed448}, true, [verify, encrypt])@@ -423,6 +639,30 @@ Pass Bad usages: importKey(jwk (public) , {name: Ed448}, true, [verify, deriveBiPass Bad usages: importKey(jwk (public) , {name: Ed448}, false, [verify, deriveBits])Pass Bad usages: importKey(jwk (public) , {name: Ed448}, true, [verify, verify, deriveBits])Pass Bad usages: importKey(jwk (public) , {name: Ed448}, false, [verify, verify, deriveBits])+Pass Bad usages: importKey(jwk (public) , {name: Ed448}, true, [encapsulateKey])+Pass Bad usages: importKey(jwk (public) , {name: Ed448}, false, [encapsulateKey])+Pass Bad usages: importKey(jwk (public) , {name: Ed448}, true, [verify, encapsulateKey])+Pass Bad usages: importKey(jwk (public) , {name: Ed448}, false, [verify, encapsulateKey])+Pass Bad usages: importKey(jwk (public) , {name: Ed448}, true, [verify, verify, encapsulateKey])+Pass Bad usages: importKey(jwk (public) , {name: Ed448}, false, [verify, verify, encapsulateKey])+Pass Bad usages: importKey(jwk (public) , {name: Ed448}, true, [encapsulateBits])+Pass Bad usages: importKey(jwk (public) , {name: Ed448}, false, [encapsulateBits])+Pass Bad usages: importKey(jwk (public) , {name: Ed448}, true, [verify, encapsulateBits])+Pass Bad usages: importKey(jwk (public) , {name: Ed448}, false, [verify, encapsulateBits])+Pass Bad usages: importKey(jwk (public) , {name: Ed448}, true, [verify, verify, encapsulateBits])+Pass Bad usages: importKey(jwk (public) , {name: Ed448}, false, [verify, verify, encapsulateBits])+Pass Bad usages: importKey(jwk (public) , {name: Ed448}, true, [decapsulateKey])+Pass Bad usages: importKey(jwk (public) , {name: Ed448}, false, [decapsulateKey])+Pass Bad usages: importKey(jwk (public) , {name: Ed448}, true, [verify, decapsulateKey])+Pass Bad usages: importKey(jwk (public) , {name: Ed448}, false, [verify, decapsulateKey])+Pass Bad usages: importKey(jwk (public) , {name: Ed448}, true, [verify, verify, decapsulateKey])+Pass Bad usages: importKey(jwk (public) , {name: Ed448}, false, [verify, verify, decapsulateKey])+Pass Bad usages: importKey(jwk (public) , {name: Ed448}, true, [decapsulateBits])+Pass Bad usages: importKey(jwk (public) , {name: Ed448}, false, [decapsulateBits])+Pass Bad usages: importKey(jwk (public) , {name: Ed448}, true, [verify, decapsulateBits])+Pass Bad usages: importKey(jwk (public) , {name: Ed448}, false, [verify, decapsulateBits])+Pass Bad usages: importKey(jwk (public) , {name: Ed448}, true, [verify, verify, decapsulateBits])+Pass Bad usages: importKey(jwk (public) , {name: Ed448}, false, [verify, verify, decapsulateBits])Pass Empty usages: importKey(pkcs8, Ed448, true, [])Pass Empty usages: importKey(pkcs8, Ed448, false, [])Pass Empty usages: importKey(jwk(private), Ed448, true, [])diff --git a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/import_export/okp_importKey_failures_X448.tentative.https.any.txt b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/secure-curves/import_export/okp_importKey_failures_X448.https.any.txtsimilarity index 66%rename from Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/import_export/okp_importKey_failures_X448.tentative.https.any.txtrename to Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/secure-curves/import_export/okp_importKey_failures_X448.https.any.txtindex ef50dd3ba0b..09eb06a51a9 100644--- a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/import_export/okp_importKey_failures_X448.tentative.https.any.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/secure-curves/import_export/okp_importKey_failures_X448.https.any.txt@@ -1,8 +1,8 @@Harness status: OK-Found 454 tests+Found 662 tests-454 Pass+662 PassPass Bad usages: importKey(spki, X448, true, [encrypt])Pass Bad usages: importKey(spki, X448, false, [encrypt])Pass Bad usages: importKey(spki, X448, true, [decrypt])@@ -19,6 +19,14 @@ Pass Bad usages: importKey(spki, X448, true, [deriveKey])Pass Bad usages: importKey(spki, X448, false, [deriveKey])Pass Bad usages: importKey(spki, X448, true, [deriveBits])Pass Bad usages: importKey(spki, X448, false, [deriveBits])+Pass Bad usages: importKey(spki, X448, true, [encapsulateKey])+Pass Bad usages: importKey(spki, X448, false, [encapsulateKey])+Pass Bad usages: importKey(spki, X448, true, [encapsulateBits])+Pass Bad usages: importKey(spki, X448, false, [encapsulateBits])+Pass Bad usages: importKey(spki, X448, true, [decapsulateKey])+Pass Bad usages: importKey(spki, X448, false, [decapsulateKey])+Pass Bad usages: importKey(spki, X448, true, [decapsulateBits])+Pass Bad usages: importKey(spki, X448, false, [decapsulateBits])Pass Bad usages: importKey(pkcs8, X448, true, [encrypt])Pass Bad usages: importKey(pkcs8, X448, false, [encrypt])Pass Bad usages: importKey(pkcs8, X448, true, [deriveKey, encrypt])@@ -79,6 +87,46 @@ Pass Bad usages: importKey(pkcs8, X448, true, [deriveBits, unwrapKey])Pass Bad usages: importKey(pkcs8, X448, false, [deriveBits, unwrapKey])Pass Bad usages: importKey(pkcs8, X448, true, [deriveKey, deriveBits, deriveKey, deriveBits, unwrapKey])Pass Bad usages: importKey(pkcs8, X448, false, [deriveKey, deriveBits, deriveKey, deriveBits, unwrapKey])+Pass Bad usages: importKey(pkcs8, X448, true, [encapsulateKey])+Pass Bad usages: importKey(pkcs8, X448, false, [encapsulateKey])+Pass Bad usages: importKey(pkcs8, X448, true, [deriveKey, encapsulateKey])+Pass Bad usages: importKey(pkcs8, X448, false, [deriveKey, encapsulateKey])+Pass Bad usages: importKey(pkcs8, X448, true, [deriveBits, deriveKey, encapsulateKey])+Pass Bad usages: importKey(pkcs8, X448, false, [deriveBits, deriveKey, encapsulateKey])+Pass Bad usages: importKey(pkcs8, X448, true, [deriveBits, encapsulateKey])+Pass Bad usages: importKey(pkcs8, X448, false, [deriveBits, encapsulateKey])+Pass Bad usages: importKey(pkcs8, X448, true, [deriveKey, deriveBits, deriveKey, deriveBits, encapsulateKey])+Pass Bad usages: importKey(pkcs8, X448, false, [deriveKey, deriveBits, deriveKey, deriveBits, encapsulateKey])+Pass Bad usages: importKey(pkcs8, X448, true, [encapsulateBits])+Pass Bad usages: importKey(pkcs8, X448, false, [encapsulateBits])+Pass Bad usages: importKey(pkcs8, X448, true, [deriveKey, encapsulateBits])+Pass Bad usages: importKey(pkcs8, X448, false, [deriveKey, encapsulateBits])+Pass Bad usages: importKey(pkcs8, X448, true, [deriveBits, deriveKey, encapsulateBits])+Pass Bad usages: importKey(pkcs8, X448, false, [deriveBits, deriveKey, encapsulateBits])+Pass Bad usages: importKey(pkcs8, X448, true, [deriveBits, encapsulateBits])+Pass Bad usages: importKey(pkcs8, X448, false, [deriveBits, encapsulateBits])+Pass Bad usages: importKey(pkcs8, X448, true, [deriveKey, deriveBits, deriveKey, deriveBits, encapsulateBits])+Pass Bad usages: importKey(pkcs8, X448, false, [deriveKey, deriveBits, deriveKey, deriveBits, encapsulateBits])+Pass Bad usages: importKey(pkcs8, X448, true, [decapsulateKey])+Pass Bad usages: importKey(pkcs8, X448, false, [decapsulateKey])+Pass Bad usages: importKey(pkcs8, X448, true, [deriveKey, decapsulateKey])+Pass Bad usages: importKey(pkcs8, X448, false, [deriveKey, decapsulateKey])+Pass Bad usages: importKey(pkcs8, X448, true, [deriveBits, deriveKey, decapsulateKey])+Pass Bad usages: importKey(pkcs8, X448, false, [deriveBits, deriveKey, decapsulateKey])+Pass Bad usages: importKey(pkcs8, X448, true, [deriveBits, decapsulateKey])+Pass Bad usages: importKey(pkcs8, X448, false, [deriveBits, decapsulateKey])+Pass Bad usages: importKey(pkcs8, X448, true, [deriveKey, deriveBits, deriveKey, deriveBits, decapsulateKey])+Pass Bad usages: importKey(pkcs8, X448, false, [deriveKey, deriveBits, deriveKey, deriveBits, decapsulateKey])+Pass Bad usages: importKey(pkcs8, X448, true, [decapsulateBits])+Pass Bad usages: importKey(pkcs8, X448, false, [decapsulateBits])+Pass Bad usages: importKey(pkcs8, X448, true, [deriveKey, decapsulateBits])+Pass Bad usages: importKey(pkcs8, X448, false, [deriveKey, decapsulateBits])+Pass Bad usages: importKey(pkcs8, X448, true, [deriveBits, deriveKey, decapsulateBits])+Pass Bad usages: importKey(pkcs8, X448, false, [deriveBits, deriveKey, decapsulateBits])+Pass Bad usages: importKey(pkcs8, X448, true, [deriveBits, decapsulateBits])+Pass Bad usages: importKey(pkcs8, X448, false, [deriveBits, decapsulateBits])+Pass Bad usages: importKey(pkcs8, X448, true, [deriveKey, deriveBits, deriveKey, deriveBits, decapsulateBits])+Pass Bad usages: importKey(pkcs8, X448, false, [deriveKey, deriveBits, deriveKey, deriveBits, decapsulateBits])Pass Bad usages: importKey(raw, X448, true, [encrypt])Pass Bad usages: importKey(raw, X448, false, [encrypt])Pass Bad usages: importKey(raw, X448, true, [decrypt])@@ -95,6 +143,14 @@ Pass Bad usages: importKey(raw, X448, true, [deriveKey])Pass Bad usages: importKey(raw, X448, false, [deriveKey])Pass Bad usages: importKey(raw, X448, true, [deriveBits])Pass Bad usages: importKey(raw, X448, false, [deriveBits])+Pass Bad usages: importKey(raw, X448, true, [encapsulateKey])+Pass Bad usages: importKey(raw, X448, false, [encapsulateKey])+Pass Bad usages: importKey(raw, X448, true, [encapsulateBits])+Pass Bad usages: importKey(raw, X448, false, [encapsulateBits])+Pass Bad usages: importKey(raw, X448, true, [decapsulateKey])+Pass Bad usages: importKey(raw, X448, false, [decapsulateKey])+Pass Bad usages: importKey(raw, X448, true, [decapsulateBits])+Pass Bad usages: importKey(raw, X448, false, [decapsulateBits])Pass Bad usages: importKey(jwk(private), X448, true, [encrypt])Pass Bad usages: importKey(jwk(private), X448, false, [encrypt])Pass Bad usages: importKey(jwk(private), X448, true, [deriveKey, encrypt])@@ -155,6 +211,46 @@ Pass Bad usages: importKey(jwk(private), X448, true, [deriveBits, unwrapKey])Pass Bad usages: importKey(jwk(private), X448, false, [deriveBits, unwrapKey])Pass Bad usages: importKey(jwk(private), X448, true, [deriveKey, deriveBits, deriveKey, deriveBits, unwrapKey])Pass Bad usages: importKey(jwk(private), X448, false, [deriveKey, deriveBits, deriveKey, deriveBits, unwrapKey])+Pass Bad usages: importKey(jwk(private), X448, true, [encapsulateKey])+Pass Bad usages: importKey(jwk(private), X448, false, [encapsulateKey])+Pass Bad usages: importKey(jwk(private), X448, true, [deriveKey, encapsulateKey])+Pass Bad usages: importKey(jwk(private), X448, false, [deriveKey, encapsulateKey])+Pass Bad usages: importKey(jwk(private), X448, true, [deriveBits, deriveKey, encapsulateKey])+Pass Bad usages: importKey(jwk(private), X448, false, [deriveBits, deriveKey, encapsulateKey])+Pass Bad usages: importKey(jwk(private), X448, true, [deriveBits, encapsulateKey])+Pass Bad usages: importKey(jwk(private), X448, false, [deriveBits, encapsulateKey])+Pass Bad usages: importKey(jwk(private), X448, true, [deriveKey, deriveBits, deriveKey, deriveBits, encapsulateKey])+Pass Bad usages: importKey(jwk(private), X448, false, [deriveKey, deriveBits, deriveKey, deriveBits, encapsulateKey])+Pass Bad usages: importKey(jwk(private), X448, true, [encapsulateBits])+Pass Bad usages: importKey(jwk(private), X448, false, [encapsulateBits])+Pass Bad usages: importKey(jwk(private), X448, true, [deriveKey, encapsulateBits])+Pass Bad usages: importKey(jwk(private), X448, false, [deriveKey, encapsulateBits])+Pass Bad usages: importKey(jwk(private), X448, true, [deriveBits, deriveKey, encapsulateBits])+Pass Bad usages: importKey(jwk(private), X448, false, [deriveBits, deriveKey, encapsulateBits])+Pass Bad usages: importKey(jwk(private), X448, true, [deriveBits, encapsulateBits])+Pass Bad usages: importKey(jwk(private), X448, false, [deriveBits, encapsulateBits])+Pass Bad usages: importKey(jwk(private), X448, true, [deriveKey, deriveBits, deriveKey, deriveBits, encapsulateBits])+Pass Bad usages: importKey(jwk(private), X448, false, [deriveKey, deriveBits, deriveKey, deriveBits, encapsulateBits])+Pass Bad usages: importKey(jwk(private), X448, true, [decapsulateKey])+Pass Bad usages: importKey(jwk(private), X448, false, [decapsulateKey])+Pass Bad usages: importKey(jwk(private), X448, true, [deriveKey, decapsulateKey])+Pass Bad usages: importKey(jwk(private), X448, false, [deriveKey, decapsulateKey])+Pass Bad usages: importKey(jwk(private), X448, true, [deriveBits, deriveKey, decapsulateKey])+Pass Bad usages: importKey(jwk(private), X448, false, [deriveBits, deriveKey, decapsulateKey])+Pass Bad usages: importKey(jwk(private), X448, true, [deriveBits, decapsulateKey])+Pass Bad usages: importKey(jwk(private), X448, false, [deriveBits, decapsulateKey])+Pass Bad usages: importKey(jwk(private), X448, true, [deriveKey, deriveBits, deriveKey, deriveBits, decapsulateKey])+Pass Bad usages: importKey(jwk(private), X448, false, [deriveKey, deriveBits, deriveKey, deriveBits, decapsulateKey])+Pass Bad usages: importKey(jwk(private), X448, true, [decapsulateBits])+Pass Bad usages: importKey(jwk(private), X448, false, [decapsulateBits])+Pass Bad usages: importKey(jwk(private), X448, true, [deriveKey, decapsulateBits])+Pass Bad usages: importKey(jwk(private), X448, false, [deriveKey, decapsulateBits])+Pass Bad usages: importKey(jwk(private), X448, true, [deriveBits, deriveKey, decapsulateBits])+Pass Bad usages: importKey(jwk(private), X448, false, [deriveBits, deriveKey, decapsulateBits])+Pass Bad usages: importKey(jwk(private), X448, true, [deriveBits, decapsulateBits])+Pass Bad usages: importKey(jwk(private), X448, false, [deriveBits, decapsulateBits])+Pass Bad usages: importKey(jwk(private), X448, true, [deriveKey, deriveBits, deriveKey, deriveBits, decapsulateBits])+Pass Bad usages: importKey(jwk(private), X448, false, [deriveKey, deriveBits, deriveKey, deriveBits, decapsulateBits])Pass Bad usages: importKey(jwk (public) , X448, true, [encrypt])Pass Bad usages: importKey(jwk (public) , X448, false, [encrypt])Pass Bad usages: importKey(jwk (public) , X448, true, [decrypt])@@ -171,6 +267,14 @@ Pass Bad usages: importKey(jwk (public) , X448, true, [deriveKey])Pass Bad usages: importKey(jwk (public) , X448, false, [deriveKey])Pass Bad usages: importKey(jwk (public) , X448, true, [deriveBits])Pass Bad usages: importKey(jwk (public) , X448, false, [deriveBits])+Pass Bad usages: importKey(jwk (public) , X448, true, [encapsulateKey])+Pass Bad usages: importKey(jwk (public) , X448, false, [encapsulateKey])+Pass Bad usages: importKey(jwk (public) , X448, true, [encapsulateBits])+Pass Bad usages: importKey(jwk (public) , X448, false, [encapsulateBits])+Pass Bad usages: importKey(jwk (public) , X448, true, [decapsulateKey])+Pass Bad usages: importKey(jwk (public) , X448, false, [decapsulateKey])+Pass Bad usages: importKey(jwk (public) , X448, true, [decapsulateBits])+Pass Bad usages: importKey(jwk (public) , X448, false, [decapsulateBits])Pass Bad usages: importKey(spki, {name: X448}, true, [encrypt])Pass Bad usages: importKey(spki, {name: X448}, false, [encrypt])Pass Bad usages: importKey(spki, {name: X448}, true, [decrypt])@@ -187,6 +291,14 @@ Pass Bad usages: importKey(spki, {name: X448}, true, [deriveKey])Pass Bad usages: importKey(spki, {name: X448}, false, [deriveKey])Pass Bad usages: importKey(spki, {name: X448}, true, [deriveBits])Pass Bad usages: importKey(spki, {name: X448}, false, [deriveBits])+Pass Bad usages: importKey(spki, {name: X448}, true, [encapsulateKey])+Pass Bad usages: importKey(spki, {name: X448}, false, [encapsulateKey])+Pass Bad usages: importKey(spki, {name: X448}, true, [encapsulateBits])+Pass Bad usages: importKey(spki, {name: X448}, false, [encapsulateBits])+Pass Bad usages: importKey(spki, {name: X448}, true, [decapsulateKey])+Pass Bad usages: importKey(spki, {name: X448}, false, [decapsulateKey])+Pass Bad usages: importKey(spki, {name: X448}, true, [decapsulateBits])+Pass Bad usages: importKey(spki, {name: X448}, false, [decapsulateBits])Pass Bad usages: importKey(pkcs8, {name: X448}, true, [encrypt])Pass Bad usages: importKey(pkcs8, {name: X448}, false, [encrypt])Pass Bad usages: importKey(pkcs8, {name: X448}, true, [deriveKey, encrypt])@@ -247,6 +359,46 @@ Pass Bad usages: importKey(pkcs8, {name: X448}, true, [deriveBits, unwrapKey])Pass Bad usages: importKey(pkcs8, {name: X448}, false, [deriveBits, unwrapKey])Pass Bad usages: importKey(pkcs8, {name: X448}, true, [deriveKey, deriveBits, deriveKey, deriveBits, unwrapKey])Pass Bad usages: importKey(pkcs8, {name: X448}, false, [deriveKey, deriveBits, deriveKey, deriveBits, unwrapKey])+Pass Bad usages: importKey(pkcs8, {name: X448}, true, [encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: X448}, false, [encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: X448}, true, [deriveKey, encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: X448}, false, [deriveKey, encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: X448}, true, [deriveBits, deriveKey, encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: X448}, false, [deriveBits, deriveKey, encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: X448}, true, [deriveBits, encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: X448}, false, [deriveBits, encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: X448}, true, [deriveKey, deriveBits, deriveKey, deriveBits, encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: X448}, false, [deriveKey, deriveBits, deriveKey, deriveBits, encapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: X448}, true, [encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: X448}, false, [encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: X448}, true, [deriveKey, encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: X448}, false, [deriveKey, encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: X448}, true, [deriveBits, deriveKey, encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: X448}, false, [deriveBits, deriveKey, encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: X448}, true, [deriveBits, encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: X448}, false, [deriveBits, encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: X448}, true, [deriveKey, deriveBits, deriveKey, deriveBits, encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: X448}, false, [deriveKey, deriveBits, deriveKey, deriveBits, encapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: X448}, true, [decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: X448}, false, [decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: X448}, true, [deriveKey, decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: X448}, false, [deriveKey, decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: X448}, true, [deriveBits, deriveKey, decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: X448}, false, [deriveBits, deriveKey, decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: X448}, true, [deriveBits, decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: X448}, false, [deriveBits, decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: X448}, true, [deriveKey, deriveBits, deriveKey, deriveBits, decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: X448}, false, [deriveKey, deriveBits, deriveKey, deriveBits, decapsulateKey])+Pass Bad usages: importKey(pkcs8, {name: X448}, true, [decapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: X448}, false, [decapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: X448}, true, [deriveKey, decapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: X448}, false, [deriveKey, decapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: X448}, true, [deriveBits, deriveKey, decapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: X448}, false, [deriveBits, deriveKey, decapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: X448}, true, [deriveBits, decapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: X448}, false, [deriveBits, decapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: X448}, true, [deriveKey, deriveBits, deriveKey, deriveBits, decapsulateBits])+Pass Bad usages: importKey(pkcs8, {name: X448}, false, [deriveKey, deriveBits, deriveKey, deriveBits, decapsulateBits])Pass Bad usages: importKey(raw, {name: X448}, true, [encrypt])Pass Bad usages: importKey(raw, {name: X448}, false, [encrypt])Pass Bad usages: importKey(raw, {name: X448}, true, [decrypt])@@ -263,6 +415,14 @@ Pass Bad usages: importKey(raw, {name: X448}, true, [deriveKey])Pass Bad usages: importKey(raw, {name: X448}, false, [deriveKey])Pass Bad usages: importKey(raw, {name: X448}, true, [deriveBits])Pass Bad usages: importKey(raw, {name: X448}, false, [deriveBits])+Pass Bad usages: importKey(raw, {name: X448}, true, [encapsulateKey])+Pass Bad usages: importKey(raw, {name: X448}, false, [encapsulateKey])+Pass Bad usages: importKey(raw, {name: X448}, true, [encapsulateBits])+Pass Bad usages: importKey(raw, {name: X448}, false, [encapsulateBits])+Pass Bad usages: importKey(raw, {name: X448}, true, [decapsulateKey])+Pass Bad usages: importKey(raw, {name: X448}, false, [decapsulateKey])+Pass Bad usages: importKey(raw, {name: X448}, true, [decapsulateBits])+Pass Bad usages: importKey(raw, {name: X448}, false, [decapsulateBits])Pass Bad usages: importKey(jwk(private), {name: X448}, true, [encrypt])Pass Bad usages: importKey(jwk(private), {name: X448}, false, [encrypt])Pass Bad usages: importKey(jwk(private), {name: X448}, true, [deriveKey, encrypt])@@ -323,6 +483,46 @@ Pass Bad usages: importKey(jwk(private), {name: X448}, true, [deriveBits, unwrapPass Bad usages: importKey(jwk(private), {name: X448}, false, [deriveBits, unwrapKey])Pass Bad usages: importKey(jwk(private), {name: X448}, true, [deriveKey, deriveBits, deriveKey, deriveBits, unwrapKey])Pass Bad usages: importKey(jwk(private), {name: X448}, false, [deriveKey, deriveBits, deriveKey, deriveBits, unwrapKey])+Pass Bad usages: importKey(jwk(private), {name: X448}, true, [encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: X448}, false, [encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: X448}, true, [deriveKey, encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: X448}, false, [deriveKey, encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: X448}, true, [deriveBits, deriveKey, encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: X448}, false, [deriveBits, deriveKey, encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: X448}, true, [deriveBits, encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: X448}, false, [deriveBits, encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: X448}, true, [deriveKey, deriveBits, deriveKey, deriveBits, encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: X448}, false, [deriveKey, deriveBits, deriveKey, deriveBits, encapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: X448}, true, [encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: X448}, false, [encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: X448}, true, [deriveKey, encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: X448}, false, [deriveKey, encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: X448}, true, [deriveBits, deriveKey, encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: X448}, false, [deriveBits, deriveKey, encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: X448}, true, [deriveBits, encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: X448}, false, [deriveBits, encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: X448}, true, [deriveKey, deriveBits, deriveKey, deriveBits, encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: X448}, false, [deriveKey, deriveBits, deriveKey, deriveBits, encapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: X448}, true, [decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: X448}, false, [decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: X448}, true, [deriveKey, decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: X448}, false, [deriveKey, decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: X448}, true, [deriveBits, deriveKey, decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: X448}, false, [deriveBits, deriveKey, decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: X448}, true, [deriveBits, decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: X448}, false, [deriveBits, decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: X448}, true, [deriveKey, deriveBits, deriveKey, deriveBits, decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: X448}, false, [deriveKey, deriveBits, deriveKey, deriveBits, decapsulateKey])+Pass Bad usages: importKey(jwk(private), {name: X448}, true, [decapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: X448}, false, [decapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: X448}, true, [deriveKey, decapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: X448}, false, [deriveKey, decapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: X448}, true, [deriveBits, deriveKey, decapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: X448}, false, [deriveBits, deriveKey, decapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: X448}, true, [deriveBits, decapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: X448}, false, [deriveBits, decapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: X448}, true, [deriveKey, deriveBits, deriveKey, deriveBits, decapsulateBits])+Pass Bad usages: importKey(jwk(private), {name: X448}, false, [deriveKey, deriveBits, deriveKey, deriveBits, decapsulateBits])Pass Bad usages: importKey(jwk (public) , {name: X448}, true, [encrypt])Pass Bad usages: importKey(jwk (public) , {name: X448}, false, [encrypt])Pass Bad usages: importKey(jwk (public) , {name: X448}, true, [decrypt])@@ -339,6 +539,14 @@ Pass Bad usages: importKey(jwk (public) , {name: X448}, true, [deriveKey])Pass Bad usages: importKey(jwk (public) , {name: X448}, false, [deriveKey])Pass Bad usages: importKey(jwk (public) , {name: X448}, true, [deriveBits])Pass Bad usages: importKey(jwk (public) , {name: X448}, false, [deriveBits])+Pass Bad usages: importKey(jwk (public) , {name: X448}, true, [encapsulateKey])+Pass Bad usages: importKey(jwk (public) , {name: X448}, false, [encapsulateKey])+Pass Bad usages: importKey(jwk (public) , {name: X448}, true, [encapsulateBits])+Pass Bad usages: importKey(jwk (public) , {name: X448}, false, [encapsulateBits])+Pass Bad usages: importKey(jwk (public) , {name: X448}, true, [decapsulateKey])+Pass Bad usages: importKey(jwk (public) , {name: X448}, false, [decapsulateKey])+Pass Bad usages: importKey(jwk (public) , {name: X448}, true, [decapsulateBits])+Pass Bad usages: importKey(jwk (public) , {name: X448}, false, [decapsulateBits])Pass Empty usages: importKey(pkcs8, X448, true, [])Pass Empty usages: importKey(pkcs8, X448, false, [])Pass Empty usages: importKey(jwk(private), X448, true, [])diff --git a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/serialization/ed448.tentative.https.any.txt b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/secure-curves/serialization/ed448.https.any.txtsimilarity index 100%rename from Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/serialization/ed448.tentative.https.any.txtrename to Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/secure-curves/serialization/ed448.https.any.txtdiff --git a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/serialization/x448.tentative.https.any.txt b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/secure-curves/serialization/x448.https.any.txtsimilarity index 100%rename from Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/serialization/x448.tentative.https.any.txtrename to Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/secure-curves/serialization/x448.https.any.txtdiff --git a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/sign_verify/eddsa_curve448.tentative.https.any.txt b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/secure-curves/sign_verify/eddsa_curve448.https.any.txtsimilarity index 100%rename from Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/sign_verify/eddsa_curve448.tentative.https.any.txtrename to Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/secure-curves/sign_verify/eddsa_curve448.https.any.txtdiff --git a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/serialization/rsa-pss.https.any.txt b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/serialization/rsa-pss.https.any.txtindex 1a0b36d7d82..1eb3f3dec5b 100644--- a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/serialization/rsa-pss.https.any.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/serialization/rsa-pss.https.any.txt@@ -4,4 +4,4 @@ Found 2 tests2 PassPass serialization test {hash: SHA-1, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}-Pass serialization test {hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}+Pass serialization test {hash: SHA-256, modulusLength: 2048, name: RSA-PSS, publicExponent: {0: 1, 1: 0, 2: 1}}\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/sign_verify/ecdsa.https.any.txt b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/sign_verify/ecdsa.https.any.txtindex 6055c864758..f47ee728665 100644--- a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/sign_verify/ecdsa.https.any.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/sign_verify/ecdsa.https.any.txt@@ -1,3 +1,329 @@-Harness status: Error+Harness status: OK-Found 0 tests+Found 324 tests++324 Pass+Pass ECDSA P-256 with SHA-1 verification+Pass ECDSA P-256 with SHA-1 verification with altered signature during call+Pass ECDSA P-256 with SHA-1 verification with altered signature after call+Pass ECDSA P-256 with SHA-1 verification with transferred signature during call+Pass ECDSA P-256 with SHA-1 verification with transferred signature after call+Pass ECDSA P-256 with SHA-1 with altered plaintext during call+Pass ECDSA P-256 with SHA-1 with altered plaintext after call+Pass ECDSA P-256 with SHA-1 with transferred plaintext during call+Pass ECDSA P-256 with SHA-1 with transferred plaintext after call+Pass ECDSA P-256 with SHA-1 using privateKey to verify+Pass ECDSA P-256 with SHA-1 using publicKey to sign+Pass ECDSA P-256 with SHA-1 no verify usage+Pass ECDSA P-256 with SHA-1 round trip+Pass ECDSA P-256 with SHA-1 signing with wrong algorithm name+Pass ECDSA P-256 with SHA-1 verifying with wrong algorithm name+Pass ECDSA P-256 with SHA-1 verification failure due to altered signature+Pass ECDSA P-256 with SHA-1 verification failure due to shortened signature+Pass ECDSA P-256 with SHA-1 verification failure due to altered plaintext+Pass ECDSA P-256 with SHA-256 verification+Pass ECDSA P-256 with SHA-256 verification with altered signature during call+Pass ECDSA P-256 with SHA-256 verification with altered signature after call+Pass ECDSA P-256 with SHA-256 verification with transferred signature during call+Pass ECDSA P-256 with SHA-256 verification with transferred signature after call+Pass ECDSA P-256 with SHA-256 with altered plaintext during call+Pass ECDSA P-256 with SHA-256 with altered plaintext after call+Pass ECDSA P-256 with SHA-256 with transferred plaintext during call+Pass ECDSA P-256 with SHA-256 with transferred plaintext after call+Pass ECDSA P-256 with SHA-256 using privateKey to verify+Pass ECDSA P-256 with SHA-256 using publicKey to sign+Pass ECDSA P-256 with SHA-256 no verify usage+Pass ECDSA P-256 with SHA-256 round trip+Pass ECDSA P-256 with SHA-256 signing with wrong algorithm name+Pass ECDSA P-256 with SHA-256 verifying with wrong algorithm name+Pass ECDSA P-256 with SHA-256 verification failure due to altered signature+Pass ECDSA P-256 with SHA-256 verification failure due to shortened signature+Pass ECDSA P-256 with SHA-256 verification failure due to altered plaintext+Pass ECDSA P-256 with SHA-384 verification+Pass ECDSA P-256 with SHA-384 verification with altered signature during call+Pass ECDSA P-256 with SHA-384 verification with altered signature after call+Pass ECDSA P-256 with SHA-384 verification with transferred signature during call+Pass ECDSA P-256 with SHA-384 verification with transferred signature after call+Pass ECDSA P-256 with SHA-384 with altered plaintext during call+Pass ECDSA P-256 with SHA-384 with altered plaintext after call+Pass ECDSA P-256 with SHA-384 with transferred plaintext during call+Pass ECDSA P-256 with SHA-384 with transferred plaintext after call+Pass ECDSA P-256 with SHA-384 using privateKey to verify+Pass ECDSA P-256 with SHA-384 using publicKey to sign+Pass ECDSA P-256 with SHA-384 no verify usage+Pass ECDSA P-256 with SHA-384 round trip+Pass ECDSA P-256 with SHA-384 signing with wrong algorithm name+Pass ECDSA P-256 with SHA-384 verifying with wrong algorithm name+Pass ECDSA P-256 with SHA-384 verification failure due to altered signature+Pass ECDSA P-256 with SHA-384 verification failure due to shortened signature+Pass ECDSA P-256 with SHA-384 verification failure due to altered plaintext+Pass ECDSA P-256 with SHA-512 verification+Pass ECDSA P-256 with SHA-512 verification with altered signature during call+Pass ECDSA P-256 with SHA-512 verification with altered signature after call+Pass ECDSA P-256 with SHA-512 verification with transferred signature during call+Pass ECDSA P-256 with SHA-512 verification with transferred signature after call+Pass ECDSA P-256 with SHA-512 with altered plaintext during call+Pass ECDSA P-256 with SHA-512 with altered plaintext after call+Pass ECDSA P-256 with SHA-512 with transferred plaintext during call+Pass ECDSA P-256 with SHA-512 with transferred plaintext after call+Pass ECDSA P-256 with SHA-512 using privateKey to verify+Pass ECDSA P-256 with SHA-512 using publicKey to sign+Pass ECDSA P-256 with SHA-512 no verify usage+Pass ECDSA P-256 with SHA-512 round trip+Pass ECDSA P-256 with SHA-512 signing with wrong algorithm name+Pass ECDSA P-256 with SHA-512 verifying with wrong algorithm name+Pass ECDSA P-256 with SHA-512 verification failure due to altered signature+Pass ECDSA P-256 with SHA-512 verification failure due to shortened signature+Pass ECDSA P-256 with SHA-512 verification failure due to altered plaintext+Pass ECDSA P-384 with SHA-1 verification+Pass ECDSA P-384 with SHA-1 verification with altered signature during call+Pass ECDSA P-384 with SHA-1 verification with altered signature after call+Pass ECDSA P-384 with SHA-1 verification with transferred signature during call+Pass ECDSA P-384 with SHA-1 verification with transferred signature after call+Pass ECDSA P-384 with SHA-1 with altered plaintext during call+Pass ECDSA P-384 with SHA-1 with altered plaintext after call+Pass ECDSA P-384 with SHA-1 with transferred plaintext during call+Pass ECDSA P-384 with SHA-1 with transferred plaintext after call+Pass ECDSA P-384 with SHA-1 using privateKey to verify+Pass ECDSA P-384 with SHA-1 using publicKey to sign+Pass ECDSA P-384 with SHA-1 no verify usage+Pass ECDSA P-384 with SHA-1 round trip+Pass ECDSA P-384 with SHA-1 signing with wrong algorithm name+Pass ECDSA P-384 with SHA-1 verifying with wrong algorithm name+Pass ECDSA P-384 with SHA-1 verification failure due to altered signature+Pass ECDSA P-384 with SHA-1 verification failure due to shortened signature+Pass ECDSA P-384 with SHA-1 verification failure due to altered plaintext+Pass ECDSA P-384 with SHA-256 verification+Pass ECDSA P-384 with SHA-256 verification with altered signature during call+Pass ECDSA P-384 with SHA-256 verification with altered signature after call+Pass ECDSA P-384 with SHA-256 verification with transferred signature during call+Pass ECDSA P-384 with SHA-256 verification with transferred signature after call+Pass ECDSA P-384 with SHA-256 with altered plaintext during call+Pass ECDSA P-384 with SHA-256 with altered plaintext after call+Pass ECDSA P-384 with SHA-256 with transferred plaintext during call+Pass ECDSA P-384 with SHA-256 with transferred plaintext after call+Pass ECDSA P-384 with SHA-256 using privateKey to verify+Pass ECDSA P-384 with SHA-256 using publicKey to sign+Pass ECDSA P-384 with SHA-256 no verify usage+Pass ECDSA P-384 with SHA-256 round trip+Pass ECDSA P-384 with SHA-256 signing with wrong algorithm name+Pass ECDSA P-384 with SHA-256 verifying with wrong algorithm name+Pass ECDSA P-384 with SHA-256 verification failure due to altered signature+Pass ECDSA P-384 with SHA-256 verification failure due to shortened signature+Pass ECDSA P-384 with SHA-256 verification failure due to altered plaintext+Pass ECDSA P-384 with SHA-384 verification+Pass ECDSA P-384 with SHA-384 verification with altered signature during call+Pass ECDSA P-384 with SHA-384 verification with altered signature after call+Pass ECDSA P-384 with SHA-384 verification with transferred signature during call+Pass ECDSA P-384 with SHA-384 verification with transferred signature after call+Pass ECDSA P-384 with SHA-384 with altered plaintext during call+Pass ECDSA P-384 with SHA-384 with altered plaintext after call+Pass ECDSA P-384 with SHA-384 with transferred plaintext during call+Pass ECDSA P-384 with SHA-384 with transferred plaintext after call+Pass ECDSA P-384 with SHA-384 using privateKey to verify+Pass ECDSA P-384 with SHA-384 using publicKey to sign+Pass ECDSA P-384 with SHA-384 no verify usage+Pass ECDSA P-384 with SHA-384 round trip+Pass ECDSA P-384 with SHA-384 signing with wrong algorithm name+Pass ECDSA P-384 with SHA-384 verifying with wrong algorithm name+Pass ECDSA P-384 with SHA-384 verification failure due to altered signature+Pass ECDSA P-384 with SHA-384 verification failure due to shortened signature+Pass ECDSA P-384 with SHA-384 verification failure due to altered plaintext+Pass ECDSA P-384 with SHA-512 verification+Pass ECDSA P-384 with SHA-512 verification with altered signature during call+Pass ECDSA P-384 with SHA-512 verification with altered signature after call+Pass ECDSA P-384 with SHA-512 verification with transferred signature during call+Pass ECDSA P-384 with SHA-512 verification with transferred signature after call+Pass ECDSA P-384 with SHA-512 with altered plaintext during call+Pass ECDSA P-384 with SHA-512 with altered plaintext after call+Pass ECDSA P-384 with SHA-512 with transferred plaintext during call+Pass ECDSA P-384 with SHA-512 with transferred plaintext after call+Pass ECDSA P-384 with SHA-512 using privateKey to verify+Pass ECDSA P-384 with SHA-512 using publicKey to sign+Pass ECDSA P-384 with SHA-512 no verify usage+Pass ECDSA P-384 with SHA-512 round trip+Pass ECDSA P-384 with SHA-512 signing with wrong algorithm name+Pass ECDSA P-384 with SHA-512 verifying with wrong algorithm name+Pass ECDSA P-384 with SHA-512 verification failure due to altered signature+Pass ECDSA P-384 with SHA-512 verification failure due to shortened signature+Pass ECDSA P-384 with SHA-512 verification failure due to altered plaintext+Pass ECDSA P-521 with SHA-1 verification+Pass ECDSA P-521 with SHA-1 verification with altered signature during call+Pass ECDSA P-521 with SHA-1 verification with altered signature after call+Pass ECDSA P-521 with SHA-1 verification with transferred signature during call+Pass ECDSA P-521 with SHA-1 verification with transferred signature after call+Pass ECDSA P-521 with SHA-1 with altered plaintext during call+Pass ECDSA P-521 with SHA-1 with altered plaintext after call+Pass ECDSA P-521 with SHA-1 with transferred plaintext during call+Pass ECDSA P-521 with SHA-1 with transferred plaintext after call+Pass ECDSA P-521 with SHA-1 using privateKey to verify+Pass ECDSA P-521 with SHA-1 using publicKey to sign+Pass ECDSA P-521 with SHA-1 no verify usage+Pass ECDSA P-521 with SHA-1 round trip+Pass ECDSA P-521 with SHA-1 signing with wrong algorithm name+Pass ECDSA P-521 with SHA-1 verifying with wrong algorithm name+Pass ECDSA P-521 with SHA-1 verification failure due to altered signature+Pass ECDSA P-521 with SHA-1 verification failure due to shortened signature+Pass ECDSA P-521 with SHA-1 verification failure due to altered plaintext+Pass ECDSA P-521 with SHA-256 verification+Pass ECDSA P-521 with SHA-256 verification with altered signature during call+Pass ECDSA P-521 with SHA-256 verification with altered signature after call+Pass ECDSA P-521 with SHA-256 verification with transferred signature during call+Pass ECDSA P-521 with SHA-256 verification with transferred signature after call+Pass ECDSA P-521 with SHA-256 with altered plaintext during call+Pass ECDSA P-521 with SHA-256 with altered plaintext after call+Pass ECDSA P-521 with SHA-256 with transferred plaintext during call+Pass ECDSA P-521 with SHA-256 with transferred plaintext after call+Pass ECDSA P-521 with SHA-256 using privateKey to verify+Pass ECDSA P-521 with SHA-256 using publicKey to sign+Pass ECDSA P-521 with SHA-256 no verify usage+Pass ECDSA P-521 with SHA-256 round trip+Pass ECDSA P-521 with SHA-256 signing with wrong algorithm name+Pass ECDSA P-521 with SHA-256 verifying with wrong algorithm name+Pass ECDSA P-521 with SHA-256 verification failure due to altered signature+Pass ECDSA P-521 with SHA-256 verification failure due to shortened signature+Pass ECDSA P-521 with SHA-256 verification failure due to altered plaintext+Pass ECDSA P-521 with SHA-384 verification+Pass ECDSA P-521 with SHA-384 verification with altered signature during call+Pass ECDSA P-521 with SHA-384 verification with altered signature after call+Pass ECDSA P-521 with SHA-384 verification with transferred signature during call+Pass ECDSA P-521 with SHA-384 verification with transferred signature after call+Pass ECDSA P-521 with SHA-384 with altered plaintext during call+Pass ECDSA P-521 with SHA-384 with altered plaintext after call+Pass ECDSA P-521 with SHA-384 with transferred plaintext during call+Pass ECDSA P-521 with SHA-384 with transferred plaintext after call+Pass ECDSA P-521 with SHA-384 using privateKey to verify+Pass ECDSA P-521 with SHA-384 using publicKey to sign+Pass ECDSA P-521 with SHA-384 no verify usage+Pass ECDSA P-521 with SHA-384 round trip+Pass ECDSA P-521 with SHA-384 signing with wrong algorithm name+Pass ECDSA P-521 with SHA-384 verifying with wrong algorithm name+Pass ECDSA P-521 with SHA-384 verification failure due to altered signature+Pass ECDSA P-521 with SHA-384 verification failure due to shortened signature+Pass ECDSA P-521 with SHA-384 verification failure due to altered plaintext+Pass ECDSA P-521 with SHA-512 verification+Pass ECDSA P-521 with SHA-512 verification with altered signature during call+Pass ECDSA P-521 with SHA-512 verification with altered signature after call+Pass ECDSA P-521 with SHA-512 verification with transferred signature during call+Pass ECDSA P-521 with SHA-512 verification with transferred signature after call+Pass ECDSA P-521 with SHA-512 with altered plaintext during call+Pass ECDSA P-521 with SHA-512 with altered plaintext after call+Pass ECDSA P-521 with SHA-512 with transferred plaintext during call+Pass ECDSA P-521 with SHA-512 with transferred plaintext after call+Pass ECDSA P-521 with SHA-512 using privateKey to verify+Pass ECDSA P-521 with SHA-512 using publicKey to sign+Pass ECDSA P-521 with SHA-512 no verify usage+Pass ECDSA P-521 with SHA-512 round trip+Pass ECDSA P-521 with SHA-512 signing with wrong algorithm name+Pass ECDSA P-521 with SHA-512 verifying with wrong algorithm name+Pass ECDSA P-521 with SHA-512 verification failure due to altered signature+Pass ECDSA P-521 with SHA-512 verification failure due to shortened signature+Pass ECDSA P-521 with SHA-512 verification failure due to altered plaintext+Pass ECDSA P-256 with SHA-1 - The signature was truncated by 1 byte verification+Pass ECDSA P-256 with SHA-1 - The signature was made using SHA-1, however verification is being done using SHA-256 verification+Pass ECDSA P-256 with SHA-1 - The signature was made using SHA-1, however verification is being done using SHA-384 verification+Pass ECDSA P-256 with SHA-1 - The signature was made using SHA-1, however verification is being done using SHA-512 verification+Pass ECDSA P-256 with SHA-1 - Signature has excess padding verification+Pass ECDSA P-256 with SHA-1 - The signature is empty verification+Pass ECDSA P-256 with SHA-1 - The signature is all zeroes verification+Pass ECDSA P-256 with SHA-256 - The signature was truncated by 1 byte verification+Pass ECDSA P-256 with SHA-256 - The signature was made using SHA-256, however verification is being done using SHA-1 verification+Pass ECDSA P-256 with SHA-256 - The signature was made using SHA-256, however verification is being done using SHA-384 verification+Pass ECDSA P-256 with SHA-256 - The signature was made using SHA-256, however verification is being done using SHA-512 verification+Pass ECDSA P-256 with SHA-256 - Signature has excess padding verification+Pass ECDSA P-256 with SHA-256 - The signature is empty verification+Pass ECDSA P-256 with SHA-256 - The signature is all zeroes verification+Pass ECDSA P-256 with SHA-384 - The signature was truncated by 1 byte verification+Pass ECDSA P-256 with SHA-384 - The signature was made using SHA-384, however verification is being done using SHA-1 verification+Pass ECDSA P-256 with SHA-384 - The signature was made using SHA-384, however verification is being done using SHA-256 verification+Pass ECDSA P-256 with SHA-384 - The signature was made using SHA-384, however verification is being done using SHA-512 verification+Pass ECDSA P-256 with SHA-384 - Signature has excess padding verification+Pass ECDSA P-256 with SHA-384 - The signature is empty verification+Pass ECDSA P-256 with SHA-384 - The signature is all zeroes verification+Pass ECDSA P-256 with SHA-512 - The signature was truncated by 1 byte verification+Pass ECDSA P-256 with SHA-512 - The signature was made using SHA-512, however verification is being done using SHA-1 verification+Pass ECDSA P-256 with SHA-512 - The signature was made using SHA-512, however verification is being done using SHA-256 verification+Pass ECDSA P-256 with SHA-512 - The signature was made using SHA-512, however verification is being done using SHA-384 verification+Pass ECDSA P-256 with SHA-512 - Signature has excess padding verification+Pass ECDSA P-256 with SHA-512 - The signature is empty verification+Pass ECDSA P-256 with SHA-512 - The signature is all zeroes verification+Pass ECDSA P-384 with SHA-1 - The signature was truncated by 1 byte verification+Pass ECDSA P-384 with SHA-1 - The signature was made using SHA-1, however verification is being done using SHA-256 verification+Pass ECDSA P-384 with SHA-1 - The signature was made using SHA-1, however verification is being done using SHA-384 verification+Pass ECDSA P-384 with SHA-1 - The signature was made using SHA-1, however verification is being done using SHA-512 verification+Pass ECDSA P-384 with SHA-1 - Signature has excess padding verification+Pass ECDSA P-384 with SHA-1 - The signature is empty verification+Pass ECDSA P-384 with SHA-1 - The signature is all zeroes verification+Pass ECDSA P-384 with SHA-256 - The signature was truncated by 1 byte verification+Pass ECDSA P-384 with SHA-256 - The signature was made using SHA-256, however verification is being done using SHA-1 verification+Pass ECDSA P-384 with SHA-256 - The signature was made using SHA-256, however verification is being done using SHA-384 verification+Pass ECDSA P-384 with SHA-256 - The signature was made using SHA-256, however verification is being done using SHA-512 verification+Pass ECDSA P-384 with SHA-256 - Signature has excess padding verification+Pass ECDSA P-384 with SHA-256 - The signature is empty verification+Pass ECDSA P-384 with SHA-256 - The signature is all zeroes verification+Pass ECDSA P-384 with SHA-384 - The signature was truncated by 1 byte verification+Pass ECDSA P-384 with SHA-384 - The signature was made using SHA-384, however verification is being done using SHA-1 verification+Pass ECDSA P-384 with SHA-384 - The signature was made using SHA-384, however verification is being done using SHA-256 verification+Pass ECDSA P-384 with SHA-384 - The signature was made using SHA-384, however verification is being done using SHA-512 verification+Pass ECDSA P-384 with SHA-384 - Signature has excess padding verification+Pass ECDSA P-384 with SHA-384 - The signature is empty verification+Pass ECDSA P-384 with SHA-384 - The signature is all zeroes verification+Pass ECDSA P-384 with SHA-512 - The signature was truncated by 1 byte verification+Pass ECDSA P-384 with SHA-512 - The signature was made using SHA-512, however verification is being done using SHA-1 verification+Pass ECDSA P-384 with SHA-512 - The signature was made using SHA-512, however verification is being done using SHA-256 verification+Pass ECDSA P-384 with SHA-512 - The signature was made using SHA-512, however verification is being done using SHA-384 verification+Pass ECDSA P-384 with SHA-512 - Signature has excess padding verification+Pass ECDSA P-384 with SHA-512 - The signature is empty verification+Pass ECDSA P-384 with SHA-512 - The signature is all zeroes verification+Pass ECDSA P-521 with SHA-1 - The signature was truncated by 1 byte verification+Pass ECDSA P-521 with SHA-1 - The signature was made using SHA-1, however verification is being done using SHA-256 verification+Pass ECDSA P-521 with SHA-1 - The signature was made using SHA-1, however verification is being done using SHA-384 verification+Pass ECDSA P-521 with SHA-1 - The signature was made using SHA-1, however verification is being done using SHA-512 verification+Pass ECDSA P-521 with SHA-1 - Signature has excess padding verification+Pass ECDSA P-521 with SHA-1 - The signature is empty verification+Pass ECDSA P-521 with SHA-1 - The signature is all zeroes verification+Pass ECDSA P-521 with SHA-256 - The signature was truncated by 1 byte verification+Pass ECDSA P-521 with SHA-256 - The signature was made using SHA-256, however verification is being done using SHA-1 verification+Pass ECDSA P-521 with SHA-256 - The signature was made using SHA-256, however verification is being done using SHA-384 verification+Pass ECDSA P-521 with SHA-256 - The signature was made using SHA-256, however verification is being done using SHA-512 verification+Pass ECDSA P-521 with SHA-256 - Signature has excess padding verification+Pass ECDSA P-521 with SHA-256 - The signature is empty verification+Pass ECDSA P-521 with SHA-256 - The signature is all zeroes verification+Pass ECDSA P-521 with SHA-384 - The signature was truncated by 1 byte verification+Pass ECDSA P-521 with SHA-384 - The signature was made using SHA-384, however verification is being done using SHA-1 verification+Pass ECDSA P-521 with SHA-384 - The signature was made using SHA-384, however verification is being done using SHA-256 verification+Pass ECDSA P-521 with SHA-384 - The signature was made using SHA-384, however verification is being done using SHA-512 verification+Pass ECDSA P-521 with SHA-384 - Signature has excess padding verification+Pass ECDSA P-521 with SHA-384 - The signature is empty verification+Pass ECDSA P-521 with SHA-384 - The signature is all zeroes verification+Pass ECDSA P-521 with SHA-512 - The signature was truncated by 1 byte verification+Pass ECDSA P-521 with SHA-512 - The signature was made using SHA-512, however verification is being done using SHA-1 verification+Pass ECDSA P-521 with SHA-512 - The signature was made using SHA-512, however verification is being done using SHA-256 verification+Pass ECDSA P-521 with SHA-512 - The signature was made using SHA-512, however verification is being done using SHA-384 verification+Pass ECDSA P-521 with SHA-512 - Signature has excess padding verification+Pass ECDSA P-521 with SHA-512 - The signature is empty verification+Pass ECDSA P-521 with SHA-512 - The signature is all zeroes verification+Pass ECDSA P-256 with SHA-1 verification failure due to wrong hash+Pass ECDSA P-256 with SHA-1 verification failure due to bad hash name+Pass ECDSA P-256 with SHA-256 verification failure due to wrong hash+Pass ECDSA P-256 with SHA-256 verification failure due to bad hash name+Pass ECDSA P-256 with SHA-384 verification failure due to wrong hash+Pass ECDSA P-256 with SHA-384 verification failure due to bad hash name+Pass ECDSA P-256 with SHA-512 verification failure due to wrong hash+Pass ECDSA P-256 with SHA-512 verification failure due to bad hash name+Pass ECDSA P-384 with SHA-1 verification failure due to wrong hash+Pass ECDSA P-384 with SHA-1 verification failure due to bad hash name+Pass ECDSA P-384 with SHA-256 verification failure due to wrong hash+Pass ECDSA P-384 with SHA-256 verification failure due to bad hash name+Pass ECDSA P-384 with SHA-384 verification failure due to wrong hash+Pass ECDSA P-384 with SHA-384 verification failure due to bad hash name+Pass ECDSA P-384 with SHA-512 verification failure due to wrong hash+Pass ECDSA P-384 with SHA-512 verification failure due to bad hash name+Pass ECDSA P-521 with SHA-1 verification failure due to wrong hash+Pass ECDSA P-521 with SHA-1 verification failure due to bad hash name+Pass ECDSA P-521 with SHA-256 verification failure due to wrong hash+Pass ECDSA P-521 with SHA-256 verification failure due to bad hash name+Pass ECDSA P-521 with SHA-384 verification failure due to wrong hash+Pass ECDSA P-521 with SHA-384 verification failure due to bad hash name+Pass ECDSA P-521 with SHA-512 verification failure due to wrong hash+Pass ECDSA P-521 with SHA-512 verification failure due to bad hash name\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/sign_verify/rsa_pkcs.https.any.txt b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/sign_verify/rsa_pkcs.https.any.txtindex 6526f8d29c3..28839354c84 100644--- a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/sign_verify/rsa_pkcs.https.any.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/sign_verify/rsa_pkcs.https.any.txt@@ -1,74 +1,73 @@Harness status: OK-Found 69 tests+Found 68 tests-69 Pass-Pass setup+68 PassPass RSASSA-PKCS1-v1_5 with SHA-1 verification-Pass RSASSA-PKCS1-v1_5 with SHA-256 verification-Pass RSASSA-PKCS1-v1_5 with SHA-384 verification-Pass RSASSA-PKCS1-v1_5 with SHA-512 verificationPass RSASSA-PKCS1-v1_5 with SHA-1 verification with altered signature during call-Pass RSASSA-PKCS1-v1_5 with SHA-256 verification with altered signature during call-Pass RSASSA-PKCS1-v1_5 with SHA-384 verification with altered signature during call-Pass RSASSA-PKCS1-v1_5 with SHA-512 verification with altered signature during callPass RSASSA-PKCS1-v1_5 with SHA-1 verification with altered signature after call-Pass RSASSA-PKCS1-v1_5 with SHA-256 verification with altered signature after call-Pass RSASSA-PKCS1-v1_5 with SHA-384 verification with altered signature after call-Pass RSASSA-PKCS1-v1_5 with SHA-512 verification with altered signature after callPass RSASSA-PKCS1-v1_5 with SHA-1 verification with transferred signature during call-Pass RSASSA-PKCS1-v1_5 with SHA-256 verification with transferred signature during call-Pass RSASSA-PKCS1-v1_5 with SHA-384 verification with transferred signature during call-Pass RSASSA-PKCS1-v1_5 with SHA-512 verification with transferred signature during callPass RSASSA-PKCS1-v1_5 with SHA-1 verification with transferred signature after call-Pass RSASSA-PKCS1-v1_5 with SHA-256 verification with transferred signature after call-Pass RSASSA-PKCS1-v1_5 with SHA-384 verification with transferred signature after call-Pass RSASSA-PKCS1-v1_5 with SHA-512 verification with transferred signature after callPass RSASSA-PKCS1-v1_5 with SHA-1 with altered plaintext during call-Pass RSASSA-PKCS1-v1_5 with SHA-256 with altered plaintext during call-Pass RSASSA-PKCS1-v1_5 with SHA-384 with altered plaintext during call-Pass RSASSA-PKCS1-v1_5 with SHA-512 with altered plaintext during callPass RSASSA-PKCS1-v1_5 with SHA-1 with altered plaintext after call-Pass RSASSA-PKCS1-v1_5 with SHA-256 with altered plaintext after call-Pass RSASSA-PKCS1-v1_5 with SHA-384 with altered plaintext after call-Pass RSASSA-PKCS1-v1_5 with SHA-512 with altered plaintext after callPass RSASSA-PKCS1-v1_5 with SHA-1 with transferred plaintext during call-Pass RSASSA-PKCS1-v1_5 with SHA-256 with transferred plaintext during call-Pass RSASSA-PKCS1-v1_5 with SHA-384 with transferred plaintext during call-Pass RSASSA-PKCS1-v1_5 with SHA-512 with transferred plaintext during callPass RSASSA-PKCS1-v1_5 with SHA-1 with transferred plaintext after call-Pass RSASSA-PKCS1-v1_5 with SHA-256 with transferred plaintext after call-Pass RSASSA-PKCS1-v1_5 with SHA-384 with transferred plaintext after call-Pass RSASSA-PKCS1-v1_5 with SHA-512 with transferred plaintext after callPass RSASSA-PKCS1-v1_5 with SHA-1 using privateKey to verify-Pass RSASSA-PKCS1-v1_5 with SHA-256 using privateKey to verify-Pass RSASSA-PKCS1-v1_5 with SHA-384 using privateKey to verify-Pass RSASSA-PKCS1-v1_5 with SHA-512 using privateKey to verifyPass RSASSA-PKCS1-v1_5 with SHA-1 using publicKey to sign-Pass RSASSA-PKCS1-v1_5 with SHA-256 using publicKey to sign-Pass RSASSA-PKCS1-v1_5 with SHA-384 using publicKey to sign-Pass RSASSA-PKCS1-v1_5 with SHA-512 using publicKey to signPass RSASSA-PKCS1-v1_5 with SHA-1 no verify usage-Pass RSASSA-PKCS1-v1_5 with SHA-256 no verify usage-Pass RSASSA-PKCS1-v1_5 with SHA-384 no verify usage-Pass RSASSA-PKCS1-v1_5 with SHA-512 no verify usagePass RSASSA-PKCS1-v1_5 with SHA-1 round trip-Pass RSASSA-PKCS1-v1_5 with SHA-256 round trip-Pass RSASSA-PKCS1-v1_5 with SHA-384 round trip-Pass RSASSA-PKCS1-v1_5 with SHA-512 round tripPass RSASSA-PKCS1-v1_5 with SHA-1 signing with wrong algorithm name-Pass RSASSA-PKCS1-v1_5 with SHA-256 signing with wrong algorithm name-Pass RSASSA-PKCS1-v1_5 with SHA-384 signing with wrong algorithm name-Pass RSASSA-PKCS1-v1_5 with SHA-512 signing with wrong algorithm namePass RSASSA-PKCS1-v1_5 with SHA-1 verification with wrong algorithm name-Pass RSASSA-PKCS1-v1_5 with SHA-256 verification with wrong algorithm name-Pass RSASSA-PKCS1-v1_5 with SHA-384 verification with wrong algorithm name-Pass RSASSA-PKCS1-v1_5 with SHA-512 verification with wrong algorithm namePass RSASSA-PKCS1-v1_5 with SHA-1 verification failure with altered signature-Pass RSASSA-PKCS1-v1_5 with SHA-256 verification failure with altered signature-Pass RSASSA-PKCS1-v1_5 with SHA-384 verification failure with altered signature-Pass RSASSA-PKCS1-v1_5 with SHA-512 verification failure with altered signaturePass RSASSA-PKCS1-v1_5 with SHA-1 verification failure with altered plaintext+Pass RSASSA-PKCS1-v1_5 with SHA-256 verification+Pass RSASSA-PKCS1-v1_5 with SHA-256 verification with altered signature during call+Pass RSASSA-PKCS1-v1_5 with SHA-256 verification with altered signature after call+Pass RSASSA-PKCS1-v1_5 with SHA-256 verification with transferred signature during call+Pass RSASSA-PKCS1-v1_5 with SHA-256 verification with transferred signature after call+Pass RSASSA-PKCS1-v1_5 with SHA-256 with altered plaintext during call+Pass RSASSA-PKCS1-v1_5 with SHA-256 with altered plaintext after call+Pass RSASSA-PKCS1-v1_5 with SHA-256 with transferred plaintext during call+Pass RSASSA-PKCS1-v1_5 with SHA-256 with transferred plaintext after call+Pass RSASSA-PKCS1-v1_5 with SHA-256 using privateKey to verify+Pass RSASSA-PKCS1-v1_5 with SHA-256 using publicKey to sign+Pass RSASSA-PKCS1-v1_5 with SHA-256 no verify usage+Pass RSASSA-PKCS1-v1_5 with SHA-256 round trip+Pass RSASSA-PKCS1-v1_5 with SHA-256 signing with wrong algorithm name+Pass RSASSA-PKCS1-v1_5 with SHA-256 verification with wrong algorithm name+Pass RSASSA-PKCS1-v1_5 with SHA-256 verification failure with altered signaturePass RSASSA-PKCS1-v1_5 with SHA-256 verification failure with altered plaintext+Pass RSASSA-PKCS1-v1_5 with SHA-384 verification+Pass RSASSA-PKCS1-v1_5 with SHA-384 verification with altered signature during call+Pass RSASSA-PKCS1-v1_5 with SHA-384 verification with altered signature after call+Pass RSASSA-PKCS1-v1_5 with SHA-384 verification with transferred signature during call+Pass RSASSA-PKCS1-v1_5 with SHA-384 verification with transferred signature after call+Pass RSASSA-PKCS1-v1_5 with SHA-384 with altered plaintext during call+Pass RSASSA-PKCS1-v1_5 with SHA-384 with altered plaintext after call+Pass RSASSA-PKCS1-v1_5 with SHA-384 with transferred plaintext during call+Pass RSASSA-PKCS1-v1_5 with SHA-384 with transferred plaintext after call+Pass RSASSA-PKCS1-v1_5 with SHA-384 using privateKey to verify+Pass RSASSA-PKCS1-v1_5 with SHA-384 using publicKey to sign+Pass RSASSA-PKCS1-v1_5 with SHA-384 no verify usage+Pass RSASSA-PKCS1-v1_5 with SHA-384 round trip+Pass RSASSA-PKCS1-v1_5 with SHA-384 signing with wrong algorithm name+Pass RSASSA-PKCS1-v1_5 with SHA-384 verification with wrong algorithm name+Pass RSASSA-PKCS1-v1_5 with SHA-384 verification failure with altered signaturePass RSASSA-PKCS1-v1_5 with SHA-384 verification failure with altered plaintext+Pass RSASSA-PKCS1-v1_5 with SHA-512 verification+Pass RSASSA-PKCS1-v1_5 with SHA-512 verification with altered signature during call+Pass RSASSA-PKCS1-v1_5 with SHA-512 verification with altered signature after call+Pass RSASSA-PKCS1-v1_5 with SHA-512 verification with transferred signature during call+Pass RSASSA-PKCS1-v1_5 with SHA-512 verification with transferred signature after call+Pass RSASSA-PKCS1-v1_5 with SHA-512 with altered plaintext during call+Pass RSASSA-PKCS1-v1_5 with SHA-512 with altered plaintext after call+Pass RSASSA-PKCS1-v1_5 with SHA-512 with transferred plaintext during call+Pass RSASSA-PKCS1-v1_5 with SHA-512 with transferred plaintext after call+Pass RSASSA-PKCS1-v1_5 with SHA-512 using privateKey to verify+Pass RSASSA-PKCS1-v1_5 with SHA-512 using publicKey to sign+Pass RSASSA-PKCS1-v1_5 with SHA-512 no verify usage+Pass RSASSA-PKCS1-v1_5 with SHA-512 round trip+Pass RSASSA-PKCS1-v1_5 with SHA-512 signing with wrong algorithm name+Pass RSASSA-PKCS1-v1_5 with SHA-512 verification with wrong algorithm name+Pass RSASSA-PKCS1-v1_5 with SHA-512 verification failure with altered signaturePass RSASSA-PKCS1-v1_5 with SHA-512 verification failure with altered plaintext\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/sign_verify/rsa_pss.https.any.txt b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/sign_verify/rsa_pss.https.any.txtindex 24c30dbefb4..a0936665361 100644--- a/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/sign_verify/rsa_pss.https.any.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/WebCryptoAPI/sign_verify/rsa_pss.https.any.txt@@ -1,137 +1,144 @@Harness status: OK-Found 145 tests+Found 144 tests-145 Pass-Pass setup+144 PassPass RSA-PSS with SHA-1 and no salt verification-Pass RSA-PSS with SHA-256 and no salt verification-Pass RSA-PSS with SHA-384 and no salt verification-Pass RSA-PSS with SHA-512 and no salt verification-Pass RSA-PSS with SHA-1, salted verification-Pass RSA-PSS with SHA-256, salted verification-Pass RSA-PSS with SHA-384, salted verification-Pass RSA-PSS with SHA-512, salted verificationPass RSA-PSS with SHA-1 and no salt verification with altered signature during call-Pass RSA-PSS with SHA-256 and no salt verification with altered signature during call-Pass RSA-PSS with SHA-384 and no salt verification with altered signature during call-Pass RSA-PSS with SHA-512 and no salt verification with altered signature during call-Pass RSA-PSS with SHA-1, salted verification with altered signature during call-Pass RSA-PSS with SHA-256, salted verification with altered signature during call-Pass RSA-PSS with SHA-384, salted verification with altered signature during call-Pass RSA-PSS with SHA-512, salted verification with altered signature during callPass RSA-PSS with SHA-1 and no salt verification with altered signature after call-Pass RSA-PSS with SHA-256 and no salt verification with altered signature after call-Pass RSA-PSS with SHA-384 and no salt verification with altered signature after call-Pass RSA-PSS with SHA-512 and no salt verification with altered signature after call-Pass RSA-PSS with SHA-1, salted verification with altered signature after call-Pass RSA-PSS with SHA-256, salted verification with altered signature after call-Pass RSA-PSS with SHA-384, salted verification with altered signature after call-Pass RSA-PSS with SHA-512, salted verification with altered signature after callPass RSA-PSS with SHA-1 and no salt verification with transferred signature during call-Pass RSA-PSS with SHA-256 and no salt verification with transferred signature during call-Pass RSA-PSS with SHA-384 and no salt verification with transferred signature during call-Pass RSA-PSS with SHA-512 and no salt verification with transferred signature during call-Pass RSA-PSS with SHA-1, salted verification with transferred signature during call-Pass RSA-PSS with SHA-256, salted verification with transferred signature during call-Pass RSA-PSS with SHA-384, salted verification with transferred signature during call-Pass RSA-PSS with SHA-512, salted verification with transferred signature during callPass RSA-PSS with SHA-1 and no salt verification with transferred signature after call-Pass RSA-PSS with SHA-256 and no salt verification with transferred signature after call-Pass RSA-PSS with SHA-384 and no salt verification with transferred signature after call-Pass RSA-PSS with SHA-512 and no salt verification with transferred signature after call-Pass RSA-PSS with SHA-1, salted verification with transferred signature after call-Pass RSA-PSS with SHA-256, salted verification with transferred signature after call-Pass RSA-PSS with SHA-384, salted verification with transferred signature after call-Pass RSA-PSS with SHA-512, salted verification with transferred signature after callPass RSA-PSS with SHA-1 and no salt with altered plaintext during call-Pass RSA-PSS with SHA-256 and no salt with altered plaintext during call-Pass RSA-PSS with SHA-384 and no salt with altered plaintext during call-Pass RSA-PSS with SHA-512 and no salt with altered plaintext during call-Pass RSA-PSS with SHA-1, salted with altered plaintext during call-Pass RSA-PSS with SHA-256, salted with altered plaintext during call-Pass RSA-PSS with SHA-384, salted with altered plaintext during call-Pass RSA-PSS with SHA-512, salted with altered plaintext during callPass RSA-PSS with SHA-1 and no salt with altered plaintext after call-Pass RSA-PSS with SHA-256 and no salt with altered plaintext after call-Pass RSA-PSS with SHA-384 and no salt with altered plaintext after call-Pass RSA-PSS with SHA-512 and no salt with altered plaintext after call-Pass RSA-PSS with SHA-1, salted with altered plaintext after call-Pass RSA-PSS with SHA-256, salted with altered plaintext after call-Pass RSA-PSS with SHA-384, salted with altered plaintext after call-Pass RSA-PSS with SHA-512, salted with altered plaintext after callPass RSA-PSS with SHA-1 and no salt with transferred plaintext during call-Pass RSA-PSS with SHA-256 and no salt with transferred plaintext during call-Pass RSA-PSS with SHA-384 and no salt with transferred plaintext during call-Pass RSA-PSS with SHA-512 and no salt with transferred plaintext during call-Pass RSA-PSS with SHA-1, salted with transferred plaintext during call-Pass RSA-PSS with SHA-256, salted with transferred plaintext during call-Pass RSA-PSS with SHA-384, salted with transferred plaintext during call-Pass RSA-PSS with SHA-512, salted with transferred plaintext during callPass RSA-PSS with SHA-1 and no salt with transferred plaintext after call-Pass RSA-PSS with SHA-256 and no salt with transferred plaintext after call-Pass RSA-PSS with SHA-384 and no salt with transferred plaintext after call-Pass RSA-PSS with SHA-512 and no salt with transferred plaintext after call-Pass RSA-PSS with SHA-1, salted with transferred plaintext after call-Pass RSA-PSS with SHA-256, salted with transferred plaintext after call-Pass RSA-PSS with SHA-384, salted with transferred plaintext after call-Pass RSA-PSS with SHA-512, salted with transferred plaintext after callPass RSA-PSS with SHA-1 and no salt using privateKey to verify-Pass RSA-PSS with SHA-256 and no salt using privateKey to verify-Pass RSA-PSS with SHA-384 and no salt using privateKey to verify-Pass RSA-PSS with SHA-512 and no salt using privateKey to verify-Pass RSA-PSS with SHA-1, salted using privateKey to verify-Pass RSA-PSS with SHA-256, salted using privateKey to verify-Pass RSA-PSS with SHA-384, salted using privateKey to verify-Pass RSA-PSS with SHA-512, salted using privateKey to verifyPass RSA-PSS with SHA-1 and no salt using publicKey to sign-Pass RSA-PSS with SHA-256 and no salt using publicKey to sign-Pass RSA-PSS with SHA-384 and no salt using publicKey to sign-Pass RSA-PSS with SHA-512 and no salt using publicKey to sign-Pass RSA-PSS with SHA-1, salted using publicKey to sign-Pass RSA-PSS with SHA-256, salted using publicKey to sign-Pass RSA-PSS with SHA-384, salted using publicKey to sign-Pass RSA-PSS with SHA-512, salted using publicKey to signPass RSA-PSS with SHA-1 and no salt no verify usage-Pass RSA-PSS with SHA-256 and no salt no verify usage-Pass RSA-PSS with SHA-384 and no salt no verify usage-Pass RSA-PSS with SHA-512 and no salt no verify usage-Pass RSA-PSS with SHA-1, salted no verify usage-Pass RSA-PSS with SHA-256, salted no verify usage-Pass RSA-PSS with SHA-384, salted no verify usage-Pass RSA-PSS with SHA-512, salted no verify usagePass RSA-PSS with SHA-1 and no salt round trip-Pass RSA-PSS with SHA-256 and no salt round trip-Pass RSA-PSS with SHA-384 and no salt round trip-Pass RSA-PSS with SHA-512 and no salt round trip-Pass RSA-PSS with SHA-1, salted round trip-Pass RSA-PSS with SHA-256, salted round trip-Pass RSA-PSS with SHA-384, salted round trip-Pass RSA-PSS with SHA-512, salted round tripPass RSA-PSS with SHA-1 and no salt signing with wrong algorithm name-Pass RSA-PSS with SHA-256 and no salt signing with wrong algorithm name-Pass RSA-PSS with SHA-384 and no salt signing with wrong algorithm name-Pass RSA-PSS with SHA-512 and no salt signing with wrong algorithm name-Pass RSA-PSS with SHA-1, salted signing with wrong algorithm name-Pass RSA-PSS with SHA-256, salted signing with wrong algorithm name-Pass RSA-PSS with SHA-384, salted signing with wrong algorithm name-Pass RSA-PSS with SHA-512, salted signing with wrong algorithm namePass RSA-PSS with SHA-1 and no salt verification with wrong algorithm name-Pass RSA-PSS with SHA-256 and no salt verification with wrong algorithm name-Pass RSA-PSS with SHA-384 and no salt verification with wrong algorithm name-Pass RSA-PSS with SHA-512 and no salt verification with wrong algorithm name-Pass RSA-PSS with SHA-1, salted verification with wrong algorithm name-Pass RSA-PSS with SHA-256, salted verification with wrong algorithm name-Pass RSA-PSS with SHA-384, salted verification with wrong algorithm name-Pass RSA-PSS with SHA-512, salted verification with wrong algorithm namePass RSA-PSS with SHA-1 and no salt verification failure with altered signature+Pass RSA-PSS with SHA-1 and no salt verification failure with altered plaintext+Pass RSA-PSS with SHA-256 and no salt verification+Pass RSA-PSS with SHA-256 and no salt verification with altered signature during call+Pass RSA-PSS with SHA-256 and no salt verification with altered signature after call+Pass RSA-PSS with SHA-256 and no salt verification with transferred signature during call+Pass RSA-PSS with SHA-256 and no salt verification with transferred signature after call+Pass RSA-PSS with SHA-256 and no salt with altered plaintext during call+Pass RSA-PSS with SHA-256 and no salt with altered plaintext after call+Pass RSA-PSS with SHA-256 and no salt with transferred plaintext during call+Pass RSA-PSS with SHA-256 and no salt with transferred plaintext after call+Pass RSA-PSS with SHA-256 and no salt using privateKey to verify+Pass RSA-PSS with SHA-256 and no salt using publicKey to sign+Pass RSA-PSS with SHA-256 and no salt no verify usage+Pass RSA-PSS with SHA-256 and no salt round trip+Pass RSA-PSS with SHA-256 and no salt signing with wrong algorithm name+Pass RSA-PSS with SHA-256 and no salt verification with wrong algorithm namePass RSA-PSS with SHA-256 and no salt verification failure with altered signature+Pass RSA-PSS with SHA-256 and no salt verification failure with altered plaintext+Pass RSA-PSS with SHA-384 and no salt verification+Pass RSA-PSS with SHA-384 and no salt verification with altered signature during call+Pass RSA-PSS with SHA-384 and no salt verification with altered signature after call+Pass RSA-PSS with SHA-384 and no salt verification with transferred signature during call+Pass RSA-PSS with SHA-384 and no salt verification with transferred signature after call+Pass RSA-PSS with SHA-384 and no salt with altered plaintext during call+Pass RSA-PSS with SHA-384 and no salt with altered plaintext after call+Pass RSA-PSS with SHA-384 and no salt with transferred plaintext during call+Pass RSA-PSS with SHA-384 and no salt with transferred plaintext after call+Pass RSA-PSS with SHA-384 and no salt using privateKey to verify+Pass RSA-PSS with SHA-384 and no salt using publicKey to sign+Pass RSA-PSS with SHA-384 and no salt no verify usage+Pass RSA-PSS with SHA-384 and no salt round trip+Pass RSA-PSS with SHA-384 and no salt signing with wrong algorithm name+Pass RSA-PSS with SHA-384 and no salt verification with wrong algorithm namePass RSA-PSS with SHA-384 and no salt verification failure with altered signature+Pass RSA-PSS with SHA-384 and no salt verification failure with altered plaintext+Pass RSA-PSS with SHA-512 and no salt verification+Pass RSA-PSS with SHA-512 and no salt verification with altered signature during call+Pass RSA-PSS with SHA-512 and no salt verification with altered signature after call+Pass RSA-PSS with SHA-512 and no salt verification with transferred signature during call+Pass RSA-PSS with SHA-512 and no salt verification with transferred signature after call+Pass RSA-PSS with SHA-512 and no salt with altered plaintext during call+Pass RSA-PSS with SHA-512 and no salt with altered plaintext after call+Pass RSA-PSS with SHA-512 and no salt with transferred plaintext during call+Pass RSA-PSS with SHA-512 and no salt with transferred plaintext after call+Pass RSA-PSS with SHA-512 and no salt using privateKey to verify+Pass RSA-PSS with SHA-512 and no salt using publicKey to sign+Pass RSA-PSS with SHA-512 and no salt no verify usage+Pass RSA-PSS with SHA-512 and no salt round trip+Pass RSA-PSS with SHA-512 and no salt signing with wrong algorithm name+Pass RSA-PSS with SHA-512 and no salt verification with wrong algorithm namePass RSA-PSS with SHA-512 and no salt verification failure with altered signature+Pass RSA-PSS with SHA-512 and no salt verification failure with altered plaintext+Pass RSA-PSS with SHA-1, salted verification+Pass RSA-PSS with SHA-1, salted verification with altered signature during call+Pass RSA-PSS with SHA-1, salted verification with altered signature after call+Pass RSA-PSS with SHA-1, salted verification with transferred signature during call+Pass RSA-PSS with SHA-1, salted verification with transferred signature after call+Pass RSA-PSS with SHA-1, salted with altered plaintext during call+Pass RSA-PSS with SHA-1, salted with altered plaintext after call+Pass RSA-PSS with SHA-1, salted with transferred plaintext during call+Pass RSA-PSS with SHA-1, salted with transferred plaintext after call+Pass RSA-PSS with SHA-1, salted using privateKey to verify+Pass RSA-PSS with SHA-1, salted using publicKey to sign+Pass RSA-PSS with SHA-1, salted no verify usage+Pass RSA-PSS with SHA-1, salted round trip+Pass RSA-PSS with SHA-1, salted signing with wrong algorithm name+Pass RSA-PSS with SHA-1, salted verification with wrong algorithm namePass RSA-PSS with SHA-1, salted verification failure with altered signature+Pass RSA-PSS with SHA-1, salted verification failure with altered plaintext+Pass RSA-PSS with SHA-256, salted verification+Pass RSA-PSS with SHA-256, salted verification with altered signature during call+Pass RSA-PSS with SHA-256, salted verification with altered signature after call+Pass RSA-PSS with SHA-256, salted verification with transferred signature during call+Pass RSA-PSS with SHA-256, salted verification with transferred signature after call+Pass RSA-PSS with SHA-256, salted with altered plaintext during call+Pass RSA-PSS with SHA-256, salted with altered plaintext after call+Pass RSA-PSS with SHA-256, salted with transferred plaintext during call+Pass RSA-PSS with SHA-256, salted with transferred plaintext after call+Pass RSA-PSS with SHA-256, salted using privateKey to verify+Pass RSA-PSS with SHA-256, salted using publicKey to sign+Pass RSA-PSS with SHA-256, salted no verify usage+Pass RSA-PSS with SHA-256, salted round trip+Pass RSA-PSS with SHA-256, salted signing with wrong algorithm name+Pass RSA-PSS with SHA-256, salted verification with wrong algorithm namePass RSA-PSS with SHA-256, salted verification failure with altered signature+Pass RSA-PSS with SHA-256, salted verification failure with altered plaintext+Pass RSA-PSS with SHA-384, salted verification+Pass RSA-PSS with SHA-384, salted verification with altered signature during call+Pass RSA-PSS with SHA-384, salted verification with altered signature after call+Pass RSA-PSS with SHA-384, salted verification with transferred signature during call+Pass RSA-PSS with SHA-384, salted verification with transferred signature after call+Pass RSA-PSS with SHA-384, salted with altered plaintext during call+Pass RSA-PSS with SHA-384, salted with altered plaintext after call+Pass RSA-PSS with SHA-384, salted with transferred plaintext during call+Pass RSA-PSS with SHA-384, salted with transferred plaintext after call+Pass RSA-PSS with SHA-384, salted using privateKey to verify+Pass RSA-PSS with SHA-384, salted using publicKey to sign+Pass RSA-PSS with SHA-384, salted no verify usage+Pass RSA-PSS with SHA-384, salted round trip+Pass RSA-PSS with SHA-384, salted signing with wrong algorithm name+Pass RSA-PSS with SHA-384, salted verification with wrong algorithm namePass RSA-PSS with SHA-384, salted verification failure with altered signature+Pass RSA-PSS with SHA-384, salted verification failure with altered plaintext+Pass RSA-PSS with SHA-512, salted verification+Pass RSA-PSS with SHA-512, salted verification with altered signature during call+Pass RSA-PSS with SHA-512, salted verification with altered signature after call+Pass RSA-PSS with SHA-512, salted verification with transferred signature during call+Pass RSA-PSS with SHA-512, salted verification with transferred signature after call+Pass RSA-PSS with SHA-512, salted with altered plaintext during call+Pass RSA-PSS with SHA-512, salted with altered plaintext after call+Pass RSA-PSS with SHA-512, salted with transferred plaintext during call+Pass RSA-PSS with SHA-512, salted with transferred plaintext after call+Pass RSA-PSS with SHA-512, salted using privateKey to verify+Pass RSA-PSS with SHA-512, salted using publicKey to sign+Pass RSA-PSS with SHA-512, salted no verify usage+Pass RSA-PSS with SHA-512, salted round trip+Pass RSA-PSS with SHA-512, salted signing with wrong algorithm name+Pass RSA-PSS with SHA-512, salted verification with wrong algorithm namePass RSA-PSS with SHA-512, salted verification failure with altered signature+Pass RSA-PSS with SHA-512, salted verification failure with altered plaintextPass RSA-PSS with SHA-1 and no salt verification failure with wrong saltLengthPass RSA-PSS with SHA-256 and no salt verification failure with wrong saltLengthPass RSA-PSS with SHA-384 and no salt verification failure with wrong saltLength@@ -139,12 +146,4 @@ Pass RSA-PSS with SHA-512 and no salt verification failure with wrong saltLengthPass RSA-PSS with SHA-1, salted verification failure with wrong saltLengthPass RSA-PSS with SHA-256, salted verification failure with wrong saltLengthPass RSA-PSS with SHA-384, salted verification failure with wrong saltLength-Pass RSA-PSS with SHA-512, salted verification failure with wrong saltLength-Pass RSA-PSS with SHA-1 and no salt verification failure with altered plaintext-Pass RSA-PSS with SHA-256 and no salt verification failure with altered plaintext-Pass RSA-PSS with SHA-384 and no salt verification failure with altered plaintext-Pass RSA-PSS with SHA-512 and no salt verification failure with altered plaintext-Pass RSA-PSS with SHA-1, salted verification failure with altered plaintext-Pass RSA-PSS with SHA-256, salted verification failure with altered plaintext-Pass RSA-PSS with SHA-384, salted verification failure with altered plaintext-Pass RSA-PSS with SHA-512, salted verification failure with altered plaintext\ No newline at end of file+Pass RSA-PSS with SHA-512, salted verification failure with wrong saltLength\ No newline at end of filediff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/derive_bits_keys/cfrg_curves.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/derive_bits_keys/cfrg_curves.jsnew file mode 100644index 00000000000..25113bfe04a--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/derive_bits_keys/cfrg_curves.js@@ -0,0 +1,128 @@+async function defineCfrgTests(algorithmName, operation) {+ const subtle = self.crypto.subtle;+ const isDeriveBits = operation === "deriveBits";++ kSmallOrderPoint[algorithmName].forEach(test => {+ promise_test(async() => {+ let privateKey;+ let publicKey;+ let derived;+ let error;++ try {+ privateKey = await subtle.importKey(+ "pkcs8",+ pkcs8[algorithmName],+ {name: algorithmName},+ false,+ ["deriveBits", "deriveKey"]+ );+ publicKey = await subtle.importKey(+ "spki",+ test.vector,+ {name: algorithmName},+ false,+ []+ );+ derived = isDeriveBits+ ? await subtle.deriveBits(+ {name: algorithmName, public: publicKey},+ privateKey,+ 8 * sizes[algorithmName]+ )+ : await subtle.deriveKey(+ {name: algorithmName, public: publicKey},+ privateKey,+ {name: "HMAC", hash: "SHA-256", length: 256},+ true,+ ["sign", "verify"]+ );+ } catch (caught) {+ error = caught;+ }++ assert_not_equals(privateKey, undefined, "Private key should be valid.");+ assert_not_equals(publicKey, undefined, "Public key should be valid.");+ assert_not_equals(error, undefined, "Operation should fail.");+ assert_equals(+ error.name,+ "OperationError",+ "Should throw correct error, not " + error.name + ": " + error.message + "."+ );+ assert_equals(derived, undefined, "Operation succeeded, but should not have.");+ }, algorithmName ++ (isDeriveBits ? " key derivation" : " deriveBits") ++ " checks for all-zero value result with a key of order " + test.order);+ });++ if (!isDeriveBits) {+ promise_test(async() => {+ const key = await subtle.generateKey(+ {name: algorithmName},+ true,+ ["deriveKey", "deriveBits"]+ );+ const derived = await subtle.deriveKey(+ {name: algorithmName, public: key.publicKey},+ key.privateKey,+ {name: "HMAC", hash: "SHA-256", length: 256},+ true,+ ["sign", "verify"]+ );+ assert_not_equals(derived, undefined, "Key derivation failed.");+ }, "Key derivation using a " + algorithmName + " generated keys.");+ }++ const noUsage = isDeriveBits ? ["deriveKey"] : ["deriveBits"];+ const [+ privateKey,+ noUsagePrivateKey,+ publicKey,+ ecdhPublicKey,+ ] = await Promise.all([+ subtle.importKey(+ "pkcs8",+ pkcs8[algorithmName],+ {name: algorithmName},+ false,+ ["deriveBits", "deriveKey"]+ ),+ subtle.importKey(+ "pkcs8",+ pkcs8[algorithmName],+ {name: algorithmName},+ false,+ noUsage+ ),+ subtle.importKey(+ "spki",+ spki[algorithmName],+ {name: algorithmName},+ false,+ []+ ),+ subtle.importKey(+ "spki",+ ecSPKI,+ {name: "ECDH", namedCurve: "P-256"},+ false,+ []+ ),+ ]);++ registerDeriveTests({+ operation,+ algorithmName,+ mixedCaseName: algorithmName.toLowerCase(),+ size: sizes[algorithmName],+ derivation: derivations[algorithmName],+ privateKey,+ publicKey,+ noUsagePrivateKey,+ invalidPublicKeys: [{+ name: algorithmName + " mismatched algorithms",+ key: ecdhPublicKey,+ }],+ missingPublicLabel: algorithmName + " missing public property",+ });+}diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/derive_bits_keys/cfrg_curves_bits.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/derive_bits_keys/cfrg_curves_bits.jsindex 1406e8bf0a1..c3826a295e6 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/derive_bits_keys/cfrg_curves_bits.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/derive_bits_keys/cfrg_curves_bits.js@@ -1,227 +1,7 @@function define_tests_25519() {- return define_tests("X25519");+ return defineCfrgTests("X25519", "deriveBits");}function define_tests_448() {- return define_tests("X448");-}--function define_tests(algorithmName) {- // May want to test prefixed implementations.- var subtle = self.crypto.subtle;-- // Verify the derive functions perform checks against the all-zero value results,- // ensuring small-order points are rejected.- // https://www.rfc-editor.org/rfc/rfc7748#section-6.1- {- kSmallOrderPoint[algorithmName].forEach(function(test) {- promise_test(async() => {- let derived;- let privateKey;- let publicKey;- try {- privateKey = await subtle.importKey("pkcs8", pkcs8[algorithmName],- {name: algorithmName},- false, ["deriveBits", "deriveKey"]);- publicKey = await subtle.importKey("spki", test.vector,- {name: algorithmName},- false, [])- derived = await subtle.deriveBits({name: algorithmName, public: publicKey}, privateKey, 8 * sizes[algorithmName]);- } catch (err) {- assert_true(privateKey !== undefined, "Private key should be valid.");- assert_true(publicKey !== undefined, "Public key should be valid.");- assert_equals(err.name, "OperationError", "Should throw correct error, not " + err.name + ": " + err.message + ".");- }- assert_equals(derived, undefined, "Operation succeeded, but should not have.");- }, algorithmName + " key derivation checks for all-zero value result with a key of order " + test.order);- });- }-- return importKeys(pkcs8, spki, sizes)- .then(function(results) {- publicKeys = results.publicKeys;- privateKeys = results.privateKeys;- noDeriveBitsKeys = results.noDeriveBitsKeys;- ecdhKeys = results.ecdhKeys;-- {- // Basic success case- promise_test(function(test) {- return subtle.deriveBits({name: algorithmName, public: publicKeys[algorithmName]}, privateKeys[algorithmName], 8 * sizes[algorithmName])- .then(function(derivation) {- assert_true(equalBuffers(derivation, derivations[algorithmName]), "Derived correct bits");- }, function(err) {- assert_unreached("deriveBits failed with error " + err.name + ": " + err.message);- });- }, algorithmName + " good parameters");-- // Case insensitivity check- promise_test(function(test) {- return subtle.deriveBits({name: algorithmName.toLowerCase(), public: publicKeys[algorithmName]}, privateKeys[algorithmName], 8 * sizes[algorithmName])- .then(function(derivation) {- assert_true(equalBuffers(derivation, derivations[algorithmName]), "Derived correct bits");- }, function(err) {- assert_unreached("deriveBits failed with error " + err.name + ": " + err.message);- });- }, algorithmName + " mixed case parameters");-- // Shorter than entire derivation per algorithm- promise_test(function(test) {- return subtle.deriveBits({name: algorithmName, public: publicKeys[algorithmName]}, privateKeys[algorithmName], 8 * sizes[algorithmName] - 32)- .then(function(derivation) {- assert_true(equalBuffers(derivation, derivations[algorithmName], 8 * sizes[algorithmName] - 32), "Derived correct bits");- }, function(err) {- assert_unreached("deriveBits failed with error " + err.name + ": " + err.message);- });- }, algorithmName + " short result");-- // Non-multiple of 8- promise_test(function(test) {- return subtle.deriveBits({name: algorithmName, public: publicKeys[algorithmName]}, privateKeys[algorithmName], 8 * sizes[algorithmName] - 11)- .then(function(derivation) {- assert_true(equalBuffers(derivation, derivations[algorithmName], 8 * sizes[algorithmName] - 11), "Derived correct bits");- }, function(err) {- assert_unreached("deriveBits failed with error " + err.name + ": " + err.message);- });- }, algorithmName + " non-multiple of 8 bits");-- // Errors to test:-- // - missing public property TypeError- promise_test(function(test) {- return subtle.deriveBits({name: algorithmName}, privateKeys[algorithmName], 8 * sizes[algorithmName])- .then(function(derivation) {- assert_unreached("deriveBits succeeded but should have failed with TypeError");- }, function(err) {- assert_equals(err.name, "TypeError", "Should throw correct error, not " + err.name + ": " + err.message);- });- }, algorithmName + " missing public property");-- // - Non CryptoKey public property TypeError- promise_test(function(test) {- return subtle.deriveBits({name: algorithmName, public: {message: "Not a CryptoKey"}}, privateKeys[algorithmName], 8 * sizes[algorithmName])- .then(function(derivation) {- assert_unreached("deriveBits succeeded but should have failed with TypeError");- }, function(err) {- assert_equals(err.name, "TypeError", "Should throw correct error, not " + err.name + ": " + err.message);- });- }, algorithmName + " public property of algorithm is not a CryptoKey");-- // - wrong algorithm- promise_test(function(test) {- return subtle.deriveBits({name: algorithmName, public: ecdhKeys[algorithmName]}, privateKeys[algorithmName], 8 * sizes[algorithmName])- .then(function(derivation) {- assert_unreached("deriveBits succeeded but should have failed with InvalidAccessError");- }, function(err) {- assert_equals(err.name, "InvalidAccessError", "Should throw correct error, not " + err.name + ": " + err.message);- });- }, algorithmName + " mismatched algorithms");-- // - No deriveBits usage in baseKey InvalidAccessError- promise_test(function(test) {- return subtle.deriveBits({name: algorithmName, public: publicKeys[algorithmName]}, noDeriveBitsKeys[algorithmName], 8 * sizes[algorithmName])- .then(function(derivation) {- assert_unreached("deriveBits succeeded but should have failed with InvalidAccessError");- }, function(err) {- assert_equals(err.name, "InvalidAccessError", "Should throw correct error, not " + err.name + ": " + err.message);- });- }, algorithmName + " no deriveBits usage for base key");-- // - Use public key for baseKey InvalidAccessError- promise_test(function(test) {- return subtle.deriveBits({name: algorithmName, public: publicKeys[algorithmName]}, publicKeys[algorithmName], 8 * sizes[algorithmName])- .then(function(derivation) {- assert_unreached("deriveBits succeeded but should have failed with InvalidAccessError");- }, function(err) {- assert_equals(err.name, "InvalidAccessError", "Should throw correct error, not " + err.name + ": " + err.message);- });- }, algorithmName + " base key is not a private key");-- // - Use private key for public property InvalidAccessError- promise_test(function(test) {- return subtle.deriveBits({name: algorithmName, public: privateKeys[algorithmName]}, privateKeys[algorithmName], 8 * sizes[algorithmName])- .then(function(derivation) {- assert_unreached("deriveBits succeeded but should have failed with InvalidAccessError");- }, function(err) {- assert_equals(err.name, "InvalidAccessError", "Should throw correct error, not " + err.name + ": " + err.message);- });- }, algorithmName + " public property value is a private key");-- // - Use secret key for public property InvalidAccessError- promise_test(function(test) {- return subtle.generateKey({name: "AES-CBC", length: 128}, true, ["encrypt", "decrypt"])- .then(function(secretKey) {- return subtle.deriveBits({name: algorithmName, public: secretKey}, privateKeys[algorithmName], 8 * sizes[algorithmName])- .then(function(derivation) {- assert_unreached("deriveBits succeeded but should have failed with InvalidAccessError");- }, function(err) {- assert_equals(err.name, "InvalidAccessError", "Should throw correct error, not " + err.name + ": " + err.message);- });- });- }, algorithmName + " public property value is a secret key");-- // - Length greater than possible for particular curves OperationError- promise_test(function(test) {- return subtle.deriveBits({name: algorithmName, public: publicKeys[algorithmName]}, privateKeys[algorithmName], 8 * sizes[algorithmName] + 8)- .then(function(derivation) {- assert_unreached("deriveBits succeeded but should have failed with OperationError");- }, function(err) {- assert_equals(err.name, "OperationError", "Should throw correct error, not " + err.name + ": " + err.message);- });- }, algorithmName + " asking for too many bits");- }- });-- function importKeys(pkcs8, spki, sizes) {- var privateKeys = {};- var publicKeys = {};- var noDeriveBitsKeys = {};- var ecdhPublicKeys = {};-- var promises = [];- {- var operation = subtle.importKey("pkcs8", pkcs8[algorithmName],- {name: algorithmName},- false, ["deriveBits", "deriveKey"])- .then(function(key) {- privateKeys[algorithmName] = key;- }, function (err) {- privateKeys[algorithmName] = null;- });- promises.push(operation);- }- {- var operation = subtle.importKey("pkcs8", pkcs8[algorithmName],- {name: algorithmName},- false, ["deriveKey"])- .then(function(key) {- noDeriveBitsKeys[algorithmName] = key;- }, function (err) {- noDeriveBitsKeys[algorithmName] = null;- });- promises.push(operation);- }- {- var operation = subtle.importKey("spki", spki[algorithmName],- {name: algorithmName},- false, [])- .then(function(key) {- publicKeys[algorithmName] = key;- }, function (err) {- publicKeys[algorithmName] = null;- });- promises.push(operation);- }- {- var operation = subtle.importKey("spki", ecSPKI,- {name: "ECDH", namedCurve: "P-256"},- false, [])- .then(function(key) {- ecdhPublicKeys[algorithmName] = key;- });- }- return Promise.all(promises)- .then(function(results) {return {privateKeys: privateKeys, publicKeys: publicKeys, noDeriveBitsKeys: noDeriveBitsKeys, ecdhKeys: ecdhPublicKeys}});- }-+ return defineCfrgTests("X448", "deriveBits");}diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/derive_bits_keys/cfrg_curves_bits_curve448.tentative.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/derive_bits_keys/cfrg_curves_bits_curve448.tentative.https.any.htmldeleted file mode 100644index 25374dd2db5..00000000000--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/derive_bits_keys/cfrg_curves_bits_curve448.tentative.https.any.html+++ /dev/null@@ -1,17 +0,0 @@-<!doctype html>-<meta charset=utf-8>-<title>WebCryptoAPI: deriveKey() Using ECDH with CFRG Elliptic Curves</title>-<script>-self.GLOBAL = {- isWindow: function() { return true; },- isWorker: function() { return false; },- isShadowRealm: function() { return false; },-};-</script>-<script src="../../resources/testharness.js"></script>-<script src="../../resources/testharnessreport.js"></script>-<script src="../util/helpers.js"></script>-<script src="cfrg_curves_bits_fixtures.js"></script>-<script src="cfrg_curves_bits.js"></script>-<div id=log></div>-<script src="../../WebCryptoAPI/derive_bits_keys/cfrg_curves_bits_curve448.tentative.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/derive_bits_keys/derive.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/derive_bits_keys/derive.jsnew file mode 100644index 00000000000..ce2010771aa--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/derive_bits_keys/derive.js@@ -0,0 +1,169 @@+function registerDeriveTests(options) {+ const {+ operation,+ algorithmName,+ testName = algorithmName,+ mixedCaseName,+ size,+ derivation,+ privateKey,+ publicKey,+ noUsagePrivateKey,+ invalidPublicKeys,+ missingPublicLabel,+ } = options;+ const subtle = self.crypto.subtle;+ const isDeriveBits = operation === "deriveBits";+ const derivedKeyAlgorithm = {name: "HMAC", hash: "SHA-256", length: 256};+ const derivedKeyUsages = ["sign", "verify"];++ function derive(name, publicKey, baseKey, length = 8 * size, keyOptions = {}) {+ const algorithm = {name, public: publicKey};+ if (isDeriveBits) {+ return subtle.deriveBits(algorithm, baseKey, length);+ }++ return subtle.deriveKey(+ algorithm,+ baseKey,+ keyOptions.algorithm || derivedKeyAlgorithm,+ true,+ keyOptions.usages || derivedKeyUsages+ ).then(key => subtle.exportKey("raw", key));+ }++ function assertDerived(result, length) {+ if (isDeriveBits) {+ assert_true(equalBuffers(result, derivation, length), "Derived correct bits");+ } else {+ assert_array_equals(+ new Uint8Array(result),+ derivation.slice(0, 32),+ "Derived correct key"+ );+ }+ }++ function successTest(name, algorithm, length = 8 * size) {+ promise_test(() => {+ return derive(algorithm, publicKey, privateKey, length).then(+ result => assertDerived(result, length),+ error => assert_unreached(+ operation + " failed with error " + error.name + ": " + error.message+ )+ );+ }, name);+ }++ function failureTest(name, expectedError, deriveOperation) {+ promise_test(() => {+ return Promise.resolve().then(deriveOperation).then(+ () => assert_unreached(+ operation + " succeeded but should have failed with " + expectedError+ ),+ error => assert_equals(+ error.name,+ expectedError,+ "Should throw correct error, not " + error.name + ": " + error.message+ )+ );+ }, name);+ }++ successTest(testName + " good parameters", algorithmName);+ successTest(testName + " mixed case parameters", mixedCaseName);++ if (isDeriveBits) {+ successTest(testName + " short result", algorithmName, 8 * size - 32);+ successTest(+ testName + " non-multiple of 8 bits",+ algorithmName,+ 8 * size - 11+ );+ }++ failureTest(missingPublicLabel, "TypeError", () => {+ return subtle[operation](+ {name: algorithmName},+ privateKey,+ ...(isDeriveBits+ ? [8 * size]+ : [derivedKeyAlgorithm, true, derivedKeyUsages])+ );+ });++ failureTest(+ testName + " public property of algorithm is not a CryptoKey",+ "TypeError",+ () => derive(algorithmName, {message: "Not a CryptoKey"}, privateKey)+ );++ invalidPublicKeys.forEach(test => {+ failureTest(+ test.name,+ "InvalidAccessError",+ () => derive(algorithmName, test.key, privateKey, test.length)+ );+ });++ failureTest(+ testName + " no " + operation + " usage for base key",+ "InvalidAccessError",+ () => derive(algorithmName, publicKey, noUsagePrivateKey)+ );++ failureTest(+ testName + " base key is not a private key",+ "InvalidAccessError",+ () => derive(algorithmName, publicKey, publicKey)+ );++ failureTest(+ testName + " public property value is a private key",+ "InvalidAccessError",+ () => derive(algorithmName, privateKey, privateKey)+ );++ promise_test(async() => {+ const secretKey = isDeriveBits+ ? await subtle.generateKey(+ {name: "AES-CBC", length: 128},+ true,+ ["encrypt", "decrypt"]+ )+ : await subtle.generateKey(+ derivedKeyAlgorithm,+ true,+ derivedKeyUsages+ );+ const keyOptions = isDeriveBits ? {} : {+ algorithm: {name: "AES-CBC", length: 256},+ usages: ["sign", "verify"],+ };++ return derive(+ algorithmName,+ secretKey,+ privateKey,+ 8 * size,+ keyOptions+ ).then(+ () => assert_unreached(+ operation + " succeeded but should have failed with InvalidAccessError"+ ),+ error => assert_equals(+ error.name,+ "InvalidAccessError",+ "Should throw correct error, not " + error.name + ": " + error.message+ )+ );+ }, testName + " public property value is a secret key");++ if (isDeriveBits) {+ failureTest(+ testName + " asking for too many bits",+ "OperationError",+ () => derive(algorithmName, publicKey, privateKey, 8 * size + 8)+ );+ }+}diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/derive_bits_keys/ecdh.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/derive_bits_keys/ecdh.jsnew file mode 100644index 00000000000..cfb5b870111--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/derive_bits_keys/ecdh.js@@ -0,0 +1,80 @@+async function defineEcdhTests(operation) {+ const subtle = self.crypto.subtle;+ const fixtures = getEcdhTestFixtures();+ const curves = Object.keys(fixtures.sizes);+ const keys = {};++ await Promise.all(curves.map(async namedCurve => {+ const algorithm = {name: "ECDH", namedCurve};+ const noUsage = operation === "deriveBits" ? ["deriveKey"] : ["deriveBits"];+ const [+ privateKey,+ noUsagePrivateKey,+ publicKey,+ ecdsaKeyPair,+ ] = await Promise.all([+ subtle.importKey(+ "pkcs8",+ fixtures.pkcs8[namedCurve],+ algorithm,+ false,+ ["deriveBits", "deriveKey"]+ ),+ subtle.importKey(+ "pkcs8",+ fixtures.pkcs8[namedCurve],+ algorithm,+ false,+ noUsage+ ),+ subtle.importKey(+ "spki",+ fixtures.spki[namedCurve],+ algorithm,+ false,+ []+ ),+ subtle.generateKey(+ {name: "ECDSA", namedCurve},+ false,+ ["sign", "verify"]+ ),+ ]);++ keys[namedCurve] = {+ privateKey,+ noUsagePrivateKey,+ publicKey,+ ecdsaKeyPair,+ };+ }));++ curves.forEach(namedCurve => {+ const otherCurve = namedCurve === "P-256" ? "P-384" : "P-256";+ const key = keys[namedCurve];+ registerDeriveTests({+ operation,+ algorithmName: "ECDH",+ testName: namedCurve,+ mixedCaseName: "EcDh",+ size: fixtures.sizes[namedCurve],+ derivation: fixtures.derivations[namedCurve],+ privateKey: key.privateKey,+ publicKey: key.publicKey,+ noUsagePrivateKey: key.noUsagePrivateKey,+ invalidPublicKeys: [+ {+ name: namedCurve + " mismatched curves",+ key: keys[otherCurve].publicKey,+ length: 256,+ },+ {+ name: namedCurve ++ " public property of algorithm is not an ECDSA public key",+ key: key.ecdsaKeyPair.publicKey,+ },+ ],+ missingPublicLabel: namedCurve + " missing public curve",+ });+ });+}diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/derive_bits_keys/ecdh_bits.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/derive_bits_keys/ecdh_bits.https.any.htmlindex c69b226d9b8..afa28fbda91 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/derive_bits_keys/ecdh_bits.https.any.html+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/derive_bits_keys/ecdh_bits.https.any.html@@ -11,6 +11,9 @@ self.GLOBAL = {<script src="../../resources/testharness.js"></script><script src="../../resources/testharnessreport.js"></script><script src="../util/helpers.js"></script>+<script src="ecdh_fixtures.js"></script>+<script src="derive.js"></script>+<script src="ecdh.js"></script><script src="ecdh_bits.js"></script><div id=log></div><script src="../../WebCryptoAPI/derive_bits_keys/ecdh_bits.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/derive_bits_keys/ecdh_bits.https.any.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/derive_bits_keys/ecdh_bits.https.any.jsindex 58a0cecd5ef..38058d6ce72 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/derive_bits_keys/ecdh_bits.https.any.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/derive_bits_keys/ecdh_bits.https.any.js@@ -1,5 +1,8 @@// META: title=WebCryptoAPI: deriveBits() Using ECDH// META: script=../util/helpers.js+// META: script=ecdh_fixtures.js+// META: script=derive.js+// META: script=ecdh.js// META: script=ecdh_bits.js// Define subtests from a `promise_test` to ensure the harness does notdiff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/derive_bits_keys/ecdh_bits.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/derive_bits_keys/ecdh_bits.jsindex 8e79909020d..bbe48b5e285 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/derive_bits_keys/ecdh_bits.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/derive_bits_keys/ecdh_bits.js@@ -1,233 +1,3 @@-function define_tests() {- // May want to test prefixed implementations.- var subtle = self.crypto.subtle;-- var pkcs8 = {- "P-521": new Uint8Array([48, 129, 238, 2, 1, 0, 48, 16, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 5, 43, 129, 4, 0, 35, 4, 129, 214, 48, 129, 211, 2, 1, 1, 4, 66, 1, 166, 126, 211, 33, 145, 90, 100, 170, 53, 155, 125, 100, 141, 220, 38, 24, 250, 142, 141, 24, 103, 232, 247, 24, 48, 177, 13, 37, 237, 40, 145, 250, 241, 47, 60, 126, 117, 66, 26, 46, 162, 100, 249, 169, 21, 50, 13, 39, 79, 225, 71, 7, 66, 185, 132, 233, 107, 152, 145, 32, 129, 250, 205, 71, 141, 161, 129, 137, 3, 129, 134, 0, 4, 0, 32, 157, 72, 63, 40, 102, 104, 129, 198, 100, 31, 58, 18, 111, 64, 15, 81, 228, 101, 17, 112, 254, 103, 140, 117, 232, 87, 18, 226, 134, 138, 220, 133, 8, 36, 153, 123, 235, 240, 188, 130, 180, 48, 40, 166, 210, 236, 23, 119, 202, 69, 39, 159, 114, 6, 163, 234, 139, 92, 210, 7, 63, 73, 62, 69, 0, 12, 181, 76, 58, 90, 202, 162, 104, 197, 103, 16, 66, 136, 120, 217, 139, 138, 251, 246, 138, 97, 33, 83, 99, 40, 70, 216, 7, 233, 38, 114, 105, 143, 27, 156, 97, 29, 231, 211, 142, 52, 205, 108, 115, 136, 144, 146, 197, 110, 82, 214, 128, 241, 223, 208, 146, 184, 122, 200, 239, 159, 243, 200, 251, 72]),- "P-256": new Uint8Array([48, 129, 135, 2, 1, 0, 48, 19, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 8, 42, 134, 72, 206, 61, 3, 1, 7, 4, 109, 48, 107, 2, 1, 1, 4, 32, 15, 247, 79, 232, 241, 202, 175, 97, 92, 206, 241, 29, 217, 53, 114, 87, 98, 217, 216, 65, 236, 186, 185, 94, 170, 38, 68, 123, 52, 100, 245, 113, 161, 68, 3, 66, 0, 4, 140, 96, 11, 44, 102, 25, 45, 97, 158, 39, 210, 37, 107, 59, 151, 118, 178, 141, 30, 5, 246, 13, 234, 189, 98, 174, 123, 154, 211, 157, 224, 217, 59, 4, 102, 109, 199, 119, 14, 126, 207, 13, 211, 203, 203, 211, 110, 221, 107, 94, 220, 153, 81, 7, 55, 161, 237, 104, 46, 205, 112, 244, 10, 47]),- "P-384": new Uint8Array([48, 129, 182, 2, 1, 0, 48, 16, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 5, 43, 129, 4, 0, 34, 4, 129, 158, 48, 129, 155, 2, 1, 1, 4, 48, 248, 113, 165, 102, 101, 137, 193, 74, 87, 71, 38, 62, 248, 91, 49, 156, 192, 35, 219, 110, 53, 103, 108, 61, 120, 30, 239, 139, 5, 95, 207, 190, 134, 250, 13, 6, 208, 86, 181, 25, 95, 177, 50, 58, 248, 222, 37, 179, 161, 100, 3, 98, 0, 4, 241, 25, 101, 223, 125, 212, 89, 77, 4, 25, 197, 8, 100, 130, 163, 184, 38, 185, 121, 127, 155, 224, 189, 13, 16, 156, 158, 30, 153, 137, 193, 185, 169, 43, 143, 38, 159, 152, 225, 122, 209, 132, 186, 115, 193, 247, 151, 98, 175, 69, 175, 129, 65, 96, 38, 66, 218, 39, 26, 107, 176, 255, 235, 12, 180, 71, 143, 207, 112, 126, 102, 26, 166, 214, 205, 245, 21, 73, 200, 140, 63, 19, 11, 233, 232, 32, 31, 111, 106, 9, 244, 24, 90, 175, 149, 196])- };-- var spki = {- "P-521": new Uint8Array([48, 129, 155, 48, 16, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 5, 43, 129, 4, 0, 35, 3, 129, 134, 0, 4, 0, 238, 105, 249, 71, 21, 215, 1, 233, 226, 1, 19, 51, 212, 244, 249, 108, 186, 125, 145, 248, 139, 17, 43, 175, 117, 207, 9, 204, 31, 138, 202, 151, 97, 141, 169, 56, 152, 34, 210, 155, 111, 233, 153, 106, 97, 32, 62, 247, 82, 183, 113, 232, 149, 143, 196, 103, 123, 179, 119, 133, 101, 171, 96, 214, 237, 0, 222, 171, 103, 97, 137, 91, 147, 94, 58, 211, 37, 251, 133, 73, 229, 111, 19, 120, 106, 167, 63, 136, 162, 236, 254, 64, 147, 52, 115, 216, 174, 242, 64, 196, 223, 215, 213, 6, 242, 44, 221, 14, 85, 85, 143, 63, 191, 5, 235, 247, 239, 239, 122, 114, 215, 143, 70, 70, 155, 132, 72, 242, 110, 39, 18]),- "P-256": new Uint8Array([48, 89, 48, 19, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 8, 42, 134, 72, 206, 61, 3, 1, 7, 3, 66, 0, 4, 154, 116, 32, 120, 126, 95, 77, 105, 211, 232, 34, 114, 115, 1, 109, 56, 224, 71, 129, 133, 223, 127, 238, 156, 142, 103, 60, 202, 211, 79, 126, 128, 254, 49, 141, 182, 221, 107, 119, 218, 99, 32, 165, 246, 151, 89, 9, 68, 23, 177, 52, 239, 138, 139, 116, 193, 101, 4, 57, 198, 115, 0, 90, 61]),- "P-384": new Uint8Array([48, 118, 48, 16, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 5, 43, 129, 4, 0, 34, 3, 98, 0, 4, 145, 130, 45, 194, 175, 89, 193, 143, 91, 103, 248, 13, 246, 26, 38, 3, 194, 168, 240, 179, 192, 175, 130, 45, 99, 194, 121, 112, 26, 130, 69, 96, 64, 68, 1, 221, 233, 165, 110, 229, 39, 87, 234, 139, 199, 72, 212, 200, 43, 83, 55, 180, 141, 123, 101, 88, 58, 61, 87, 36, 56, 136, 0, 54, 186, 198, 115, 15, 66, 202, 82, 120, 150, 107, 213, 242, 30, 134, 226, 29, 48, 197, 166, 208, 70, 62, 197, 19, 221, 80, 159, 252, 220, 175, 31, 245])- };-- var sizes = {- "P-521": 66,- "P-256": 32,- "P-384": 48- };-- var derivations = {- "P-521": new Uint8Array([0, 156, 43, 206, 87, 190, 128, 173, 171, 59, 7, 56, 91, 142, 89, 144, 235, 125, 111, 222, 189, 176, 27, 243, 83, 113, 164, 246, 7, 94, 157, 40, 138, 193, 42, 109, 254, 3, 170, 87, 67, 188, 129, 112, 157, 73, 168, 34, 148, 2, 25, 182, 75, 118, 138, 205, 82, 15, 161, 54, 142, 160, 175, 141, 71, 93]),- "P-256": new Uint8Array([14, 143, 60, 77, 177, 178, 162, 131, 115, 90, 0, 220, 87, 31, 26, 232, 151, 28, 227, 35, 250, 17, 131, 137, 203, 95, 65, 196, 59, 61, 181, 161]),- "P-384": new Uint8Array([224, 189, 107, 206, 10, 239, 140, 164, 136, 56, 166, 226, 252, 197, 126, 103, 185, 197, 232, 134, 12, 95, 11, 233, 218, 190, 197, 62, 69, 78, 24, 160, 161, 116, 196, 136, 136, 162, 100, 136, 17, 91, 45, 201, 241, 223, 165, 45])- };-- return importKeys(pkcs8, spki, sizes)- .then(function(results) {- publicKeys = results.publicKeys;- privateKeys = results.privateKeys;- ecdsaKeyPairs = results.ecdsaKeyPairs;- noDeriveBitsKeys = results.noDeriveBitsKeys;-- Object.keys(sizes).forEach(function(namedCurve) {- // Basic success case- promise_test(function(test) {- return subtle.deriveBits({name: "ECDH", public: publicKeys[namedCurve]}, privateKeys[namedCurve], 8 * sizes[namedCurve])- .then(function(derivation) {- assert_true(equalBuffers(derivation, derivations[namedCurve]), "Derived correct bits");- }, function(err) {- assert_unreached("deriveBits failed with error " + err.name + ": " + err.message);- });- }, namedCurve + " good parameters");-- // Case insensitivity check- promise_test(function(test) {- return subtle.deriveBits({name: "EcDh", public: publicKeys[namedCurve]}, privateKeys[namedCurve], 8 * sizes[namedCurve])- .then(function(derivation) {- assert_true(equalBuffers(derivation, derivations[namedCurve]), "Derived correct bits");- }, function(err) {- assert_unreached("deriveBits failed with error " + err.name + ": " + err.message);- });- }, namedCurve + " mixed case parameters");-- // Shorter than entire derivation per algorithm- promise_test(function(test) {- return subtle.deriveBits({name: "ECDH", public: publicKeys[namedCurve]}, privateKeys[namedCurve], 8 * sizes[namedCurve] - 32)- .then(function(derivation) {- assert_true(equalBuffers(derivation, derivations[namedCurve], 8 * sizes[namedCurve] - 32), "Derived correct bits");- }, function(err) {- assert_unreached("deriveBits failed with error " + err.name + ": " + err.message);- });- }, namedCurve + " short result");-- // Non-multiple of 8- promise_test(function(test) {- return subtle.deriveBits({name: "ECDH", public: publicKeys[namedCurve]}, privateKeys[namedCurve], 8 * sizes[namedCurve] - 11)- .then(function(derivation) {- assert_true(equalBuffers(derivation, derivations[namedCurve], 8 * sizes[namedCurve] - 11), "Derived correct bits");- }, function(err) {- assert_unreached("deriveBits failed with error " + err.name + ": " + err.message);- });- }, namedCurve + " non-multiple of 8 bits");-- // Errors to test:-- // - missing public property TypeError- promise_test(function(test) {- return subtle.deriveBits({name: "ECDH"}, privateKeys[namedCurve], 8 * sizes[namedCurve])- .then(function(derivation) {- assert_unreached("deriveBits succeeded but should have failed with TypeError");- }, function(err) {- assert_equals(err.name, "TypeError", "Should throw correct error, not " + err.name + ": " + err.message);- });- }, namedCurve + " missing public curve");-- // - Non CryptoKey public property TypeError- promise_test(function(test) {- return subtle.deriveBits({name: "ECDH", public: {message: "Not a CryptoKey"}}, privateKeys[namedCurve], 8 * sizes[namedCurve])- .then(function(derivation) {- assert_unreached("deriveBits succeeded but should have failed with TypeError");- }, function(err) {- assert_equals(err.name, "TypeError", "Should throw correct error, not " + err.name + ": " + err.message);- });- }, namedCurve + " public property of algorithm is not a CryptoKey");-- // - wrong named curve- promise_test(function(test) {- publicKey = publicKeys["P-256"];- if (namedCurve === "P-256") {- publicKey = publicKeys["P-384"];- }- return subtle.deriveBits({name: "ECDH", public: publicKey}, privateKeys[namedCurve], 8 * sizes[namedCurve])- .then(function(derivation) {- assert_unreached("deriveBits succeeded but should have failed with InvalidAccessError");- }, function(err) {- assert_equals(err.name, "InvalidAccessError", "Should throw correct error, not " + err.name + ": " + err.message);- });- }, namedCurve + " mismatched curves");-- // - not ECDH public property InvalidAccessError- promise_test(function(test) {- return subtle.deriveBits({name: "ECDH", public: ecdsaKeyPairs[namedCurve].publicKey}, privateKeys[namedCurve], 8 * sizes[namedCurve])- .then(function(derivation) {- assert_unreached("deriveBits succeeded but should have failed with InvalidAccessError");- }, function(err) {- assert_equals(err.name, "InvalidAccessError", "Should throw correct error, not " + err.name + ": " + err.message);- });- }, namedCurve + " public property of algorithm is not an ECDSA public key");-- // - No deriveBits usage in baseKey InvalidAccessError- promise_test(function(test) {- return subtle.deriveBits({name: "ECDH", public: publicKeys[namedCurve]}, noDeriveBitsKeys[namedCurve], 8 * sizes[namedCurve])- .then(function(derivation) {- assert_unreached("deriveBits succeeded but should have failed with InvalidAccessError");- }, function(err) {- assert_equals(err.name, "InvalidAccessError", "Should throw correct error, not " + err.name + ": " + err.message);- });- }, namedCurve + " no deriveBits usage for base key");-- // - Use public key for baseKey InvalidAccessError- promise_test(function(test) {- return subtle.deriveBits({name: "ECDH", public: publicKeys[namedCurve]}, publicKeys[namedCurve], 8 * sizes[namedCurve])- .then(function(derivation) {- assert_unreached("deriveBits succeeded but should have failed with InvalidAccessError");- }, function(err) {- assert_equals(err.name, "InvalidAccessError", "Should throw correct error, not " + err.name + ": " + err.message);- });- }, namedCurve + " base key is not a private key");-- // - Use private key for public property InvalidAccessError- promise_test(function(test) {- return subtle.deriveBits({name: "ECDH", public: privateKeys[namedCurve]}, privateKeys[namedCurve], 8 * sizes[namedCurve])- .then(function(derivation) {- assert_unreached("deriveBits succeeded but should have failed with InvalidAccessError");- }, function(err) {- assert_equals(err.name, "InvalidAccessError", "Should throw correct error, not " + err.name + ": " + err.message);- });- }, namedCurve + " public property value is a private key");-- // - Use secret key for public property InvalidAccessError- promise_test(function(test) {- return subtle.generateKey({name: "AES-CBC", length: 128}, true, ["encrypt", "decrypt"])- .then(function(secretKey) {- return subtle.deriveBits({name: "ECDH", public: secretKey}, privateKeys[namedCurve], 8 * sizes[namedCurve])- .then(function(derivation) {- assert_unreached("deriveBits succeeded but should have failed with InvalidAccessError");- }, function(err) {- assert_equals(err.name, "InvalidAccessError", "Should throw correct error, not " + err.name + ": " + err.message);- });- });- }, namedCurve + " public property value is a secret key");-- // - Length greater than 256, 384, 521 for particular curves OperationError- promise_test(function(test) {- return subtle.deriveBits({name: "ECDH", public: publicKeys[namedCurve]}, privateKeys[namedCurve], 8 * sizes[namedCurve] + 8)- .then(function(derivation) {- assert_unreached("deriveBits succeeded but should have failed with OperationError");- }, function(err) {- assert_equals(err.name, "OperationError", "Should throw correct error, not " + err.name + ": " + err.message);- });- }, namedCurve + " asking for too many bits");- });- });-- function importKeys(pkcs8, spki, sizes) {- var privateKeys = {};- var publicKeys = {};- var ecdsaKeyPairs = {};- var noDeriveBitsKeys = {};-- var promises = [];- Object.keys(pkcs8).forEach(function(namedCurve) {- var operation = subtle.importKey("pkcs8", pkcs8[namedCurve],- {name: "ECDH", namedCurve: namedCurve},- false, ["deriveBits", "deriveKey"])- .then(function(key) {- privateKeys[namedCurve] = key;- }, function (err) {- privateKeys[namedCurve] = null;- });- promises.push(operation);- });- Object.keys(pkcs8).forEach(function(namedCurve) {- var operation = subtle.importKey("pkcs8", pkcs8[namedCurve],- {name: "ECDH", namedCurve: namedCurve},- false, ["deriveKey"])- .then(function(key) {- noDeriveBitsKeys[namedCurve] = key;- }, function (err) {- noDeriveBitsKeys[namedCurve] = null;- });- promises.push(operation);- });- Object.keys(spki).forEach(function(namedCurve) {- var operation = subtle.importKey("spki", spki[namedCurve],- {name: "ECDH", namedCurve: namedCurve},- false, [])- .then(function(key) {- publicKeys[namedCurve] = key;- }, function (err) {- publicKeys[namedCurve] = null;- });- promises.push(operation);- });- Object.keys(sizes).forEach(function(namedCurve) {- var operation = subtle.generateKey({name: "ECDSA", namedCurve: namedCurve}, false, ["sign", "verify"])- .then(function(keyPair) {- ecdsaKeyPairs[namedCurve] = keyPair;- }, function (err) {- ecdsaKeyPairs[namedCurve] = null;- });- promises.push(operation);- });-- return Promise.all(promises)- .then(function(results) {return {privateKeys: privateKeys, publicKeys: publicKeys, ecdsaKeyPairs: ecdsaKeyPairs, noDeriveBitsKeys: noDeriveBitsKeys}});- }-+ return defineEcdhTests("deriveBits");}diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/derive_bits_keys/ecdh_fixtures.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/derive_bits_keys/ecdh_fixtures.jsnew file mode 100644index 00000000000..46539d548da--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/derive_bits_keys/ecdh_fixtures.js@@ -0,0 +1,32 @@+function getEcdhTestFixtures() {+ var pkcs8 = {+ "P-521": new Uint8Array([48, 129, 238, 2, 1, 0, 48, 16, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 5, 43, 129, 4, 0, 35, 4, 129, 214, 48, 129, 211, 2, 1, 1, 4, 66, 1, 166, 126, 211, 33, 145, 90, 100, 170, 53, 155, 125, 100, 141, 220, 38, 24, 250, 142, 141, 24, 103, 232, 247, 24, 48, 177, 13, 37, 237, 40, 145, 250, 241, 47, 60, 126, 117, 66, 26, 46, 162, 100, 249, 169, 21, 50, 13, 39, 79, 225, 71, 7, 66, 185, 132, 233, 107, 152, 145, 32, 129, 250, 205, 71, 141, 161, 129, 137, 3, 129, 134, 0, 4, 0, 32, 157, 72, 63, 40, 102, 104, 129, 198, 100, 31, 58, 18, 111, 64, 15, 81, 228, 101, 17, 112, 254, 103, 140, 117, 232, 87, 18, 226, 134, 138, 220, 133, 8, 36, 153, 123, 235, 240, 188, 130, 180, 48, 40, 166, 210, 236, 23, 119, 202, 69, 39, 159, 114, 6, 163, 234, 139, 92, 210, 7, 63, 73, 62, 69, 0, 12, 181, 76, 58, 90, 202, 162, 104, 197, 103, 16, 66, 136, 120, 217, 139, 138, 251, 246, 138, 97, 33, 83, 99, 40, 70, 216, 7, 233, 38, 114, 105, 143, 27, 156, 97, 29, 231, 211, 142, 52, 205, 108, 115, 136, 144, 146, 197, 110, 82, 214, 128, 241, 223, 208, 146, 184, 122, 200, 239, 159, 243, 200, 251, 72]),+ "P-256": new Uint8Array([48, 129, 135, 2, 1, 0, 48, 19, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 8, 42, 134, 72, 206, 61, 3, 1, 7, 4, 109, 48, 107, 2, 1, 1, 4, 32, 15, 247, 79, 232, 241, 202, 175, 97, 92, 206, 241, 29, 217, 53, 114, 87, 98, 217, 216, 65, 236, 186, 185, 94, 170, 38, 68, 123, 52, 100, 245, 113, 161, 68, 3, 66, 0, 4, 140, 96, 11, 44, 102, 25, 45, 97, 158, 39, 210, 37, 107, 59, 151, 118, 178, 141, 30, 5, 246, 13, 234, 189, 98, 174, 123, 154, 211, 157, 224, 217, 59, 4, 102, 109, 199, 119, 14, 126, 207, 13, 211, 203, 203, 211, 110, 221, 107, 94, 220, 153, 81, 7, 55, 161, 237, 104, 46, 205, 112, 244, 10, 47]),+ "P-384": new Uint8Array([48, 129, 182, 2, 1, 0, 48, 16, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 5, 43, 129, 4, 0, 34, 4, 129, 158, 48, 129, 155, 2, 1, 1, 4, 48, 248, 113, 165, 102, 101, 137, 193, 74, 87, 71, 38, 62, 248, 91, 49, 156, 192, 35, 219, 110, 53, 103, 108, 61, 120, 30, 239, 139, 5, 95, 207, 190, 134, 250, 13, 6, 208, 86, 181, 25, 95, 177, 50, 58, 248, 222, 37, 179, 161, 100, 3, 98, 0, 4, 241, 25, 101, 223, 125, 212, 89, 77, 4, 25, 197, 8, 100, 130, 163, 184, 38, 185, 121, 127, 155, 224, 189, 13, 16, 156, 158, 30, 153, 137, 193, 185, 169, 43, 143, 38, 159, 152, 225, 122, 209, 132, 186, 115, 193, 247, 151, 98, 175, 69, 175, 129, 65, 96, 38, 66, 218, 39, 26, 107, 176, 255, 235, 12, 180, 71, 143, 207, 112, 126, 102, 26, 166, 214, 205, 245, 21, 73, 200, 140, 63, 19, 11, 233, 232, 32, 31, 111, 106, 9, 244, 24, 90, 175, 149, 196])+ };++ var spki = {+ "P-521": new Uint8Array([48, 129, 155, 48, 16, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 5, 43, 129, 4, 0, 35, 3, 129, 134, 0, 4, 0, 238, 105, 249, 71, 21, 215, 1, 233, 226, 1, 19, 51, 212, 244, 249, 108, 186, 125, 145, 248, 139, 17, 43, 175, 117, 207, 9, 204, 31, 138, 202, 151, 97, 141, 169, 56, 152, 34, 210, 155, 111, 233, 153, 106, 97, 32, 62, 247, 82, 183, 113, 232, 149, 143, 196, 103, 123, 179, 119, 133, 101, 171, 96, 214, 237, 0, 222, 171, 103, 97, 137, 91, 147, 94, 58, 211, 37, 251, 133, 73, 229, 111, 19, 120, 106, 167, 63, 136, 162, 236, 254, 64, 147, 52, 115, 216, 174, 242, 64, 196, 223, 215, 213, 6, 242, 44, 221, 14, 85, 85, 143, 63, 191, 5, 235, 247, 239, 239, 122, 114, 215, 143, 70, 70, 155, 132, 72, 242, 110, 39, 18]),+ "P-256": new Uint8Array([48, 89, 48, 19, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 8, 42, 134, 72, 206, 61, 3, 1, 7, 3, 66, 0, 4, 154, 116, 32, 120, 126, 95, 77, 105, 211, 232, 34, 114, 115, 1, 109, 56, 224, 71, 129, 133, 223, 127, 238, 156, 142, 103, 60, 202, 211, 79, 126, 128, 254, 49, 141, 182, 221, 107, 119, 218, 99, 32, 165, 246, 151, 89, 9, 68, 23, 177, 52, 239, 138, 139, 116, 193, 101, 4, 57, 198, 115, 0, 90, 61]),+ "P-384": new Uint8Array([48, 118, 48, 16, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 5, 43, 129, 4, 0, 34, 3, 98, 0, 4, 145, 130, 45, 194, 175, 89, 193, 143, 91, 103, 248, 13, 246, 26, 38, 3, 194, 168, 240, 179, 192, 175, 130, 45, 99, 194, 121, 112, 26, 130, 69, 96, 64, 68, 1, 221, 233, 165, 110, 229, 39, 87, 234, 139, 199, 72, 212, 200, 43, 83, 55, 180, 141, 123, 101, 88, 58, 61, 87, 36, 56, 136, 0, 54, 186, 198, 115, 15, 66, 202, 82, 120, 150, 107, 213, 242, 30, 134, 226, 29, 48, 197, 166, 208, 70, 62, 197, 19, 221, 80, 159, 252, 220, 175, 31, 245])+ };++ var sizes = {+ "P-521": 66,+ "P-256": 32,+ "P-384": 48+ };++ var derivations = {+ "P-521": new Uint8Array([0, 156, 43, 206, 87, 190, 128, 173, 171, 59, 7, 56, 91, 142, 89, 144, 235, 125, 111, 222, 189, 176, 27, 243, 83, 113, 164, 246, 7, 94, 157, 40, 138, 193, 42, 109, 254, 3, 170, 87, 67, 188, 129, 112, 157, 73, 168, 34, 148, 2, 25, 182, 75, 118, 138, 205, 82, 15, 161, 54, 142, 160, 175, 141, 71, 93]),+ "P-256": new Uint8Array([14, 143, 60, 77, 177, 178, 162, 131, 115, 90, 0, 220, 87, 31, 26, 232, 151, 28, 227, 35, 250, 17, 131, 137, 203, 95, 65, 196, 59, 61, 181, 161]),+ "P-384": new Uint8Array([224, 189, 107, 206, 10, 239, 140, 164, 136, 56, 166, 226, 252, 197, 126, 103, 185, 197, 232, 134, 12, 95, 11, 233, 218, 190, 197, 62, 69, 78, 24, 160, 161, 116, 196, 136, 136, 162, 100, 136, 17, 91, 45, 201, 241, 223, 165, 45])+ };++ return {+ pkcs8: pkcs8,+ spki: spki,+ sizes: sizes,+ derivations: derivations,+ };+}diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/derive_bits_keys/ecdh_keys.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/derive_bits_keys/ecdh_keys.https.any.htmlindex de09e7410a5..97612e87e95 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/derive_bits_keys/ecdh_keys.https.any.html+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/derive_bits_keys/ecdh_keys.https.any.html@@ -11,6 +11,9 @@ self.GLOBAL = {<script src="../../resources/testharness.js"></script><script src="../../resources/testharnessreport.js"></script><script src="../util/helpers.js"></script>+<script src="ecdh_fixtures.js"></script>+<script src="derive.js"></script>+<script src="ecdh.js"></script><script src="ecdh_keys.js"></script><div id=log></div><script src="../../WebCryptoAPI/derive_bits_keys/ecdh_keys.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/derive_bits_keys/ecdh_keys.https.any.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/derive_bits_keys/ecdh_keys.https.any.jsindex 6464dacfe3a..f9d0da921d5 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/derive_bits_keys/ecdh_keys.https.any.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/derive_bits_keys/ecdh_keys.https.any.js@@ -1,5 +1,8 @@// META: title=WebCryptoAPI: deriveKey() Using ECDH// META: script=../util/helpers.js+// META: script=ecdh_fixtures.js+// META: script=derive.js+// META: script=ecdh.js// META: script=ecdh_keys.js// Define subtests from a `promise_test` to ensure the harness does notdiff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/derive_bits_keys/ecdh_keys.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/derive_bits_keys/ecdh_keys.jsindex 8c3d2aeb5a4..c4ee495aa6f 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/derive_bits_keys/ecdh_keys.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/derive_bits_keys/ecdh_keys.js@@ -1,212 +1,3 @@-function define_tests() {- // May want to test prefixed implementations.- var subtle = self.crypto.subtle;-- var pkcs8 = {- "P-521": new Uint8Array([48, 129, 238, 2, 1, 0, 48, 16, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 5, 43, 129, 4, 0, 35, 4, 129, 214, 48, 129, 211, 2, 1, 1, 4, 66, 1, 166, 126, 211, 33, 145, 90, 100, 170, 53, 155, 125, 100, 141, 220, 38, 24, 250, 142, 141, 24, 103, 232, 247, 24, 48, 177, 13, 37, 237, 40, 145, 250, 241, 47, 60, 126, 117, 66, 26, 46, 162, 100, 249, 169, 21, 50, 13, 39, 79, 225, 71, 7, 66, 185, 132, 233, 107, 152, 145, 32, 129, 250, 205, 71, 141, 161, 129, 137, 3, 129, 134, 0, 4, 0, 32, 157, 72, 63, 40, 102, 104, 129, 198, 100, 31, 58, 18, 111, 64, 15, 81, 228, 101, 17, 112, 254, 103, 140, 117, 232, 87, 18, 226, 134, 138, 220, 133, 8, 36, 153, 123, 235, 240, 188, 130, 180, 48, 40, 166, 210, 236, 23, 119, 202, 69, 39, 159, 114, 6, 163, 234, 139, 92, 210, 7, 63, 73, 62, 69, 0, 12, 181, 76, 58, 90, 202, 162, 104, 197, 103, 16, 66, 136, 120, 217, 139, 138, 251, 246, 138, 97, 33, 83, 99, 40, 70, 216, 7, 233, 38, 114, 105, 143, 27, 156, 97, 29, 231, 211, 142, 52, 205, 108, 115, 136, 144, 146, 197, 110, 82, 214, 128, 241, 223, 208, 146, 184, 122, 200, 239, 159, 243, 200, 251, 72]),- "P-256": new Uint8Array([48, 129, 135, 2, 1, 0, 48, 19, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 8, 42, 134, 72, 206, 61, 3, 1, 7, 4, 109, 48, 107, 2, 1, 1, 4, 32, 15, 247, 79, 232, 241, 202, 175, 97, 92, 206, 241, 29, 217, 53, 114, 87, 98, 217, 216, 65, 236, 186, 185, 94, 170, 38, 68, 123, 52, 100, 245, 113, 161, 68, 3, 66, 0, 4, 140, 96, 11, 44, 102, 25, 45, 97, 158, 39, 210, 37, 107, 59, 151, 118, 178, 141, 30, 5, 246, 13, 234, 189, 98, 174, 123, 154, 211, 157, 224, 217, 59, 4, 102, 109, 199, 119, 14, 126, 207, 13, 211, 203, 203, 211, 110, 221, 107, 94, 220, 153, 81, 7, 55, 161, 237, 104, 46, 205, 112, 244, 10, 47]),- "P-384": new Uint8Array([48, 129, 182, 2, 1, 0, 48, 16, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 5, 43, 129, 4, 0, 34, 4, 129, 158, 48, 129, 155, 2, 1, 1, 4, 48, 248, 113, 165, 102, 101, 137, 193, 74, 87, 71, 38, 62, 248, 91, 49, 156, 192, 35, 219, 110, 53, 103, 108, 61, 120, 30, 239, 139, 5, 95, 207, 190, 134, 250, 13, 6, 208, 86, 181, 25, 95, 177, 50, 58, 248, 222, 37, 179, 161, 100, 3, 98, 0, 4, 241, 25, 101, 223, 125, 212, 89, 77, 4, 25, 197, 8, 100, 130, 163, 184, 38, 185, 121, 127, 155, 224, 189, 13, 16, 156, 158, 30, 153, 137, 193, 185, 169, 43, 143, 38, 159, 152, 225, 122, 209, 132, 186, 115, 193, 247, 151, 98, 175, 69, 175, 129, 65, 96, 38, 66, 218, 39, 26, 107, 176, 255, 235, 12, 180, 71, 143, 207, 112, 126, 102, 26, 166, 214, 205, 245, 21, 73, 200, 140, 63, 19, 11, 233, 232, 32, 31, 111, 106, 9, 244, 24, 90, 175, 149, 196])- };-- var spki = {- "P-521": new Uint8Array([48, 129, 155, 48, 16, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 5, 43, 129, 4, 0, 35, 3, 129, 134, 0, 4, 0, 238, 105, 249, 71, 21, 215, 1, 233, 226, 1, 19, 51, 212, 244, 249, 108, 186, 125, 145, 248, 139, 17, 43, 175, 117, 207, 9, 204, 31, 138, 202, 151, 97, 141, 169, 56, 152, 34, 210, 155, 111, 233, 153, 106, 97, 32, 62, 247, 82, 183, 113, 232, 149, 143, 196, 103, 123, 179, 119, 133, 101, 171, 96, 214, 237, 0, 222, 171, 103, 97, 137, 91, 147, 94, 58, 211, 37, 251, 133, 73, 229, 111, 19, 120, 106, 167, 63, 136, 162, 236, 254, 64, 147, 52, 115, 216, 174, 242, 64, 196, 223, 215, 213, 6, 242, 44, 221, 14, 85, 85, 143, 63, 191, 5, 235, 247, 239, 239, 122, 114, 215, 143, 70, 70, 155, 132, 72, 242, 110, 39, 18]),- "P-256": new Uint8Array([48, 89, 48, 19, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 8, 42, 134, 72, 206, 61, 3, 1, 7, 3, 66, 0, 4, 154, 116, 32, 120, 126, 95, 77, 105, 211, 232, 34, 114, 115, 1, 109, 56, 224, 71, 129, 133, 223, 127, 238, 156, 142, 103, 60, 202, 211, 79, 126, 128, 254, 49, 141, 182, 221, 107, 119, 218, 99, 32, 165, 246, 151, 89, 9, 68, 23, 177, 52, 239, 138, 139, 116, 193, 101, 4, 57, 198, 115, 0, 90, 61]),- "P-384": new Uint8Array([48, 118, 48, 16, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 5, 43, 129, 4, 0, 34, 3, 98, 0, 4, 145, 130, 45, 194, 175, 89, 193, 143, 91, 103, 248, 13, 246, 26, 38, 3, 194, 168, 240, 179, 192, 175, 130, 45, 99, 194, 121, 112, 26, 130, 69, 96, 64, 68, 1, 221, 233, 165, 110, 229, 39, 87, 234, 139, 199, 72, 212, 200, 43, 83, 55, 180, 141, 123, 101, 88, 58, 61, 87, 36, 56, 136, 0, 54, 186, 198, 115, 15, 66, 202, 82, 120, 150, 107, 213, 242, 30, 134, 226, 29, 48, 197, 166, 208, 70, 62, 197, 19, 221, 80, 159, 252, 220, 175, 31, 245])- };-- var sizes = {- "P-521": 66,- "P-256": 32,- "P-384": 48- };-- var derivations = {- "P-521": new Uint8Array([0, 156, 43, 206, 87, 190, 128, 173, 171, 59, 7, 56, 91, 142, 89, 144, 235, 125, 111, 222, 189, 176, 27, 243, 83, 113, 164, 246, 7, 94, 157, 40, 138, 193, 42, 109, 254, 3, 170, 87, 67, 188, 129, 112, 157, 73, 168, 34, 148, 2, 25, 182, 75, 118, 138, 205, 82, 15, 161, 54, 142, 160, 175, 141, 71, 93]),- "P-256": new Uint8Array([14, 143, 60, 77, 177, 178, 162, 131, 115, 90, 0, 220, 87, 31, 26, 232, 151, 28, 227, 35, 250, 17, 131, 137, 203, 95, 65, 196, 59, 61, 181, 161]),- "P-384": new Uint8Array([224, 189, 107, 206, 10, 239, 140, 164, 136, 56, 166, 226, 252, 197, 126, 103, 185, 197, 232, 134, 12, 95, 11, 233, 218, 190, 197, 62, 69, 78, 24, 160, 161, 116, 196, 136, 136, 162, 100, 136, 17, 91, 45, 201, 241, 223, 165, 45])- };-- return importKeys(pkcs8, spki, sizes)- .then(function(results) {- publicKeys = results.publicKeys;- privateKeys = results.privateKeys;- ecdsaKeyPairs = results.ecdsaKeyPairs;- noDeriveKeyKeys = results.noDeriveKeyKeys;-- Object.keys(sizes).forEach(function(namedCurve) {- // Basic success case- promise_test(function(test) {- return subtle.deriveKey({name: "ECDH", public: publicKeys[namedCurve]}, privateKeys[namedCurve], {name: "HMAC", hash: "SHA-256", length: 256}, true, ["sign", "verify"])- .then(function(key) {return crypto.subtle.exportKey("raw", key);})- .then(function(exportedKey) {- assert_true(equalBuffers(exportedKey, derivations[namedCurve], 8 * exportedKey.length), "Derived correct key");- }, function(err) {- assert_unreached("deriveKey failed with error " + err.name + ": " + err.message);- });- }, namedCurve + " good parameters");-- // Case insensitivity check- promise_test(function(test) {- return subtle.deriveKey({name: "EcDh", public: publicKeys[namedCurve]}, privateKeys[namedCurve], {name: "HMAC", hash: "SHA-256", length: 256}, true, ["sign", "verify"])- .then(function(key) {return crypto.subtle.exportKey("raw", key);})- .then(function(exportedKey) {- assert_true(equalBuffers(exportedKey, derivations[namedCurve], 8 * exportedKey.length), "Derived correct key");- }, function(err) {- assert_unreached("deriveKey failed with error " + err.name + ": " + err.message);- });- }, namedCurve + " mixed case parameters");- // Errors to test:-- // - missing public property TypeError- promise_test(function(test) {- return subtle.deriveKey({name: "ECDH"}, privateKeys[namedCurve], {name: "HMAC", hash: "SHA-256", length: 256}, true, ["sign", "verify"])- .then(function(key) {return crypto.subtle.exportKey("raw", key);})- .then(function(exportedKey) {- assert_unreached("deriveKey succeeded but should have failed with TypeError");- }, function(err) {- assert_equals(err.name, "TypeError", "Should throw correct error, not " + err.name + ": " + err.message);- });- }, namedCurve + " missing public curve");-- // - Non CryptoKey public property TypeError- promise_test(function(test) {- return subtle.deriveKey({name: "ECDH", public: {message: "Not a CryptoKey"}}, privateKeys[namedCurve], {name: "HMAC", hash: "SHA-256", length: 256}, true, ["sign", "verify"])- .then(function(key) {return crypto.subtle.exportKey("raw", key);})- .then(function(exportedKey) {- assert_unreached("deriveKey succeeded but should have failed with TypeError");- }, function(err) {- assert_equals(err.name, "TypeError", "Should throw correct error, not " + err.name + ": " + err.message);- });- }, namedCurve + " public property of algorithm is not a CryptoKey");-- // - wrong named curve- promise_test(function(test) {- publicKey = publicKeys["P-256"];- if (namedCurve === "P-256") {- publicKey = publicKeys["P-384"];- }- return subtle.deriveKey({name: "ECDH", public: publicKey}, privateKeys[namedCurve], {name: "HMAC", hash: "SHA-256", length: 256}, true, ["sign", "verify"])- .then(function(key) {return crypto.subtle.exportKey("raw", key);})- .then(function(exportedKey) {- assert_unreached("deriveKey succeeded but should have failed with InvalidAccessError");- }, function(err) {- assert_equals(err.name, "InvalidAccessError", "Should throw correct error, not " + err.name + ": " + err.message);- });- }, namedCurve + " mismatched curves");-- // - not ECDH public property InvalidAccessError- promise_test(function(test) {- return subtle.deriveKey({name: "ECDH", public: ecdsaKeyPairs[namedCurve].publicKey}, privateKeys[namedCurve], {name: "HMAC", hash: "SHA-256", length: 256}, true, ["sign", "verify"])- .then(function(key) {return crypto.subtle.exportKey("raw", key);})- .then(function(exportedKey) {- assert_unreached("deriveKey succeeded but should have failed with InvalidAccessError");- }, function(err) {- assert_equals(err.name, "InvalidAccessError", "Should throw correct error, not " + err.name + ": " + err.message);- });- }, namedCurve + " public property of algorithm is not an ECDSA public key");-- // - No deriveKey usage in baseKey InvalidAccessError- promise_test(function(test) {- return subtle.deriveKey({name: "ECDH", public: publicKeys[namedCurve]}, noDeriveKeyKeys[namedCurve], {name: "HMAC", hash: "SHA-256", length: 256}, true, ["sign", "verify"])- .then(function(key) {return crypto.subtle.exportKey("raw", key);})- .then(function(exportedKey) {- assert_unreached("deriveKey succeeded but should have failed with InvalidAccessError");- }, function(err) {- assert_equals(err.name, "InvalidAccessError", "Should throw correct error, not " + err.name + ": " + err.message);- });- }, namedCurve + " no deriveKey usage for base key");-- // - Use public key for baseKey InvalidAccessError- promise_test(function(test) {- return subtle.deriveKey({name: "ECDH", public: publicKeys[namedCurve]}, publicKeys[namedCurve], {name: "HMAC", hash: "SHA-256", length: 256}, true, ["sign", "verify"])- .then(function(key) {return crypto.subtle.exportKey("raw", key);})- .then(function(exportedKey) {- assert_unreached("deriveKey succeeded but should have failed with InvalidAccessError");- }, function(err) {- assert_equals(err.name, "InvalidAccessError", "Should throw correct error, not " + err.name + ": " + err.message);- });- }, namedCurve + " base key is not a private key");-- // - Use private key for public property InvalidAccessError- promise_test(function(test) {- return subtle.deriveKey({name: "ECDH", public: privateKeys[namedCurve]}, privateKeys[namedCurve], {name: "HMAC", hash: "SHA-256", length: 256}, true, ["sign", "verify"])- .then(function(key) {return crypto.subtle.exportKey("raw", key);})- .then(function(exportedKey) {- assert_unreached("deriveKey succeeded but should have failed with InvalidAccessError");- }, function(err) {- assert_equals(err.name, "InvalidAccessError", "Should throw correct error, not " + err.name + ": " + err.message);- });- }, namedCurve + " public property value is a private key");-- // - Use secret key for public property InvalidAccessError- promise_test(function(test) {- return subtle.generateKey({name: "HMAC", hash: "SHA-256", length: 256}, true, ["sign", "verify"])- .then(function(secretKey) {- return subtle.deriveKey({name: "ECDH", public: secretKey}, privateKeys[namedCurve], {name: "AES-CBC", length: 256}, true, ["sign", "verify"])- .then(function(key) {return crypto.subtle.exportKey("raw", key);})- .then(function(exportedKey) {- assert_unreached("deriveKey succeeded but should have failed with InvalidAccessError");- }, function(err) {- assert_equals(err.name, "InvalidAccessError", "Should throw correct error, not " + err.name + ": " + err.message);- });- });- }, namedCurve + " public property value is a secret key");- });- });-- function importKeys(pkcs8, spki, sizes) {- var privateKeys = {};- var publicKeys = {};- var ecdsaKeyPairs = {};- var noDeriveKeyKeys = {};-- var promises = [];- Object.keys(pkcs8).forEach(function(namedCurve) {- var operation = subtle.importKey("pkcs8", pkcs8[namedCurve],- {name: "ECDH", namedCurve: namedCurve},- false, ["deriveBits", "deriveKey"])- .then(function(key) {- privateKeys[namedCurve] = key;- }, function (err) {- privateKeys[namedCurve] = null;- });- promises.push(operation);- });- Object.keys(pkcs8).forEach(function(namedCurve) {- var operation = subtle.importKey("pkcs8", pkcs8[namedCurve],- {name: "ECDH", namedCurve: namedCurve},- false, ["deriveBits"])- .then(function(key) {- noDeriveKeyKeys[namedCurve] = key;- }, function (err) {- noDeriveKeyKeys[namedCurve] = null;- });- promises.push(operation);- });- Object.keys(spki).forEach(function(namedCurve) {- var operation = subtle.importKey("spki", spki[namedCurve],- {name: "ECDH", namedCurve: namedCurve},- false, [])- .then(function(key) {- publicKeys[namedCurve] = key;- }, function (err) {- publicKeys[namedCurve] = null;- });- promises.push(operation);- });- Object.keys(sizes).forEach(function(namedCurve) {- var operation = subtle.generateKey({name: "ECDSA", namedCurve: namedCurve}, false, ["sign", "verify"])- .then(function(keyPair) {- ecdsaKeyPairs[namedCurve] = keyPair;- }, function (err) {- ecdsaKeyPairs[namedCurve] = null;- });- promises.push(operation);- });-- return Promise.all(promises)- .then(function(results) {return {privateKeys: privateKeys, publicKeys: publicKeys, ecdsaKeyPairs: ecdsaKeyPairs, noDeriveKeyKeys: noDeriveKeyKeys}});- }-+ return defineEcdhTests("deriveKey");}diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/digest/cshake.tentative.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/digest/cshake.tentative.https.any.htmldeleted file mode 100644index 057d1fe9730..00000000000--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/digest/cshake.tentative.https.any.html+++ /dev/null@@ -1,16 +0,0 @@-<!doctype html>-<meta charset=utf-8>-<title>WebCryptoAPI: digest() cSHAKE algorithms</title>-<meta name="timeout" content="long">-<script>-self.GLOBAL = {- isWindow: function() { return true; },- isWorker: function() { return false; },- isShadowRealm: function() { return false; },-};-</script>-<script src="../../resources/testharness.js"></script>-<script src="../../resources/testharnessreport.js"></script>-<script src="../util/helpers.js"></script>-<div id=log></div>-<script src="../../WebCryptoAPI/digest/cshake.tentative.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/digest/digest.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/digest/digest.https.any.htmlindex 2614444cad3..d5109d872fb 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/digest/digest.https.any.html+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/digest/digest.https.any.html@@ -12,5 +12,7 @@ self.GLOBAL = {<script src="../../resources/testharness.js"></script><script src="../../resources/testharnessreport.js"></script><script src="../util/helpers.js"></script>+<script src="digest_test_data.js"></script>+<script src="digest.js"></script><div id=log></div><script src="../../WebCryptoAPI/digest/digest.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/digest/digest.https.any.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/digest/digest.https.any.jsindex 38ce85ec06c..d22b41702b6 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/digest/digest.https.any.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/digest/digest.https.any.js@@ -1,19 +1,12 @@// META: title=WebCryptoAPI: digest()// META: script=../util/helpers.js+// META: script=digest_test_data.js+// META: script=digest.js// META: timeout=longvar subtle = crypto.subtle; // Change to test prefixed implementations- var sourceData = {- empty: new Uint8Array(0),- short: new Uint8Array([21, 110, 234, 124, 193, 76, 86, 203, 148, 219, 3, 10, 74, 157, 149, 255]),- medium: new Uint8Array([182, 200, 249, 223, 100, 140, 208, 136, 183, 15, 56, 231, 65, 151, 177, 140, 184, 30, 30, 67, 80, 213, 11, 204, 184, 251, 90, 115, 121, 200, 123, 178, 227, 214, 237, 84, 97, 237, 30, 159, 54, 243, 64, 163, 150, 42, 68, 107, 129, 91, 121, 75, 75, 212, 58, 68, 3, 80, 32, 119, 178, 37, 108, 200, 7, 131, 127, 58, 172, 209, 24, 235, 75, 156, 43, 174, 184, 151, 6, 134, 37, 171, 172, 161, 147])- };-- sourceData.long = new Uint8Array(1024 * sourceData.medium.byteLength);- for (var i=0; i<1024; i++) {- sourceData.long.set(sourceData.medium, i * sourceData.medium.byteLength);- }+ var sourceData = getDigestSourceData(true);var digestedData = {"sha-1": {@@ -43,105 +36,35 @@}// Try every combination of hash with source data size. Variations tested are- // hash name in upper, lower, or mixed case, and upper-case version with the- // source buffer altered after call.- Object.keys(sourceData).forEach(function(size) {- Object.keys(digestedData).forEach(function(alg) {+ // hash name in upper, lower, or mixed case, plus buffer mutation and transfer.+ runDigestTests(subtle, sourceData, function (size) {+ var vectors = [];+ Object.keys(digestedData).forEach(function (alg) {var upCase = alg.toUpperCase();var downCase = alg.toLowerCase();- var mixedCase = upCase.substr(0, 1) + downCase.substr(1);-- promise_test(function(test) {- var promise = subtle.digest({name: upCase}, sourceData[size])- .then(function(result) {- assert_true(equalBuffers(result, digestedData[alg][size]), "digest() yielded expected result for " + alg + ":" + size);- }, function(err) {- assert_unreached("digest() threw an error for " + alg + ":" + size + " - " + err.message);- });-- return promise;- }, upCase + " with " + size + " source data");-- promise_test(function(test) {- var promise = subtle.digest({name: downCase}, sourceData[size])- .then(function(result) {- assert_true(equalBuffers(result, digestedData[alg][size]), "digest() yielded expected result for " + alg + ":" + size);- }, function(err) {- assert_unreached("digest() threw an error for " + alg + ":" + size + " - " + err.message);- });-- return promise;- }, downCase + " with " + size + " source data");-- promise_test(function(test) {- var promise = subtle.digest({name: mixedCase}, sourceData[size])- .then(function(result) {- assert_true(equalBuffers(result, digestedData[alg][size]), "digest() yielded expected result for " + alg + ":" + size);- }, function(err) {- assert_unreached("digest() threw an error for " + alg + ":" + size + " - " + err.message);- });-- return promise;- }, mixedCase + " with " + size + " source data");-- if (sourceData[size].length > 0) {- promise_test(function(test) {- var copiedBuffer = copyBuffer(sourceData[size]);- copiedBuffer[0] = 255 - copiedBuffer[0];- var promise = subtle.digest({- get name() {- copiedBuffer[0] = sourceData[size][0];- return upCase;- }- }, copiedBuffer)- .then(function(result) {- assert_true(equalBuffers(result, digestedData[alg][size]), "digest() yielded expected result for " + alg + ":" + size);- }, function(err) {- assert_unreached("digest() threw an error for " + alg + ":" + size + " - " + err.message);- });- return promise;- }, upCase + " with " + size + " source data and altered buffer during call");-- promise_test(function(test) {- var copiedBuffer = copyBuffer(sourceData[size]);- var promise = subtle.digest({name: upCase}, copiedBuffer)- .then(function(result) {- assert_true(equalBuffers(result, digestedData[alg][size]), "digest() yielded expected result for " + alg + ":" + size);- }, function(err) {- assert_unreached("digest() threw an error for " + alg + ":" + size + " - " + err.message);- });-- copiedBuffer[0] = 255 - copiedBuffer[0];- return promise;- }, upCase + " with " + size + " source data and altered buffer after call");-- promise_test(function(test) {- var copiedBuffer = copyBuffer(sourceData[size]);- copiedBuffer.buffer.transfer();- return subtle.digest({name: upCase}, copiedBuffer)- .then(function(result) {- assert_true(equalBuffers(result, digestedData[alg].empty), "digest() on transferred buffer should yield result for empty buffer for " + alg + ":" + size);- }, function(err) {- assert_unreached("digest() threw an error for transferred buffer for " + alg + ":" + size + ": " + err.message);- });- }, upCase + " with " + size + " source data and transferred buffer during call");-- promise_test(function(test) {- var copiedBuffer = copyBuffer(sourceData[size]);- var promise = subtle.digest({name: upCase}, copiedBuffer)- .then(function(result) {- assert_true(equalBuffers(result, digestedData[alg][size]), "digest() yielded expected result for " + alg + ":" + size);- }, function(err) {- assert_unreached("digest() threw an error for " + alg + ":" + size + " - " + err.message);- });-- copiedBuffer.buffer.transfer();- return promise;- }, upCase + " with " + size + " source data and transferred buffer after call");- }+ var mixedCase = upCase.slice(0, 1) + downCase.slice(1);+ var expected = digestedData[alg][size];++ vectors.push({+ algorithm: {name: upCase},+ expected: expected,+ emptyExpected: digestedData[alg].empty,+ label: upCase + " with " + size + " source data",+ mutations: true,+ });+ vectors.push({+ algorithm: {name: downCase},+ expected: expected,+ label: downCase + " with " + size + " source data",+ });+ vectors.push({+ algorithm: {name: mixedCase},+ expected: expected,+ label: mixedCase + " with " + size + " source data",+ });});+ return vectors;});-// Call digest() with bad algorithm names to get an errorvar badNames = ["AES-GCM", "RSA-OAEP", "PBKDF2", "AES-KW"];Object.keys(sourceData).forEach(function(size) {diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/digest/digest.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/digest/digest.jsnew file mode 100644index 00000000000..ab1453c58ae--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/digest/digest.js@@ -0,0 +1,89 @@+function runDigestTests(subtle, sourceData, getVectors) {+ function algorithmName(algorithm) {+ return typeof algorithm === 'string' ? algorithm : algorithm.name;+ }++ function withNameGetter(algorithm, getter) {+ var result = typeof algorithm === 'string' ? {} : { ...algorithm };+ Object.defineProperty(result, 'name', {+ enumerable: true,+ get: getter,+ });+ return result;+ }++ Object.keys(sourceData).forEach(function (size) {+ getVectors(size).forEach(function (vector) {+ promise_test(function () {+ return subtle.digest(vector.algorithm, sourceData[size])+ .then(function (result) {+ assert_true(+ equalBuffers(result, vector.expected),+ 'digest matches expected'+ );+ });+ }, vector.label);++ if (!vector.mutations || sourceData[size].length === 0) {+ return;+ }++ promise_test(function () {+ var buffer = new Uint8Array(sourceData[size]);+ buffer[0] = ~buffer[0];+ var algorithm = withNameGetter(vector.algorithm, function () {+ buffer[0] = sourceData[size][0];+ return algorithmName(vector.algorithm);+ });+ return subtle.digest(algorithm, buffer).then(function (result) {+ assert_true(+ equalBuffers(result, vector.expected),+ 'digest matches expected'+ );+ });+ }, vector.label + ' and altered buffer during call');++ promise_test(function () {+ var buffer = new Uint8Array(sourceData[size]);+ var promise = subtle.digest(vector.algorithm, buffer)+ .then(function (result) {+ assert_true(+ equalBuffers(result, vector.expected),+ 'digest matches expected'+ );+ });+ buffer[0] = ~buffer[0];+ return promise;+ }, vector.label + ' and altered buffer after call');++ promise_test(function () {+ var buffer = new Uint8Array(sourceData[size]);+ var algorithm = withNameGetter(vector.algorithm, function () {+ if (!buffer.buffer.detached) {+ buffer.buffer.transfer();+ }+ return algorithmName(vector.algorithm);+ });+ return subtle.digest(algorithm, buffer).then(function (result) {+ assert_true(+ equalBuffers(result, vector.emptyExpected),+ 'digest on transferred buffer should match result for empty buffer'+ );+ });+ }, vector.label + ' and transferred buffer during call');++ promise_test(function () {+ var buffer = new Uint8Array(sourceData[size]);+ var promise = subtle.digest(vector.algorithm, buffer)+ .then(function (result) {+ assert_true(+ equalBuffers(result, vector.expected),+ 'digest matches expected'+ );+ });+ buffer.buffer.transfer();+ return promise;+ }, vector.label + ' and transferred buffer after call');+ });+ });+}diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/digest/digest_test_data.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/digest/digest_test_data.jsnew file mode 100644index 00000000000..f088e02a087--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/digest/digest_test_data.js@@ -0,0 +1,25 @@+function getDigestSourceData(includeLong) {+ var sourceData = {+ empty: new Uint8Array(0),+ short: new Uint8Array([+ 21, 110, 234, 124, 193, 76, 86, 203, 148, 219, 3, 10, 74, 157, 149, 255,+ ]),+ medium: new Uint8Array([+ 182, 200, 249, 223, 100, 140, 208, 136, 183, 15, 56, 231, 65, 151, 177,+ 140, 184, 30, 30, 67, 80, 213, 11, 204, 184, 251, 90, 115, 121, 200, 123,+ 178, 227, 214, 237, 84, 97, 237, 30, 159, 54, 243, 64, 163, 150, 42, 68,+ 107, 129, 91, 121, 75, 75, 212, 58, 68, 3, 80, 32, 119, 178, 37, 108,+ 200, 7, 131, 127, 58, 172, 209, 24, 235, 75, 156, 43, 174, 184, 151, 6,+ 134, 37, 171, 172, 161, 147,+ ]),+ };++ if (includeLong) {+ sourceData.long = new Uint8Array(1024 * sourceData.medium.byteLength);+ for (var i = 0; i < 1024; i++) {+ sourceData.long.set(sourceData.medium, i * sourceData.medium.byteLength);+ }+ }++ return sourceData;+}diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/digest/sha3.tentative.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/digest/sha3.tentative.https.any.htmldeleted file mode 100644index 75223bd2acf..00000000000--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/digest/sha3.tentative.https.any.html+++ /dev/null@@ -1,16 +0,0 @@-<!doctype html>-<meta charset=utf-8>-<title>WebCryptoAPI: digest() SHA-3 algorithms</title>-<meta name="timeout" content="long">-<script>-self.GLOBAL = {- isWindow: function() { return true; },- isWorker: function() { return false; },- isShadowRealm: function() { return false; },-};-</script>-<script src="../../resources/testharness.js"></script>-<script src="../../resources/testharnessreport.js"></script>-<script src="../util/helpers.js"></script>-<div id=log></div>-<script src="../../WebCryptoAPI/digest/sha3.tentative.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/digest/sha3.tentative.https.any.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/digest/sha3.tentative.https.any.jsdeleted file mode 100644index f9f38eadc2c..00000000000--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/digest/sha3.tentative.https.any.js+++ /dev/null@@ -1,179 +0,0 @@-// META: title=WebCryptoAPI: digest() SHA-3 algorithms-// META: script=../util/helpers.js-// META: timeout=long--var subtle = crypto.subtle; // Change to test prefixed implementations--var sourceData = {- empty: new Uint8Array(0),- short: new Uint8Array([- 21, 110, 234, 124, 193, 76, 86, 203, 148, 219, 3, 10, 74, 157, 149, 255,- ]),- medium: new Uint8Array([- 182, 200, 249, 223, 100, 140, 208, 136, 183, 15, 56, 231, 65, 151, 177, 140,- 184, 30, 30, 67, 80, 213, 11, 204, 184, 251, 90, 115, 121, 200, 123, 178,- 227, 214, 237, 84, 97, 237, 30, 159, 54, 243, 64, 163, 150, 42, 68, 107,- 129, 91, 121, 75, 75, 212, 58, 68, 3, 80, 32, 119, 178, 37, 108, 200, 7,- 131, 127, 58, 172, 209, 24, 235, 75, 156, 43, 174, 184, 151, 6, 134, 37,- 171, 172, 161, 147,- ]),-};--sourceData.long = new Uint8Array(1024 * sourceData.medium.byteLength);-for (var i = 0; i < 1024; i++) {- sourceData.long.set(sourceData.medium, i * sourceData.medium.byteLength);-}--var digestedData = {- 'SHA3-256': {- empty: new Uint8Array([- 167, 255, 198, 248, 191, 30, 215, 102, 81, 193, 71, 86, 160, 97, 214, 98,- 245, 128, 255, 77, 228, 59, 73, 250, 130, 216, 10, 75, 128, 248, 67, 74,- ]),- short: new Uint8Array([- 48, 89, 175, 122, 163, 59, 81, 112, 132, 232, 173, 123, 188, 79, 178, 8,- 164, 76, 40, 239, 50, 180, 105, 141, 16, 61, 213, 64, 228, 249, 26, 161,- ]),- medium: new Uint8Array([- 31, 167, 205, 29, 167, 76, 216, 4, 100, 23, 80, 140, 131, 20, 231, 74,- 154, 74, 157, 56, 249, 241, 142, 108, 178, 21, 184, 200, 145, 160, 168,- 14,- ]),- long: new Uint8Array([- 178, 207, 198, 30, 3, 134, 205, 174, 245, 225, 10, 43, 225, 137, 137, 31,- 94, 245, 42, 118, 36, 191, 205, 142, 220, 137, 58, 204, 100, 254, 198, 0,- ]),- },- 'SHA3-384': {- empty: new Uint8Array([- 12, 99, 167, 91, 132, 94, 79, 125, 1, 16, 125, 133, 46, 76, 36, 133, 197,- 26, 80, 170, 170, 148, 252, 97, 153, 94, 113, 187, 238, 152, 58, 42, 195,- 113, 56, 49, 38, 74, 219, 71, 251, 107, 209, 224, 88, 213, 240, 4,- ]),- short: new Uint8Array([- 84, 184, 240, 228, 207, 73, 116, 222, 116, 0, 152, 246, 107, 48, 36, 71,- 155, 1, 99, 19, 21, 166, 119, 54, 6, 195, 62, 173, 195, 37, 86, 166, 231,- 120, 224, 143, 2, 37, 174, 121, 38, 90, 236, 102, 108, 178, 57, 11,- ]),- medium: new Uint8Array([- 67, 123, 125, 139, 104, 178, 80, 181, 193, 115, 158, 164, 204, 134, 219,- 32, 51, 135, 157, 251, 24, 222, 41, 44, 156, 80, 217, 193, 147, 164, 199,- 154, 8, 166, 202, 227, 244, 228, 131, 194, 121, 94, 165, 209, 239, 126,- 105, 210,- ]),- long: new Uint8Array([- 59, 57, 196, 201, 122, 216, 118, 19, 48, 93, 12, 204, 152, 113, 129, 113,- 62, 45, 94, 132, 177, 249, 118, 0, 17, 188, 206, 12, 41, 116, 153, 0, 91,- 220, 232, 163, 210, 64, 155, 90, 208, 22, 79, 50, 187, 135, 120, 208,- ]),- },- 'SHA3-512': {- empty: new Uint8Array([- 166, 159, 115, 204, 162, 58, 154, 197, 200, 181, 103, 220, 24, 90, 117,- 110, 151, 201, 130, 22, 79, 226, 88, 89, 224, 209, 220, 193, 71, 92, 128,- 166, 21, 178, 18, 58, 241, 245, 249, 76, 17, 227, 233, 64, 44, 58, 197,- 88, 245, 0, 25, 157, 149, 182, 211, 227, 1, 117, 133, 134, 40, 29, 205,- 38,- ]),- short: new Uint8Array([- 45, 210, 224, 122, 98, 230, 173, 4, 152, 186, 132, 243, 19, 196, 212, 2,- 76, 180, 96, 1, 247, 143, 117, 219, 51, 107, 13, 77, 139, 210, 169, 236,- 21, 44, 74, 210, 8, 120, 115, 93, 130, 186, 8, 114, 236, 245, 150, 8, 239,- 60, 237, 43, 42, 134, 105, 66, 126, 125, 163, 30, 54, 35, 51, 216,- ]),- medium: new Uint8Array([- 230, 64, 162, 25, 9, 83, 102, 64, 54, 158, 155, 10, 72, 147, 28, 92, 178,- 239, 203, 201, 31, 236, 242, 71, 48, 107, 201, 106, 14, 76, 163, 51, 7,- 203, 142, 27, 154, 243, 103, 148, 109, 208, 28, 36, 63, 57, 7, 80, 141, 4,- 241, 105, 42, 49, 97, 223, 31, 137, 141, 232, 238, 37, 254, 190,- ]),- long: new Uint8Array([- 189, 38, 44, 236, 245, 101, 195, 56, 3, 45, 229, 186, 1, 56, 240, 170,- 207, 231, 221, 232, 61, 39, 45, 13, 55, 217, 82, 130, 158, 210, 93, 225,- 161, 52, 45, 152, 101, 158, 247, 210, 250, 74, 202, 124, 226, 177, 170, 7,- 132, 216, 252, 29, 203, 248, 27, 206, 199, 167, 67, 26, 61, 163, 107, 247,- ]),- },-};--// Test SHA-3 digest algorithms-Object.keys(sourceData).forEach(function (size) {- Object.keys(digestedData).forEach(function (alg) {- promise_test(function (test) {- return crypto.subtle- .digest(alg, sourceData[size])- .then(function (result) {- assert_true(- equalBuffers(result, digestedData[alg][size]),- 'digest matches expected'- );- });- }, alg + ' with ' + size + ' source data');-- if (sourceData[size].length > 0) {- promise_test(function (test) {- var buffer = new Uint8Array(sourceData[size]);- // Alter the buffer before calling digest- buffer[0] = ~buffer[0];- return crypto.subtle- .digest({- get name() {- // Alter the buffer back while calling digest- buffer[0] = sourceData[size][0];- return alg;- }- }, buffer)- .then(function (result) {- assert_true(- equalBuffers(result, digestedData[alg][size]),- 'digest matches expected'- );- });- }, alg + ' with ' + size + ' source data and altered buffer during call');-- promise_test(function (test) {- var buffer = new Uint8Array(sourceData[size]);- var promise = crypto.subtle.digest(alg, buffer).then(function (result) {- assert_true(- equalBuffers(result, digestedData[alg][size]),- 'digest matches expected'- );- });- // Alter the buffer after calling digest- buffer[0] = ~buffer[0];- return promise;- }, alg + ' with ' + size + ' source data and altered buffer after call');-- promise_test(function (test) {- var buffer = new Uint8Array(sourceData[size]);- return crypto.subtle- .digest({- get name() {- // Transfer the buffer while calling digest- buffer.buffer.transfer();- return alg;- }- }, buffer)- .then(function (result) {- assert_true(- equalBuffers(result, digestedData[alg].empty),- 'digest on transferred buffer should match result for empty buffer'- );- });- }, alg + ' with ' + size + ' source data and transferred buffer during call');-- promise_test(function (test) {- var buffer = new Uint8Array(sourceData[size]);- var promise = crypto.subtle.digest(alg, buffer).then(function (result) {- assert_true(- equalBuffers(result, digestedData[alg][size]),- 'digest matches expected'- );- });- // Transfer the buffer after calling digest- buffer.buffer.transfer();- return promise;- }, alg + ' with ' + size + ' source data and transferred buffer after call');- }- });-});diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encap_decap/encap_decap_bits.tentative.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encap_decap/encap_decap_bits.tentative.https.any.htmldeleted file mode 100644index e36cdcb24a1..00000000000--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encap_decap/encap_decap_bits.tentative.https.any.html+++ /dev/null@@ -1,17 +0,0 @@-<!doctype html>-<meta charset=utf-8>-<title>WebCryptoAPI: ML-KEM encapsulateBits() and decapsulateBits() tests</title>-<meta name="timeout" content="long">-<script>-self.GLOBAL = {- isWindow: function() { return true; },- isWorker: function() { return false; },- isShadowRealm: function() { return false; },-};-</script>-<script src="../../resources/testharness.js"></script>-<script src="../../resources/testharnessreport.js"></script>-<script src="ml_kem_vectors.js"></script>-<script src="../util/helpers.js"></script>-<div id=log></div>-<script src="../../WebCryptoAPI/encap_decap/encap_decap_bits.tentative.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encap_decap/encap_decap_keys.tentative.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encap_decap/encap_decap_keys.tentative.https.any.htmldeleted file mode 100644index 3a2cd1194fa..00000000000--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encap_decap/encap_decap_keys.tentative.https.any.html+++ /dev/null@@ -1,17 +0,0 @@-<!doctype html>-<meta charset=utf-8>-<title>WebCryptoAPI: ML-KEM encapsulateKey() and decapsulateKey() tests</title>-<meta name="timeout" content="long">-<script>-self.GLOBAL = {- isWindow: function() { return true; },- isWorker: function() { return false; },- isShadowRealm: function() { return false; },-};-</script>-<script src="../../resources/testharness.js"></script>-<script src="../../resources/testharnessreport.js"></script>-<script src="ml_kem_vectors.js"></script>-<script src="../util/helpers.js"></script>-<div id=log></div>-<script src="../../WebCryptoAPI/encap_decap/encap_decap_keys.tentative.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encap_decap/ml_kem_vectors.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encap_decap/ml_kem_vectors.jsdeleted file mode 100644index 3e04fda6a3b..00000000000--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encap_decap/ml_kem_vectors.js+++ /dev/null@@ -1,659 +0,0 @@-var ml_kem_vectors = {};--// ML-KEM-512 test vectors-ml_kem_vectors['ML-KEM-512'] = {- // 800-byte publicKey- publicKey: new Uint8Array([- 0xce, 0xcb, 0x75, 0x1f, 0x32, 0x67, 0x09, 0xb4, 0x9e, 0x14, 0xca, 0xa4,- 0xbe, 0x30, 0x95, 0xee, 0xe9, 0x85, 0x58, 0x86, 0x2b, 0x83, 0xb9, 0x33,- 0x56, 0x86, 0x4e, 0xad, 0x05, 0xcb, 0x38, 0x26, 0x95, 0x4c, 0xdb, 0xb2,- 0x1d, 0xc4, 0x52, 0x44, 0x60, 0x36, 0xdd, 0x77, 0x82, 0x30, 0x09, 0x4f,- 0xe3, 0xb8, 0x14, 0xc7, 0x99, 0x8f, 0x94, 0x45, 0x82, 0xd3, 0x89, 0xcc,- 0xc7, 0x38, 0x97, 0x4e, 0x39, 0x49, 0x6d, 0xb5, 0x34, 0xd4, 0xdb, 0x78,- 0x4b, 0x65, 0x44, 0x6e, 0xa9, 0xbc, 0x59, 0xe8, 0x96, 0xa3, 0x39, 0xbe,- 0x6c, 0x13, 0x46, 0x3a, 0xb7, 0x4a, 0xe2, 0x02, 0x8a, 0x12, 0x69, 0x5c,- 0x5b, 0x12, 0xc1, 0xc9, 0xd5, 0x70, 0x06, 0x58, 0x19, 0xf6, 0x82, 0x3b,- 0x53, 0x3b, 0x29, 0xbb, 0xc8, 0x93, 0x8b, 0xc0, 0xaa, 0x74, 0x52, 0x77,- 0xe7, 0x33, 0x57, 0xd9, 0x52, 0x5c, 0xec, 0x0c, 0xaf, 0xe1, 0xf0, 0x8a,- 0x1b, 0x9b, 0x11, 0xa2, 0xf8, 0xaa, 0xc1, 0xf5, 0xab, 0xb2, 0xa6, 0xb4,- 0x5f, 0x10, 0x95, 0x69, 0xb2, 0x0c, 0xfe, 0xba, 0xaf, 0x32, 0xb4, 0x90,- 0x64, 0x4c, 0x18, 0x84, 0xd7, 0x7f, 0xe3, 0x88, 0xa1, 0x20, 0xb0, 0x85,- 0x14, 0xc9, 0x6e, 0xeb, 0xb3, 0xbc, 0x0c, 0xd9, 0x77, 0x06, 0x76, 0x9f,- 0x70, 0xf0, 0x48, 0x47, 0x09, 0x8a, 0xbf, 0x62, 0x82, 0xac, 0x00, 0x2f,- 0xa0, 0x15, 0x84, 0xab, 0x96, 0x76, 0x0b, 0xdc, 0x46, 0x57, 0x09, 0x3b,- 0xb6, 0x97, 0x9e, 0x0a, 0xf8, 0x54, 0x0b, 0xb7, 0x20, 0x72, 0x2a, 0x6c,- 0xbb, 0xb8, 0x48, 0x1f, 0xd0, 0x36, 0xf5, 0xd3, 0x64, 0xc5, 0x64, 0xc9,- 0x6f, 0x4a, 0xa6, 0xbe, 0xb2, 0x40, 0x86, 0xb3, 0xb1, 0x04, 0xe0, 0xaf,- 0x59, 0x10, 0x63, 0x8b, 0x66, 0x7d, 0x7d, 0x29, 0xb3, 0x2e, 0x93, 0xad,- 0xdb, 0xa0, 0x54, 0x37, 0x82, 0x38, 0x58, 0xf7, 0xcf, 0xc6, 0x9a, 0xcd,- 0xaa, 0x94, 0xba, 0x74, 0x90, 0x29, 0x73, 0xb8, 0x8a, 0x9b, 0x08, 0xce,- 0x2f, 0xb1, 0x09, 0xb2, 0xa1, 0x6d, 0x31, 0xf1, 0x0d, 0x8b, 0xb4, 0x52,- 0xa0, 0x89, 0x96, 0xb9, 0x54, 0x78, 0x49, 0x90, 0x8a, 0x61, 0xba, 0x0d,- 0x92, 0xf3, 0x6f, 0x46, 0x7a, 0xa5, 0x22, 0x4c, 0xb9, 0x2c, 0xaa, 0x17,- 0xab, 0xc9, 0x37, 0x84, 0x2a, 0x4f, 0xac, 0xf6, 0x4a, 0xf4, 0xe2, 0x81,- 0x12, 0x78, 0x49, 0x6d, 0xac, 0xa6, 0xe1, 0xa9, 0x89, 0x8a, 0x5c, 0x02,- 0x8e, 0xa4, 0x6a, 0x64, 0xe5, 0x67, 0x84, 0xc5, 0xbe, 0x7e, 0xf9, 0x39,- 0x60, 0xa9, 0x10, 0xd7, 0x01, 0x1e, 0x03, 0xb1, 0x7c, 0xaf, 0x42, 0xce,- 0x3e, 0xc2, 0x13, 0x75, 0x96, 0x93, 0x32, 0x0b, 0x2c, 0x96, 0xb2, 0x2a,- 0xef, 0x80, 0x10, 0xa3, 0x82, 0x5d, 0x60, 0xbc, 0xc0, 0xe9, 0x15, 0x1a,- 0x0f, 0xa4, 0x3d, 0xf1, 0x0c, 0xa3, 0xa3, 0xcc, 0x6b, 0x6d, 0x6b, 0xb6,- 0xa2, 0xf6, 0x03, 0x5f, 0xe3, 0xc0, 0x23, 0x62, 0xae, 0x07, 0xe5, 0xa9,- 0x79, 0x28, 0x69, 0x24, 0xd0, 0x5a, 0x54, 0xc5, 0x13, 0x7b, 0x46, 0xb3,- 0x99, 0x85, 0x74, 0xa7, 0x3c, 0xc0, 0x09, 0x87, 0x5d, 0xd5, 0x66, 0xbe,- 0xae, 0x6b, 0x4d, 0x47, 0xa2, 0x79, 0xf5, 0x85, 0xaf, 0x8e, 0xc5, 0x7c,- 0xfc, 0xa2, 0x81, 0x16, 0xa9, 0x54, 0x03, 0xfa, 0x6e, 0x49, 0xe7, 0xa4,- 0x11, 0x16, 0x89, 0xf2, 0x34, 0x0f, 0xe9, 0x08, 0x8e, 0x07, 0x43, 0xa2,- 0x6e, 0x06, 0xbc, 0x6c, 0x54, 0xb0, 0x12, 0x61, 0x76, 0x69, 0x05, 0xcf,- 0xb2, 0x78, 0x5e, 0xf5, 0xd5, 0xc9, 0x86, 0xec, 0xc9, 0xd7, 0x4c, 0x66,- 0xef, 0xec, 0x57, 0x69, 0xa9, 0x2c, 0x8a, 0x03, 0x48, 0x90, 0x30, 0x0f,- 0x2b, 0x7c, 0x7d, 0x20, 0xa8, 0x0f, 0xfb, 0x73, 0x1c, 0xe4, 0x19, 0x2c,- 0xec, 0x02, 0x1a, 0xd9, 0xb9, 0xac, 0x25, 0xdc, 0x99, 0x46, 0x00, 0x4c,- 0xcd, 0xcc, 0xa5, 0xf4, 0xb2, 0x95, 0x81, 0xf2, 0x7e, 0xb3, 0xe7, 0x24,- 0x50, 0x4a, 0xc3, 0x6e, 0x95, 0xae, 0xb7, 0xbc, 0x49, 0xc6, 0x5a, 0x78,- 0x3a, 0xb8, 0xc2, 0xd1, 0x69, 0xcc, 0xc0, 0x11, 0x3b, 0x18, 0x26, 0x30,- 0x7e, 0x51, 0xb3, 0xc5, 0x73, 0x07, 0xa6, 0x8a, 0xc3, 0xe6, 0x18, 0xba,- 0x22, 0x39, 0x28, 0xd6, 0x33, 0x61, 0x51, 0x28, 0x92, 0xbf, 0x93, 0xb1,- 0x52, 0x68, 0xae, 0x54, 0xea, 0xc4, 0x4f, 0x62, 0x1d, 0x82, 0x94, 0x39,- 0xe2, 0x98, 0x7c, 0x1b, 0xea, 0x13, 0x26, 0x92, 0x6a, 0xb1, 0x1c, 0x59,- 0x11, 0x47, 0x7c, 0x7b, 0xeb, 0x28, 0x2a, 0xe8, 0x81, 0x0b, 0x55, 0x14,- 0x53, 0x80, 0x28, 0xb8, 0x58, 0x8b, 0x1c, 0xa5, 0x91, 0x4e, 0x55, 0x9e,- 0x68, 0x32, 0x5d, 0x5f, 0x94, 0x87, 0x83, 0x73, 0x3f, 0xfc, 0x8b, 0xb4,- 0x8c, 0xd9, 0x52, 0xf8, 0x74, 0x5f, 0x76, 0xc2, 0x63, 0x9a, 0x87, 0x54,- 0x10, 0x47, 0x1e, 0x83, 0x82, 0x31, 0x6d, 0x22, 0x26, 0x16, 0x32, 0xb1,- 0xa1, 0x78, 0x09, 0xd5, 0x8b, 0xbb, 0x75, 0xd7, 0x8b, 0xa2, 0x99, 0xcf,- 0xde, 0x2a, 0x73, 0x0f, 0x80, 0x91, 0xdc, 0x44, 0xb8, 0xaa, 0x73, 0x69,- 0x55, 0xfa, 0x23, 0xb8, 0x16, 0xb1, 0xd7, 0x78, 0x4d, 0x97, 0xab, 0xcb,- 0x0c, 0xf4, 0xcb, 0xb7, 0xc8, 0x36, 0x4e, 0xf1, 0x2a, 0x82, 0xb0, 0x09,- 0x10, 0x3c, 0x8f, 0x7a, 0x76, 0xc6, 0xac, 0x08, 0x6a, 0xe1, 0x0a, 0x3e,- 0x6b, 0x06, 0x39, 0xcb, 0x35, 0xce, 0x10, 0xc3, 0x1f, 0xaa, 0xaa, 0x26,- 0xfc, 0x22, 0xb9, 0xd5, 0x12, 0xcc, 0xa8, 0x48, 0x0a, 0x61, 0xac, 0x3a,- 0xa1, 0x87, 0xbf, 0xea, 0x79, 0x11, 0x7d, 0xfb, 0xc4, 0xfe, 0x0b, 0x4f,- 0x94, 0x57, 0xd8, 0x7b, 0xa4, 0x91, 0x4e, 0xe5, 0x5a, 0x4b, 0xaa, 0x94,- 0x6e, 0x91, 0x55, 0xe9, 0x9b, 0xae, 0xac, 0xe9, 0x52, 0x2c, 0xc6, 0x4b,- 0xee, 0x7b, 0xd7, 0xfa, 0x45, 0xeb, 0x2f, 0x6b,- ]),- // 64-byte privateSeed- privateSeed: new Uint8Array([- 0x3e, 0x42, 0x62, 0xca, 0xd1, 0x44, 0x02, 0x6d, 0xe9, 0xbd, 0x35, 0xbf,- 0x20, 0x3f, 0xfb, 0x40, 0x26, 0x3c, 0x8c, 0x76, 0x5d, 0x05, 0xd2, 0xa4,- 0xd0, 0x0a, 0x8a, 0xe9, 0x25, 0x07, 0xd2, 0xd2, 0xc5, 0x60, 0xb8, 0x43,- 0x5a, 0x05, 0x4d, 0x81, 0x6e, 0x5f, 0x25, 0x35, 0xa3, 0xdf, 0x91, 0x83,- 0x3c, 0xca, 0xd2, 0x63, 0xe5, 0x8e, 0x3c, 0x34, 0x55, 0x5c, 0xd8, 0xc5,- 0x73, 0x25, 0xad, 0x9d,- ]),- // 768-byte sampleCiphertext- sampleCiphertext: new Uint8Array([- 0x0e, 0x48, 0x87, 0x58, 0xdc, 0xd4, 0x55, 0x52, 0x56, 0x5b, 0xec, 0xe5,- 0xb8, 0xbd, 0xa4, 0x52, 0x35, 0x44, 0xde, 0x14, 0xee, 0xd1, 0x3f, 0xec,- 0x29, 0xcf, 0x92, 0x60, 0x16, 0x15, 0x89, 0x13, 0x14, 0x32, 0x24, 0xdb,- 0x55, 0x5a, 0x2d, 0x6d, 0x42, 0xc2, 0xce, 0x30, 0xf6, 0x3b, 0x72, 0x34,- 0xb8, 0x25, 0xab, 0x11, 0xb6, 0xb1, 0x0b, 0xba, 0xc1, 0x98, 0x35, 0xc2,- 0x3c, 0xac, 0x07, 0xe3, 0xb3, 0x7f, 0xed, 0x08, 0xa1, 0xeb, 0x88, 0x61,- 0x99, 0xee, 0x2d, 0xb9, 0x5e, 0x01, 0x35, 0xaf, 0x1c, 0x21, 0xd3, 0x75,- 0xed, 0xd0, 0xc1, 0x34, 0x66, 0x17, 0xb6, 0x6c, 0xfc, 0xd9, 0xcd, 0xa8,- 0x5a, 0x80, 0x28, 0xda, 0x74, 0x5d, 0x9d, 0x36, 0x53, 0xfc, 0x5b, 0x80,- 0xc6, 0xd2, 0x9b, 0x4c, 0xd9, 0xb0, 0x2d, 0x6c, 0x5a, 0xc8, 0xe7, 0xc0,- 0x27, 0xa7, 0x02, 0x58, 0x57, 0x31, 0x98, 0xbc, 0x72, 0x40, 0x4a, 0x31,- 0xde, 0x1f, 0x44, 0x38, 0x54, 0xe7, 0xbe, 0xcb, 0x3b, 0xcf, 0x39, 0x0a,- 0x6f, 0xe7, 0xc8, 0x6c, 0x3a, 0x0b, 0x14, 0x9e, 0x51, 0xa5, 0x10, 0x3b,- 0x2d, 0xd8, 0x4b, 0x96, 0xd2, 0x0d, 0x1f, 0x3b, 0x1a, 0x53, 0x08, 0xdd,- 0x94, 0x11, 0xfa, 0x87, 0x75, 0x4d, 0x7d, 0x85, 0x72, 0xad, 0x58, 0x36,- 0x27, 0xdb, 0x9a, 0xa9, 0x8d, 0x2f, 0xe0, 0x9b, 0x6f, 0xdd, 0xca, 0x3c,- 0xa8, 0xf9, 0x4e, 0x64, 0x3b, 0x56, 0xd9, 0x2b, 0xab, 0xaf, 0x10, 0x5e,- 0x52, 0xba, 0x70, 0x82, 0xe3, 0x34, 0xf7, 0xb8, 0xe4, 0x86, 0x6f, 0x45,- 0xf4, 0x15, 0xa1, 0xd4, 0x69, 0x01, 0xba, 0x93, 0x2c, 0x29, 0x8d, 0xcd,- 0xb0, 0xe9, 0x64, 0xd1, 0x8a, 0x0b, 0x72, 0x5a, 0xd0, 0x58, 0xc2, 0xd5,- 0xea, 0x72, 0x13, 0xff, 0x7f, 0x44, 0xaf, 0xea, 0xcf, 0x1b, 0x6a, 0x10,- 0x29, 0xfd, 0x93, 0xce, 0x50, 0xa6, 0xb3, 0x4b, 0xf5, 0x1e, 0x83, 0x23,- 0xc7, 0xda, 0x58, 0x60, 0x06, 0xd3, 0xc1, 0xf7, 0x8c, 0x98, 0xca, 0x79,- 0xcc, 0xbc, 0xff, 0x1c, 0x14, 0xa0, 0x30, 0x94, 0x96, 0xbf, 0xb4, 0xf4,- 0xbc, 0x24, 0x40, 0x2a, 0x47, 0x91, 0x2f, 0x98, 0x00, 0x5d, 0xef, 0xbc,- 0x08, 0x2b, 0x96, 0xc2, 0x06, 0xdc, 0xa0, 0x2c, 0x93, 0x27, 0xd7, 0xa4,- 0x16, 0x6b, 0x9c, 0xcf, 0xea, 0x2c, 0x45, 0x32, 0x6a, 0x98, 0xa1, 0xab,- 0x84, 0xdc, 0xac, 0x0e, 0xa3, 0x5a, 0x2b, 0x1a, 0x2c, 0x40, 0x1b, 0x91,- 0x1c, 0xdf, 0x27, 0x65, 0x23, 0x38, 0xe7, 0x4b, 0xea, 0xfa, 0xb4, 0xd9,- 0x45, 0xc3, 0xf1, 0x3c, 0xa2, 0x96, 0x50, 0x7c, 0x87, 0xf7, 0x3e, 0x34,- 0x8b, 0xb4, 0x43, 0xb7, 0xfa, 0x7e, 0xc0, 0x5f, 0xa0, 0xe3, 0x5b, 0x9f,- 0x19, 0x1e, 0xc8, 0xba, 0xde, 0x96, 0x60, 0x92, 0x74, 0x8c, 0xda, 0x72,- 0x9e, 0x25, 0xa4, 0xcf, 0x8d, 0x9f, 0x8f, 0xc0, 0x6d, 0xaf, 0x4a, 0x60,- 0xf3, 0xb9, 0x85, 0x30, 0x28, 0x2e, 0xab, 0xbf, 0x57, 0x67, 0x4d, 0x34,- 0xf9, 0x6c, 0xf5, 0x37, 0x63, 0x96, 0x95, 0x35, 0x78, 0x25, 0x11, 0x1e,- 0x0c, 0xa9, 0xaf, 0xc0, 0x4a, 0x78, 0x9d, 0xf2, 0x83, 0xb1, 0x25, 0xd9,- 0xf9, 0xf1, 0xb5, 0x59, 0x27, 0xc9, 0x3b, 0xd4, 0x8e, 0x1b, 0xcc, 0x62,- 0xf3, 0x6e, 0x76, 0x28, 0xea, 0x8b, 0xdd, 0xf4, 0x48, 0xae, 0x0c, 0xe2,- 0x98, 0x44, 0x2f, 0x1a, 0x8c, 0x8d, 0x31, 0xdc, 0x23, 0xb9, 0x68, 0x32,- 0x60, 0x3c, 0xf2, 0x03, 0x6f, 0xba, 0xe9, 0x6f, 0xc0, 0xfb, 0xd2, 0x57,- 0x0a, 0xa5, 0xd6, 0x51, 0x7c, 0xc3, 0x52, 0xdd, 0xdf, 0xa9, 0x44, 0x52,- 0x4a, 0x4c, 0xa6, 0xc5, 0xc7, 0x6d, 0xb9, 0x8c, 0xc7, 0x96, 0xc8, 0xf9,- 0xcf, 0xe3, 0x92, 0x74, 0x8c, 0xb3, 0xb2, 0x2e, 0xaf, 0x58, 0x43, 0x45,- 0x77, 0x29, 0xa7, 0xb6, 0xa8, 0x01, 0xca, 0x0c, 0xa9, 0xb4, 0x65, 0x6a,- 0xbc, 0x9d, 0xf0, 0x91, 0x1a, 0x3d, 0x1a, 0x11, 0xc8, 0x5b, 0xe1, 0xf4,- 0x13, 0x60, 0xe8, 0x5a, 0x47, 0xe7, 0x66, 0xdc, 0xd9, 0x9c, 0xd0, 0xa3,- 0x5f, 0x1f, 0xa6, 0xc0, 0x94, 0x58, 0x05, 0xc8, 0x46, 0xd2, 0xa0, 0x86,- 0x55, 0x36, 0x34, 0x01, 0xae, 0x98, 0x86, 0xd4, 0x26, 0xc3, 0xa1, 0x5a,- 0xef, 0xd0, 0x98, 0x4d, 0x5a, 0x12, 0x8c, 0x03, 0x18, 0xf1, 0x81, 0x8d,- 0x73, 0x4f, 0x62, 0x4b, 0xc6, 0xe7, 0x3a, 0x5d, 0x42, 0xf8, 0x13, 0x29,- 0x76, 0x4c, 0x3b, 0x51, 0x86, 0xe7, 0xd6, 0x87, 0x2e, 0x9e, 0x3e, 0x22,- 0xde, 0x4f, 0xae, 0xf9, 0x6a, 0xe1, 0xa7, 0x72, 0xfa, 0x1e, 0x8f, 0xc1,- 0x95, 0xe8, 0x60, 0x1d, 0xd5, 0x46, 0x8a, 0xcb, 0x80, 0x61, 0x9c, 0x65,- 0x8e, 0x06, 0xe7, 0x89, 0xfa, 0xb5, 0xfd, 0x68, 0x8f, 0x8c, 0x08, 0xc3,- 0x6a, 0xc8, 0x84, 0x13, 0x52, 0x32, 0xce, 0x83, 0x2e, 0x68, 0xa0, 0xc1,- 0x5f, 0x01, 0x65, 0xb8, 0x4c, 0x38, 0x82, 0xaf, 0xac, 0x0b, 0xbe, 0x4e,- 0xef, 0x7a, 0x42, 0xde, 0x92, 0x17, 0x4a, 0xf0, 0xf6, 0x85, 0xfe, 0x47,- 0xba, 0xf2, 0xbc, 0x79, 0x7c, 0xed, 0x19, 0xdf, 0x18, 0x08, 0x72, 0x8a,- 0xce, 0x57, 0x86, 0xcf, 0xc5, 0x54, 0x17, 0x19, 0xab, 0x0c, 0xeb, 0xa5,- 0x44, 0x33, 0x5c, 0x1f, 0x02, 0xec, 0x8b, 0x80, 0xdd, 0xe7, 0x50, 0x74,- 0x97, 0x43, 0xa8, 0xa3, 0xb9, 0x1a, 0x8e, 0x1d, 0x21, 0x97, 0x95, 0x6c,- 0x96, 0xa0, 0x2d, 0xc5, 0x1b, 0xad, 0xed, 0x9d, 0x88, 0x46, 0x89, 0x9d,- 0xbd, 0x4a, 0xc5, 0x57, 0xa7, 0x4c, 0x4e, 0x78, 0x43, 0xa4, 0xc3, 0x43,- 0x11, 0x32, 0xde, 0xaf, 0xa3, 0xf4, 0x18, 0xd7, 0xc3, 0x9d, 0x52, 0x76,- ]),- // 32-byte expectedSharedSecret- expectedSharedSecret: new Uint8Array([- 0x6b, 0x15, 0xad, 0xd5, 0xb3, 0x66, 0xb2, 0x2c, 0x66, 0x8a, 0x1d, 0x81,- 0x90, 0x1d, 0x2e, 0xe2, 0x11, 0x33, 0x03, 0xb6, 0xaf, 0xa8, 0x2e, 0xaf,- 0x67, 0x64, 0xdb, 0xea, 0xd7, 0x66, 0xb8, 0xfc,- ]),-};--// ML-KEM-768 test vectors-ml_kem_vectors['ML-KEM-768'] = {- // 1184-byte publicKey- publicKey: new Uint8Array([- 0x0f, 0x61, 0x02, 0x18, 0x60, 0x7b, 0xac, 0x16, 0x36, 0xd1, 0x2a, 0x24,- 0x50, 0x79, 0x65, 0xbc, 0x4b, 0x6f, 0x39, 0x75, 0x69, 0x9e, 0x24, 0xba,- 0x48, 0x9a, 0xb0, 0x0e, 0xb8, 0xbb, 0x94, 0xc4, 0x16, 0xe0, 0x9b, 0x5b,- 0x3c, 0x22, 0x05, 0xda, 0x71, 0xa4, 0x0a, 0xf3, 0x8b, 0x10, 0x95, 0xb9,- 0x98, 0xb7, 0x34, 0x46, 0x2a, 0x0c, 0xdf, 0x33, 0x7b, 0xe7, 0x85, 0x25,- 0xfb, 0xd9, 0x84, 0x54, 0x7a, 0x98, 0x1e, 0x11, 0x9a, 0x10, 0xa1, 0x9b,- 0xb6, 0x22, 0x21, 0xf7, 0x17, 0x60, 0xf4, 0x71, 0x1b, 0x3d, 0x88, 0x31,- 0x7e, 0xf7, 0x83, 0x84, 0xd5, 0x20, 0x28, 0xa9, 0x49, 0x77, 0xa7, 0x59,- 0x96, 0x10, 0xb3, 0x4b, 0xc3, 0x39, 0x4b, 0x90, 0x9c, 0xcc, 0x3a, 0xbf,- 0x62, 0xfb, 0xc2, 0xcc, 0x66, 0xae, 0xc6, 0x17, 0xcd, 0xc9, 0x09, 0x17,- 0xc1, 0x80, 0xba, 0x14, 0x81, 0x68, 0x64, 0xf5, 0x41, 0xc4, 0x3a, 0x1f,- 0x29, 0x98, 0x77, 0xfa, 0x28, 0x4a, 0xca, 0x65, 0x5b, 0xd5, 0xa7, 0xb5,- 0xda, 0x3b, 0x77, 0xe4, 0x86, 0x96, 0xbf, 0xf7, 0x25, 0x25, 0x10, 0x59,- 0x34, 0x26, 0x9f, 0xef, 0x4c, 0x0b, 0xb4, 0x83, 0xce, 0x3d, 0x8c, 0x12,- 0x6f, 0xa4, 0xc0, 0xe4, 0x4a, 0x18, 0x1f, 0x97, 0x31, 0xbe, 0x18, 0x39,- 0xad, 0x08, 0x95, 0xe2, 0x7b, 0x1b, 0xf2, 0xe5, 0x89, 0xf3, 0x08, 0x60,- 0x6c, 0x50, 0xc5, 0x2d, 0x2c, 0x0c, 0x15, 0x78, 0x58, 0x88, 0x65, 0x5e,- 0x72, 0x18, 0x25, 0xd1, 0xa4, 0xb5, 0x25, 0x65, 0x51, 0x85, 0x59, 0xc3,- 0xf2, 0xa7, 0xb4, 0xb5, 0x86, 0x18, 0xe6, 0xe6, 0x91, 0x49, 0xb0, 0x29,- 0x62, 0x21, 0x73, 0x96, 0x89, 0x7e, 0xb7, 0x42, 0x12, 0xb1, 0x07, 0x0d,- 0x9f, 0xb0, 0x9d, 0x0c, 0xf3, 0x93, 0x75, 0x08, 0x9b, 0xf3, 0x25, 0x1e,- 0xf9, 0x92, 0xb2, 0x55, 0xb1, 0x5b, 0x83, 0xc9, 0xb4, 0x75, 0x15, 0x1b,- 0x93, 0x22, 0x83, 0xfc, 0xd9, 0x43, 0xee, 0x7a, 0x2e, 0x7c, 0xb2, 0x48,- 0xdf, 0xb8, 0x32, 0x5d, 0xc0, 0xc7, 0x0d, 0x55, 0x71, 0x31, 0xcc, 0x69,- 0x66, 0x46, 0xa2, 0x31, 0x75, 0x5b, 0xe2, 0x0a, 0x9c, 0xee, 0x44, 0x15,- 0xde, 0x08, 0x5d, 0xf3, 0xa4, 0x16, 0x65, 0x56, 0x0a, 0x59, 0xc1, 0x5a,- 0x95, 0x60, 0x87, 0x96, 0x96, 0xc0, 0xbb, 0x34, 0x4a, 0x27, 0x87, 0x91,- 0x6c, 0xb7, 0x77, 0x3a, 0xf0, 0x5c, 0x65, 0xbb, 0x79, 0xcd, 0xf9, 0x24,- 0x75, 0x1b, 0xcb, 0x4d, 0x8a, 0x20, 0xae, 0x59, 0xa6, 0x09, 0xc1, 0x58,- 0xb1, 0x41, 0x9c, 0x83, 0x64, 0x9a, 0x74, 0xe1, 0x7e, 0x69, 0x76, 0x5a,- 0xd4, 0xf5, 0x28, 0xac, 0x66, 0xc9, 0x81, 0x19, 0xc6, 0x20, 0xa3, 0x18,- 0xc8, 0x17, 0x98, 0x14, 0xc2, 0x57, 0x58, 0x43, 0x2a, 0x5c, 0xb6, 0x73,- 0x4e, 0x31, 0xa0, 0x2a, 0xa9, 0xc8, 0xba, 0x14, 0x88, 0xa1, 0x1a, 0x9c,- 0xf3, 0x69, 0x29, 0xe2, 0x12, 0x8d, 0xb8, 0x76, 0x6d, 0x95, 0xb2, 0xab,- 0x22, 0xb1, 0x15, 0x5a, 0x22, 0x53, 0xe4, 0x27, 0x7d, 0xc7, 0x80, 0xb0,- 0x10, 0xe5, 0x9a, 0x42, 0xea, 0x95, 0xc6, 0xa9, 0xa0, 0xd6, 0xf9, 0x45,- 0xd5, 0x73, 0x45, 0xe5, 0x55, 0xc9, 0xf3, 0x39, 0x80, 0x8a, 0xe0, 0x0a,- 0xa5, 0x47, 0x5e, 0xc6, 0xc4, 0x52, 0x6b, 0xb0, 0x10, 0xfc, 0xac, 0x24,- 0x47, 0x5a, 0x21, 0x8a, 0x75, 0x8e, 0x62, 0xf9, 0x20, 0x56, 0x77, 0x11,- 0xc0, 0x38, 0x19, 0x6c, 0xd0, 0x37, 0xab, 0xb5, 0x7a, 0xd1, 0x32, 0xad,- 0x62, 0x2a, 0x2e, 0x3e, 0x39, 0x61, 0x7c, 0xf3, 0x66, 0xa3, 0x98, 0x56,- 0x4f, 0x31, 0xad, 0xb5, 0x40, 0x5f, 0xf6, 0xa9, 0x20, 0xc5, 0x32, 0x6e,- 0xc7, 0x26, 0xa3, 0x97, 0xfc, 0x11, 0xcf, 0x79, 0x25, 0x9e, 0x48, 0x62,- 0xe6, 0xd3, 0x39, 0x48, 0x29, 0x9e, 0x55, 0xf5, 0x68, 0x93, 0xea, 0xcd,- 0x10, 0xdc, 0x9f, 0x89, 0x98, 0x47, 0xac, 0x12, 0x7c, 0xb8, 0xb5, 0x52,- 0x7c, 0xaa, 0x9e, 0x8c, 0xf4, 0xaf, 0x1b, 0xf5, 0xc5, 0x06, 0x01, 0x4c,- 0x76, 0x05, 0x8b, 0x1e, 0xd1, 0x0f, 0xa0, 0xf6, 0x09, 0xb7, 0x78, 0xaa,- 0x26, 0xca, 0xcc, 0x3b, 0xb0, 0x3e, 0x04, 0xb4, 0x9e, 0x99, 0xfa, 0x7a,- 0xc0, 0x33, 0x0e, 0xf2, 0x92, 0x55, 0x38, 0x80, 0x4e, 0xbc, 0x24, 0x53,- 0x00, 0x03, 0xcf, 0x08, 0x17, 0x3a, 0x4b, 0x5a, 0x78, 0x7b, 0xcb, 0x3b,- 0xb0, 0x6b, 0x6b, 0x7d, 0xe1, 0x7a, 0x7a, 0xd7, 0x4b, 0xc3, 0x12, 0x5b,- 0x9f, 0xa0, 0xcb, 0x46, 0x55, 0x0c, 0xfd, 0xc9, 0xa9, 0xa8, 0x40, 0x0a,- 0x8f, 0xe5, 0x1f, 0x9f, 0x39, 0xa2, 0x8a, 0xa2, 0xa7, 0x52, 0xc1, 0x61,- 0x19, 0xf9, 0x25, 0xe4, 0xdb, 0x6a, 0x4a, 0x37, 0xb2, 0x6e, 0x85, 0xc7,- 0x80, 0x22, 0xb8, 0x95, 0x2b, 0x30, 0x59, 0x98, 0x33, 0xbf, 0x18, 0x96,- 0xba, 0x1a, 0x16, 0xfd, 0xb7, 0x1e, 0x4a, 0x30, 0x31, 0x05, 0x85, 0x00,- 0xc8, 0x5a, 0x05, 0xfd, 0x36, 0xb9, 0x97, 0x41, 0xca, 0xc7, 0x90, 0x24,- 0x3a, 0xf9, 0x4c, 0xfb, 0xe2, 0x5d, 0xec, 0x58, 0x08, 0xfa, 0x43, 0xcf,- 0xc7, 0x92, 0xa9, 0xfc, 0xc1, 0xad, 0xf9, 0x62, 0x07, 0x98, 0x32, 0x89,- 0x70, 0x49, 0xb9, 0x99, 0x9a, 0x71, 0x85, 0x72, 0x88, 0xa0, 0xea, 0x84,- 0x23, 0xe1, 0x7e, 0x1d, 0x50, 0xc8, 0xa5, 0x6a, 0x97, 0xfb, 0xfc, 0x0c,- 0xa4, 0x19, 0x5f, 0xc9, 0xd2, 0x0d, 0x6b, 0x7b, 0xbf, 0x62, 0x55, 0x91,- 0xa6, 0x85, 0x8f, 0x75, 0xca, 0x79, 0x1b, 0x65, 0x57, 0x58, 0x5b, 0x4f,- 0x23, 0x86, 0x8a, 0x38, 0x7a, 0xbd, 0x20, 0x08, 0x51, 0x1c, 0xbb, 0x4b,- 0x68, 0x1c, 0x3f, 0x90, 0x49, 0x9c, 0x53, 0xc1, 0x6e, 0x8a, 0x35, 0x22,- 0x49, 0x58, 0x48, 0xc5, 0x0a, 0x0e, 0x37, 0x92, 0x67, 0xd0, 0xb9, 0xbc,- 0xce, 0x9b, 0x84, 0x6b, 0x34, 0x15, 0xbe, 0x0b, 0xa2, 0xa9, 0x52, 0xc3,- 0x7d, 0xfc, 0x68, 0x10, 0xc4, 0x72, 0x6d, 0x01, 0x97, 0x4e, 0xba, 0x5d,- 0x4c, 0x8a, 0xb5, 0x9a, 0x99, 0xb7, 0x5b, 0x7b, 0x9c, 0x6b, 0x86, 0x6d,- 0xe4, 0xc3, 0x87, 0xed, 0x58, 0x4b, 0xf3, 0x91, 0xb7, 0x0c, 0xa8, 0x7a,- 0x37, 0x47, 0x85, 0x44, 0x03, 0x2e, 0x00, 0xcb, 0xbf, 0xf4, 0xd7, 0x4a,- 0x1b, 0x42, 0x99, 0x1e, 0x72, 0x9c, 0x8c, 0x4b, 0xcb, 0x98, 0x0a, 0x48,- 0x7c, 0x55, 0x4b, 0xb7, 0x55, 0x6a, 0x24, 0x23, 0x83, 0xca, 0xb9, 0x36,- 0x36, 0x63, 0x44, 0xe7, 0xe3, 0x3c, 0x8c, 0x91, 0x6d, 0x64, 0xb4, 0x6e,- 0xc2, 0x99, 0x35, 0xbc, 0xa6, 0x5c, 0x8e, 0xda, 0x3f, 0x67, 0x55, 0x9e,- 0xda, 0xda, 0x07, 0x30, 0x16, 0x44, 0xfb, 0xc4, 0x64, 0x3f, 0x9c, 0x2f,- 0xea, 0x45, 0x19, 0x5d, 0x8c, 0x67, 0xce, 0x56, 0x87, 0xff, 0xd0, 0x64,- 0xd2, 0x82, 0xca, 0x82, 0x3b, 0x44, 0x9f, 0x9b, 0x2e, 0xe5, 0x96, 0x29,- 0x7f, 0xf6, 0xa3, 0x4d, 0x38, 0x54, 0xb5, 0x87, 0xc5, 0x96, 0xe3, 0xbc,- 0x2f, 0x7c, 0x4e, 0x91, 0x33, 0x39, 0xbe, 0xc8, 0x54, 0x35, 0xb7, 0x83,- 0x21, 0xb1, 0x23, 0xa8, 0x93, 0x56, 0x44, 0x41, 0xc5, 0x15, 0xa2, 0x80,- 0x56, 0x31, 0x50, 0xd3, 0xf8, 0x0f, 0xfc, 0x68, 0x86, 0x74, 0x34, 0x61,- 0x59, 0x46, 0x1d, 0x17, 0x6c, 0x77, 0xa4, 0xcc, 0xc0, 0x52, 0x73, 0x57,- 0xc9, 0xd0, 0x0d, 0x17, 0x23, 0x73, 0x4e, 0x78, 0xb5, 0xb3, 0x74, 0xb2,- 0xd8, 0x95, 0xb0, 0xe0, 0x8b, 0x33, 0xe9, 0x7b, 0x2d, 0x73, 0xa6, 0xb9,- 0x94, 0xf9, 0x0e, 0x89, 0xbc, 0xab, 0xea, 0xc2, 0xbe, 0xe4, 0x98, 0xbb,- 0x09, 0xc4, 0xbc, 0x03, 0xca, 0x2c, 0x8e, 0x00, 0xce, 0x99, 0xfa, 0x04,- 0xfb, 0x04, 0x8d, 0x86, 0x4c, 0x3b, 0xb6, 0xe1, 0x23, 0x6e, 0x5c, 0xac,- 0x3d, 0xe3, 0x04, 0x07, 0xc3, 0x28, 0x4b, 0x2c, 0x64, 0x3f, 0xe0, 0x2c,- 0x6e, 0xfa, 0x02, 0x4d, 0x96, 0x40, 0x1f, 0x1b, 0xc4, 0x63, 0xe5, 0xbb,- 0xd9, 0xc0, 0x8c, 0x81, 0x79, 0x2d, 0xba, 0xe5, 0x10, 0xf1, 0xb7, 0x27,- 0xf3, 0xa1, 0xb5, 0x30, 0x40, 0x2b, 0x47, 0xc6, 0xb6, 0xdb, 0xd5, 0x14,- 0x75, 0x79, 0x93, 0x8f, 0xa9, 0x72, 0xaf, 0xc4, 0x6e, 0x74, 0x26, 0x78,- 0x2e, 0x26, 0xa9, 0xc8, 0xe2, 0xc5, 0x70, 0x45, 0x48, 0x2a, 0xdc, 0x10,- 0x03, 0x17, 0x17, 0x3e, 0xe5, 0x1d, 0x03, 0xf3, 0x19, 0x7a, 0x10, 0x2c,- 0x9f, 0xd7, 0xb6, 0x07, 0x35, 0x1b, 0x4a, 0xd5, 0xb6, 0xbd, 0xe4, 0x51,- 0x13, 0xd6, 0x37, 0x33, 0x2a, 0x28, 0x8e, 0x4f, 0x6b, 0xb6, 0x7e, 0x44,- 0x4c, 0x32, 0x3e, 0xe8, 0x21, 0x8b, 0x5c, 0x1d, 0x15, 0x99, 0xb5, 0x8d,- 0xde, 0x35, 0x2f, 0xd6, 0xcd, 0x64, 0x7a, 0x52,- ]),- // 64-byte privateSeed- privateSeed: new Uint8Array([- 0x46, 0x97, 0x3b, 0x12, 0xa0, 0x54, 0xa8, 0x9f, 0x47, 0xd5, 0x3a, 0xf5,- 0x83, 0xad, 0x94, 0x67, 0x6b, 0xbe, 0x8a, 0xc1, 0x04, 0x6b, 0x07, 0x1d,- 0x66, 0x6f, 0x55, 0x81, 0x3b, 0x68, 0x98, 0xaa, 0xaa, 0xcb, 0x55, 0x59,- 0xd0, 0x07, 0xea, 0x68, 0x14, 0x68, 0x3b, 0x49, 0x9d, 0x8b, 0xe1, 0xa0,- 0xf5, 0xbd, 0xf0, 0x52, 0x7a, 0xd9, 0xdf, 0xa8, 0x66, 0x90, 0x38, 0xfb,- 0x33, 0xbe, 0x26, 0xc5,- ]),- // 1088-byte sampleCiphertext- sampleCiphertext: new Uint8Array([- 0x1a, 0xd4, 0x01, 0xa3, 0xc4, 0x3e, 0x18, 0xa5, 0x80, 0x8d, 0x49, 0xbc,- 0xfa, 0x19, 0x13, 0x2e, 0x0a, 0x3c, 0x0a, 0x55, 0x13, 0x79, 0x16, 0x9c,- 0x07, 0x70, 0x37, 0x6a, 0x12, 0xd2, 0xdd, 0x49, 0x9e, 0xfb, 0xc8, 0x60,- 0xe5, 0x06, 0x77, 0x07, 0xde, 0x7b, 0xe9, 0xb1, 0x64, 0x18, 0x5a, 0x46,- 0x12, 0xdc, 0x88, 0xef, 0x8c, 0xc7, 0x55, 0xf2, 0x53, 0xfe, 0x90, 0x81,- 0xb9, 0xfb, 0x25, 0x82, 0x7f, 0x2e, 0x31, 0x6a, 0x09, 0xae, 0x62, 0xeb,- 0xf8, 0x5d, 0x97, 0x45, 0x46, 0x93, 0xfb, 0x22, 0x04, 0x22, 0xee, 0xc6,- 0xd3, 0xa1, 0x78, 0x21, 0x84, 0x97, 0x7f, 0xce, 0xd1, 0x95, 0x1a, 0xd0,- 0xa8, 0xb7, 0xea, 0xc8, 0x97, 0xf4, 0xe8, 0xe3, 0xbb, 0x7d, 0x15, 0xfd,- 0x3f, 0x78, 0xed, 0x8d, 0x37, 0xea, 0xd1, 0xa5, 0x4e, 0xbf, 0xa2, 0x30,- 0xaf, 0x95, 0xf3, 0x32, 0x6f, 0xbb, 0x05, 0x57, 0xbc, 0x55, 0x8a, 0x8b,- 0x19, 0x50, 0xd9, 0xe5, 0x46, 0x3a, 0x4d, 0x2c, 0xea, 0xaa, 0x1f, 0x7a,- 0x67, 0xf8, 0xd6, 0x25, 0xc9, 0x86, 0x40, 0xa8, 0x9e, 0xd4, 0xee, 0xc2,- 0xe6, 0x3d, 0x34, 0xc0, 0x6d, 0x7b, 0x31, 0xff, 0xe8, 0x3f, 0x86, 0x1a,- 0x3a, 0x7e, 0x50, 0xfe, 0x64, 0x4b, 0x6b, 0xc7, 0x2e, 0x78, 0xce, 0xb7,- 0x73, 0x83, 0x1d, 0x1d, 0x90, 0x5f, 0x7a, 0x34, 0x08, 0xac, 0xb0, 0x73,- 0xac, 0x81, 0xbf, 0x40, 0xed, 0x37, 0x66, 0xf2, 0x83, 0xa5, 0xbc, 0x07,- 0xd2, 0x06, 0xa8, 0x26, 0x4a, 0xfd, 0xef, 0x77, 0x1a, 0xdc, 0xe3, 0x87,- 0x8f, 0x8d, 0x1d, 0x34, 0x6f, 0x92, 0x92, 0xd6, 0xbb, 0xb8, 0xb9, 0xc6,- 0xcb, 0x8e, 0x85, 0x7e, 0xd0, 0x47, 0x98, 0x52, 0x82, 0x89, 0x35, 0xbb,- 0x68, 0xaa, 0x04, 0x69, 0x82, 0x84, 0x34, 0x06, 0x2a, 0xa5, 0xea, 0x49,- 0x30, 0x7a, 0x80, 0xf1, 0x10, 0xff, 0xc1, 0x43, 0xac, 0x86, 0x44, 0xe5,- 0xaa, 0x3a, 0x74, 0xe5, 0x85, 0x39, 0x86, 0xce, 0x97, 0xa2, 0xe6, 0x99,- 0xad, 0xd9, 0xcb, 0x77, 0x53, 0xa1, 0x98, 0x3d, 0x08, 0xd2, 0x53, 0xfd,- 0x5e, 0x25, 0xef, 0xc8, 0xd9, 0xf1, 0x10, 0xe2, 0xbb, 0xf8, 0x9b, 0x31,- 0x95, 0x7f, 0xe0, 0xd3, 0xcd, 0xf5, 0xb1, 0xf6, 0x25, 0x6f, 0xf8, 0x8d,- 0x7a, 0xa4, 0xec, 0xb6, 0xb5, 0xf9, 0x1d, 0x66, 0x20, 0xe2, 0xc8, 0x61,- 0xdc, 0x87, 0x0a, 0x90, 0x38, 0x34, 0xb4, 0xf1, 0xb6, 0x08, 0xac, 0x90,- 0x40, 0x43, 0xea, 0x5c, 0x5c, 0x0a, 0x1f, 0x8e, 0xc4, 0x4f, 0x91, 0xc5,- 0x1c, 0x9a, 0x2e, 0x5f, 0xb8, 0x79, 0xd7, 0xdb, 0xfb, 0x9f, 0x94, 0x8c,- 0x19, 0x17, 0xca, 0x60, 0x7c, 0xa1, 0x03, 0xa1, 0xbf, 0xea, 0xcc, 0xfa,- 0xd2, 0xef, 0x34, 0xa8, 0x79, 0x9f, 0x39, 0x26, 0x13, 0x04, 0xd6, 0x77,- 0x29, 0x38, 0xb5, 0x82, 0xa2, 0xea, 0x94, 0x8a, 0x28, 0x39, 0xff, 0xb4,- 0x3d, 0xc3, 0x15, 0xd0, 0xae, 0x31, 0x1f, 0x1e, 0x54, 0x29, 0x4c, 0xb6,- 0xdb, 0xc1, 0xef, 0xa9, 0x04, 0xa6, 0x66, 0xb0, 0xa3, 0x81, 0xc8, 0xb5,- 0x28, 0xd1, 0x0a, 0x56, 0x26, 0x41, 0xea, 0xd9, 0x52, 0x93, 0xb7, 0x4e,- 0xcc, 0x78, 0xc2, 0xe6, 0x4a, 0xf9, 0x8b, 0xa6, 0x38, 0x82, 0x78, 0xb5,- 0x09, 0x1e, 0xf2, 0x9f, 0x8b, 0x50, 0x6e, 0x7e, 0xa4, 0xe2, 0xb8, 0x59,- 0x1c, 0xca, 0x61, 0x45, 0x20, 0x5e, 0xfc, 0x91, 0xf9, 0xde, 0x7e, 0x28,- 0x60, 0xd7, 0xe2, 0x89, 0x3c, 0x88, 0x88, 0x07, 0xbe, 0x0b, 0x76, 0x5a,- 0x12, 0xa8, 0x56, 0x3c, 0xe0, 0x4f, 0xcb, 0x99, 0xd6, 0x85, 0x10, 0x31,- 0x2f, 0x77, 0x4f, 0xcc, 0xcd, 0x4c, 0x5d, 0x0f, 0x87, 0x64, 0xcf, 0xb9,- 0xff, 0xff, 0xfd, 0x67, 0xb2, 0xdc, 0x3f, 0xf5, 0xb4, 0xb4, 0x7d, 0xa0,- 0x66, 0x54, 0x09, 0xd3, 0xdc, 0x4e, 0xc4, 0xda, 0x3e, 0x36, 0xb9, 0x91,- 0xf9, 0xf3, 0xea, 0x2c, 0xc0, 0x1e, 0x34, 0x7d, 0x69, 0x25, 0x6f, 0xf7,- 0x05, 0x7b, 0x20, 0x1f, 0x3e, 0x04, 0x34, 0x3b, 0x2b, 0xc8, 0x1e, 0x67,- 0x00, 0x9e, 0xa6, 0x59, 0xc1, 0x20, 0xe0, 0xc6, 0x06, 0xed, 0x2a, 0xeb,- 0xe8, 0xa6, 0x71, 0x96, 0x48, 0x1e, 0xf3, 0xc5, 0x30, 0x1b, 0xc1, 0x73,- 0xa3, 0x3c, 0x61, 0xed, 0x93, 0x19, 0x16, 0xd2, 0x1a, 0x0e, 0x6d, 0x9a,- 0xe7, 0x39, 0x81, 0xdd, 0x3e, 0xb2, 0xa3, 0x3b, 0x33, 0xa8, 0x4e, 0xce,- 0xbf, 0xbe, 0x42, 0x24, 0x9f, 0x54, 0xa3, 0xd8, 0x17, 0x03, 0x8e, 0xc6,- 0xc6, 0x0e, 0x89, 0x98, 0xdc, 0x9e, 0xbd, 0x17, 0xb9, 0x68, 0x87, 0xbd,- 0x3c, 0x69, 0xc7, 0xb4, 0x54, 0x7f, 0x40, 0x2f, 0x24, 0x98, 0x1f, 0x52,- 0x93, 0xe0, 0xce, 0x5e, 0x77, 0x07, 0xaa, 0xf3, 0x33, 0xb9, 0xbd, 0x98,- 0x21, 0x95, 0xaf, 0xff, 0xab, 0x10, 0xa8, 0x0d, 0x53, 0xa9, 0xec, 0xca,- 0x12, 0x95, 0x79, 0xd5, 0xf5, 0xfd, 0xdd, 0x6d, 0xc5, 0x24, 0x56, 0x40,- 0xf8, 0x3c, 0xf3, 0xbf, 0x9a, 0xe7, 0xf8, 0x39, 0x45, 0x5a, 0x14, 0xae,- 0xaf, 0xfc, 0x2a, 0x17, 0x7d, 0x7a, 0x5e, 0x93, 0x11, 0x0f, 0x74, 0xf9,- 0xea, 0x27, 0xed, 0x22, 0x4d, 0xf2, 0x58, 0x68, 0x17, 0x53, 0x68, 0x3a,- 0xe1, 0x75, 0x5a, 0xe4, 0xa8, 0xd6, 0x16, 0xfb, 0xae, 0x8c, 0xc6, 0x86,- 0xea, 0x06, 0xa3, 0x1b, 0x39, 0xdf, 0x7a, 0x56, 0x37, 0x35, 0x83, 0x9a,- 0xad, 0xc4, 0xac, 0x05, 0xf7, 0xf4, 0xb9, 0xed, 0xc6, 0xb1, 0x73, 0x57,- 0x6f, 0xdc, 0xc7, 0xce, 0x30, 0x72, 0xdc, 0xed, 0x29, 0xde, 0xe8, 0x35,- 0x59, 0x66, 0xdb, 0x7d, 0x25, 0xbb, 0x2f, 0x61, 0x3e, 0xa6, 0xe3, 0x2a,- 0x7c, 0x51, 0x3c, 0xc2, 0x47, 0x4b, 0x71, 0xb3, 0xdb, 0x7d, 0x5f, 0x8a,- 0x64, 0xc6, 0x6f, 0x7c, 0xbe, 0xad, 0xf3, 0x41, 0x7d, 0x7b, 0x7f, 0x60,- 0xf2, 0x7e, 0x23, 0x56, 0x6a, 0xdb, 0x11, 0xda, 0x10, 0xc7, 0x04, 0x9c,- 0xe1, 0x29, 0xfe, 0x55, 0xa6, 0x5a, 0xd1, 0x6f, 0x60, 0xdf, 0xec, 0xaa,- 0x1f, 0xaa, 0x05, 0x36, 0xc5, 0x4f, 0x66, 0xa3, 0xa0, 0xe4, 0x1e, 0x04,- 0x00, 0x10, 0xc2, 0x8b, 0x2c, 0xe6, 0xc5, 0xe5, 0xc9, 0xc0, 0x93, 0x59,- 0x9b, 0x1b, 0xcb, 0x0d, 0xdd, 0x4d, 0x23, 0xef, 0x4a, 0x6a, 0x49, 0x13,- 0x6a, 0x31, 0xd7, 0x69, 0xec, 0xd1, 0x4c, 0xa4, 0xdd, 0x83, 0xe6, 0x6d,- 0x90, 0xa9, 0x3a, 0xc1, 0x01, 0x94, 0x88, 0x75, 0xb7, 0x84, 0xa3, 0x94,- 0x0b, 0x02, 0x4e, 0x3f, 0x8c, 0xe2, 0xd0, 0x45, 0x42, 0xfe, 0x67, 0x14,- 0xcb, 0xf0, 0x05, 0x39, 0xf6, 0x50, 0x00, 0x5b, 0xa5, 0x8e, 0xba, 0x04,- 0x37, 0x7e, 0x37, 0x34, 0xbf, 0xe9, 0xff, 0x99, 0xb6, 0xca, 0xbf, 0xa0,- 0x87, 0x43, 0x36, 0x9e, 0x48, 0x47, 0xe3, 0xb1, 0x54, 0x45, 0x25, 0x1a,- 0x94, 0xb6, 0x42, 0x70, 0xf6, 0x18, 0xa5, 0x96, 0xce, 0x94, 0xe2, 0x2c,- 0x1f, 0x71, 0xe4, 0x0f, 0xd1, 0x97, 0x65, 0x49, 0x8b, 0xc2, 0x1c, 0x9a,- 0x59, 0xab, 0x7e, 0xb7, 0x7c, 0xae, 0xe8, 0x1e, 0xaf, 0xed, 0x0d, 0xe8,- 0xd5, 0x42, 0x4e, 0xe3, 0xce, 0xff, 0x86, 0x0e, 0xab, 0xb3, 0xb1, 0x38,- 0x1f, 0xa5, 0x28, 0x76, 0x42, 0xec, 0x50, 0xea, 0x9e, 0xe9, 0x57, 0x8a,- 0x8b, 0x7a, 0xbc, 0x00, 0xeb, 0x18, 0x7b, 0x15, 0x8c, 0x75, 0x66, 0x9c,- 0x17, 0x5d, 0x50, 0xe3, 0x00, 0xa4, 0xe0, 0x0b, 0xae, 0x5a, 0x53, 0x33,- 0xa7, 0x59, 0x33, 0x93, 0x86, 0x01, 0x18, 0x3f, 0x8a, 0x69, 0xbf, 0x54,- 0x7d, 0x5b, 0xe4, 0x9b, 0x7f, 0xae, 0xa3, 0x91, 0xbd, 0x2a, 0x4f, 0x5c,- 0xab, 0x05, 0x76, 0x42, 0x20, 0x5b, 0x55, 0x43, 0x7f, 0x99, 0xcc, 0x81,- 0x14, 0xcc, 0x21, 0xba, 0x9e, 0x9f, 0x16, 0xe8, 0x84, 0x4c, 0xf9, 0xda,- 0xd5, 0x39, 0x31, 0x40, 0x9c, 0xf4, 0xef, 0x6c, 0x6e, 0x65, 0xe7, 0x7f,- 0x21, 0xee, 0x2b, 0x3e, 0x70, 0x92, 0x71, 0x29, 0xa4, 0xb5, 0xd7, 0x80,- 0x44, 0xea, 0x70, 0x31, 0x26, 0x4b, 0xce, 0x6a,- ]),- // 32-byte expectedSharedSecret- expectedSharedSecret: new Uint8Array([- 0x53, 0x2e, 0x3b, 0x9a, 0xf0, 0x8e, 0x5f, 0x55, 0x28, 0x92, 0x9b, 0x76,- 0x2f, 0xb6, 0xe4, 0xd3, 0x0b, 0x28, 0x86, 0xf0, 0x18, 0xf9, 0x70, 0x78,- 0x41, 0x99, 0xf3, 0x15, 0xe3, 0xf5, 0xcf, 0xc3,- ]),-};--// ML-KEM-1024 test vectors-ml_kem_vectors['ML-KEM-1024'] = {- // 1568-byte publicKey- publicKey: new Uint8Array([- 0x51, 0xe6, 0x70, 0x71, 0x69, 0x47, 0x5b, 0x3a, 0x30, 0x8f, 0x01, 0x40,- 0x59, 0x58, 0x3b, 0x83, 0x04, 0xcd, 0x2d, 0x93, 0x68, 0x7e, 0x53, 0x15,- 0x83, 0x46, 0x44, 0x79, 0x35, 0x10, 0xd8, 0xbc, 0xb4, 0x6d, 0x90, 0x53,- 0xaf, 0xe0, 0xcb, 0x91, 0x09, 0x5f, 0x39, 0xac, 0x78, 0x2b, 0x8a, 0x61,- 0x27, 0x81, 0xc9, 0xff, 0x6a, 0x4e, 0xf7, 0xb1, 0x7b, 0xb7, 0x62, 0xc1,- 0x38, 0xb5, 0x43, 0xf4, 0x86, 0x54, 0xe6, 0x79, 0x70, 0x66, 0xec, 0xce,- 0x85, 0xd4, 0x3d, 0x42, 0xe7, 0x93, 0x44, 0x6b, 0x74, 0xe3, 0x49, 0x29,- 0x6b, 0x44, 0x5a, 0xfd, 0x2c, 0x9f, 0x45, 0x64, 0x64, 0x97, 0xd1, 0x08,- 0x3f, 0x32, 0x9b, 0xc5, 0x72, 0x3b, 0x3b, 0x62, 0x56, 0x39, 0x6a, 0x13,- 0x5c, 0x31, 0x03, 0x00, 0x41, 0x1b, 0xfb, 0x17, 0x45, 0x03, 0x50, 0xb7,- 0xe1, 0x80, 0x83, 0x2c, 0x00, 0x38, 0xe2, 0x45, 0x0e, 0x78, 0xf5, 0x18,- 0xee, 0x31, 0x84, 0x42, 0xcc, 0xa1, 0x36, 0xab, 0x93, 0x8e, 0xf8, 0x79,- 0x75, 0x25, 0x8b, 0xf2, 0xcc, 0x51, 0x62, 0xb1, 0xa9, 0x3d, 0x8a, 0x51,- 0xea, 0x52, 0xa1, 0xa8, 0xd4, 0xca, 0x23, 0xb9, 0xb6, 0x0b, 0xd6, 0x8c,- 0x7f, 0x41, 0x86, 0xa9, 0x80, 0x69, 0x99, 0xcc, 0x88, 0x6f, 0xa3, 0x69,- 0x2f, 0xfc, 0xbb, 0x46, 0xaa, 0xa2, 0x8f, 0x85, 0x6f, 0x9a, 0x77, 0x43,- 0x57, 0x40, 0x2f, 0xb0, 0xa5, 0xce, 0x80, 0xf6, 0x96, 0x31, 0xe5, 0x23,- 0x36, 0x72, 0x9e, 0x04, 0x38, 0xa1, 0xe9, 0x3a, 0x21, 0x4a, 0xe9, 0x9f,- 0x15, 0x26, 0x3e, 0xff, 0x13, 0x5d, 0xe0, 0xa9, 0x42, 0xd8, 0xb3, 0xc2,- 0x61, 0xb4, 0x22, 0xc0, 0x34, 0xb1, 0xbe, 0xc7, 0x90, 0x36, 0xb0, 0xa0,- 0x41, 0xc3, 0x7b, 0xe0, 0x33, 0x34, 0xae, 0x42, 0xcf, 0x86, 0x13, 0x28,- 0x3e, 0xe8, 0x0e, 0x69, 0x31, 0x49, 0x89, 0xf3, 0x69, 0x6f, 0x18, 0x25,- 0xbc, 0x53, 0xc8, 0x94, 0x32, 0x3e, 0x17, 0x75, 0xc7, 0x2f, 0x77, 0x94,- 0x15, 0xb8, 0x84, 0x87, 0xec, 0x26, 0xf4, 0xb1, 0x64, 0x46, 0xa0, 0xaa,- 0xb0, 0xe5, 0x22, 0x6b, 0x83, 0x7b, 0x8d, 0x13, 0x29, 0x7e, 0x31, 0xb4,- 0x7b, 0x4b, 0x41, 0xa4, 0x9b, 0x82, 0x3f, 0x69, 0x64, 0xe5, 0x37, 0x8a,- 0x78, 0x06, 0x3a, 0xfa, 0x24, 0xb5, 0xe6, 0x29, 0x4f, 0x27, 0x0b, 0xba,- 0x5a, 0x7b, 0x90, 0xe4, 0x2a, 0x2d, 0x6b, 0xa4, 0x41, 0x9f, 0x85, 0x8a,- 0xdb, 0xb1, 0x8f, 0x90, 0x1c, 0x37, 0xa0, 0xf2, 0x78, 0xbf, 0x6c, 0x46,- 0x8e, 0x72, 0x3f, 0x00, 0xbc, 0xba, 0x37, 0x10, 0x80, 0x9b, 0xd5, 0x5e,- 0x35, 0xbb, 0xb5, 0x20, 0xdc, 0x9f, 0x44, 0x61, 0x46, 0x65, 0x00, 0x6f,- 0x71, 0x3b, 0x5b, 0xa2, 0x64, 0xbb, 0x26, 0xb7, 0x10, 0x6d, 0x89, 0xbb,- 0x71, 0x4c, 0x65, 0xc0, 0xf3, 0x78, 0xdf, 0x16, 0x51, 0xa5, 0x75, 0xcd,- 0x63, 0x77, 0xa2, 0x83, 0x74, 0xb7, 0x66, 0x8b, 0xb6, 0xb1, 0x43, 0x66,- 0x12, 0xa3, 0x9c, 0x71, 0xea, 0xa4, 0x82, 0xeb, 0x78, 0xb7, 0xd0, 0x7d,- 0x49, 0x14, 0x87, 0x3e, 0x36, 0x38, 0x42, 0x90, 0xa7, 0xc4, 0x47, 0x86,- 0xe9, 0xb3, 0x7b, 0x8b, 0x42, 0x78, 0x82, 0x06, 0x9f, 0x0a, 0x90, 0x18,- 0xb4, 0x87, 0xa5, 0xff, 0xa8, 0xbc, 0x83, 0xd5, 0x2a, 0xab, 0x57, 0x95,- 0x63, 0x97, 0xac, 0x60, 0x56, 0x31, 0x3b, 0x94, 0xb5, 0x3c, 0xe1, 0xc3,- 0x9b, 0x71, 0x7e, 0x9b, 0xe2, 0x8b, 0xc7, 0xca, 0x12, 0xc4, 0x93, 0x8e,- 0x48, 0xbb, 0x03, 0x1a, 0x56, 0x39, 0x62, 0xc0, 0x5f, 0x25, 0xa4, 0x06,- 0xda, 0x2b, 0x7c, 0x1b, 0x98, 0x3a, 0x55, 0x5c, 0x5a, 0xe7, 0x93, 0x62,- 0x2c, 0x31, 0x93, 0xc4, 0xc1, 0x75, 0xfe, 0x0a, 0x8d, 0xfe, 0x20, 0xc1,- 0xcb, 0xb9, 0x4d, 0x96, 0x97, 0x16, 0x01, 0x60, 0x87, 0x8c, 0x67, 0x20,- 0xee, 0xf4, 0x4f, 0x8c, 0x22, 0x54, 0x9c, 0xf6, 0x2a, 0x2b, 0x4c, 0xbf,- 0xfc, 0x11, 0x9b, 0xd1, 0xc4, 0x6a, 0x10, 0xd0, 0x66, 0x1d, 0x5c, 0x4b,- 0x1a, 0x92, 0x77, 0xaa, 0x31, 0x00, 0xd8, 0xe3, 0x63, 0x68, 0x99, 0xbe,- 0xe5, 0x43, 0x12, 0x7c, 0xbb, 0x2a, 0x8c, 0x70, 0xb6, 0x76, 0x8c, 0xc5,- 0x1a, 0xa4, 0x39, 0x93, 0x87, 0x25, 0x87, 0x71, 0x87, 0xaa, 0x25, 0x3e,- 0xea, 0x51, 0xc6, 0x78, 0x4c, 0x29, 0xb3, 0x65, 0x07, 0xe4, 0x03, 0x9c,- 0x37, 0xb8, 0x45, 0xee, 0x4b, 0x05, 0x81, 0x55, 0xa3, 0xb8, 0x51, 0xca,- 0x68, 0x5c, 0x05, 0x4f, 0x80, 0x86, 0xca, 0x95, 0x58, 0x24, 0xab, 0x41,- 0x44, 0xc4, 0x36, 0x8d, 0xdc, 0x70, 0x76, 0x4a, 0x18, 0x4c, 0x2a, 0x2a,- 0xbe, 0xcc, 0x84, 0xad, 0xd7, 0x65, 0x07, 0x36, 0xa0, 0xf8, 0x86, 0x5e,- 0xc0, 0xc6, 0xb4, 0xbe, 0x22, 0x34, 0x5c, 0xeb, 0xc6, 0xed, 0x7a, 0x27,- 0xd5, 0x61, 0x61, 0xf3, 0x50, 0xa6, 0x05, 0xeb, 0x4b, 0x3f, 0x18, 0xa6,- 0x85, 0xdb, 0x16, 0x06, 0x35, 0x2e, 0x05, 0x2a, 0x97, 0xe9, 0xa5, 0xcf,- 0xb3, 0xb1, 0xc9, 0x09, 0xf5, 0x54, 0x5c, 0xe0, 0xa4, 0x19, 0xc6, 0x05,- 0xb7, 0x85, 0x94, 0x0f, 0x32, 0xc6, 0x22, 0xe3, 0x17, 0x87, 0xc5, 0xa3,- 0x61, 0xf4, 0x5e, 0xcd, 0xa5, 0x0b, 0x4b, 0x75, 0x46, 0xe7, 0x55, 0xaa,- 0x62, 0x67, 0x9f, 0x13, 0xea, 0xaa, 0x78, 0x75, 0x5f, 0x31, 0x18, 0x99,- 0x1b, 0x0a, 0x57, 0x92, 0x49, 0x59, 0x9a, 0x39, 0x21, 0x47, 0x11, 0x52,- 0x63, 0x4b, 0x4f, 0xe4, 0x01, 0xb1, 0x1c, 0xe7, 0x18, 0x2c, 0x54, 0xa3,- 0x21, 0x89, 0x9a, 0x94, 0xb4, 0x45, 0xb7, 0xca, 0x32, 0xbe, 0x5c, 0x13,- 0x02, 0xf7, 0x7e, 0x51, 0xdc, 0x86, 0xfc, 0xf3, 0x61, 0x59, 0x3b, 0x13,- 0xeb, 0x9c, 0xb0, 0x1d, 0xf3, 0xb1, 0x69, 0x93, 0xc1, 0x57, 0xc5, 0x66,- 0xac, 0x0b, 0xbc, 0xe3, 0x10, 0x83, 0xcb, 0xb1, 0x49, 0x53, 0x5b, 0x05,- 0xfd, 0xc8, 0x66, 0x55, 0xa5, 0x76, 0x65, 0x42, 0x34, 0x1f, 0x99, 0xb9,- 0xf2, 0x74, 0x77, 0x18, 0xfb, 0x58, 0xef, 0x1c, 0x00, 0x11, 0x18, 0x4c,- 0x21, 0xe3, 0xca, 0x80, 0xb1, 0xb9, 0x12, 0x8b, 0x79, 0x6b, 0x16, 0x9c,- 0x2b, 0x0a, 0xad, 0x8e, 0xbb, 0x2d, 0xa5, 0x36, 0x9f, 0x44, 0xdb, 0x2c,- 0x99, 0x5c, 0xa5, 0x67, 0x56, 0xc6, 0x68, 0xe4, 0xbd, 0xfe, 0x38, 0x86,- 0x2c, 0xc7, 0xba, 0xe4, 0xd1, 0xae, 0x50, 0x5c, 0x6e, 0x93, 0x6c, 0xba,- 0xae, 0x9b, 0x42, 0xe5, 0xbb, 0x28, 0x68, 0xc1, 0x41, 0xc2, 0x5b, 0x81,- 0xed, 0x7c, 0xc7, 0x06, 0x84, 0x6e, 0xa9, 0xa0, 0x59, 0xea, 0x65, 0x96,- 0x02, 0xb4, 0x29, 0xdc, 0x91, 0x11, 0xf1, 0xb0, 0xb3, 0x18, 0xf7, 0x40,- 0x2f, 0xe2, 0x06, 0x98, 0xa9, 0x3b, 0x77, 0x09, 0x78, 0xd6, 0x03, 0x5d,- 0xb8, 0xd4, 0x06, 0x5c, 0x49, 0x27, 0x5f, 0xfa, 0xbe, 0x68, 0x75, 0xc6,- 0x62, 0x15, 0x6d, 0x2a, 0x07, 0xbd, 0x3d, 0x91, 0xcc, 0x9a, 0x70, 0x3f,- 0x0f, 0x1b, 0x63, 0x99, 0x03, 0x63, 0xe4, 0x9b, 0xbf, 0xb6, 0x7c, 0x86,- 0x78, 0x27, 0x59, 0xf1, 0xe3, 0xaf, 0xd1, 0x09, 0x4d, 0x66, 0xb6, 0x10,- 0x0d, 0x87, 0x2b, 0x72, 0x54, 0xbd, 0xa0, 0xb1, 0x7b, 0x17, 0xb9, 0xcd,- 0x15, 0x44, 0x50, 0x9f, 0x9a, 0x72, 0xb7, 0x9c, 0x21, 0x96, 0x92, 0x54,- 0x82, 0x3c, 0x50, 0x13, 0x24, 0x4c, 0x68, 0x1a, 0x77, 0x28, 0x29, 0x78,- 0x69, 0xbb, 0x7c, 0xae, 0x71, 0x6f, 0x9d, 0x59, 0x86, 0x8d, 0x0c, 0x2a,- 0xef, 0x98, 0x21, 0x53, 0xe2, 0x18, 0xab, 0x55, 0xb8, 0xce, 0x96, 0x9f,- 0x31, 0x85, 0x26, 0x8a, 0x88, 0x0c, 0x31, 0x98, 0x87, 0x38, 0x58, 0x9d,- 0x42, 0xb8, 0x1b, 0xbc, 0xe5, 0xae, 0xdb, 0x29, 0xb0, 0xe9, 0x93, 0x37,- 0xf2, 0x38, 0x9a, 0xa5, 0x43, 0x50, 0x28, 0x97, 0x42, 0x45, 0x63, 0x84,- 0x66, 0x91, 0x87, 0xd2, 0xc6, 0x91, 0x8c, 0x59, 0x03, 0x3c, 0x92, 0x49,- 0x69, 0xa3, 0x67, 0x51, 0xb1, 0x01, 0x34, 0x54, 0x99, 0x75, 0xb2, 0x77,- 0xaf, 0xd9, 0x03, 0x3f, 0x50, 0xce, 0x65, 0xdc, 0x63, 0x3e, 0x5a, 0x1d,- 0x01, 0xa3, 0xb6, 0x13, 0x8c, 0x6f, 0x01, 0xf7, 0xae, 0xa1, 0x79, 0xc7,- 0xc8, 0xc7, 0x9e, 0x4b, 0xfb, 0x20, 0x3f, 0xd9, 0xb2, 0x8f, 0xa2, 0x3c,- 0x14, 0xe6, 0x55, 0xba, 0x77, 0x91, 0x92, 0x8a, 0xc4, 0x6f, 0xe1, 0xa6,- 0xb8, 0xb9, 0x36, 0x58, 0x09, 0x27, 0x68, 0xe6, 0x5e, 0x85, 0xc5, 0xae,- 0xd9, 0xe8, 0x97, 0xdd, 0x8a, 0x45, 0x71, 0x2a, 0xab, 0xcb, 0x7c, 0x19,- 0x19, 0x07, 0x65, 0x68, 0x49, 0x55, 0x9e, 0xd8, 0x4d, 0x40, 0x77, 0xc1,- 0x14, 0xd9, 0x11, 0xf9, 0xe8, 0x26, 0x70, 0x28, 0xa5, 0x85, 0x6a, 0x90,- 0x23, 0xba, 0x51, 0x08, 0x67, 0x86, 0x68, 0x92, 0x67, 0xa5, 0x6b, 0x06,- 0xe6, 0x28, 0x1f, 0x1b, 0xc3, 0x43, 0x4b, 0x01, 0xbf, 0x96, 0xb0, 0x24,- 0x3e, 0x08, 0x86, 0xd7, 0xf4, 0x37, 0x25, 0xf9, 0xaa, 0x59, 0x8b, 0x51,- 0x5c, 0xea, 0x40, 0x1b, 0x77, 0x51, 0xe1, 0xa2, 0x59, 0x81, 0x65, 0x26,- 0x23, 0x2a, 0x75, 0xd0, 0x72, 0x74, 0xf6, 0xbc, 0x4b, 0xd0, 0xd1, 0xa6,- 0x1e, 0xbb, 0x11, 0x80, 0x4a, 0xa7, 0x9f, 0x09, 0x40, 0x08, 0xe5, 0xa1,- 0x90, 0x85, 0x43, 0x1a, 0xc1, 0x1c, 0x50, 0x8a, 0x6f, 0xbd, 0x50, 0x26,- 0x8a, 0x8c, 0x80, 0x21, 0xc4, 0xb1, 0x9b, 0xfa, 0x56, 0x90, 0x97, 0x20,- 0xbf, 0xb7, 0x26, 0xca, 0xe9, 0xa7, 0xb7, 0x73, 0x6f, 0xaf, 0x17, 0xcf,- 0xba, 0x9b, 0x3b, 0x4a, 0x32, 0xad, 0xbb, 0x04, 0x50, 0xe9, 0x00, 0x24,- 0xbb, 0xe8, 0x2c, 0xdb, 0xb0, 0x2f, 0x62, 0x00, 0x5e, 0xf3, 0x34, 0x79,- 0x8c, 0xb3, 0xbd, 0x7f, 0xda, 0xa7, 0xfa, 0x63, 0x5f, 0xe3, 0xa6, 0x43,- 0xef, 0x74, 0x5f, 0x10, 0x37, 0xcb, 0x6b, 0x82, 0x4b, 0x7c, 0x60, 0x85,- 0x15, 0xe3, 0x7f, 0x5b, 0x73, 0xa4, 0x88, 0x24, 0x8d, 0xe1, 0x7c, 0x66,- 0x5d, 0x3b, 0xb4, 0xd9, 0x25, 0x75, 0x26, 0x6a, 0x0f, 0x65, 0x65, 0x26,- 0x4e, 0xb6, 0xa4, 0x64, 0x3b, 0x52, 0xb3, 0xd2, 0x3a, 0x80, 0x25, 0x46,- 0x10, 0x58, 0x5c, 0x22, 0xc3, 0x30, 0xa1, 0xe2, 0x35, 0xeb, 0xc7, 0x3d,- 0xe0, 0xba, 0xbf, 0x9b, 0x39, 0xa9, 0xc5, 0xf4, 0x8e, 0xf0, 0xac, 0x06,- 0x0f, 0xe9, 0x6a, 0x00, 0xfa, 0x4b, 0xe7, 0x6b, 0xbc, 0x47, 0x28, 0x37,- 0x1d, 0xe9, 0x64, 0x6d, 0xfa, 0x7d, 0x5c, 0x83, 0x3d, 0xe1, 0xf6, 0x46,- 0x28, 0x76, 0x33, 0xde, 0xb4, 0x1f, 0x46, 0x76, 0xc7, 0x44, 0x72, 0x25,- 0x07, 0xf1, 0xc3, 0x53, 0xa8, 0x5e, 0x85, 0xea, 0x10, 0xb3, 0xd4, 0x3e,- 0x8a, 0x78, 0x4c, 0x3e, 0xf2, 0x62, 0xf2, 0x81, 0xbd, 0xd5, 0xdb, 0x44,- 0xe0, 0x3c, 0x4e, 0xca, 0xd2, 0xa0, 0x5b, 0x48, 0x0b, 0xa1, 0x99, 0xbb,- 0x32, 0xbb, 0x07, 0xaf, 0xc4, 0x62, 0x57, 0xf9, 0x5b, 0xdf, 0x51, 0x6f,- 0xea, 0x63, 0xc6, 0x6c, 0xc4, 0x84, 0x26, 0xfa, 0xca, 0xcc, 0x06, 0x56,- 0xb7, 0xf6, 0x01, 0x79, 0xf7, 0x92, 0xb7, 0xd6, 0x86, 0xdf, 0xe7, 0x07,- 0xd7, 0xb9, 0x16, 0xb1, 0xe8, 0xb2, 0x49, 0x50, 0xc7, 0x4b, 0x9b, 0x60,- 0x01, 0x60, 0x4e, 0x5d, 0x33, 0x3a, 0x35, 0x99, 0x2a, 0x7c, 0xc4, 0x4c,- 0xe3, 0xbc, 0x1b, 0xbd, 0xb8, 0xc7, 0x2f, 0x08, 0x42, 0x8d, 0x8a, 0x6e,- 0x59, 0x20, 0x61, 0x9d, 0x81, 0x96, 0xa7, 0xd3, 0x26, 0x95, 0x33, 0xbd,- 0xcd, 0x34, 0x35, 0x18, 0x3b, 0x5d, 0x6e, 0x98,- ]),- // 64-byte privateSeed- privateSeed: new Uint8Array([- 0xd7, 0x10, 0xa2, 0xbc, 0x47, 0x89, 0x36, 0x8c, 0xf2, 0x0a, 0xf5, 0xfe,- 0xee, 0xdc, 0x8b, 0x9a, 0x8d, 0x0a, 0x88, 0xeb, 0xd7, 0x70, 0xf9, 0x1e,- 0x9a, 0x44, 0x11, 0x46, 0x52, 0x6f, 0x6b, 0x0e, 0x71, 0x1d, 0x94, 0x5a,- 0x87, 0x86, 0xbd, 0xce, 0x9f, 0x16, 0x7d, 0xdc, 0x5d, 0xa8, 0xc7, 0xab,- 0x96, 0xdc, 0x30, 0x5d, 0x6a, 0x36, 0x63, 0x19, 0xd5, 0xf8, 0xa6, 0x92,- 0x4f, 0x18, 0x39, 0x59,- ]),- // 1568-byte sampleCiphertext- sampleCiphertext: new Uint8Array([- 0xd5, 0x4d, 0xf4, 0xd6, 0x79, 0x31, 0x4c, 0xfd, 0x6f, 0x32, 0x91, 0xcb,- 0x64, 0x4b, 0x99, 0x73, 0x14, 0x5a, 0x78, 0x8c, 0x98, 0xef, 0x94, 0xe6,- 0x8e, 0x9f, 0x8d, 0x1f, 0x92, 0xeb, 0x84, 0x23, 0x96, 0x84, 0x9e, 0x69,- 0x14, 0xd8, 0xcf, 0x53, 0x09, 0x02, 0x57, 0x88, 0x2f, 0x26, 0xb1, 0xfb,- 0x4c, 0x07, 0xa2, 0xb6, 0xad, 0xea, 0xf3, 0xbd, 0x56, 0x8c, 0x5d, 0x3c,- 0x5b, 0x54, 0x32, 0x0d, 0x95, 0x0f, 0xa5, 0x59, 0x80, 0xaf, 0x8d, 0x96,- 0xfd, 0x7d, 0x49, 0x65, 0x82, 0x5b, 0x63, 0x88, 0x42, 0x92, 0x9f, 0x7b,- 0x6a, 0xcf, 0x5d, 0xfd, 0x30, 0x33, 0xf3, 0xf3, 0x45, 0xaf, 0x31, 0x32,- 0x80, 0xe0, 0x10, 0x5f, 0xaa, 0xdd, 0x42, 0x71, 0x5f, 0xff, 0x55, 0x55,- 0x0c, 0xaa, 0x64, 0x36, 0x89, 0x67, 0xf1, 0x58, 0xca, 0x3a, 0x7d, 0x00,- 0xae, 0xb4, 0xdf, 0x1e, 0xcc, 0xde, 0x24, 0x0f, 0x5b, 0x21, 0x10, 0xef,- 0xe6, 0x5f, 0x58, 0xe9, 0xb3, 0xee, 0x54, 0x98, 0x7e, 0x07, 0xea, 0xe1,- 0x95, 0x27, 0x9a, 0xfa, 0x37, 0x3d, 0x74, 0x62, 0xa4, 0x8d, 0x9c, 0x79,- 0xb7, 0xc8, 0xa3, 0xf8, 0x16, 0x2d, 0x84, 0x30, 0xbd, 0x0d, 0x97, 0xbd,- 0x90, 0x14, 0x36, 0x29, 0x7c, 0x12, 0x3e, 0x41, 0xf7, 0x40, 0x96, 0x06,- 0x54, 0x69, 0xd5, 0x87, 0xb9, 0xe7, 0x42, 0x77, 0x3f, 0xfe, 0xf9, 0x13,- 0x46, 0xe3, 0x51, 0xbb, 0x95, 0xb4, 0x3b, 0x8c, 0x08, 0x2a, 0x28, 0x7b,- 0x97, 0x98, 0x91, 0x17, 0x4e, 0x71, 0x86, 0xdc, 0x8c, 0xf2, 0xd6, 0x4a,- 0x07, 0x71, 0x1f, 0x6e, 0x9f, 0x17, 0xcf, 0x02, 0xad, 0xdc, 0xc3, 0xb8,- 0x03, 0xfd, 0xc2, 0xe3, 0xee, 0xc9, 0xd3, 0x91, 0x84, 0x1f, 0x0b, 0x38,- 0x5e, 0x2d, 0x3e, 0x09, 0x08, 0xab, 0x84, 0x18, 0x82, 0x67, 0xce, 0xdd,- 0xcf, 0xb6, 0x9d, 0x2f, 0x44, 0x4f, 0x69, 0x00, 0x88, 0x16, 0x45, 0x8d,- 0xa4, 0xda, 0xd5, 0x9a, 0x79, 0xe3, 0x37, 0x83, 0x33, 0x9c, 0xcc, 0xeb,- 0x55, 0x24, 0xa0, 0x22, 0x7f, 0x11, 0x4a, 0x23, 0x67, 0xdb, 0xcc, 0x5f,- 0x97, 0x85, 0xef, 0x15, 0x66, 0x5e, 0x92, 0x1e, 0x87, 0x7b, 0x24, 0x05,- 0x87, 0x67, 0x43, 0xec, 0xed, 0x6d, 0x76, 0xaf, 0x9d, 0x4a, 0xa6, 0xa6,- 0x80, 0x33, 0xc2, 0x43, 0x51, 0x58, 0xd7, 0xb0, 0x10, 0x60, 0x58, 0xef,- 0x98, 0x52, 0xa8, 0x1a, 0x46, 0x2b, 0xfb, 0x3c, 0xf8, 0xb1, 0x60, 0x27,- 0xe5, 0xe0, 0x82, 0x50, 0xc1, 0x2c, 0xb1, 0xe4, 0x13, 0x06, 0x68, 0x17,- 0x36, 0x23, 0x35, 0x6f, 0x97, 0x93, 0xdb, 0x05, 0xbd, 0x06, 0x5e, 0xa3,- 0x6a, 0x61, 0x32, 0x6c, 0xca, 0xf5, 0x3d, 0x2e, 0xc0, 0xa1, 0x34, 0xdc,- 0x1f, 0xc6, 0xc7, 0x2a, 0x40, 0x3d, 0x27, 0x46, 0x30, 0xb7, 0x34, 0x64,- 0xaa, 0xa1, 0x6b, 0x46, 0xa7, 0x1c, 0x82, 0xd8, 0xa0, 0x27, 0xcb, 0x50,- 0x05, 0xf2, 0x24, 0x26, 0xc0, 0xb5, 0x31, 0x4b, 0x04, 0xb7, 0x08, 0xd7,- 0xac, 0xa3, 0xf4, 0xb8, 0x53, 0x8e, 0xc1, 0x92, 0x53, 0xf9, 0x40, 0xb4,- 0xb8, 0x15, 0xaf, 0x22, 0xce, 0x82, 0xbd, 0xcd, 0x7d, 0xa8, 0x5a, 0x61,- 0xac, 0x18, 0x7c, 0x92, 0xef, 0x38, 0xc8, 0xc2, 0x99, 0x00, 0x51, 0x91,- 0x64, 0x82, 0x37, 0x47, 0xea, 0xa5, 0xf6, 0x8b, 0xea, 0x24, 0xe8, 0x7e,- 0x62, 0x3c, 0xb7, 0x4d, 0xac, 0x2c, 0x7b, 0x57, 0xfa, 0x1f, 0x28, 0x53,- 0x16, 0xfd, 0x74, 0x4b, 0x83, 0x80, 0x0e, 0xf3, 0x66, 0x36, 0xcd, 0xf5,- 0x29, 0x23, 0x0d, 0xc6, 0x9e, 0x7b, 0xb2, 0x8b, 0xc5, 0xc6, 0x48, 0xdb,- 0x1d, 0xbb, 0x61, 0x48, 0xae, 0x05, 0x10, 0x99, 0x9b, 0x48, 0x23, 0x8c,- 0x10, 0x50, 0xee, 0x5e, 0xa0, 0x49, 0x86, 0x27, 0x4e, 0xfe, 0xa8, 0x63,- 0xde, 0x71, 0xf5, 0x52, 0x8c, 0xef, 0xcc, 0xd3, 0x9e, 0x0e, 0x17, 0x9b,- 0x57, 0x49, 0xb7, 0x27, 0x29, 0x01, 0x3c, 0xbb, 0x1e, 0x85, 0xb9, 0x6a,- 0x13, 0x47, 0x59, 0xd8, 0x0b, 0xca, 0xb2, 0xa5, 0xe4, 0xeb, 0x93, 0xfd,- 0x7e, 0xef, 0x26, 0xae, 0x23, 0xed, 0x1e, 0x07, 0xd5, 0x91, 0x72, 0xa4,- 0x8d, 0x09, 0xae, 0xef, 0xfa, 0xfe, 0x12, 0xad, 0x46, 0xd7, 0x91, 0xbf,- 0xc6, 0xa7, 0x13, 0x30, 0x7d, 0xad, 0x2b, 0x8e, 0xd4, 0x14, 0x87, 0xf2,- 0x89, 0xeb, 0x2c, 0xca, 0xb8, 0x36, 0x12, 0xb0, 0xec, 0x61, 0xc8, 0xdc,- 0x32, 0x80, 0xae, 0x89, 0x9a, 0x4b, 0x57, 0xe2, 0xe1, 0x33, 0xb5, 0xdb,- 0x0d, 0x89, 0x6a, 0xd4, 0x18, 0xa5, 0xaf, 0xef, 0x5d, 0xab, 0x36, 0xf8,- 0x7c, 0x64, 0x79, 0x32, 0x39, 0x67, 0x2d, 0x50, 0xa6, 0x7b, 0x6a, 0xc1,- 0x6d, 0x6f, 0xcb, 0xac, 0x5d, 0x3e, 0x71, 0x1d, 0x48, 0x7c, 0xcd, 0x0e,- 0x4a, 0xc1, 0xc9, 0x64, 0xaa, 0x51, 0x55, 0xcc, 0x3b, 0xa0, 0x10, 0xb5,- 0x78, 0x3d, 0xcd, 0xd0, 0xef, 0x10, 0x56, 0x7e, 0x7c, 0xf1, 0x98, 0x62,- 0xc0, 0x0d, 0x71, 0x23, 0x02, 0x41, 0xef, 0x13, 0x29, 0xc5, 0x21, 0x3d,- 0x09, 0x83, 0xa5, 0x8f, 0x56, 0x5c, 0x12, 0xdd, 0x78, 0x6d, 0x68, 0xd8,- 0xbc, 0x31, 0x15, 0x8d, 0xe6, 0xcd, 0x02, 0x73, 0xbd, 0xfd, 0x8e, 0x58,- 0xf2, 0x16, 0x48, 0x96, 0x00, 0x57, 0x5b, 0x9f, 0x37, 0x34, 0xcf, 0xde,- 0x2a, 0x22, 0xc6, 0xf3, 0x30, 0x17, 0x56, 0x28, 0x50, 0x19, 0xc7, 0x77,- 0xf2, 0x3e, 0xed, 0x8f, 0x10, 0x11, 0x09, 0xe9, 0xff, 0xbd, 0x75, 0x65,- 0x52, 0x3b, 0x5c, 0x0f, 0xb4, 0x95, 0x09, 0xe6, 0x6a, 0x28, 0x91, 0x5e,- 0x26, 0xbf, 0xce, 0xfc, 0x75, 0x5c, 0xc0, 0x2d, 0xc8, 0x63, 0x7f, 0x31,- 0xd3, 0x59, 0xf0, 0xe2, 0xa7, 0xe8, 0x21, 0x4c, 0x99, 0xd5, 0x2f, 0x29,- 0x9f, 0x8c, 0x1f, 0x2c, 0xba, 0x34, 0xff, 0x1e, 0x96, 0x74, 0x58, 0x17,- 0x1a, 0x40, 0xe3, 0xc4, 0x46, 0xf0, 0xfd, 0x2b, 0x44, 0x3a, 0x06, 0x03,- 0x9f, 0x30, 0xac, 0xe8, 0xa0, 0x7e, 0xc9, 0xf1, 0x57, 0x7d, 0xb6, 0xf9,- 0x52, 0x4f, 0x1e, 0x70, 0x5e, 0xd7, 0x97, 0xe4, 0xa6, 0xf9, 0x9f, 0xed,- 0xa6, 0x05, 0x72, 0x1e, 0xbc, 0x68, 0x8f, 0x1a, 0x72, 0xe0, 0xb2, 0x67,- 0xe9, 0xcc, 0x4f, 0x26, 0x4f, 0x5a, 0x6c, 0x46, 0xda, 0x62, 0x0a, 0x47,- 0xf5, 0x89, 0xab, 0x0f, 0x80, 0x49, 0x3e, 0x18, 0xe5, 0xc0, 0x55, 0x9f,- 0x97, 0x18, 0xcc, 0x99, 0xb3, 0xb2, 0xa9, 0xb8, 0xdb, 0xfe, 0x0d, 0x94,- 0x16, 0xec, 0xe2, 0x62, 0x26, 0x5e, 0x93, 0x18, 0x09, 0x4a, 0x24, 0xf9,- 0xc0, 0x10, 0x3c, 0xcd, 0xcf, 0x77, 0xd7, 0xcd, 0x00, 0xde, 0xcd, 0x22,- 0x01, 0x60, 0x2b, 0x8f, 0x49, 0x86, 0x40, 0x70, 0x21, 0xee, 0x68, 0x3e,- 0x1a, 0x1e, 0x21, 0x58, 0x7a, 0xff, 0x70, 0x52, 0xd3, 0x0f, 0x76, 0x97,- 0x1e, 0x9c, 0x34, 0x86, 0xa4, 0x81, 0xdf, 0x81, 0xb2, 0x24, 0xc1, 0x69,- 0x56, 0x52, 0x37, 0x46, 0x4e, 0xee, 0xa0, 0xd0, 0xc6, 0xb2, 0xe9, 0x3f,- 0x35, 0xbd, 0xe3, 0xd0, 0x87, 0x36, 0xce, 0x85, 0xb8, 0xac, 0x48, 0xec,- 0xf4, 0x9d, 0xa7, 0x90, 0xed, 0x8b, 0x26, 0xff, 0x13, 0x1e, 0x55, 0xa3,- 0x81, 0x74, 0x03, 0xf5, 0x85, 0x03, 0xa2, 0x28, 0x43, 0x16, 0x55, 0xc2,- 0x8b, 0xb5, 0x84, 0x32, 0x3e, 0xd0, 0x2b, 0xde, 0x2f, 0x70, 0x0c, 0x96,- 0x4e, 0x59, 0x51, 0xb7, 0x19, 0x10, 0xdd, 0x19, 0x0d, 0x71, 0xfc, 0x37,- 0xa1, 0xfd, 0x19, 0x31, 0xe7, 0xa6, 0x52, 0x5c, 0x23, 0x1d, 0xf5, 0xe0,- 0x69, 0xe0, 0x2d, 0xb1, 0x76, 0xf2, 0xe0, 0xcf, 0xf5, 0x68, 0x33, 0x9d,- 0x05, 0x0e, 0x7c, 0x76, 0x7a, 0x4a, 0xf8, 0x54, 0x09, 0xb6, 0x0f, 0x9a,- 0x36, 0xba, 0x25, 0x26, 0x01, 0x57, 0xe4, 0x32, 0xc4, 0xa5, 0xe6, 0x57,- 0x18, 0xe4, 0x74, 0xa2, 0xfd, 0xee, 0x8e, 0x95, 0x4f, 0x35, 0x33, 0x3c,- 0xb0, 0x03, 0x5f, 0x65, 0xc8, 0x65, 0x59, 0x38, 0x9e, 0x98, 0x5f, 0x63,- 0x3d, 0x13, 0xa6, 0x19, 0x3c, 0x6f, 0x81, 0x40, 0x27, 0x5a, 0x30, 0x5c,- 0xbe, 0x67, 0x59, 0x96, 0xf6, 0x83, 0x53, 0x2f, 0xed, 0x01, 0x30, 0xb4,- 0xae, 0x13, 0x0c, 0xee, 0xc7, 0x47, 0x6b, 0xa0, 0xb7, 0x9e, 0xf0, 0xc3,- 0x60, 0x6e, 0x07, 0x88, 0x49, 0x47, 0xc1, 0x8f, 0x39, 0x20, 0xa3, 0x2a,- 0x3b, 0x39, 0xf6, 0x6c, 0xcd, 0xa8, 0x2c, 0x15, 0x9b, 0x37, 0x18, 0xf2,- 0x66, 0xd9, 0x0d, 0xe8, 0x31, 0xc9, 0x01, 0xcc, 0x75, 0x8c, 0xd0, 0xdf,- 0xe4, 0xa4, 0xaf, 0xfb, 0x4d, 0xe7, 0x7a, 0xad, 0x1e, 0x8f, 0x9d, 0xdf,- 0x5a, 0xcf, 0x39, 0xcb, 0x65, 0x94, 0xb5, 0x00, 0x99, 0x49, 0xe5, 0xbc,- 0xa5, 0x02, 0x98, 0xd9, 0xad, 0x8b, 0xc7, 0xae, 0x02, 0x1c, 0x48, 0x9b,- 0x30, 0x4d, 0x7b, 0xe8, 0xfc, 0xde, 0x0e, 0x18, 0xbf, 0x4a, 0x81, 0x7d,- 0x79, 0xf7, 0xb5, 0x12, 0xd6, 0x2b, 0x30, 0xaf, 0xf6, 0xd2, 0xbc, 0x31,- 0xa2, 0x94, 0x0d, 0x07, 0x4e, 0x6f, 0x78, 0xc0, 0x13, 0xc8, 0x22, 0x06,- 0x96, 0xcf, 0xd0, 0x2e, 0xc8, 0x31, 0x45, 0xe7, 0xb9, 0x80, 0x2a, 0x97,- 0x04, 0x2c, 0x28, 0xe9, 0xe6, 0x19, 0x57, 0xca, 0xfb, 0x7d, 0xc4, 0x5d,- 0x2b, 0xa1, 0x29, 0x72, 0x23, 0xdb, 0x25, 0x3a, 0xd5, 0xc1, 0x7a, 0x71,- 0xc7, 0xde, 0x34, 0xb6, 0x77, 0x27, 0xbf, 0xff, 0xb6, 0xea, 0x54, 0x24,- 0x72, 0x58, 0x55, 0x0a, 0xf9, 0x63, 0x75, 0x1a, 0xe4, 0x3e, 0x2a, 0x24,- 0x09, 0xb6, 0x35, 0x95, 0xe8, 0x23, 0x90, 0xfc, 0x24, 0xc6, 0x71, 0x82,- 0xb5, 0x74, 0xad, 0xc1, 0x4c, 0xc7, 0xf6, 0x53, 0x64, 0x28, 0xad, 0x93,- 0xee, 0x47, 0xe9, 0x1a, 0x58, 0x9a, 0x51, 0x96, 0x3d, 0xe7, 0x3a, 0xee,- 0x5b, 0x8b, 0x05, 0x0e, 0x37, 0xda, 0x2c, 0x89, 0x9b, 0x0a, 0x7b, 0x67,- 0xe5, 0x86, 0xc2, 0x5e, 0xfa, 0x76, 0xa2, 0x38, 0x91, 0xec, 0x12, 0xf9,- 0x35, 0x47, 0x8c, 0x99, 0x70, 0xf7, 0xce, 0xe6, 0xac, 0xf9, 0x2e, 0x3f,- 0x45, 0x7c, 0x35, 0xe6, 0x33, 0xbf, 0x2a, 0xcf, 0x08, 0x7b, 0xd0, 0xab,- 0x5a, 0xc2, 0x7a, 0x6d, 0xf9, 0xfe, 0x09, 0x7a, 0x29, 0xe0, 0xcf, 0x38,- 0x93, 0xdf, 0xe4, 0xda, 0x6b, 0x66, 0x0c, 0xe2, 0x83, 0x64, 0xa6, 0xfb,- 0x74, 0x25, 0x78, 0x9b, 0x74, 0xf7, 0x05, 0xd8, 0xe1, 0x39, 0x48, 0x1b,- 0x60, 0x06, 0x16, 0xc9, 0xc3, 0xa9, 0xc2, 0xad, 0xd0, 0xf8, 0x86, 0x2b,- 0x44, 0xe4, 0xc1, 0x4e, 0xd4, 0x26, 0x8f, 0x8e, 0xd9, 0xa6, 0xa1, 0xef,- 0xbb, 0xac, 0x2c, 0x98, 0x82, 0xba, 0xdd, 0x14, 0x8d, 0x14, 0xe0, 0x09,- 0xd1, 0x50, 0x44, 0xcc, 0x4e, 0x03, 0x59, 0x92, 0x00, 0x9a, 0x60, 0x36,- 0xba, 0xd6, 0xa9, 0xae, 0x75, 0xfd, 0x36, 0x59, 0x87, 0x7c, 0xd3, 0x47,- 0xa4, 0x5d, 0x99, 0xe9, 0x9d, 0xb2, 0x17, 0x55, 0x83, 0xed, 0x3c, 0xeb,- 0x25, 0x60, 0xa8, 0xfd, 0xcf, 0xa3, 0x5c, 0x15, 0x09, 0x31, 0x5d, 0x4c,- 0x8f, 0xb0, 0xe4, 0xa0, 0xac, 0x29, 0x81, 0x13, 0x28, 0x56, 0x29, 0x26,- 0x1d, 0xd9, 0xb2, 0xb3, 0x8f, 0xee, 0x18, 0x1c, 0xc9, 0x57, 0xa1, 0xcb,- 0x58, 0x24, 0x71, 0x1a, 0x67, 0xb1, 0xdc, 0xe4, 0x0d, 0x99, 0xca, 0x28,- 0xf9, 0x23, 0xb2, 0xf9, 0x9f, 0x2b, 0x38, 0x30, 0x96, 0x43, 0xb1, 0x4c,- 0x01, 0x41, 0x35, 0x02, 0x12, 0x47, 0xb6, 0xe8, 0xd1, 0x15, 0xb2, 0x4b,- 0xed, 0xf9, 0xbb, 0x20, 0x6c, 0x7e, 0xe1, 0xf9, 0x2a, 0xa6, 0x2c, 0xb9,- 0x78, 0xc1, 0xb8, 0xdb, 0x4f, 0x25, 0x9a, 0x9c,- ]),- // 32-byte expectedSharedSecret- expectedSharedSecret: new Uint8Array([- 0x2f, 0x52, 0x11, 0x10, 0xa9, 0xe8, 0x53, 0x86, 0x70, 0x13, 0xce, 0xe3,- 0x4a, 0x38, 0xf1, 0x07, 0xbe, 0xa1, 0xc4, 0x68, 0x90, 0x67, 0x16, 0x08,- 0xe4, 0xec, 0xa1, 0x13, 0xed, 0xe9, 0x09, 0x7e,- ]),-};diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encrypt_decrypt/aes.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encrypt_decrypt/aes.jsindex 879a6efe257..57567fd4975 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encrypt_decrypt/aes.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encrypt_decrypt/aes.js@@ -102,7 +102,9 @@ function run_test() {var operation = subtle.encrypt({...vector.algorithm,get name() {- plaintext.buffer.transfer();+ if (!plaintext.buffer.detached) {+ plaintext.buffer.transfer();+ }return vector.algorithm.name;}}, vector.key, plaintext)@@ -244,7 +246,9 @@ function run_test() {var operation = subtle.decrypt({...vector.algorithm,get name() {- ciphertext.buffer.transfer();+ if (!ciphertext.buffer.detached) {+ ciphertext.buffer.transfer();+ }return vector.algorithm.name;}}, vector.key, ciphertext)@@ -458,9 +462,7 @@ function run_test() {});promise_test(function() {- return Promise.all(all_promises)- .then(function() {done();})- .catch(function() {done();})+ return Promise.all(all_promises).finally(done);}, "setup");// A test vector has all needed fields for encryption, EXCEPT that the@@ -470,9 +472,7 @@ function run_test() {// Returns a Promise that yields an updated vector on success.function importVectorKey(vector, usages) {if (vector.key !== null) {- return new Promise(function(resolve, reject) {- resolve(vector);- });+ return Promise.resolve(vector);} else {return subtle.importKey(vector.algorithm.name.toUpperCase() === "AES-OCB" ? "raw-secret" : "raw", vector.keyBuffer, {name: vector.algorithm.name}, false, usages).then(function(key) {diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encrypt_decrypt/aes_common_fixtures.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encrypt_decrypt/aes_common_fixtures.jsnew file mode 100644index 00000000000..d8c6d1666cc--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encrypt_decrypt/aes_common_fixtures.js@@ -0,0 +1,57 @@+function getAesCommonFixtures() {+ var plaintext = new Uint8Array([+ 84, 104, 105, 115, 32, 115, 112, 101, 99, 105, 102, 105, 99, 97, 116, 105,+ 111, 110, 32, 100, 101, 115, 99, 114, 105, 98, 101, 115, 32, 97, 32, 74, 97,+ 118, 97, 83, 99, 114, 105, 112, 116, 32, 65, 80, 73, 32, 102, 111, 114, 32,+ 112, 101, 114, 102, 111, 114, 109, 105, 110, 103, 32, 98, 97, 115, 105, 99,+ 32, 99, 114, 121, 112, 116, 111, 103, 114, 97, 112, 104, 105, 99, 32, 111,+ 112, 101, 114, 97, 116, 105, 111, 110, 115, 32, 105, 110, 32, 119, 101, 98,+ 32, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 115, 44, 32, 115,+ 117, 99, 104, 32, 97, 115, 32, 104, 97, 115, 104, 105, 110, 103, 44, 32,+ 115, 105, 103, 110, 97, 116, 117, 114, 101, 32, 103, 101, 110, 101, 114, 97,+ 116, 105, 111, 110, 32, 97, 110, 100, 32, 118, 101, 114, 105, 102, 105, 99,+ 97, 116, 105, 111, 110, 44, 32, 97, 110, 100, 32, 101, 110, 99, 114, 121,+ 112, 116, 105, 111, 110, 32, 97, 110, 100, 32, 100, 101, 99, 114, 121, 112,+ 116, 105, 111, 110, 46, 32, 65, 100, 100, 105, 116, 105, 111, 110, 97, 108,+ 108, 121, 44, 32, 105, 116, 32, 100, 101, 115, 99, 114, 105, 98, 101, 115,+ 32, 97, 110, 32, 65, 80, 73, 32, 102, 111, 114, 32, 97, 112, 112, 108, 105,+ 99, 97, 116, 105, 111, 110, 115, 32, 116, 111, 32, 103, 101, 110, 101, 114,+ 97, 116, 101, 32, 97, 110, 100, 47, 111, 114, 32, 109, 97, 110, 97, 103,+ 101, 32, 116, 104, 101, 32, 107, 101, 121, 105, 110, 103, 32, 109, 97, 116,+ 101, 114, 105, 97, 108, 32, 110, 101, 99, 101, 115, 115, 97, 114, 121, 32,+ 116, 111, 32, 112, 101, 114, 102, 111, 114, 109, 32, 116, 104, 101, 115,+ 101, 32, 111, 112, 101, 114, 97, 116, 105, 111, 110, 115, 46, 32, 85, 115,+ 101, 115, 32, 102, 111, 114, 32, 116, 104, 105, 115, 32, 65, 80, 73, 32,+ 114, 97, 110, 103, 101, 32, 102, 114, 111, 109, 32, 117, 115, 101, 114, 32,+ 111, 114, 32, 115, 101, 114, 118, 105, 99, 101, 32, 97, 117, 116, 104, 101,+ 110, 116, 105, 99, 97, 116, 105, 111, 110, 44, 32, 100, 111, 99, 117, 109,+ 101, 110, 116, 32, 111, 114, 32, 99, 111, 100, 101, 32, 115, 105, 103, 110,+ 105, 110, 103, 44, 32, 97, 110, 100, 32, 116, 104, 101, 32, 99, 111, 110,+ 102, 105, 100, 101, 110, 116, 105, 97, 108, 105, 116, 121, 32, 97, 110, 100,+ 32, 105, 110, 116, 101, 103, 114, 105, 116, 121, 32, 111, 102, 32, 99, 111,+ 109, 109, 117, 110, 105, 99, 97, 116, 105, 111, 110, 115, 46,+ ]);++ var keyBytes = {+ 128: new Uint8Array([+ 222, 192, 212, 252, 191, 60, 71, 65, 200, 146, 218, 189, 28, 212, 192, 78,+ ]),+ 192: new Uint8Array([+ 208, 238, 131, 65, 63, 68, 196, 63, 186, 208, 61, 207, 166, 18, 99, 152,+ 29, 109, 221, 95, 240, 30, 28, 246,+ ]),+ 256: new Uint8Array([+ 103, 105, 56, 35, 251, 29, 88, 7, 63, 145, 236, 233, 204, 58, 249, 16,+ 229, 83, 38, 22, 164, 210, 123, 19, 235, 123, 116, 216, 0, 11, 191, 48,+ ]),+ };++ var additionalData = new Uint8Array([+ 84, 104, 101, 114, 101, 32, 97, 114, 101, 32, 55, 32, 102, 117, 114, 116,+ 104, 101, 114, 32, 101, 100, 105, 116, 111, 114, 105, 97, 108, 32, 110, 111,+ 116, 101, 115, 32, 105, 110, 32, 116, 104, 101, 32, 100, 111, 99, 117, 109,+ 101, 110, 116, 46,+ ]);++ return { plaintext, keyBytes, additionalData };+}diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encrypt_decrypt/aes_gcm.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encrypt_decrypt/aes_gcm.https.any.htmlindex 27089faeed8..3d0263a70d8 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encrypt_decrypt/aes_gcm.https.any.html+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encrypt_decrypt/aes_gcm.https.any.html@@ -12,6 +12,7 @@ self.GLOBAL = {<script src="../../resources/testharness.js"></script><script src="../../resources/testharnessreport.js"></script><script src="../util/helpers.js"></script>+<script src="aes_common_fixtures.js"></script><script src="aes_gcm_96_iv_fixtures.js"></script><script src="aes_gcm_vectors.js"></script><script src="aes.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encrypt_decrypt/aes_gcm.https.any.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encrypt_decrypt/aes_gcm.https.any.jsindex b3e6b5f0d2c..295351fc319 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encrypt_decrypt/aes_gcm.https.any.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encrypt_decrypt/aes_gcm.https.any.js@@ -1,5 +1,6 @@// META: title=WebCryptoAPI: encrypt() Using AES-GCM w/ 96-bit iv// META: script=../util/helpers.js+// META: script=aes_common_fixtures.js// META: script=aes_gcm_96_iv_fixtures.js// META: script=aes_gcm_vectors.js// META: script=aes.jsdiff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encrypt_decrypt/aes_gcm_256_iv.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encrypt_decrypt/aes_gcm_256_iv.https.any.htmlindex ff8f293ce10..9fd2fd8cd02 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encrypt_decrypt/aes_gcm_256_iv.https.any.html+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encrypt_decrypt/aes_gcm_256_iv.https.any.html@@ -12,6 +12,7 @@ self.GLOBAL = {<script src="../../resources/testharness.js"></script><script src="../../resources/testharnessreport.js"></script><script src="../util/helpers.js"></script>+<script src="aes_common_fixtures.js"></script><script src="aes_gcm_256_iv_fixtures.js"></script><script src="aes_gcm_vectors.js"></script><script src="aes.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encrypt_decrypt/aes_gcm_256_iv.https.any.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encrypt_decrypt/aes_gcm_256_iv.https.any.jsindex 196a8ea94fb..a46f4c79b89 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encrypt_decrypt/aes_gcm_256_iv.https.any.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encrypt_decrypt/aes_gcm_256_iv.https.any.js@@ -1,5 +1,6 @@// META: title=WebCryptoAPI: encrypt() Using AES-GCM w/ 256-bit iv// META: script=../util/helpers.js+// META: script=aes_common_fixtures.js// META: script=aes_gcm_256_iv_fixtures.js// META: script=aes_gcm_vectors.js// META: script=aes.jsdiff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encrypt_decrypt/aes_gcm_256_iv_fixtures.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encrypt_decrypt/aes_gcm_256_iv_fixtures.jsindex 9cdbbbb7907..a081b8e8648 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encrypt_decrypt/aes_gcm_256_iv_fixtures.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encrypt_decrypt/aes_gcm_256_iv_fixtures.js@@ -1,53 +1,7 @@function getFixtures() {- // Before we can really start, we need to fill a bunch of buffers with data- var plaintext = new Uint8Array([- 84, 104, 105, 115, 32, 115, 112, 101, 99, 105, 102, 105, 99, 97, 116, 105,- 111, 110, 32, 100, 101, 115, 99, 114, 105, 98, 101, 115, 32, 97, 32, 74, 97,- 118, 97, 83, 99, 114, 105, 112, 116, 32, 65, 80, 73, 32, 102, 111, 114, 32,- 112, 101, 114, 102, 111, 114, 109, 105, 110, 103, 32, 98, 97, 115, 105, 99,- 32, 99, 114, 121, 112, 116, 111, 103, 114, 97, 112, 104, 105, 99, 32, 111,- 112, 101, 114, 97, 116, 105, 111, 110, 115, 32, 105, 110, 32, 119, 101, 98,- 32, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 115, 44, 32, 115,- 117, 99, 104, 32, 97, 115, 32, 104, 97, 115, 104, 105, 110, 103, 44, 32,- 115, 105, 103, 110, 97, 116, 117, 114, 101, 32, 103, 101, 110, 101, 114, 97,- 116, 105, 111, 110, 32, 97, 110, 100, 32, 118, 101, 114, 105, 102, 105, 99,- 97, 116, 105, 111, 110, 44, 32, 97, 110, 100, 32, 101, 110, 99, 114, 121,- 112, 116, 105, 111, 110, 32, 97, 110, 100, 32, 100, 101, 99, 114, 121, 112,- 116, 105, 111, 110, 46, 32, 65, 100, 100, 105, 116, 105, 111, 110, 97, 108,- 108, 121, 44, 32, 105, 116, 32, 100, 101, 115, 99, 114, 105, 98, 101, 115,- 32, 97, 110, 32, 65, 80, 73, 32, 102, 111, 114, 32, 97, 112, 112, 108, 105,- 99, 97, 116, 105, 111, 110, 115, 32, 116, 111, 32, 103, 101, 110, 101, 114,- 97, 116, 101, 32, 97, 110, 100, 47, 111, 114, 32, 109, 97, 110, 97, 103,- 101, 32, 116, 104, 101, 32, 107, 101, 121, 105, 110, 103, 32, 109, 97, 116,- 101, 114, 105, 97, 108, 32, 110, 101, 99, 101, 115, 115, 97, 114, 121, 32,- 116, 111, 32, 112, 101, 114, 102, 111, 114, 109, 32, 116, 104, 101, 115,- 101, 32, 111, 112, 101, 114, 97, 116, 105, 111, 110, 115, 46, 32, 85, 115,- 101, 115, 32, 102, 111, 114, 32, 116, 104, 105, 115, 32, 65, 80, 73, 32,- 114, 97, 110, 103, 101, 32, 102, 114, 111, 109, 32, 117, 115, 101, 114, 32,- 111, 114, 32, 115, 101, 114, 118, 105, 99, 101, 32, 97, 117, 116, 104, 101,- 110, 116, 105, 99, 97, 116, 105, 111, 110, 44, 32, 100, 111, 99, 117, 109,- 101, 110, 116, 32, 111, 114, 32, 99, 111, 100, 101, 32, 115, 105, 103, 110,- 105, 110, 103, 44, 32, 97, 110, 100, 32, 116, 104, 101, 32, 99, 111, 110,- 102, 105, 100, 101, 110, 116, 105, 97, 108, 105, 116, 121, 32, 97, 110, 100,- 32, 105, 110, 116, 101, 103, 114, 105, 116, 121, 32, 111, 102, 32, 99, 111,- 109, 109, 117, 110, 105, 99, 97, 116, 105, 111, 110, 115, 46,- ]);-- // We want some random key bytes of various sizes.- // These were randomly generated from a script.- var keyBytes = {- 128: new Uint8Array([- 222, 192, 212, 252, 191, 60, 71, 65, 200, 146, 218, 189, 28, 212, 192, 78,- ]),- 192: new Uint8Array([- 208, 238, 131, 65, 63, 68, 196, 63, 186, 208, 61, 207, 166, 18, 99, 152,- 29, 109, 221, 95, 240, 30, 28, 246,- ]),- 256: new Uint8Array([- 103, 105, 56, 35, 251, 29, 88, 7, 63, 145, 236, 233, 204, 58, 249, 16,- 229, 83, 38, 22, 164, 210, 123, 19, 235, 123, 116, 216, 0, 11, 191, 48,- ]),- };+ var commonFixtures = getAesCommonFixtures();+ var plaintext = commonFixtures.plaintext;+ var keyBytes = commonFixtures.keyBytes;// AES-GCM needs an IV of no more than 2^64 - 1 bytes. Arbitrary 32 bytes is okay then.var iv = new Uint8Array([@@ -55,15 +9,7 @@ function getFixtures() {33, 117, 56, 94, 248, 173, 234, 194, 200, 115, 53, 235, 146, 141, 212,]);- // Authenticated encryption via AES-GCM requires additional data that- // will be checked. We use the ASCII encoded Editorial Note- // following the Abstract of the Web Cryptography API recommendation.- var additionalData = new Uint8Array([- 84, 104, 101, 114, 101, 32, 97, 114, 101, 32, 55, 32, 102, 117, 114, 116,- 104, 101, 114, 32, 101, 100, 105, 116, 111, 114, 105, 97, 108, 32, 110, 111,- 116, 101, 115, 32, 105, 110, 32, 116, 104, 101, 32, 100, 111, 99, 117, 109,- 101, 110, 116, 46,- ]);+ var additionalData = commonFixtures.additionalData;// The length of the tag defaults to 16 bytes (128 bit).var tag = {diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encrypt_decrypt/aes_gcm_96_iv_fixtures.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encrypt_decrypt/aes_gcm_96_iv_fixtures.jsindex bb00e2d7dd9..e120b58d8dc 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encrypt_decrypt/aes_gcm_96_iv_fixtures.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encrypt_decrypt/aes_gcm_96_iv_fixtures.js@@ -1,68 +1,14 @@function getFixtures() {- // Before we can really start, we need to fill a bunch of buffers with data- var plaintext = new Uint8Array([- 84, 104, 105, 115, 32, 115, 112, 101, 99, 105, 102, 105, 99, 97, 116, 105,- 111, 110, 32, 100, 101, 115, 99, 114, 105, 98, 101, 115, 32, 97, 32, 74, 97,- 118, 97, 83, 99, 114, 105, 112, 116, 32, 65, 80, 73, 32, 102, 111, 114, 32,- 112, 101, 114, 102, 111, 114, 109, 105, 110, 103, 32, 98, 97, 115, 105, 99,- 32, 99, 114, 121, 112, 116, 111, 103, 114, 97, 112, 104, 105, 99, 32, 111,- 112, 101, 114, 97, 116, 105, 111, 110, 115, 32, 105, 110, 32, 119, 101, 98,- 32, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 115, 44, 32, 115,- 117, 99, 104, 32, 97, 115, 32, 104, 97, 115, 104, 105, 110, 103, 44, 32,- 115, 105, 103, 110, 97, 116, 117, 114, 101, 32, 103, 101, 110, 101, 114, 97,- 116, 105, 111, 110, 32, 97, 110, 100, 32, 118, 101, 114, 105, 102, 105, 99,- 97, 116, 105, 111, 110, 44, 32, 97, 110, 100, 32, 101, 110, 99, 114, 121,- 112, 116, 105, 111, 110, 32, 97, 110, 100, 32, 100, 101, 99, 114, 121, 112,- 116, 105, 111, 110, 46, 32, 65, 100, 100, 105, 116, 105, 111, 110, 97, 108,- 108, 121, 44, 32, 105, 116, 32, 100, 101, 115, 99, 114, 105, 98, 101, 115,- 32, 97, 110, 32, 65, 80, 73, 32, 102, 111, 114, 32, 97, 112, 112, 108, 105,- 99, 97, 116, 105, 111, 110, 115, 32, 116, 111, 32, 103, 101, 110, 101, 114,- 97, 116, 101, 32, 97, 110, 100, 47, 111, 114, 32, 109, 97, 110, 97, 103,- 101, 32, 116, 104, 101, 32, 107, 101, 121, 105, 110, 103, 32, 109, 97, 116,- 101, 114, 105, 97, 108, 32, 110, 101, 99, 101, 115, 115, 97, 114, 121, 32,- 116, 111, 32, 112, 101, 114, 102, 111, 114, 109, 32, 116, 104, 101, 115,- 101, 32, 111, 112, 101, 114, 97, 116, 105, 111, 110, 115, 46, 32, 85, 115,- 101, 115, 32, 102, 111, 114, 32, 116, 104, 105, 115, 32, 65, 80, 73, 32,- 114, 97, 110, 103, 101, 32, 102, 114, 111, 109, 32, 117, 115, 101, 114, 32,- 111, 114, 32, 115, 101, 114, 118, 105, 99, 101, 32, 97, 117, 116, 104, 101,- 110, 116, 105, 99, 97, 116, 105, 111, 110, 44, 32, 100, 111, 99, 117, 109,- 101, 110, 116, 32, 111, 114, 32, 99, 111, 100, 101, 32, 115, 105, 103, 110,- 105, 110, 103, 44, 32, 97, 110, 100, 32, 116, 104, 101, 32, 99, 111, 110,- 102, 105, 100, 101, 110, 116, 105, 97, 108, 105, 116, 121, 32, 97, 110, 100,- 32, 105, 110, 116, 101, 103, 114, 105, 116, 121, 32, 111, 102, 32, 99, 111,- 109, 109, 117, 110, 105, 99, 97, 116, 105, 111, 110, 115, 46,- ]);-- // We want some random key bytes of various sizes.- // These were randomly generated from a script.- var keyBytes = {- 128: new Uint8Array([- 222, 192, 212, 252, 191, 60, 71, 65, 200, 146, 218, 189, 28, 212, 192, 78,- ]),- 192: new Uint8Array([- 208, 238, 131, 65, 63, 68, 196, 63, 186, 208, 61, 207, 166, 18, 99, 152,- 29, 109, 221, 95, 240, 30, 28, 246,- ]),- 256: new Uint8Array([- 103, 105, 56, 35, 251, 29, 88, 7, 63, 145, 236, 233, 204, 58, 249, 16,- 229, 83, 38, 22, 164, 210, 123, 19, 235, 123, 116, 216, 0, 11, 191, 48,- ]),- };+ var commonFixtures = getAesCommonFixtures();+ var plaintext = commonFixtures.plaintext;+ var keyBytes = commonFixtures.keyBytes;// AES-GCM specification recommends that the IV should be 96 bits long.var iv = new Uint8Array([58, 146, 115, 42, 166, 234, 57, 191, 57, 134, 224, 199,]);- // Authenticated encryption via AES-GCM requires additional data that- // will be checked. We use the ASCII encoded Editorial Note- // following the Abstract of the Web Cryptography API recommendation.- var additionalData = new Uint8Array([- 84, 104, 101, 114, 101, 32, 97, 114, 101, 32, 55, 32, 102, 117, 114, 116,- 104, 101, 114, 32, 101, 100, 105, 116, 111, 114, 105, 97, 108, 32, 110, 111,- 116, 101, 115, 32, 105, 110, 32, 116, 104, 101, 32, 100, 111, 99, 117, 109,- 101, 110, 116, 46,- ]);+ var additionalData = commonFixtures.additionalData;// The length of the tag defaults to 16 bytes (128 bit).var tag = {diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encrypt_decrypt/rsa.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encrypt_decrypt/rsa.jsindex 071c086b3c4..d866b7b4779 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encrypt_decrypt/rsa.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encrypt_decrypt/rsa.js@@ -23,7 +23,7 @@ function run_test() {promise_test(function(test) {return subtle.decrypt(vector.algorithm, vector.privateKey, vector.ciphertext).then(function(plaintext) {- assert_true(equalBuffers(plaintext, vector.plaintext, "Decryption works"));+ assert_true(equalBuffers(plaintext, vector.plaintext), "Decryption works");}, function(err) {assert_unreached("Decryption should not throw error " + vector.name + ": '" + err.message + "'");});@@ -60,7 +60,7 @@ function run_test() {}}, vector.privateKey, ciphertext).then(function(plaintext) {- assert_true(equalBuffers(plaintext, vector.plaintext, "Decryption works"));+ assert_true(equalBuffers(plaintext, vector.plaintext), "Decryption works");}, function(err) {assert_unreached("Decryption should not throw error " + vector.name + ": '" + err.message + "'");});@@ -91,7 +91,7 @@ function run_test() {var ciphertext = copyBuffer(vector.ciphertext);var operation = subtle.decrypt(vector.algorithm, vector.privateKey, ciphertext).then(function(plaintext) {- assert_true(equalBuffers(plaintext, vector.plaintext, "Decryption works"));+ assert_true(equalBuffers(plaintext, vector.plaintext), "Decryption works");}, function(err) {assert_unreached("Decryption should not throw error " + vector.name + ": '" + err.message + "'");});@@ -124,7 +124,9 @@ function run_test() {var operation = subtle.decrypt({...vector.algorithm,get name() {- ciphertext.buffer.transfer();+ if (!ciphertext.buffer.detached) {+ ciphertext.buffer.transfer();+ }return vector.algorithm.name;}}, vector.privateKey, ciphertext)@@ -160,7 +162,7 @@ function run_test() {var ciphertext = copyBuffer(vector.ciphertext);var operation = subtle.decrypt(vector.algorithm, vector.privateKey, ciphertext).then(function(plaintext) {- assert_true(equalBuffers(plaintext, vector.plaintext, "Decryption works"));+ assert_true(equalBuffers(plaintext, vector.plaintext), "Decryption works");}, function(err) {assert_unreached("Decryption should not throw error " + vector.name + ": '" + err.message + "'");});@@ -337,7 +339,9 @@ function run_test() {var operation = subtle.encrypt({...vector.algorithm,get name() {- plaintext.buffer.transfer();+ if (!plaintext.buffer.detached) {+ plaintext.buffer.transfer();+ }return vector.algorithm.name;}}, vector.publicKey, plaintext)@@ -538,9 +542,7 @@ function run_test() {});promise_test(function() {- return Promise.all(all_promises)- .then(function() {done();})- .catch(function() {done();})+ return Promise.all(all_promises).finally(done);}, "setup");// A test vector has all needed fields for encryption, EXCEPT that the@@ -552,9 +554,7 @@ function run_test() {var publicPromise, privatePromise;if (vector.publicKey !== null) {- publicPromise = new Promise(function(resolve, reject) {- resolve(vector);- });+ publicPromise = Promise.resolve(vector);} else {publicPromise = subtle.importKey(vector.publicKeyFormat, vector.publicKeyBuffer, {name: vector.algorithm.name, hash: vector.hash}, false, publicKeyUsages).then(function(key) {@@ -564,9 +564,7 @@ function run_test() {}if (vector.privateKey !== null) {- privatePromise = new Promise(function(resolve, reject) {- resolve(vector);- });+ privatePromise = Promise.resolve(vector);} else {privatePromise = subtle.importKey(vector.privateKeyFormat, vector.privateKeyBuffer, {name: vector.algorithm.name, hash: vector.hash}, false, privateKeyUsages).then(function(key) {diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encrypt_decrypt/rsa_oaep.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encrypt_decrypt/rsa_oaep.https.any.htmlindex da7ff05c428..a7c6e2eca03 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encrypt_decrypt/rsa_oaep.https.any.html+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encrypt_decrypt/rsa_oaep.https.any.html@@ -12,6 +12,7 @@ self.GLOBAL = {<script src="../../resources/testharness.js"></script><script src="../../resources/testharnessreport.js"></script><script src="../util/helpers.js"></script>+<script src="../util/rsa_key_fixtures.js"></script><script src="rsa_vectors.js"></script><script src="rsa.js"></script><div id=log></div>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encrypt_decrypt/rsa_oaep.https.any.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encrypt_decrypt/rsa_oaep.https.any.jsindex 3550f5eec28..42511415f15 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encrypt_decrypt/rsa_oaep.https.any.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encrypt_decrypt/rsa_oaep.https.any.js@@ -1,5 +1,6 @@// META: title=WebCryptoAPI: encrypt() Using RSA-OAEP// META: script=../util/helpers.js+// META: script=../util/rsa_key_fixtures.js// META: script=rsa_vectors.js// META: script=rsa.js// META: timeout=longdiff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encrypt_decrypt/rsa_vectors.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encrypt_decrypt/rsa_vectors.jsindex fcc732eddc1..ca99953524e 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encrypt_decrypt/rsa_vectors.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encrypt_decrypt/rsa_vectors.js@@ -18,8 +18,9 @@// plaintext - the text to encrypt// result - the expected result (usually just ciphertext, sometimes with added authentication)function getTestVectors() {- var pkcs8 = new Uint8Array([48, 130, 4, 191, 2, 1, 0, 48, 13, 6, 9, 42, 134, 72, 134, 247, 13, 1, 1, 1, 5, 0, 4, 130, 4, 169, 48, 130, 4, 165, 2, 1, 0, 2, 130, 1, 1, 0, 211, 87, 96, 146, 230, 41, 87, 54, 69, 68, 231, 228, 35, 59, 123, 219, 41, 61, 178, 8, 81, 34, 196, 121, 50, 133, 70, 249, 240, 247, 18, 246, 87, 196, 177, 120, 104, 201, 48, 144, 140, 197, 148, 247, 237, 0, 192, 20, 66, 193, 175, 4, 194, 246, 120, 164, 139, 162, 200, 15, 209, 113, 62, 48, 181, 172, 80, 120, 122, 195, 81, 101, 137, 241, 113, 150, 127, 99, 134, 173, 163, 73, 0, 166, 187, 4, 238, 206, 164, 43, 240, 67, 206, 217, 160, 249, 77, 12, 192, 158, 145, 155, 157, 113, 102, 192, 138, 182, 206, 32, 70, 64, 174, 164, 196, 146, 13, 182, 216, 110, 185, 22, 208, 220, 192, 244, 52, 26, 16, 56, 4, 41, 231, 225, 3, 33, 68, 234, 148, 157, 232, 246, 192, 204, 191, 149, 250, 142, 146, 141, 112, 216, 163, 140, 225, 104, 219, 69, 246, 241, 52, 102, 61, 111, 101, 111, 92, 234, 188, 114, 93, 168, 192, 42, 171, 234, 170, 19, 172, 54, 167, 92, 192, 186, 225, 53, 223, 49, 20, 182, 101, 137, 199, 237, 60, 182, 21, 89, 174, 90, 56, 79, 22, 43, 250, 128, 219, 228, 97, 127, 134, 195, 241, 208, 16, 201, 79, 226, 201, 191, 1, 154, 110, 99, 179, 239, 192, 40, 212, 60, 238, 97, 28, 133, 236, 38, 60, 144, 108, 70, 55, 114, 198, 145, 27, 25, 238, 192, 150, 202, 118, 236, 94, 49, 225, 227, 2, 3, 1, 0, 1, 2, 130, 1, 1, 0, 139, 55, 92, 203, 135, 200, 37, 197, 255, 61, 83, 208, 9, 145, 110, 150, 65, 5, 126, 24, 82, 114, 39, 160, 122, 178, 38, 190, 16, 136, 129, 58, 59, 56, 187, 123, 72, 243, 119, 5, 81, 101, 250, 42, 147, 57, 210, 77, 198, 103, 213, 197, 186, 52, 39, 230, 164, 129, 23, 110, 172, 21, 255, 212, 144, 104, 49, 30, 28, 40, 59, 159, 58, 142, 12, 184, 9, 180, 99, 12, 80, 170, 143, 62, 69, 166, 11, 53, 158, 25, 191, 140, 187, 94, 202, 214, 78, 118, 31, 16, 149, 116, 63, 243, 106, 175, 92, 240, 236, 185, 127, 237, 173, 221, 166, 11, 91, 243, 93, 129, 26, 117, 184, 34, 35, 12, 250, 160, 25, 47, 173, 64, 84, 126, 39, 84, 72, 170, 51, 22, 191, 142, 43, 76, 224, 133, 79, 199, 112, 139, 83, 123, 162, 45, 19, 33, 11, 9, 174, 195, 122, 39, 89, 239, 192, 130, 161, 83, 27, 35, 169, 23, 48, 3, 125, 222, 78, 242, 107, 95, 150, 239, 220, 195, 159, 211, 76, 52, 90, 213, 28, 187, 228, 79, 229, 139, 138, 59, 78, 201, 151, 134, 108, 8, 109, 255, 27, 136, 49, 239, 10, 31, 234, 38, 60, 247, 218, 205, 3, 192, 76, 188, 194, 178, 121, 229, 127, 165, 185, 83, 153, 107, 251, 29, 214, 136, 23, 175, 127, 180, 44, 222, 247, 165, 41, 74, 87, 250, 194, 184, 173, 115, 159, 27, 2, 153, 2, 129, 129, 0, 251, 248, 51, 194, 198, 49, 201, 112, 36, 12, 142, 116, 133, 240, 106, 62, 162, 168, 72, 34, 81, 26, 134, 39, 221, 70, 78, 248, 175, 175, 113, 72, 209, 164, 37, 182, 184, 101, 125, 221, 82, 70, 131, 43, 142, 83, 48, 32, 197, 187, 181, 104, 133, 90, 106, 236, 62, 66, 33, 215, 147, 241, 220, 91, 47, 37, 132, 226, 65, 94, 72, 233, 162, 189, 41, 43, 19, 64, 49, 249, 156, 142, 180, 47, 192, 188, 208, 68, 155, 242, 44, 230, 222, 201, 112, 20, 239, 229, 172, 147, 235, 232, 53, 135, 118, 86, 37, 44, 187, 177, 108, 65, 91, 103, 177, 132, 210, 40, 69, 104, 162, 119, 213, 147, 53, 88, 92, 253, 2, 129, 129, 0, 214, 184, 206, 39, 199, 41, 93, 93, 22, 252, 53, 112, 237, 100, 200, 218, 147, 3, 250, 210, 148, 136, 193, 166, 94, 154, 215, 17, 249, 3, 112, 24, 125, 187, 253, 129, 49, 109, 105, 100, 139, 200, 140, 197, 200, 53, 81, 175, 255, 69, 222, 186, 207, 182, 17, 5, 247, 9, 228, 195, 8, 9, 185, 0, 49, 235, 214, 134, 36, 68, 150, 198, 246, 158, 105, 46, 189, 200, 20, 246, 66, 57, 244, 173, 21, 117, 110, 203, 120, 197, 165, 176, 153, 49, 219, 24, 48, 119, 197, 70, 163, 140, 76, 116, 56, 137, 173, 61, 62, 208, 121, 181, 98, 46, 208, 18, 15, 160, 225, 249, 59, 89, 61, 183, 216, 82, 224, 95, 2, 129, 128, 56, 135, 75, 157, 131, 247, 129, 120, 206, 45, 158, 252, 23, 92, 131, 137, 127, 214, 127, 48, 107, 191, 166, 159, 100, 238, 52, 35, 104, 206, 212, 124, 128, 195, 241, 206, 23, 122, 117, 141, 100, 186, 251, 12, 151, 134, 164, 66, 133, 250, 1, 205, 236, 53, 7, 205, 238, 125, 201, 183, 226, 178, 29, 60, 187, 204, 16, 14, 238, 153, 103, 132, 59, 5, 115, 41, 253, 204, 166, 41, 152, 237, 15, 17, 179, 140, 232, 176, 171, 199, 222, 57, 1, 124, 113, 207, 208, 174, 87, 84, 108, 85, 145, 68, 205, 208, 175, 208, 100, 95, 126, 168, 255, 7, 185, 116, 209, 237, 68, 253, 31, 142, 0, 245, 96, 191, 109, 69, 2, 129, 129, 0, 133, 41, 239, 144, 115, 207, 143, 123, 95, 249, 226, 26, 186, 223, 58, 65, 115, 211, 144, 6, 112, 223, 175, 89, 66, 106, 188, 223, 4, 147, 193, 61, 47, 29, 27, 70, 184, 36, 166, 172, 24, 148, 179, 217, 37, 37, 12, 24, 30, 52, 114, 193, 96, 120, 5, 110, 177, 154, 141, 40, 247, 31, 48, 128, 146, 117, 52, 129, 212, 148, 68, 253, 247, 140, 158, 166, 194, 68, 7, 220, 1, 142, 119, 211, 175, 239, 56, 91, 47, 247, 67, 158, 150, 35, 121, 65, 51, 45, 212, 70, 206, 190, 255, 219, 68, 4, 254, 79, 113, 89, 81, 97, 208, 22, 64, 44, 51, 77, 15, 87, 198, 26, 190, 79, 249, 244, 203, 249, 2, 129, 129, 0, 135, 216, 119, 8, 212, 103, 99, 228, 204, 190, 178, 209, 233, 113, 46, 91, 240, 33, 109, 112, 222, 148, 32, 165, 178, 6, 155, 116, 89, 185, 159, 93, 159, 127, 47, 173, 124, 215, 154, 174, 230, 122, 127, 154, 52, 67, 126, 60, 121, 168, 74, 240, 205, 141, 233, 223, 242, 104, 235, 12, 71, 147, 245, 1, 249, 136, 213, 64, 246, 211, 71, 92, 32, 121, 184, 34, 122, 35, 217, 104, 222, 196, 227, 198, 101, 3, 24, 113, 147, 69, 150, 48, 71, 43, 253, 182, 186, 29, 231, 134, 199, 151, 250, 111, 78, 166, 90, 42, 132, 25, 38, 47, 41, 103, 136, 86, 203, 115, 201, 189, 75, 200, 155, 94, 4, 27, 34, 119]);- var spki = new Uint8Array([48, 130, 1, 34, 48, 13, 6, 9, 42, 134, 72, 134, 247, 13, 1, 1, 1, 5, 0, 3, 130, 1, 15, 0, 48, 130, 1, 10, 2, 130, 1, 1, 0, 211, 87, 96, 146, 230, 41, 87, 54, 69, 68, 231, 228, 35, 59, 123, 219, 41, 61, 178, 8, 81, 34, 196, 121, 50, 133, 70, 249, 240, 247, 18, 246, 87, 196, 177, 120, 104, 201, 48, 144, 140, 197, 148, 247, 237, 0, 192, 20, 66, 193, 175, 4, 194, 246, 120, 164, 139, 162, 200, 15, 209, 113, 62, 48, 181, 172, 80, 120, 122, 195, 81, 101, 137, 241, 113, 150, 127, 99, 134, 173, 163, 73, 0, 166, 187, 4, 238, 206, 164, 43, 240, 67, 206, 217, 160, 249, 77, 12, 192, 158, 145, 155, 157, 113, 102, 192, 138, 182, 206, 32, 70, 64, 174, 164, 196, 146, 13, 182, 216, 110, 185, 22, 208, 220, 192, 244, 52, 26, 16, 56, 4, 41, 231, 225, 3, 33, 68, 234, 148, 157, 232, 246, 192, 204, 191, 149, 250, 142, 146, 141, 112, 216, 163, 140, 225, 104, 219, 69, 246, 241, 52, 102, 61, 111, 101, 111, 92, 234, 188, 114, 93, 168, 192, 42, 171, 234, 170, 19, 172, 54, 167, 92, 192, 186, 225, 53, 223, 49, 20, 182, 101, 137, 199, 237, 60, 182, 21, 89, 174, 90, 56, 79, 22, 43, 250, 128, 219, 228, 97, 127, 134, 195, 241, 208, 16, 201, 79, 226, 201, 191, 1, 154, 110, 99, 179, 239, 192, 40, 212, 60, 238, 97, 28, 133, 236, 38, 60, 144, 108, 70, 55, 114, 198, 145, 27, 25, 238, 192, 150, 202, 118, 236, 94, 49, 225, 227, 2, 3, 1, 0, 1]);+ var keyFixtures = getRsaKeyFixtures();+ var pkcs8 = keyFixtures.pkcs8;+ var spki = keyFixtures.spki;// Can optionally provide a label for encryption. We use the ASCII-encoded// abstract from the candidate recommendation.diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/algorithm_registry.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/algorithm_registry.jsnew file mode 100644index 00000000000..41512090f57--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/algorithm_registry.js@@ -0,0 +1,39 @@+// Generated by WebCryptoAPI/tools/generate.py. Do not edit directly.+const generateKeyTestVectors = [+ {name: "AES-CTR", resultType: CryptoKey, usages: ["encrypt", "decrypt", "wrapKey", "unwrapKey"], mandatoryUsages: []},+ {name: "AES-CBC", resultType: CryptoKey, usages: ["encrypt", "decrypt", "wrapKey", "unwrapKey"], mandatoryUsages: []},+ {name: "AES-GCM", resultType: CryptoKey, usages: ["encrypt", "decrypt", "wrapKey", "unwrapKey"], mandatoryUsages: []},+ {name: "AES-OCB", resultType: CryptoKey, usages: ["encrypt", "decrypt", "wrapKey", "unwrapKey"], mandatoryUsages: []},+ {name: "ChaCha20-Poly1305", resultType: CryptoKey, usages: ["encrypt", "decrypt", "wrapKey", "unwrapKey"], mandatoryUsages: []},+ {name: "AES-KW", resultType: CryptoKey, usages: ["wrapKey", "unwrapKey"], mandatoryUsages: []},+ {name: "HMAC", resultType: CryptoKey, usages: ["sign", "verify"], mandatoryUsages: []},+ {name: "RSASSA-PKCS1-v1_5", resultType: "CryptoKeyPair", usages: ["sign", "verify"], mandatoryUsages: ["sign"]},+ {name: "RSA-PSS", resultType: "CryptoKeyPair", usages: ["sign", "verify"], mandatoryUsages: ["sign"]},+ {name: "RSA-OAEP", resultType: "CryptoKeyPair", usages: ["encrypt", "decrypt", "wrapKey", "unwrapKey"], mandatoryUsages: ["decrypt", "unwrapKey"]},+ {name: "ECDSA", resultType: "CryptoKeyPair", usages: ["sign", "verify"], mandatoryUsages: ["sign"]},+ {name: "ECDH", resultType: "CryptoKeyPair", usages: ["deriveKey", "deriveBits"], mandatoryUsages: ["deriveKey", "deriveBits"]},+ {name: "Ed25519", resultType: "CryptoKeyPair", usages: ["sign", "verify"], mandatoryUsages: ["sign"]},+ {name: "Ed448", resultType: "CryptoKeyPair", usages: ["sign", "verify"], mandatoryUsages: ["sign"]},+ {name: "ML-DSA-44", resultType: "CryptoKeyPair", usages: ["sign", "verify"], mandatoryUsages: ["sign"]},+ {name: "ML-DSA-65", resultType: "CryptoKeyPair", usages: ["sign", "verify"], mandatoryUsages: ["sign"]},+ {name: "ML-DSA-87", resultType: "CryptoKeyPair", usages: ["sign", "verify"], mandatoryUsages: ["sign"]},+ {name: "ML-KEM-512", resultType: "CryptoKeyPair", usages: ["decapsulateBits", "decapsulateKey", "encapsulateBits", "encapsulateKey"], mandatoryUsages: ["decapsulateBits", "decapsulateKey"]},+ {name: "ML-KEM-768", resultType: "CryptoKeyPair", usages: ["decapsulateBits", "decapsulateKey", "encapsulateBits", "encapsulateKey"], mandatoryUsages: ["decapsulateBits", "decapsulateKey"]},+ {name: "ML-KEM-1024", resultType: "CryptoKeyPair", usages: ["decapsulateBits", "decapsulateKey", "encapsulateBits", "encapsulateKey"], mandatoryUsages: ["decapsulateBits", "decapsulateKey"]},+ {name: "MLKEM768-P256", resultType: "CryptoKeyPair", usages: ["decapsulateBits", "decapsulateKey", "encapsulateBits", "encapsulateKey"], mandatoryUsages: ["decapsulateBits", "decapsulateKey"]},+ {name: "MLKEM768-X25519", resultType: "CryptoKeyPair", usages: ["decapsulateBits", "decapsulateKey", "encapsulateBits", "encapsulateKey"], mandatoryUsages: ["decapsulateBits", "decapsulateKey"]},+ {name: "MLKEM1024-P384", resultType: "CryptoKeyPair", usages: ["decapsulateBits", "decapsulateKey", "encapsulateBits", "encapsulateKey"], mandatoryUsages: ["decapsulateBits", "decapsulateKey"]},+ {name: "X25519", resultType: "CryptoKeyPair", usages: ["deriveKey", "deriveBits"], mandatoryUsages: ["deriveKey", "deriveBits"]},+ {name: "X448", resultType: "CryptoKeyPair", usages: ["deriveKey", "deriveBits"], mandatoryUsages: ["deriveKey", "deriveBits"]},+ {name: "KMAC128", resultType: CryptoKey, usages: ["sign", "verify"], mandatoryUsages: []},+ {name: "KMAC256", resultType: CryptoKey, usages: ["sign", "verify"], mandatoryUsages: []},+];++function getGenerateKeyTestVectors(algorithmNames) {+ if (algorithmNames && !Array.isArray(algorithmNames)) {+ algorithmNames = [algorithmNames];+ }++ return generateKeyTestVectors.filter(+ vector => !algorithmNames || algorithmNames.includes(vector.name));+}diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/failures.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/failures.jsindex a3258ae0dd7..8aa47b66d1a 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/failures.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/failures.js@@ -1,8 +1,3 @@-function run_test(algorithmNames) {- var subtle = crypto.subtle; // Change to test prefixed implementations-- setup({explicit_timeout: true});-// These tests check that generateKey throws an error, and that// the error is of the right type, for a wide set of incorrect parameters.//@@ -21,77 +16,83 @@ function run_test(algorithmNames) {// helper functions that generate all possible test parameters for// different situations.- var allTestVectors = [ // Parameters that should work for generateKey- {name: "AES-CTR", resultType: CryptoKey, usages: ["encrypt", "decrypt", "wrapKey", "unwrapKey"], mandatoryUsages: []},- {name: "AES-CBC", resultType: CryptoKey, usages: ["encrypt", "decrypt", "wrapKey", "unwrapKey"], mandatoryUsages: []},- {name: "AES-GCM", resultType: CryptoKey, usages: ["encrypt", "decrypt", "wrapKey", "unwrapKey"], mandatoryUsages: []},- {name: "AES-OCB", resultType: CryptoKey, usages: ["encrypt", "decrypt", "wrapKey", "unwrapKey"], mandatoryUsages: []},- {name: "ChaCha20-Poly1305", resultType: CryptoKey, usages: ["encrypt", "decrypt", "wrapKey", "unwrapKey"], mandatoryUsages: []},- {name: "AES-KW", resultType: CryptoKey, usages: ["wrapKey", "unwrapKey"], mandatoryUsages: []},- {name: "HMAC", resultType: CryptoKey, usages: ["sign", "verify"], mandatoryUsages: []},- {name: "RSASSA-PKCS1-v1_5", resultType: "CryptoKeyPair", usages: ["sign", "verify"], mandatoryUsages: ["sign"]},- {name: "RSA-PSS", resultType: "CryptoKeyPair", usages: ["sign", "verify"], mandatoryUsages: ["sign"]},- {name: "RSA-OAEP", resultType: "CryptoKeyPair", usages: ["encrypt", "decrypt", "wrapKey", "unwrapKey"], mandatoryUsages: ["decrypt", "unwrapKey"]},- {name: "ECDSA", resultType: "CryptoKeyPair", usages: ["sign", "verify"], mandatoryUsages: ["sign"]},- {name: "ECDH", resultType: "CryptoKeyPair", usages: ["deriveKey", "deriveBits"], mandatoryUsages: ["deriveKey", "deriveBits"]},- {name: "Ed25519", resultType: "CryptoKeyPair", usages: ["sign", "verify"], mandatoryUsages: ["sign"]},- {name: "Ed448", resultType: "CryptoKeyPair", usages: ["sign", "verify"], mandatoryUsages: ["sign"]},- {name: "ML-DSA-44", resultType: "CryptoKeyPair", usages: ["sign", "verify"], mandatoryUsages: ["sign"]},- {name: "ML-DSA-65", resultType: "CryptoKeyPair", usages: ["sign", "verify"], mandatoryUsages: ["sign"]},- {name: "ML-DSA-87", resultType: "CryptoKeyPair", usages: ["sign", "verify"], mandatoryUsages: ["sign"]},- {name: "ML-KEM-512", resultType: "CryptoKeyPair", usages: ["decapsulateBits", "decapsulateKey", "encapsulateBits", "encapsulateKey"], mandatoryUsages: ["decapsulateBits", "decapsulateKey"]},- {name: "ML-KEM-768", resultType: "CryptoKeyPair", usages: ["decapsulateBits", "decapsulateKey", "encapsulateBits", "encapsulateKey"], mandatoryUsages: ["decapsulateBits", "decapsulateKey"]},- {name: "ML-KEM-1024", resultType: "CryptoKeyPair", usages: ["decapsulateBits", "decapsulateKey", "encapsulateBits", "encapsulateKey"], mandatoryUsages: ["decapsulateBits", "decapsulateKey"]},- {name: "X25519", resultType: "CryptoKeyPair", usages: ["deriveKey", "deriveBits"], mandatoryUsages: ["deriveKey", "deriveBits"]},- {name: "X448", resultType: "CryptoKeyPair", usages: ["deriveKey", "deriveBits"], mandatoryUsages: ["deriveKey", "deriveBits"]},- {name: "KMAC128", resultType: CryptoKey, usages: ["sign", "verify"], mandatoryUsages: []},- {name: "KMAC256", resultType: CryptoKey, usages: ["sign", "verify"], mandatoryUsages: []},- ];+function parameterString(algorithm, extractable, usages) {+ if (typeof algorithm !== "object" && typeof algorithm !== "string") {+ alert(algorithm);+ }- var testVectors = [];- if (algorithmNames && !Array.isArray(algorithmNames)) {- algorithmNames = [algorithmNames];- };- allTestVectors.forEach(function(vector) {- if (!algorithmNames || algorithmNames.includes(vector.name)) {- testVectors.push(vector);- }- });+ var result = "(" ++ objectToString(algorithm) + ", " ++ objectToString(extractable) + ", " ++ objectToString(usages) ++ ")";+ return result;+}- function parameterString(algorithm, extractable, usages) {- if (typeof algorithm !== "object" && typeof algorithm !== "string") {- alert(algorithm);- }+// Test that a given combination of parameters results in an error,+// AND that it is the correct kind of error.+//+// Expected error is either a number, tested against the error code,+// or a string, tested against the error name.+function testError(algorithm, extractable, usages, expectedError, testTag) {+ promise_test(function(test) {+ return crypto.subtle.generateKey(algorithm, extractable, usages)+ .then(function(result) {+ assert_unreached("Operation succeeded, but should not have");+ }, function(err) {+ if (typeof expectedError === "number") {+ assert_equals(err.code, expectedError, testTag + " not supported");+ } else {+ assert_equals(err.name, expectedError, testTag + " not supported");+ }+ });+ }, testTag + ": generateKey" + parameterString(algorithm, extractable, usages));+}- var result = "(" +- objectToString(algorithm) + ", " +- objectToString(extractable) + ", " +- objectToString(usages) +- ")";- return result;- }+// Algorithm normalization happens before generateKey looks at any other+// argument, so these cases are independent of the algorithm under test and+// only need to run once for the whole suite.+function run_bad_algorithm_test() {+ // Algorithm normalization should fail with "Not supported"+ var badAlgorithmNames = [+ "AES",+ {name: "AES"},+ {name: "AES", length: 128},+ {name: "AES-CMAC", length: 128}, // Removed after CR+ {name: "AES-CFB", length: 128}, // Removed after CR+ {name: "HMAC", hash: "MD5"},+ {name: "RSA", hash: "SHA-256", modulusLength: 2048, publicExponent: new Uint8Array([1,0,1])},+ {name: "RSA-PSS", hash: "SHA", modulusLength: 2048, publicExponent: new Uint8Array([1,0,1])},+ {name: "EC", namedCurve: "P521"}+ ];+- // Test that a given combination of parameters results in an error,- // AND that it is the correct kind of error.- //- // Expected error is either a number, tested against the error code,- // or a string, tested against the error name.- function testError(algorithm, extractable, usages, expectedError, testTag) {- promise_test(function(test) {- return crypto.subtle.generateKey(algorithm, extractable, usages)- .then(function(result) {- assert_unreached("Operation succeeded, but should not have");- }, function(err) {- if (typeof expectedError === "number") {- assert_equals(err.code, expectedError, testTag + " not supported");- } else {- assert_equals(err.name, expectedError, testTag + " not supported");- }+ // Algorithm normalization failures should be found first+ // - all other parameters can be good or bad, should fail+ // due to NotSupportedError.+ badAlgorithmNames.forEach(function(algorithm) {+ allValidUsages(["decrypt", "sign", "deriveBits"], true, []) // Small search space, shouldn't matter because should fail before used+ .forEach(function(usages) {+ [false, true, "RED", 7].forEach(function(extractable){+ testError(algorithm, extractable, usages, "NotSupportedError", "Bad algorithm");});- }, testTag + ": generateKey" + parameterString(algorithm, extractable, usages));- }+ });+ });++ // Empty algorithm should fail with TypeError+ allValidUsages(["decrypt", "sign", "deriveBits"], true, []) // Small search space, shouldn't matter because should fail before used+ .forEach(function(usages) {+ [false, true, "RED", 7].forEach(function(extractable){+ testError({}, extractable, usages, "TypeError", "Empty algorithm");+ });+ });+}+++function run_test(algorithmNames) {+ var testVectors = getGenerateKeyTestVectors(algorithmNames);// Given an algorithm name, create several invalid parameters.@@ -100,13 +101,19 @@ function run_test(algorithmNames) {if (algorithmName.toUpperCase().substring(0, 3) === "AES") {// Specifier properties are name and length- [64, 127, 129, 255, 257, 512].forEach(function(length) {+ [64, 127, 129, 255, 257, 512, 128 + 2**32, 128 - 2**32].forEach(function(length) {results.push({name: algorithmName, length: length});});+ } else if (algorithmName.toUpperCase() === "HMAC") {+ [128 + 2**32, 128 - 2**32].forEach(function(length) {+ results.push({name: algorithmName, hash: "SHA-256", length: length});+ });} else if (algorithmName.toUpperCase().substring(0, 3) === "RSA") {[new Uint8Array([1]), new Uint8Array([1,0,0])].forEach(function(publicExponent) {results.push({name: algorithmName, hash: "SHA-256", modulusLength: 1024, publicExponent: publicExponent});});+ results.push({name: algorithmName, hash: "SHA-256", modulusLength: 1024 + 2 ** 32, publicExponent: new Uint8Array([1,0,1])});+ results.push({name: algorithmName, hash: "SHA-256", modulusLength: 1024 - 2 ** 32, publicExponent: new Uint8Array([1,0,1])});} else if (algorithmName.toUpperCase().substring(0, 2) === "EC") {["P-512", "Curve25519"].forEach(function(curveName) {results.push({name: algorithmName, namedCurve: curveName});@@ -117,16 +124,15 @@ function run_test(algorithmNames) {}- // Don't create an exhaustive list of all invalid usages,- // because there would usually be nearly 2**8 of them,- // way too many to test. Instead, create every singleton+ // Don't create an exhaustive list of all invalid usages because+ // there would be too many to test. Instead, create every singleton// of an illegal usage, and "poison" every valid usage// with an illegal one.function invalidUsages(validUsages, mandatoryUsages) {var results = [];var illegalUsages = [];- ["encrypt", "decrypt", "sign", "verify", "wrapKey", "unwrapKey", "deriveKey", "deriveBits"].forEach(function(usage) {+ allKeyUsages.forEach(function(usage) {if (!validUsages.includes(usage)) {illegalUsages.push(usage);}@@ -146,45 +152,9 @@ function run_test(algorithmNames) {// Now test for properly handling errors-// - Unsupported algorithm// - Bad usages for algorithm// - Bad key lengths- // Algorithm normalization should fail with "Not supported"- var badAlgorithmNames = [- "AES",- {name: "AES"},- {name: "AES", length: 128},- {name: "AES-CMAC", length: 128}, // Removed after CR- {name: "AES-CFB", length: 128}, // Removed after CR- {name: "HMAC", hash: "MD5"},- {name: "RSA", hash: "SHA-256", modulusLength: 2048, publicExponent: new Uint8Array([1,0,1])},- {name: "RSA-PSS", hash: "SHA", modulusLength: 2048, publicExponent: new Uint8Array([1,0,1])},- {name: "EC", namedCurve: "P521"}- ];--- // Algorithm normalization failures should be found first- // - all other parameters can be good or bad, should fail- // due to NotSupportedError.- badAlgorithmNames.forEach(function(algorithm) {- allValidUsages(["decrypt", "sign", "deriveBits"], true, []) // Small search space, shouldn't matter because should fail before used- .forEach(function(usages) {- [false, true, "RED", 7].forEach(function(extractable){- testError(algorithm, extractable, usages, "NotSupportedError", "Bad algorithm");- });- });- });-- // Empty algorithm should fail with TypeError- allValidUsages(["decrypt", "sign", "deriveBits"], true, []) // Small search space, shouldn't matter because should fail before used- .forEach(function(usages) {- [false, true, "RED", 7].forEach(function(extractable){- testError({}, extractable, usages, "TypeError", "Empty algorithm");- });- });--// Algorithms normalize okay, but usages bad (though not empty).// It shouldn't matter what other extractable is. Should fail// due to SyntaxError@@ -213,6 +183,9 @@ function run_test(algorithmNames) {[false, true].forEach(function(extractable) {if (name.substring(0,2) === "EC") {testError(algorithm, extractable, usages, "NotSupportedError", "Bad algorithm property");+ } else if (name.substring(0,3) === "RSA" && (algorithm.modulusLength < 0 || algorithm.modulusLength > 2**32) ||+ (name.substring(0,3) === "AES" || name === "HMAC") && (algorithm.length < 0 || algorithm.length > 2**32)) {+ testError(algorithm, extractable, usages, "TypeError", "Bad algorithm property");} else {testError(algorithm, extractable, usages, "OperationError", "Bad algorithm property");}diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/failures_AES-KW.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/failures_AES-KW.https.any.htmlindex 72af5ede0e4..edc6fe9f49c 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/failures_AES-KW.https.any.html+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/failures_AES-KW.https.any.html@@ -12,6 +12,7 @@ self.GLOBAL = {<script src="../../resources/testharness.js"></script><script src="../../resources/testharnessreport.js"></script><script src="../util/helpers.js"></script>+<script src="algorithm_registry.js"></script><script src="failures.js"></script><div id=log></div><script src="../../WebCryptoAPI/generateKey/failures_AES-KW.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/failures_AES-KW.https.any.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/failures_AES-KW.https.any.jsindex 40c199b29a5..138565e59ac 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/failures_AES-KW.https.any.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/failures_AES-KW.https.any.js@@ -1,5 +1,6 @@// META: title=WebCryptoAPI: generateKey() for Failures// META: timeout=long// META: script=../util/helpers.js+// META: script=algorithm_registry.js// META: script=failures.jsrun_test(["AES-KW"]);diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/failures_ECDH.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/failures_ECDH.https.any.htmlindex 46faf0f2100..2b7df27a512 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/failures_ECDH.https.any.html+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/failures_ECDH.https.any.html@@ -12,6 +12,7 @@ self.GLOBAL = {<script src="../../resources/testharness.js"></script><script src="../../resources/testharnessreport.js"></script><script src="../util/helpers.js"></script>+<script src="algorithm_registry.js"></script><script src="failures.js"></script><div id=log></div><script src="../../WebCryptoAPI/generateKey/failures_ECDH.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/failures_ECDH.https.any.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/failures_ECDH.https.any.jsindex e522254d743..f61d27e995c 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/failures_ECDH.https.any.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/failures_ECDH.https.any.js@@ -1,5 +1,6 @@// META: title=WebCryptoAPI: generateKey() for Failures// META: timeout=long// META: script=../util/helpers.js+// META: script=algorithm_registry.js// META: script=failures.jsrun_test(["ECDH"]);diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/failures_Ed448.tentative.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/failures_Ed448.tentative.https.any.htmldeleted file mode 100644index 22a7b1af176..00000000000--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/failures_Ed448.tentative.https.any.html+++ /dev/null@@ -1,17 +0,0 @@-<!doctype html>-<meta charset=utf-8>-<title>WebCryptoAPI: generateKey() for Failures</title>-<meta name="timeout" content="long">-<script>-self.GLOBAL = {- isWindow: function() { return true; },- isWorker: function() { return false; },- isShadowRealm: function() { return false; },-};-</script>-<script src="../../resources/testharness.js"></script>-<script src="../../resources/testharnessreport.js"></script>-<script src="../util/helpers.js"></script>-<script src="failures.js"></script>-<div id=log></div>-<script src="../../WebCryptoAPI/generateKey/failures_Ed448.tentative.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/failures_Ed448.tentative.https.any.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/failures_Ed448.tentative.https.any.jsdeleted file mode 100644index b25dcd14909..00000000000--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/failures_Ed448.tentative.https.any.js+++ /dev/null@@ -1,5 +0,0 @@-// META: title=WebCryptoAPI: generateKey() for Failures-// META: timeout=long-// META: script=../util/helpers.js-// META: script=failures.js-run_test(["Ed448"]);diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/failures_ML-DSA.tentative.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/failures_ML-DSA.tentative.https.any.htmldeleted file mode 100644index 52f7e6170c4..00000000000--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/failures_ML-DSA.tentative.https.any.html+++ /dev/null@@ -1,17 +0,0 @@-<!doctype html>-<meta charset=utf-8>-<title>WebCryptoAPI: generateKey() for Failures</title>-<meta name="timeout" content="long">-<script>-self.GLOBAL = {- isWindow: function() { return true; },- isWorker: function() { return false; },- isShadowRealm: function() { return false; },-};-</script>-<script src="../../resources/testharness.js"></script>-<script src="../../resources/testharnessreport.js"></script>-<script src="../util/helpers.js"></script>-<script src="failures.js"></script>-<div id=log></div>-<script src="../../WebCryptoAPI/generateKey/failures_ML-DSA.tentative.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/failures_ML-DSA.tentative.https.any.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/failures_ML-DSA.tentative.https.any.jsdeleted file mode 100644index 91e20bc6148..00000000000--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/failures_ML-DSA.tentative.https.any.js+++ /dev/null@@ -1,5 +0,0 @@-// META: title=WebCryptoAPI: generateKey() for Failures-// META: timeout=long-// META: script=../util/helpers.js-// META: script=failures.js-run_test(["ML-DSA-44", "ML-DSA-65", "ML-DSA-87"]);diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/failures_X448.tentative.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/failures_X448.tentative.https.any.htmldeleted file mode 100644index 2c3f5cfe306..00000000000--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/failures_X448.tentative.https.any.html+++ /dev/null@@ -1,17 +0,0 @@-<!doctype html>-<meta charset=utf-8>-<title>WebCryptoAPI: generateKey() for Failures</title>-<meta name="timeout" content="long">-<script>-self.GLOBAL = {- isWindow: function() { return true; },- isWorker: function() { return false; },- isShadowRealm: function() { return false; },-};-</script>-<script src="../../resources/testharness.js"></script>-<script src="../../resources/testharnessreport.js"></script>-<script src="../util/helpers.js"></script>-<script src="failures.js"></script>-<div id=log></div>-<script src="../../WebCryptoAPI/generateKey/failures_X448.tentative.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/failures_X448.tentative.https.any.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/failures_X448.tentative.https.any.jsdeleted file mode 100644index 455e260d1fe..00000000000--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/failures_X448.tentative.https.any.js+++ /dev/null@@ -1,5 +0,0 @@-// META: title=WebCryptoAPI: generateKey() for Failures-// META: timeout=long-// META: script=../util/helpers.js-// META: script=failures.js-run_test(["X448"]);diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/failures_kmac.tentative.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/failures_kmac.tentative.https.any.htmldeleted file mode 100644index a463ebdbbd1..00000000000--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/failures_kmac.tentative.https.any.html+++ /dev/null@@ -1,17 +0,0 @@-<!doctype html>-<meta charset=utf-8>-<title>WebCryptoAPI: generateKey() for Failures</title>-<meta name="timeout" content="long">-<script>-self.GLOBAL = {- isWindow: function() { return true; },- isWorker: function() { return false; },- isShadowRealm: function() { return false; },-};-</script>-<script src="../../resources/testharness.js"></script>-<script src="../../resources/testharnessreport.js"></script>-<script src="../util/helpers.js"></script>-<script src="failures.js"></script>-<div id=log></div>-<script src="../../WebCryptoAPI/generateKey/failures_kmac.tentative.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/failures_kmac.tentative.https.any.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/failures_kmac.tentative.https.any.jsdeleted file mode 100644index f906038c7d3..00000000000--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/failures_kmac.tentative.https.any.js+++ /dev/null@@ -1,5 +0,0 @@-// META: title=WebCryptoAPI: generateKey() for Failures-// META: timeout=long-// META: script=../util/helpers.js-// META: script=failures.js-run_test(["KMAC128", "KMAC256"]);diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/successes.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/successes.jsindex c72384b7b93..894da971d89 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/successes.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/successes.js@@ -2,8 +2,6 @@function run_test(algorithmNames, slowTest) {var subtle = crypto.subtle; // Change to test prefixed implementations- setup({explicit_timeout: true});-// These tests check that generateKey successfully creates keys// when provided any of a wide set of correct parameters// and that they can be exported afterwards.@@ -17,42 +15,7 @@ function run_test(algorithmNames, slowTest) {// helper functions that generate all possible test parameters for// different situations.- var allTestVectors = [ // Parameters that should work for generateKey- {name: "AES-CTR", resultType: CryptoKey, usages: ["encrypt", "decrypt", "wrapKey", "unwrapKey"], mandatoryUsages: []},- {name: "AES-CBC", resultType: CryptoKey, usages: ["encrypt", "decrypt", "wrapKey", "unwrapKey"], mandatoryUsages: []},- {name: "AES-GCM", resultType: CryptoKey, usages: ["encrypt", "decrypt", "wrapKey", "unwrapKey"], mandatoryUsages: []},- {name: "AES-OCB", resultType: CryptoKey, usages: ["encrypt", "decrypt", "wrapKey", "unwrapKey"], mandatoryUsages: []},- {name: "ChaCha20-Poly1305", resultType: CryptoKey, usages: ["encrypt", "decrypt", "wrapKey", "unwrapKey"], mandatoryUsages: []},- {name: "AES-KW", resultType: CryptoKey, usages: ["wrapKey", "unwrapKey"], mandatoryUsages: []},- {name: "HMAC", resultType: CryptoKey, usages: ["sign", "verify"], mandatoryUsages: []},- {name: "RSASSA-PKCS1-v1_5", resultType: "CryptoKeyPair", usages: ["sign", "verify"], mandatoryUsages: ["sign"]},- {name: "RSA-PSS", resultType: "CryptoKeyPair", usages: ["sign", "verify"], mandatoryUsages: ["sign"]},- {name: "RSA-OAEP", resultType: "CryptoKeyPair", usages: ["encrypt", "decrypt", "wrapKey", "unwrapKey"], mandatoryUsages: ["decrypt", "unwrapKey"]},- {name: "ECDSA", resultType: "CryptoKeyPair", usages: ["sign", "verify"], mandatoryUsages: ["sign"]},- {name: "ECDH", resultType: "CryptoKeyPair", usages: ["deriveKey", "deriveBits"], mandatoryUsages: ["deriveKey", "deriveBits"]},- {name: "Ed25519", resultType: "CryptoKeyPair", usages: ["sign", "verify"], mandatoryUsages: ["sign"]},- {name: "Ed448", resultType: "CryptoKeyPair", usages: ["sign", "verify"], mandatoryUsages: ["sign"]},- {name: "ML-DSA-44", resultType: "CryptoKeyPair", usages: ["sign", "verify"], mandatoryUsages: ["sign"]},- {name: "ML-DSA-65", resultType: "CryptoKeyPair", usages: ["sign", "verify"], mandatoryUsages: ["sign"]},- {name: "ML-DSA-87", resultType: "CryptoKeyPair", usages: ["sign", "verify"], mandatoryUsages: ["sign"]},- {name: "ML-KEM-512", resultType: "CryptoKeyPair", usages: ["decapsulateBits", "decapsulateKey", "encapsulateBits", "encapsulateKey"], mandatoryUsages: ["decapsulateBits", "decapsulateKey"]},- {name: "ML-KEM-768", resultType: "CryptoKeyPair", usages: ["decapsulateBits", "decapsulateKey", "encapsulateBits", "encapsulateKey"], mandatoryUsages: ["decapsulateBits", "decapsulateKey"]},- {name: "ML-KEM-1024", resultType: "CryptoKeyPair", usages: ["decapsulateBits", "decapsulateKey", "encapsulateBits", "encapsulateKey"], mandatoryUsages: ["decapsulateBits", "decapsulateKey"]},- {name: "X25519", resultType: "CryptoKeyPair", usages: ["deriveKey", "deriveBits"], mandatoryUsages: ["deriveKey", "deriveBits"]},- {name: "X448", resultType: "CryptoKeyPair", usages: ["deriveKey", "deriveBits"], mandatoryUsages: ["deriveKey", "deriveBits"]},- {name: "KMAC128", resultType: CryptoKey, usages: ["sign", "verify"], mandatoryUsages: []},- {name: "KMAC256", resultType: CryptoKey, usages: ["sign", "verify"], mandatoryUsages: []},- ];-- var testVectors = [];- if (algorithmNames && !Array.isArray(algorithmNames)) {- algorithmNames = [algorithmNames];- };- allTestVectors.forEach(function(vector) {- if (!algorithmNames || algorithmNames.includes(vector.name)) {- testVectors.push(vector);- }- });+ var testVectors = getGenerateKeyTestVectors(algorithmNames);function parameterString(algorithm, extractable, usages) {var result = "(" +@@ -84,22 +47,22 @@ function run_test(algorithmNames, slowTest) {assert_unreached("generateKey threw an unexpected error: " + err.toString());}).then(async function (result) {- // TODO: remove this block to enable ML-KEM JWK when its definition is done in IETF JOSE WG- if (result.publicKey?.algorithm.name.startsWith('ML-KEM')) {- const promises = [- subtle.exportKey('spki', result.publicKey),- extractable ? subtle.exportKey('pkcs8', result.privateKey) : undefined,- subtle.exportKey('raw-public', result.publicKey),- ];- if (extractable)- promises.push(subtle.exportKey('raw-seed', result.privateKey));- } else if (resultType === "CryptoKeyPair") {- const promises = [- subtle.exportKey('jwk', result.publicKey),- extractable ? subtle.exportKey('jwk', result.privateKey) : undefined,- subtle.exportKey('spki', result.publicKey),- extractable ? subtle.exportKey('pkcs8', result.privateKey) : undefined,- ];+ if (resultType === "CryptoKeyPair") {+ // TODO: enable ML-KEM JWK when its definition is done in IETF JOSE WG.+ const isMlKem = result.publicKey.algorithm.name.startsWith('ML-KEM');+ const isHybridKem = result.publicKey.algorithm.name.startsWith('MLKEM');+ const promises = [];++ if (!isMlKem) {+ promises.push(subtle.exportKey('jwk', result.publicKey));+ promises.push(extractable ? subtle.exportKey('jwk', result.privateKey) : undefined);+ }++ if (!isHybridKem) {+ promises.push(subtle.exportKey('spki', result.publicKey));+ if (extractable)+ promises.push(subtle.exportKey('pkcs8', result.privateKey));+ }switch (result.publicKey.algorithm.name.substring(0, 2)) {case 'ML':@@ -126,7 +89,7 @@ function run_test(algorithmNames, slowTest) {const [jwkPub, jwkPriv] = await Promise.all(promises);- if (extractable) {+ if (extractable && !isMlKem) {// Test that the JWK public key is a superset of the JWK private key.for (const [prop, value] of Object.entries(jwkPub)) {if (prop !== 'key_ops') {@@ -146,6 +109,27 @@ function run_test(algorithmNames, slowTest) {assert_unreached("exportKey threw an unexpected error: " + err.toString());})}, testTag + ": generateKey" + parameterString(algorithm, extractable, usages));++ // Special case for ECDH and ECDSA: check that the generated key length is consistent.+ // Particularly for P-521, there is a high risk of the generated key being one byte short+ // if the implementation isn't careful.+ if (algorithm.namedCurve && extractable) {+ promise_test(async function(test) {+ // We run about 20 variants of this test, times 10 key generations below,+ // so this should have a decent chance of catching issues.+ await Promise.all(Array.from({ length: 10 }).map(async () => {+ const { privateKey, publicKey } = await subtle.generateKey(algorithm, extractable, usages);+ const [jwkPub, jwkPriv] = await Promise.all([+ subtle.exportKey('jwk', publicKey),+ subtle.exportKey('jwk', privateKey),+ ]);+ const expectedLength = Math.ceil(Math.ceil(parseInt(algorithm.namedCurve.substring(2)) / 8) * 4/3);+ assert_equals(jwkPub.x.length, expectedLength, "Public key value x has correct length");+ assert_equals(jwkPub.y.length, expectedLength, "Public key value y has correct length");+ assert_equals(jwkPriv.d.length, expectedLength, "Private key value d has correct length");+ }));+ }, testTag + ": generateKey" + parameterString(algorithm, extractable, usages) + " produces consistent length key");+ }}// Test all valid sets of parameters for successfuldiff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/successes_AES-KW.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/successes_AES-KW.https.any.htmlindex 19ff9ff061f..d7521d8f291 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/successes_AES-KW.https.any.html+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/successes_AES-KW.https.any.html@@ -13,6 +13,7 @@ self.GLOBAL = {<script src="../../resources/testharnessreport.js"></script><script src="../util/helpers.js"></script><script src="../../common/subset-tests.js"></script>+<script src="algorithm_registry.js"></script><script src="successes.js"></script><div id=log></div><script src="../../WebCryptoAPI/generateKey/successes_AES-KW.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/successes_AES-KW.https.any.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/successes_AES-KW.https.any.jsindex dbc040fdc5c..e55b24745c2 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/successes_AES-KW.https.any.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/successes_AES-KW.https.any.js@@ -2,5 +2,6 @@// META: timeout=long// META: script=../util/helpers.js// META: script=/common/subset-tests.js+// META: script=algorithm_registry.js// META: script=successes.jsrun_test(["AES-KW"]);diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/successes_ECDH.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/successes_ECDH.https.any.htmlindex 02b1fb5441f..4dcab2d3712 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/successes_ECDH.https.any.html+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/successes_ECDH.https.any.html@@ -13,6 +13,7 @@ self.GLOBAL = {<script src="../../resources/testharnessreport.js"></script><script src="../util/helpers.js"></script><script src="../../common/subset-tests.js"></script>+<script src="algorithm_registry.js"></script><script src="successes.js"></script><div id=log></div><script src="../../WebCryptoAPI/generateKey/successes_ECDH.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/successes_ECDH.https.any.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/successes_ECDH.https.any.jsindex e9dee526149..9ec44a35060 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/successes_ECDH.https.any.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/successes_ECDH.https.any.js@@ -2,5 +2,6 @@// META: timeout=long// META: script=../util/helpers.js// META: script=/common/subset-tests.js+// META: script=algorithm_registry.js// META: script=successes.jsrun_test(["ECDH"]);diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/successes_Ed448.tentative.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/successes_Ed448.tentative.https.any.htmldeleted file mode 100644index 884961e25b0..00000000000--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/successes_Ed448.tentative.https.any.html+++ /dev/null@@ -1,18 +0,0 @@-<!doctype html>-<meta charset=utf-8>-<title>WebCryptoAPI: generateKey() Successful Calls</title>-<meta name="timeout" content="long">-<script>-self.GLOBAL = {- isWindow: function() { return true; },- isWorker: function() { return false; },- isShadowRealm: function() { return false; },-};-</script>-<script src="../../resources/testharness.js"></script>-<script src="../../resources/testharnessreport.js"></script>-<script src="../util/helpers.js"></script>-<script src="../../common/subset-tests.js"></script>-<script src="successes.js"></script>-<div id=log></div>-<script src="../../WebCryptoAPI/generateKey/successes_Ed448.tentative.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/successes_HMAC.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/successes_HMAC.https.any.htmlindex 1c31cb4311c..6adb2098f24 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/successes_HMAC.https.any.html+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/successes_HMAC.https.any.html@@ -13,6 +13,7 @@ self.GLOBAL = {<script src="../../resources/testharnessreport.js"></script><script src="../util/helpers.js"></script><script src="../../common/subset-tests.js"></script>+<script src="algorithm_registry.js"></script><script src="successes.js"></script><div id=log></div><script src="../../WebCryptoAPI/generateKey/successes_HMAC.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/successes_HMAC.https.any.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/successes_HMAC.https.any.jsindex 18e0b271226..59fab83b08b 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/successes_HMAC.https.any.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/successes_HMAC.https.any.js@@ -2,5 +2,6 @@// META: timeout=long// META: script=../util/helpers.js// META: script=/common/subset-tests.js+// META: script=algorithm_registry.js// META: script=successes.jsrun_test(["HMAC"]);diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/successes_ML-DSA.tentative.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/successes_ML-DSA.tentative.https.any.htmldeleted file mode 100644index ff83011ba5b..00000000000--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/successes_ML-DSA.tentative.https.any.html+++ /dev/null@@ -1,18 +0,0 @@-<!doctype html>-<meta charset=utf-8>-<title>WebCryptoAPI: generateKey() Successful Calls</title>-<meta name="timeout" content="long">-<script>-self.GLOBAL = {- isWindow: function() { return true; },- isWorker: function() { return false; },- isShadowRealm: function() { return false; },-};-</script>-<script src="../../resources/testharness.js"></script>-<script src="../../resources/testharnessreport.js"></script>-<script src="../util/helpers.js"></script>-<script src="../../common/subset-tests.js"></script>-<script src="successes.js"></script>-<div id=log></div>-<script src="../../WebCryptoAPI/generateKey/successes_ML-DSA.tentative.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/successes_ML-KEM.tentative.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/successes_ML-KEM.tentative.https.any.htmldeleted file mode 100644index 43067dcb049..00000000000--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/successes_ML-KEM.tentative.https.any.html+++ /dev/null@@ -1,18 +0,0 @@-<!doctype html>-<meta charset=utf-8>-<title>WebCryptoAPI: generateKey() Successful Calls</title>-<meta name="timeout" content="long">-<script>-self.GLOBAL = {- isWindow: function() { return true; },- isWorker: function() { return false; },- isShadowRealm: function() { return false; },-};-</script>-<script src="../../resources/testharness.js"></script>-<script src="../../resources/testharnessreport.js"></script>-<script src="../util/helpers.js"></script>-<script src="../../common/subset-tests.js"></script>-<script src="successes.js"></script>-<div id=log></div>-<script src="../../WebCryptoAPI/generateKey/successes_ML-KEM.tentative.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/successes_X448.tentative.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/successes_X448.tentative.https.any.htmldeleted file mode 100644index b9fd692ca89..00000000000--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/successes_X448.tentative.https.any.html+++ /dev/null@@ -1,18 +0,0 @@-<!doctype html>-<meta charset=utf-8>-<title>WebCryptoAPI: generateKey() Successful Calls</title>-<meta name="timeout" content="long">-<script>-self.GLOBAL = {- isWindow: function() { return true; },- isWorker: function() { return false; },- isShadowRealm: function() { return false; },-};-</script>-<script src="../../resources/testharness.js"></script>-<script src="../../resources/testharnessreport.js"></script>-<script src="../util/helpers.js"></script>-<script src="../../common/subset-tests.js"></script>-<script src="successes.js"></script>-<div id=log></div>-<script src="../../WebCryptoAPI/generateKey/successes_X448.tentative.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/successes_kmac.tentative.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/successes_kmac.tentative.https.any.htmldeleted file mode 100644index 15125eba871..00000000000--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/successes_kmac.tentative.https.any.html+++ /dev/null@@ -1,18 +0,0 @@-<!doctype html>-<meta charset=utf-8>-<title>WebCryptoAPI: generateKey() Successful Calls</title>-<meta name="timeout" content="long">-<script>-self.GLOBAL = {- isWindow: function() { return true; },- isWorker: function() { return false; },- isShadowRealm: function() { return false; },-};-</script>-<script src="../../resources/testharness.js"></script>-<script src="../../resources/testharnessreport.js"></script>-<script src="../util/helpers.js"></script>-<script src="../../common/subset-tests.js"></script>-<script src="successes.js"></script>-<div id=log></div>-<script src="../../WebCryptoAPI/generateKey/successes_kmac.tentative.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/historical.any.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/historical.any.jsdeleted file mode 100644index 67ca9d9767d..00000000000--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/historical.any.js+++ /dev/null@@ -1,18 +0,0 @@-// META: global=window,dedicatedworker,sharedworker-//-// Do not run this in a service worker as that's always in a secure context--test(() => {- assert_equals(self.crypto.subtle, undefined);- assert_false("subtle" in self.crypto);-}, "Non-secure context window does not have access to crypto.subtle");--test(() => {- assert_equals(self.SubtleCrypto, undefined);- assert_false("SubtleCrypto" in self);-}, "Non-secure context window does not have access to SubtleCrypto")--test(() => {- assert_equals(self.CryptoKey, undefined);- assert_false("CryptoKey" in self);-}, "Non-secure context window does not have access to CryptoKey")diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/KMAC_importKey.tentative.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/KMAC_importKey.tentative.https.any.htmldeleted file mode 100644index 50add743f6c..00000000000--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/KMAC_importKey.tentative.https.any.html+++ /dev/null@@ -1,17 +0,0 @@-<!doctype html>-<meta charset=utf-8>-<title>WebCryptoAPI: importKey() for symmetric keys</title>-<meta name="timeout" content="long">-<script>-self.GLOBAL = {- isWindow: function() { return true; },- isWorker: function() { return false; },- isShadowRealm: function() { return false; },-};-</script>-<script src="../../resources/testharness.js"></script>-<script src="../../resources/testharnessreport.js"></script>-<script src="../util/helpers.js"></script>-<script src="symmetric_importKey.js"></script>-<div id=log></div>-<script src="../../WebCryptoAPI/import_export/KMAC_importKey.tentative.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/ML-DSA_importKey_fixtures.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/ML-DSA_importKey_fixtures.jsdeleted file mode 100644index ef1f5a1f51a..00000000000--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/ML-DSA_importKey_fixtures.js+++ /dev/null@@ -1,449 +0,0 @@-var keyData = {- 'ML-DSA-44': {- privateUsages: ['sign'],- publicUsages: ['verify'],- pkcs8: new Uint8Array([- 48, 52, 2, 1, 0, 48, 11, 6, 9, 96, 134, 72, 1, 101, 3, 4, 3, 17, 4, 34,- 128, 32, 153, 21, 95, 99, 48, 150, 218, 124, 190, 8, 122, 137, 72, 184,- 79, 118, 123, 16, 249, 1, 200, 35, 194, 64, 177, 221, 43, 200, 112, 5,- 201, 62,- ]),- spki: new Uint8Array([- 48, 130, 5, 50, 48, 11, 6, 9, 96, 134, 72, 1, 101, 3, 4, 3, 17, 3, 130, 5,- 33, 0, 85, 152, 213, 68, 198, 20, 177, 84, 200, 188, 33, 104, 36, 161,- 193, 127, 226, 151, 48, 107, 122, 191, 89, 86, 188, 3, 245, 199, 18, 79,- 168, 192, 218, 218, 223, 227, 84, 133, 41, 187, 9, 183, 14, 222, 155, 137,- 84, 111, 138, 97, 234, 152, 52, 15, 163, 47, 227, 218, 19, 20, 229, 93,- 99, 252, 155, 213, 30, 241, 158, 211, 213, 191, 155, 73, 211, 145, 59,- 194, 75, 140, 3, 161, 149, 139, 48, 172, 155, 172, 120, 234, 142, 79, 78,- 116, 215, 184, 50, 182, 162, 192, 93, 221, 179, 216, 70, 186, 92, 93, 51,- 190, 61, 173, 105, 206, 9, 208, 52, 54, 208, 252, 115, 176, 146, 118, 23,- 0, 5, 41, 151, 121, 241, 246, 193, 206, 212, 160, 181, 7, 99, 220, 78, 96,- 123, 142, 35, 107, 37, 218, 138, 139, 228, 207, 166, 132, 87, 36, 116,- 251, 174, 10, 41, 196, 171, 26, 212, 90, 213, 223, 141, 87, 232, 59, 46,- 173, 16, 247, 173, 4, 219, 165, 234, 8, 217, 233, 163, 13, 10, 160, 22,- 87, 232, 2, 9, 92, 177, 35, 67, 55, 104, 51, 204, 231, 81, 209, 62, 31,- 117, 56, 141, 78, 109, 148, 118, 191, 93, 193, 59, 30, 88, 237, 19, 169,- 14, 11, 150, 102, 215, 144, 69, 246, 32, 159, 110, 49, 75, 78, 225, 121,- 184, 206, 234, 126, 171, 164, 43, 237, 244, 63, 83, 70, 136, 213, 244,- 121, 184, 34, 201, 249, 95, 64, 165, 99, 14, 195, 231, 18, 121, 20, 156,- 80, 231, 133, 197, 0, 94, 195, 22, 251, 255, 174, 213, 103, 75, 88, 58,- 138, 66, 37, 85, 162, 15, 242, 29, 49, 147, 191, 163, 170, 109, 195, 22,- 63, 197, 149, 117, 100, 36, 81, 115, 203, 126, 62, 86, 103, 193, 182, 69,- 238, 233, 162, 62, 248, 132, 158, 212, 208, 187, 127, 212, 198, 169, 245,- 26, 153, 28, 207, 85, 65, 145, 200, 23, 196, 38, 64, 49, 54, 233, 185, 72,- 156, 86, 230, 127, 152, 108, 184, 240, 109, 8, 103, 228, 206, 142, 73, 74,- 214, 52, 182, 203, 82, 201, 175, 188, 111, 42, 232, 8, 177, 131, 47, 237,- 92, 120, 210, 124, 48, 185, 215, 137, 36, 70, 162, 164, 119, 0, 155, 20,- 57, 33, 27, 220, 77, 254, 233, 190, 106, 135, 21, 194, 57, 238, 95, 162,- 78, 164, 33, 210, 215, 43, 100, 96, 232, 87, 19, 43, 65, 240, 183, 17,- 131, 247, 97, 241, 7, 111, 159, 40, 252, 45, 228, 76, 71, 46, 85, 181, 54,- 41, 135, 162, 144, 227, 128, 121, 173, 207, 119, 54, 19, 197, 23, 231,- 176, 125, 190, 32, 76, 60, 34, 24, 160, 42, 73, 190, 124, 99, 5, 9, 214,- 6, 220, 177, 206, 79, 222, 10, 142, 250, 63, 179, 67, 21, 159, 57, 126,- 239, 28, 238, 240, 107, 79, 185, 174, 232, 168, 146, 128, 229, 119, 19,- 21, 33, 239, 193, 42, 178, 152, 124, 24, 203, 131, 193, 93, 162, 2, 208,- 231, 20, 203, 232, 47, 54, 114, 255, 236, 97, 99, 156, 15, 160, 75, 60,- 111, 59, 35, 25, 230, 43, 91, 170, 161, 74, 70, 179, 180, 251, 71, 197,- 240, 104, 42, 39, 202, 206, 12, 115, 249, 138, 55, 252, 216, 61, 185, 121,- 76, 137, 172, 166, 88, 92, 130, 18, 52, 67, 13, 187, 49, 147, 212, 77, 74,- 56, 59, 123, 99, 205, 36, 137, 96, 111, 148, 121, 157, 2, 83, 246, 86,- 156, 152, 98, 172, 77, 244, 214, 225, 184, 240, 121, 144, 56, 213, 161,- 43, 67, 4, 161, 104, 202, 91, 134, 247, 108, 24, 46, 187, 63, 216, 50,- 125, 120, 17, 216, 22, 228, 156, 253, 7, 180, 15, 130, 180, 72, 71, 169,- 3, 236, 247, 11, 170, 32, 76, 236, 225, 133, 250, 20, 235, 200, 143, 89,- 25, 158, 49, 158, 164, 213, 221, 81, 120, 241, 150, 210, 19, 79, 165, 24,- 35, 170, 182, 242, 255, 143, 171, 148, 140, 41, 207, 186, 98, 224, 16,- 152, 224, 38, 110, 175, 169, 111, 132, 201, 178, 114, 25, 196, 50, 149,- 158, 193, 180, 101, 183, 92, 109, 131, 102, 119, 123, 78, 107, 223, 4, 1,- 206, 140, 130, 237, 205, 36, 18, 180, 197, 154, 26, 236, 140, 173, 230,- 101, 35, 189, 121, 104, 21, 75, 81, 224, 186, 212, 81, 107, 66, 244, 235,- 64, 90, 206, 39, 44, 43, 162, 187, 63, 229, 217, 154, 185, 157, 24, 125,- 252, 91, 136, 59, 47, 182, 200, 73, 19, 137, 132, 81, 16, 234, 227, 210,- 32, 16, 160, 188, 250, 27, 190, 164, 53, 244, 219, 199, 177, 146, 117, 50,- 99, 72, 235, 37, 154, 72, 51, 203, 61, 39, 230, 34, 132, 117, 217, 167,- 201, 42, 17, 76, 72, 103, 172, 93, 169, 29, 76, 88, 178, 226, 32, 53, 190,- 60, 210, 132, 113, 198, 26, 70, 179, 47, 34, 184, 88, 178, 208, 1, 196,- 89, 136, 167, 33, 38, 9, 255, 89, 202, 27, 93, 229, 100, 192, 24, 234,- 200, 186, 125, 231, 212, 188, 11, 29, 51, 189, 70, 147, 176, 231, 81, 16,- 114, 152, 159, 21, 124, 185, 208, 50, 74, 211, 113, 207, 35, 54, 173, 205,- 133, 52, 167, 199, 87, 158, 120, 33, 204, 163, 146, 233, 21, 61, 28, 102,- 48, 232, 184, 15, 219, 238, 240, 215, 222, 239, 3, 110, 180, 95, 103, 147,- 236, 10, 57, 195, 159, 231, 50, 92, 145, 165, 44, 204, 121, 187, 9, 210,- 80, 86, 251, 169, 132, 236, 248, 23, 207, 222, 227, 13, 53, 1, 88, 69,- 105, 13, 238, 202, 251, 194, 245, 14, 38, 1, 245, 157, 212, 162, 182, 217,- 230, 115, 139, 175, 219, 199, 74, 124, 186, 158, 3, 220, 87, 220, 177, 85,- 13, 58, 168, 223, 6, 238, 156, 80, 121, 44, 166, 176, 0, 48, 98, 70, 93,- 78, 50, 192, 16, 186, 2, 233, 105, 105, 120, 195, 17, 100, 141, 214, 158,- 144, 63, 4, 88, 190, 101, 209, 55, 119, 46, 128, 117, 225, 121, 204, 195,- 19, 61, 170, 116, 251, 225, 230, 28, 27, 249, 84, 195, 224, 190, 60, 212,- 83, 3, 148, 204, 4, 103, 50, 233, 175, 207, 47, 51, 216, 79, 251, 150, 81,- 171, 7, 145, 55, 188, 187, 217, 200, 155, 246, 85, 42, 123, 18, 112, 192,- 116, 163, 40, 187, 132, 192, 210, 188, 106, 117, 217, 185, 183, 202, 33,- 11, 205, 10, 61, 52, 15, 66, 131, 121, 112, 26, 96, 166, 241, 1, 68, 206,- 80, 92, 132, 83, 89, 126, 135, 157, 4, 202, 16, 5, 131, 112, 62, 56, 234,- 176, 213, 119, 205, 203, 17, 106, 156, 117, 251, 135, 21, 73, 219, 238, 3,- 88, 21, 71, 136, 118, 0, 7, 106, 151, 200, 221, 179, 206, 50, 198, 27,- 118, 181, 27, 85, 35, 248, 44, 57, 15, 221, 97, 121, 4, 167, 111, 182,- 207, 195, 52, 134, 195, 128, 173, 111, 98, 152, 29, 138, 197, 175, 171,- 247, 194, 20, 134, 209, 232, 94, 17, 203, 139, 30, 237, 187, 243, 16, 180,- 43, 105, 236, 66, 175, 170, 139, 24, 99, 28, 225, 141, 96, 250, 119, 0,- 111, 212, 34, 217, 42, 134, 88, 78, 76, 126, 169, 168, 59, 154, 93, 54,- 43, 161, 29, 111, 124, 59, 225, 52, 86, 147, 38, 151, 161, 36, 119, 204,- 164, 121, 46, 186, 65, 84, 70, 38, 15, 203, 48, 168, 235, 231, 30, 55, 95,- 36, 10, 20, 166, 109, 8, 18, 109, 251, 213, 82, 142, 240, 49, 249, 180,- 78, 69,- ]),- 'raw-public': hexStringToUint8Array(- '5598d544c614b154c8bc216824a1c17fe297306b7abf5956bc03f5c7124fa8c0dadadfe3548529bb09b70ede9b89546f8a61ea98340fa32fe3da1314e55d63fc9bd51ef19ed3d5bf9b49d3913bc24b8c03a1958b30ac9bac78ea8e4f4e74d7b832b6a2c05dddb3d846ba5c5d33be3dad69ce09d03436d0fc73b09276170005299779f1f6c1ced4a0b50763dc4e607b8e236b25da8a8be4cfa684572474fbae0a29c4ab1ad45ad5df8d57e83b2ead10f7ad04dba5ea08d9e9a30d0aa01657e802095cb12343376833cce751d13e1f75388d4e6d9476bf5dc13b1e58ed13a90e0b9666d79045f6209f6e314b4ee179b8ceea7eaba42bedf43f534688d5f479b822c9f95f40a5630ec3e71279149c50e785c5005ec316fbffaed5674b583a8a422555a20ff21d3193bfa3aa6dc3163fc5957564245173cb7e3e5667c1b645eee9a23ef8849ed4d0bb7fd4c6a9f51a991ccf554191c817c426403136e9b9489c56e67f986cb8f06d0867e4ce8e494ad634b6cb52c9afbc6f2ae808b1832fed5c78d27c30b9d7892446a2a477009b1439211bdc4dfee9be6a8715c239ee5fa24ea421d2d72b6460e857132b41f0b71183f761f1076f9f28fc2de44c472e55b5362987a290e38079adcf773613c517e7b07dbe204c3c2218a02a49be7c630509d606dcb1ce4fde0a8efa3fb343159f397eef1ceef06b4fb9aee8a89280e577131521efc12ab2987c18cb83c15da202d0e714cbe82f3672ffec61639c0fa04b3c6f3b2319e62b5baaa14a46b3b4fb47c5f0682a27cace0c73f98a37fcd83db9794c89aca6585c821234430dbb3193d44d4a383b7b63cd2489606f94799d0253f6569c9862ac4df4d6e1b8f0799038d5a12b4304a168ca5b86f76c182ebb3fd8327d7811d816e49cfd07b40f82b44847a903ecf70baa204cece185fa14ebc88f59199e319ea4d5dd5178f196d2134fa51823aab6f2ff8fab948c29cfba62e01098e0266eafa96f84c9b27219c432959ec1b465b75c6d8366777b4e6bdf0401ce8c82edcd2412b4c59a1aec8cade66523bd7968154b51e0bad4516b42f4eb405ace272c2ba2bb3fe5d99ab99d187dfc5b883b2fb6c8491389845110eae3d22010a0bcfa1bbea435f4dbc7b19275326348eb259a4833cb3d27e6228475d9a7c92a114c4867ac5da91d4c58b2e22035be3cd28471c61a46b32f22b858b2d001c45988a7212609ff59ca1b5de564c018eac8ba7de7d4bc0b1d33bd4693b0e7511072989f157cb9d0324ad371cf2336adcd8534a7c7579e7821cca392e9153d1c6630e8b80fdbeef0d7deef036eb45f6793ec0a39c39fe7325c91a52ccc79bb09d25056fba984ecf817cfdee30d35015845690deecafbc2f50e2601f59dd4a2b6d9e6738bafdbc74a7cba9e03dc57dcb1550d3aa8df06ee9c50792ca6b0003062465d4e32c010ba02e9696978c311648dd69e903f0458be65d137772e8075e179ccc3133daa74fbe1e61c1bf954c3e0be3cd4530394cc046732e9afcf2f33d84ffb9651ab079137bcbbd9c89bf6552a7b1270c074a328bb84c0d2bc6a75d9b9b7ca210bcd0a3d340f428379701a60a6f10144ce505c8453597e879d04ca100583703e38eab0d577cdcb116a9c75fb871549dbee03581547887600076a97c8ddb3ce32c61b76b51b5523f82c390fdd617904a76fb6cfc33486c380ad6f62981d8ac5afabf7c21486d1e85e11cb8b1eedbbf310b42b69ec42afaa8b18631ce18d60fa77006fd422d92a86584e4c7ea9a83b9a5d362ba11d6f7c3be13456932697a12477cca4792eba415446260fcb30a8ebe71e375f240a14a66d08126dfbd5528ef031f9b44e45'- ),- 'raw-seed': new Uint8Array([- 153, 21, 95, 99, 48, 150, 218, 124, 190, 8, 122, 137, 72, 184, 79, 118,- 123, 16, 249, 1, 200, 35, 194, 64, 177, 221, 43, 200, 112, 5, 201, 62,- ]),- jwk: {- priv: 'mRVfYzCW2ny-CHqJSLhPdnsQ-QHII8JAsd0ryHAFyT4',- kty: 'AKP',- alg: 'ML-DSA-44',- pub: 'VZjVRMYUsVTIvCFoJKHBf-KXMGt6v1lWvAP1xxJPqMDa2t_jVIUpuwm3Dt6biVRvimHqmDQPoy_j2hMU5V1j_JvVHvGe09W_m0nTkTvCS4wDoZWLMKybrHjqjk9OdNe4MraiwF3ds9hGulxdM749rWnOCdA0NtD8c7CSdhcABSmXefH2wc7UoLUHY9xOYHuOI2sl2oqL5M-mhFckdPuuCinEqxrUWtXfjVfoOy6tEPetBNul6gjZ6aMNCqAWV-gCCVyxI0M3aDPM51HRPh91OI1ObZR2v13BOx5Y7ROpDguWZteQRfYgn24xS07hebjO6n6rpCvt9D9TRojV9Hm4Isn5X0ClYw7D5xJ5FJxQ54XFAF7DFvv_rtVnS1g6ikIlVaIP8h0xk7-jqm3DFj_FlXVkJFFzy34-VmfBtkXu6aI--ISe1NC7f9TGqfUamRzPVUGRyBfEJkAxNum5SJxW5n-YbLjwbQhn5M6OSUrWNLbLUsmvvG8q6Aixgy_tXHjSfDC514kkRqKkdwCbFDkhG9xN_um-aocVwjnuX6JOpCHS1ytkYOhXEytB8LcRg_dh8Qdvnyj8LeRMRy5VtTYph6KQ44B5rc93NhPFF-ewfb4gTDwiGKAqSb58YwUJ1gbcsc5P3gqO-j-zQxWfOX7vHO7wa0-5ruiokoDldxMVIe_BKrKYfBjLg8FdogLQ5xTL6C82cv_sYWOcD6BLPG87IxnmK1uqoUpGs7T7R8XwaConys4Mc_mKN_zYPbl5TImsplhcghI0Qw27MZPUTUo4O3tjzSSJYG-UeZ0CU_ZWnJhirE301uG48HmQONWhK0MEoWjKW4b3bBguuz_YMn14EdgW5Jz9B7QPgrRIR6kD7PcLqiBM7OGF-hTryI9ZGZ4xnqTV3VF48ZbSE0-lGCOqtvL_j6uUjCnPumLgEJjgJm6vqW-EybJyGcQylZ7BtGW3XG2DZnd7TmvfBAHOjILtzSQStMWaGuyMreZlI715aBVLUeC61FFrQvTrQFrOJywrors_5dmauZ0YffxbiDsvtshJE4mEURDq49IgEKC8-hu-pDX028exknUyY0jrJZpIM8s9J-YihHXZp8kqEUxIZ6xdqR1MWLLiIDW-PNKEccYaRrMvIrhYstABxFmIpyEmCf9Zyhtd5WTAGOrIun3n1LwLHTO9RpOw51EQcpifFXy50DJK03HPIzatzYU0p8dXnnghzKOS6RU9HGYw6LgP2-7w197vA260X2eT7Ao5w5_nMlyRpSzMebsJ0lBW-6mE7PgXz97jDTUBWEVpDe7K-8L1DiYB9Z3UorbZ5nOLr9vHSny6ngPcV9yxVQ06qN8G7pxQeSymsAAwYkZdTjLAELoC6WlpeMMRZI3WnpA_BFi-ZdE3dy6AdeF5zMMTPap0--HmHBv5VMPgvjzUUwOUzARnMumvzy8z2E_7llGrB5E3vLvZyJv2VSp7EnDAdKMou4TA0rxqddm5t8ohC80KPTQPQoN5cBpgpvEBRM5QXIRTWX6HnQTKEAWDcD446rDVd83LEWqcdfuHFUnb7gNYFUeIdgAHapfI3bPOMsYbdrUbVSP4LDkP3WF5BKdvts_DNIbDgK1vYpgdisWvq_fCFIbR6F4Ry4se7bvzELQraexCr6qLGGMc4Y1g-ncAb9Qi2SqGWE5MfqmoO5pdNiuhHW98O-E0VpMml6Ekd8ykeS66QVRGJg_LMKjr5x43XyQKFKZtCBJt-9VSjvAx-bRORQ',- },- },- 'ML-DSA-65': {- privateUsages: ['sign'],- publicUsages: ['verify'],- pkcs8: new Uint8Array([- 48, 52, 2, 1, 0, 48, 11, 6, 9, 96, 134, 72, 1, 101, 3, 4, 3, 18, 4, 34,- 128, 32, 132, 164, 137, 75, 123, 70, 164, 178, 3, 156, 206, 16, 195, 26,- 133, 186, 176, 195, 102, 48, 254, 35, 29, 66, 103, 17, 67, 152, 38, 7,- 130, 139,- ]),- spki: new Uint8Array([- 48, 130, 7, 178, 48, 11, 6, 9, 96, 134, 72, 1, 101, 3, 4, 3, 18, 3, 130,- 7, 161, 0, 216, 177, 233, 60, 151, 24, 246, 66, 175, 161, 192, 118, 9,- 177, 87, 232, 5, 216, 49, 254, 251, 160, 51, 216, 250, 171, 229, 104, 149,- 117, 135, 107, 5, 239, 244, 167, 83, 57, 49, 153, 29, 135, 108, 138, 117,- 236, 120, 65, 89, 65, 17, 201, 127, 147, 246, 103, 238, 204, 25, 83, 240,- 29, 173, 127, 140, 1, 88, 40, 43, 134, 51, 19, 125, 131, 224, 50, 167, 82,- 20, 217, 215, 162, 41, 95, 215, 56, 130, 226, 177, 216, 20, 169, 133, 85,- 140, 9, 105, 172, 54, 121, 0, 87, 202, 18, 93, 96, 147, 103, 127, 164, 63,- 197, 97, 49, 230, 125, 53, 80, 64, 20, 239, 29, 90, 118, 102, 221, 177, 6,- 220, 220, 170, 107, 107, 18, 138, 125, 138, 70, 66, 60, 185, 232, 209, 4,- 100, 17, 118, 24, 181, 110, 241, 50, 250, 138, 209, 19, 84, 220, 61, 96,- 80, 128, 81, 101, 160, 9, 5, 53, 33, 112, 60, 59, 195, 79, 115, 190, 101,- 93, 56, 171, 146, 51, 82, 233, 66, 225, 226, 211, 72, 58, 9, 74, 222, 185,- 175, 211, 156, 164, 68, 188, 119, 46, 14, 64, 160, 13, 207, 60, 81, 68,- 108, 148, 59, 88, 88, 92, 88, 171, 249, 204, 160, 137, 222, 234, 168, 233,- 3, 86, 224, 174, 105, 224, 1, 177, 184, 230, 236, 30, 85, 249, 56, 105,- 211, 50, 83, 168, 139, 28, 175, 181, 22, 89, 166, 215, 152, 218, 184, 111,- 65, 24, 82, 71, 185, 100, 172, 66, 178, 6, 215, 164, 252, 56, 40, 198,- 207, 152, 110, 186, 207, 39, 235, 179, 38, 215, 88, 105, 109, 177, 130,- 91, 5, 223, 164, 78, 241, 176, 125, 197, 94, 100, 40, 214, 251, 239, 253,- 88, 154, 14, 75, 254, 94, 210, 86, 244, 51, 95, 168, 139, 213, 73, 87,- 151, 209, 150, 126, 88, 69, 251, 116, 157, 122, 96, 212, 206, 42, 218, 38,- 85, 184, 50, 246, 188, 35, 72, 60, 226, 155, 246, 86, 209, 110, 133, 161,- 129, 126, 80, 154, 238, 64, 64, 170, 156, 177, 225, 52, 87, 42, 88, 154,- 174, 246, 30, 84, 143, 221, 51, 27, 65, 60, 40, 22, 120, 42, 145, 34, 82,- 235, 79, 20, 215, 211, 231, 151, 108, 119, 53, 116, 190, 13, 139, 199,- 189, 84, 54, 186, 222, 90, 116, 253, 227, 207, 104, 209, 118, 42, 144, 94,- 22, 219, 198, 211, 216, 171, 75, 245, 61, 240, 157, 108, 81, 19, 238, 39,- 120, 210, 242, 63, 126, 6, 15, 18, 97, 232, 207, 184, 84, 239, 72, 115,- 90, 95, 112, 78, 45, 201, 13, 102, 208, 151, 146, 253, 153, 177, 115, 14,- 194, 184, 107, 118, 120, 63, 105, 89, 144, 60, 242, 80, 106, 32, 11, 204,- 170, 165, 221, 182, 31, 187, 159, 216, 118, 218, 207, 182, 107, 136, 211,- 162, 231, 196, 128, 83, 251, 192, 189, 149, 1, 245, 36, 146, 159, 11, 116,- 30, 191, 141, 182, 157, 227, 91, 88, 72, 224, 55, 195, 96, 245, 135, 249,- 142, 16, 229, 237, 27, 60, 2, 91, 138, 82, 197, 210, 40, 8, 123, 172, 202,- 207, 119, 199, 190, 102, 40, 141, 174, 93, 211, 219, 134, 105, 26, 103,- 100, 102, 62, 130, 224, 135, 173, 82, 224, 200, 213, 76, 211, 38, 181, 16,- 97, 99, 75, 14, 42, 162, 223, 237, 141, 1, 29, 140, 191, 146, 49, 236,- 179, 88, 202, 220, 124, 239, 231, 131, 101, 134, 111, 28, 54, 151, 172,- 67, 167, 113, 96, 204, 63, 76, 169, 95, 14, 175, 149, 189, 173, 39, 177,- 102, 23, 158, 102, 236, 224, 70, 203, 190, 132, 230, 136, 3, 28, 201, 131,- 148, 164, 219, 181, 208, 26, 239, 111, 86, 35, 102, 133, 114, 113, 180,- 184, 82, 180, 106, 124, 248, 126, 87, 177, 165, 176, 204, 128, 141, 179,- 141, 34, 119, 160, 57, 206, 168, 95, 197, 110, 79, 60, 48, 170, 125, 206,- 147, 137, 156, 85, 46, 7, 193, 228, 150, 22, 46, 147, 51, 153, 157, 248,- 151, 253, 114, 58, 126, 38, 127, 19, 225, 99, 183, 235, 175, 90, 166, 8,- 233, 141, 10, 85, 232, 147, 7, 20, 137, 240, 84, 231, 86, 134, 50, 212,- 201, 6, 253, 18, 150, 114, 160, 140, 2, 254, 189, 152, 14, 68, 110, 50,- 134, 199, 73, 237, 56, 116, 110, 135, 36, 40, 14, 167, 50, 71, 81, 9, 178,- 54, 182, 247, 64, 32, 204, 116, 92, 131, 40, 30, 246, 188, 236, 182, 187,- 132, 239, 124, 136, 238, 146, 137, 247, 87, 52, 15, 78, 108, 135, 178,- 101, 70, 199, 193, 192, 144, 196, 106, 186, 141, 42, 101, 214, 196, 67,- 175, 38, 8, 189, 148, 166, 253, 221, 144, 119, 81, 1, 232, 175, 81, 237,- 13, 188, 220, 230, 47, 115, 184, 179, 0, 51, 118, 39, 22, 114, 232, 88,- 15, 121, 216, 130, 107, 173, 108, 175, 225, 113, 40, 223, 185, 6, 244,- 227, 73, 38, 64, 84, 10, 200, 53, 81, 179, 217, 106, 172, 59, 161, 70,- 180, 70, 48, 56, 46, 233, 133, 245, 57, 120, 154, 167, 49, 109, 188, 152,- 245, 181, 1, 159, 247, 44, 167, 152, 6, 191, 246, 38, 120, 141, 57, 241,- 168, 60, 38, 6, 82, 248, 87, 85, 0, 10, 22, 19, 44, 178, 63, 38, 78, 1,- 210, 166, 140, 3, 199, 112, 135, 155, 36, 13, 204, 124, 47, 5, 190, 103,- 91, 205, 147, 248, 115, 177, 196, 180, 234, 85, 35, 24, 182, 16, 207, 107,- 167, 10, 54, 193, 146, 71, 95, 45, 109, 184, 43, 101, 155, 184, 55, 171,- 196, 136, 89, 227, 84, 183, 31, 0, 137, 230, 146, 250, 6, 27, 225, 241,- 11, 95, 124, 248, 133, 171, 149, 67, 73, 19, 110, 104, 173, 86, 6, 246,- 195, 196, 200, 175, 53, 18, 198, 223, 140, 85, 208, 253, 204, 220, 255,- 232, 88, 238, 20, 97, 24, 52, 13, 3, 179, 62, 151, 101, 67, 33, 79, 253,- 157, 253, 233, 197, 109, 130, 78, 11, 165, 214, 200, 41, 157, 63, 46, 175,- 251, 246, 225, 227, 199, 92, 107, 216, 58, 124, 226, 202, 153, 92, 31,- 250, 182, 92, 99, 0, 110, 18, 78, 228, 166, 190, 67, 88, 245, 155, 139,- 82, 152, 39, 204, 74, 140, 95, 82, 82, 160, 147, 144, 33, 0, 242, 200, 22,- 102, 160, 233, 102, 224, 42, 205, 240, 56, 95, 197, 226, 175, 235, 240,- 125, 10, 51, 12, 246, 150, 234, 173, 95, 132, 173, 174, 1, 161, 23, 39,- 52, 168, 87, 54, 4, 66, 201, 34, 155, 82, 133, 170, 76, 52, 226, 109, 163,- 19, 34, 184, 226, 39, 20, 75, 72, 201, 70, 188, 71, 182, 230, 6, 19, 255,- 8, 145, 193, 63, 81, 150, 24, 72, 89, 168, 74, 98, 173, 133, 67, 227, 44,- 252, 252, 227, 192, 125, 20, 227, 144, 24, 31, 48, 67, 67, 48, 94, 163,- 52, 219, 163, 225, 214, 214, 109, 211, 122, 213, 198, 90, 204, 40, 97,- 211, 121, 17, 28, 132, 246, 110, 230, 51, 197, 42, 162, 143, 199, 158,- 215, 210, 133, 60, 65, 127, 1, 153, 193, 22, 171, 250, 114, 204, 246, 255,- 126, 25, 96, 44, 164, 102, 172, 211, 23, 245, 122, 48, 221, 249, 138, 148,- 134, 206, 135, 246, 42, 235, 198, 89, 189, 45, 125, 204, 69, 193, 48, 29,- 144, 125, 224, 127, 66, 1, 134, 141, 224, 211, 193, 141, 69, 128, 75, 167,- 244, 160, 120, 54, 191, 214, 29, 40, 249, 15, 46, 68, 141, 91, 242, 91,- 80, 252, 109, 122, 154, 64, 153, 56, 65, 254, 106, 18, 4, 172, 171, 136,- 80, 98, 79, 133, 255, 4, 100, 191, 144, 171, 219, 46, 132, 181, 130, 228,- 107, 68, 32, 123, 201, 17, 67, 35, 144, 180, 160, 30, 125, 9, 55, 184,- 172, 0, 159, 250, 232, 83, 168, 162, 102, 158, 121, 208, 177, 116, 163,- 160, 80, 241, 46, 156, 58, 203, 240, 67, 176, 244, 170, 160, 115, 122,- 141, 154, 101, 218, 178, 119, 130, 195, 32, 207, 51, 149, 98, 51, 219, 57,- 121, 216, 156, 101, 218, 184, 220, 204, 41, 181, 149, 63, 80, 194, 11,- 143, 164, 219, 23, 123, 141, 119, 43, 94, 78, 175, 89, 165, 48, 167, 44,- 45, 219, 197, 15, 202, 118, 116, 245, 151, 218, 14, 199, 96, 27, 102, 206,- 198, 123, 222, 178, 210, 20, 200, 38, 25, 124, 58, 102, 92, 197, 107, 51,- 5, 236, 125, 173, 198, 113, 144, 108, 177, 22, 104, 223, 165, 39, 9, 84,- 87, 124, 80, 153, 8, 212, 76, 2, 28, 12, 90, 212, 129, 148, 212, 229, 63,- 29, 200, 113, 171, 154, 107, 189, 202, 22, 147, 7, 32, 253, 70, 37, 224,- 98, 199, 129, 21, 54, 49, 52, 124, 84, 40, 190, 194, 108, 73, 26, 15, 124,- 87, 87, 198, 217, 122, 127, 82, 167, 131, 59, 8, 172, 49, 162, 61, 64, 79,- 196, 205, 65, 110, 75, 130, 128, 197, 182, 251, 110, 141, 197, 184, 166,- 244, 246, 217, 20, 105, 85, 42, 80, 251, 77, 59, 204, 247, 179, 218, 181,- 124, 209, 4, 28, 118, 234, 145, 237, 140, 106, 54, 88, 82, 28, 235, 68,- 221, 109, 139, 11, 166, 182, 63, 142, 194, 255, 213, 219, 116, 158, 31,- 224, 119, 126, 232, 160, 144, 1, 177, 92, 219, 162, 49, 181, 116, 163,- 104, 245, 193, 188, 26, 172, 15, 190, 135, 207, 106, 246, 13, 132, 76,- 189, 160, 25, 123, 26, 20, 48, 203, 59, 209, 69, 235, 103, 253, 160, 108,- 83, 206, 70, 98, 0, 2, 57, 162, 202, 63, 45, 89, 173, 201, 254, 254, 253,- 143, 21, 77, 131, 184, 234, 37, 68, 206, 69, 186, 179, 145, 147, 135, 42,- 137, 152, 253, 213, 240, 13, 122, 161, 218, 186, 180, 213, 162, 150, 231,- 63, 112, 182, 233, 86, 12, 225, 195, 133, 37, 28, 22, 147, 201, 200, 197,- 115, 3, 138, 194, 86, 79, 247, 27, 241, 149, 128, 197, 8, 11, 134, 53,- 118, 175, 248, 253, 114, 91, 31, 192, 253, 209, 111, 31, 228, 244, 184,- 179, 146, 145, 167, 137, 155, 184, 218, 38, 62, 187, 22, 181, 193, 93, 16,- 9, 195, 42, 198, 225, 100, 144, 148, 223, 184, 40, 117, 32, 131, 94, 93,- 83, 88, 125, 95, 220, 20, 206, 7, 228, 78, 54, 238, 178, 196, 38, 245, 95,- 8, 235, 106, 17, 175, 142, 193, 60, 179, 53, 244, 92, 147, 244, 218, 95,- 127, 251, 128, 42, 105, 82, 243, 224, 213, 25, 91, 151, 22, 201, 18, 25,- 230, 165, 85, 25, 249, 170, 160, 171, 210, 209, 32, 154, 124, 245, 60, 30,- 255, 138, 154, 29, 85, 156, 232, 177, 78, 14, 137, 52, 215, 247, 26, 211,- 115, 72, 20, 133, 232, 1, 151, 251, 63, 45, 120, 69, 49, 209, 130, 255, 2,- 218, 21, 251, 16, 86, 30, 62, 136, 92, 149, 60, 6, 125, 129, 145, 235,- 102, 190, 144, 248, 1, 53, 135, 21, 158, 44, 158, 230, 246, 172, 249, 161,- 105, 204, 49, 60, 70, 63, 127, 163, 231, 175, 174, 234, 147, 185, 62, 5,- 244, 156, 4, 31, 39, 156, 176, 154, 251, 166, 143, 212, 43, 30, 97, 50,- 37, 176, 155, 77, 149, 102,- ]),- 'raw-public': hexStringToUint8Array(- 'd8b1e93c9718f642afa1c07609b157e805d831fefba033d8faabe5689575876b05eff4a7533931991d876c8a75ec7841594111c97f93f667eecc1953f01dad7f8c0158282b8633137d83e032a75214d9d7a2295fd73882e2b1d814a985558c0969ac36790057ca125d6093677fa43fc56131e67d35504014ef1d5a7666ddb106dcdcaa6b6b128a7d8a46423cb9e8d10464117618b56ef132fa8ad11354dc3d6050805165a009053521703c3bc34f73be655d38ab923352e942e1e2d3483a094adeb9afd39ca444bc772e0e40a00dcf3c51446c943b58585c58abf9cca089deeaa8e90356e0ae69e001b1b8e6ec1e55f93869d33253a88b1cafb51659a6d798dab86f41185247b964ac42b206d7a4fc3828c6cf986ebacf27ebb326d758696db1825b05dfa44ef1b07dc55e6428d6fbeffd589a0e4bfe5ed256f4335fa88bd5495797d1967e5845fb749d7a60d4ce2ada2655b832f6bc23483ce29bf656d16e85a1817e509aee4040aa9cb1e134572a589aaef61e548fdd331b413c2816782a912252eb4f14d7d3e7976c773574be0d8bc7bd5436bade5a74fde3cf68d1762a905e16dbc6d3d8ab4bf53df09d6c5113ee2778d2f23f7e060f1261e8cfb854ef48735a5f704e2dc90d66d09792fd99b1730ec2b86b76783f6959903cf2506a200bccaaa5ddb61fbb9fd876dacfb66b88d3a2e7c48053fbc0bd9501f524929f0b741ebf8db69de35b5848e037c360f587f98e10e5ed1b3c025b8a52c5d228087baccacf77c7be66288dae5dd3db86691a6764663e82e087ad52e0c8d54cd326b51061634b0e2aa2dfed8d011d8cbf9231ecb358cadc7cefe78365866f1c3697ac43a77160cc3f4ca95f0eaf95bdad27b166179e66ece046cbbe84e688031cc98394a4dbb5d01aef6f562366857271b4b852b46a7cf87e57b1a5b0cc808db38d2277a039cea85fc56e4f3c30aa7dce93899c552e07c1e496162e9333999df897fd723a7e267f13e163b7ebaf5aa608e98d0a55e893071489f054e7568632d4c906fd129672a08c02febd980e446e3286c749ed38746e8724280ea732475109b236b6f74020cc745c83281ef6bcecb6bb84ef7c88ee9289f757340f4e6c87b26546c7c1c090c46aba8d2a65d6c443af2608bd94a6fddd90775101e8af51ed0dbcdce62f73b8b3003376271672e8580f79d8826bad6cafe17128dfb906f4e3492640540ac83551b3d96aac3ba146b44630382ee985f539789aa7316dbc98f5b5019ff72ca79806bff626788d39f1a83c260652f85755000a16132cb23f264e01d2a68c03c770879b240dcc7c2f05be675bcd93f873b1c4b4ea552318b610cf6ba70a36c192475f2d6db82b659bb837abc48859e354b71f0089e692fa061be1f10b5f7cf885ab954349136e68ad5606f6c3c4c8af3512c6df8c55d0fdccdcffe858ee146118340d03b33e976543214ffd9dfde9c56d824e0ba5d6c8299d3f2eaffbf6e1e3c75c6bd83a7ce2ca995c1ffab65c63006e124ee4a6be4358f59b8b529827cc4a8c5f5252a093902100f2c81666a0e966e02acdf0385fc5e2afebf07d0a330cf696eaad5f84adae01a1172734a857360442c9229b5285aa4c34e26da31322b8e227144b48c946bc47b6e60613ff0891c13f5196184859a84a62ad8543e32cfcfce3c07d14e390181f304343305ea334dba3e1d6d66dd37ad5c65acc2861d379111c84f66ee633c52aa28fc79ed7d2853c417f0199c116abfa72ccf6ff7e19602ca466acd317f57a30ddf98a9486ce87f62aebc659bd2d7dcc45c1301d907de07f4201868de0d3c18d45804ba7f4a07836bfd61d28f90f2e448d5bf25b50fc6d7a9a40993841fe6a1204acab8850624f85ff0464bf90abdb2e84b582e46b44207bc911432390b4a01e7d0937b8ac009ffae853a8a2669e79d0b174a3a050f12e9c3acbf043b0f4aaa0737a8d9a65dab27782c320cf33956233db3979d89c65dab8dccc29b5953f50c20b8fa4db177b8d772b5e4eaf59a530a72c2ddbc50fca7674f597da0ec7601b66cec67bdeb2d214c826197c3a665cc56b3305ec7dadc671906cb11668dfa5270954577c509908d44c021c0c5ad48194d4e53f1dc871ab9a6bbdca16930720fd4625e062c781153631347c5428bec26c491a0f7c5757c6d97a7f52a7833b08ac31a23d404fc4cd416e4b8280c5b6fb6e8dc5b8a6f4f6d91469552a50fb4d3bccf7b3dab57cd1041c76ea91ed8c6a3658521ceb44dd6d8b0ba6b63f8ec2ffd5db749e1fe0777ee8a09001b15cdba231b574a368f5c1bc1aac0fbe87cf6af60d844cbda0197b1a1430cb3bd145eb67fda06c53ce4662000239a2ca3f2d59adc9fefefd8f154d83b8ea2544ce45bab39193872a8998fdd5f00d7aa1dabab4d5a296e73f70b6e9560ce1c385251c1693c9c8c573038ac2564ff71bf19580c5080b863576aff8fd725b1fc0fdd16f1fe4f4b8b39291a7899bb8da263ebb16b5c15d1009c32ac6e1649094dfb8287520835e5d53587d5fdc14ce07e44e36eeb2c426f55f08eb6a11af8ec13cb335f45c93f4da5f7ffb802a6952f3e0d5195b9716c91219e6a55519f9aaa0abd2d1209a7cf53c1eff8a9a1d559ce8b14e0e8934d7f71ad373481485e80197fb3f2d784531d182ff02da15fb10561e3e885c953c067d8191eb66be90f8013587159e2c9ee6f6acf9a169cc313c463f7fa3e7afaeea93b93e05f49c041f279cb09afba68fd42b1e613225b09b4d9566'- ),- 'raw-seed': new Uint8Array([- 132, 164, 137, 75, 123, 70, 164, 178, 3, 156, 206, 16, 195, 26, 133, 186,- 176, 195, 102, 48, 254, 35, 29, 66, 103, 17, 67, 152, 38, 7, 130, 139,- ]),- jwk: {- priv: 'hKSJS3tGpLIDnM4QwxqFurDDZjD-Ix1CZxFDmCYHgos',- kty: 'AKP',- alg: 'ML-DSA-65',- pub: '2LHpPJcY9kKvocB2CbFX6AXYMf77oDPY-qvlaJV1h2sF7_SnUzkxmR2HbIp17HhBWUERyX-T9mfuzBlT8B2tf4wBWCgrhjMTfYPgMqdSFNnXoilf1ziC4rHYFKmFVYwJaaw2eQBXyhJdYJNnf6Q_xWEx5n01UEAU7x1admbdsQbc3KpraxKKfYpGQjy56NEEZBF2GLVu8TL6itETVNw9YFCAUWWgCQU1IXA8O8NPc75lXTirkjNS6ULh4tNIOglK3rmv05ykRLx3Lg5AoA3PPFFEbJQ7WFhcWKv5zKCJ3uqo6QNW4K5p4AGxuObsHlX5OGnTMlOoixyvtRZZpteY2rhvQRhSR7lkrEKyBtek_Dgoxs-YbrrPJ-uzJtdYaW2xglsF36RO8bB9xV5kKNb77_1Ymg5L_l7SVvQzX6iL1UlXl9GWflhF-3SdemDUziraJlW4Mva8I0g84pv2VtFuhaGBflCa7kBAqpyx4TRXKliarvYeVI_dMxtBPCgWeCqRIlLrTxTX0-eXbHc1dL4Ni8e9VDa63lp0_ePPaNF2KpBeFtvG09irS_U98J1sURPuJ3jS8j9-Bg8SYejPuFTvSHNaX3BOLckNZtCXkv2ZsXMOwrhrdng_aVmQPPJQaiALzKql3bYfu5_YdtrPtmuI06LnxIBT-8C9lQH1JJKfC3Qev422neNbWEjgN8Ng9Yf5jhDl7Rs8AluKUsXSKAh7rMrPd8e-ZiiNrl3T24ZpGmdkZj6C4IetUuDI1UzTJrUQYWNLDiqi3-2NAR2Mv5Ix7LNYytx87-eDZYZvHDaXrEOncWDMP0ypXw6vlb2tJ7FmF55m7OBGy76E5ogDHMmDlKTbtdAa729WI2aFcnG0uFK0anz4flexpbDMgI2zjSJ3oDnOqF_Fbk88MKp9zpOJnFUuB8HklhYukzOZnfiX_XI6fiZ_E-Fjt-uvWqYI6Y0KVeiTBxSJ8FTnVoYy1MkG_RKWcqCMAv69mA5EbjKGx0ntOHRuhyQoDqcyR1EJsja290AgzHRcgyge9rzstruE73yI7pKJ91c0D05sh7JlRsfBwJDEarqNKmXWxEOvJgi9lKb93ZB3UQHor1HtDbzc5i9zuLMAM3YnFnLoWA952IJrrWyv4XEo37kG9ONJJkBUCsg1UbPZaqw7oUa0RjA4LumF9Tl4mqcxbbyY9bUBn_csp5gGv_YmeI058ag8JgZS-FdVAAoWEyyyPyZOAdKmjAPHcIebJA3MfC8FvmdbzZP4c7HEtOpVIxi2EM9rpwo2wZJHXy1tuCtlm7g3q8SIWeNUtx8AieaS-gYb4fELX3z4hauVQ0kTbmitVgb2w8TIrzUSxt-MVdD9zNz_6FjuFGEYNA0Dsz6XZUMhT_2d_enFbYJOC6XWyCmdPy6v-_bh48dca9g6fOLKmVwf-rZcYwBuEk7kpr5DWPWbi1KYJ8xKjF9SUqCTkCEA8sgWZqDpZuAqzfA4X8Xir-vwfQozDPaW6q1fhK2uAaEXJzSoVzYEQskim1KFqkw04m2jEyK44icUS0jJRrxHtuYGE_8IkcE_UZYYSFmoSmKthUPjLPz848B9FOOQGB8wQ0MwXqM026Ph1tZt03rVxlrMKGHTeREchPZu5jPFKqKPx57X0oU8QX8BmcEWq_pyzPb_fhlgLKRmrNMX9Xow3fmKlIbOh_Yq68ZZvS19zEXBMB2QfeB_QgGGjeDTwY1FgEun9KB4Nr_WHSj5Dy5EjVvyW1D8bXqaQJk4Qf5qEgSsq4hQYk-F_wRkv5Cr2y6EtYLka0Qge8kRQyOQtKAefQk3uKwAn_roU6iiZp550LF0o6BQ8S6cOsvwQ7D0qqBzeo2aZdqyd4LDIM8zlWIz2zl52Jxl2rjczCm1lT9QwguPpNsXe413K15Or1mlMKcsLdvFD8p2dPWX2g7HYBtmzsZ73rLSFMgmGXw6ZlzFazMF7H2txnGQbLEWaN-lJwlUV3xQmQjUTAIcDFrUgZTU5T8dyHGrmmu9yhaTByD9RiXgYseBFTYxNHxUKL7CbEkaD3xXV8bZen9Sp4M7CKwxoj1AT8TNQW5LgoDFtvtujcW4pvT22RRpVSpQ-007zPez2rV80QQcduqR7YxqNlhSHOtE3W2LC6a2P47C_9XbdJ4f4Hd-6KCQAbFc26IxtXSjaPXBvBqsD76Hz2r2DYRMvaAZexoUMMs70UXrZ_2gbFPORmIAAjmiyj8tWa3J_v79jxVNg7jqJUTORbqzkZOHKomY_dXwDXqh2rq01aKW5z9wtulWDOHDhSUcFpPJyMVzA4rCVk_3G_GVgMUIC4Y1dq_4_XJbH8D90W8f5PS4s5KRp4mbuNomPrsWtcFdEAnDKsbhZJCU37godSCDXl1TWH1f3BTOB-RONu6yxCb1XwjrahGvjsE8szX0XJP02l9_-4AqaVLz4NUZW5cWyRIZ5qVVGfmqoKvS0SCafPU8Hv-Kmh1VnOixTg6JNNf3GtNzSBSF6AGX-z8teEUx0YL_AtoV-xBWHj6IXJU8Bn2BketmvpD4ATWHFZ4snub2rPmhacwxPEY_f6Pnr67qk7k-BfScBB8nnLCa-6aP1CseYTIlsJtNlWY',- },- },- 'ML-DSA-87': {- privateUsages: ['sign'],- publicUsages: ['verify'],- pkcs8: new Uint8Array([- 48, 52, 2, 1, 0, 48, 11, 6, 9, 96, 134, 72, 1, 101, 3, 4, 3, 19, 4, 34,- 128, 32, 161, 80, 109, 145, 76, 109, 101, 140, 117, 39, 228, 51, 151, 221,- 109, 76, 37, 246, 164, 121, 116, 51, 90, 76, 208, 59, 254, 105, 131, 68,- 18, 81,- ]),- spki: new Uint8Array([- 48, 130, 10, 50, 48, 11, 6, 9, 96, 134, 72, 1, 101, 3, 4, 3, 19, 3, 130,- 10, 33, 0, 146, 184, 67, 40, 172, 27, 204, 27, 135, 22, 109, 223, 127, 23,- 97, 130, 198, 228, 199, 62, 178, 21, 173, 20, 88, 180, 205, 168, 17, 164,- 135, 92, 85, 146, 76, 194, 152, 80, 239, 157, 33, 21, 239, 182, 176, 254,- 124, 80, 135, 138, 87, 169, 103, 99, 87, 5, 91, 161, 239, 59, 18, 246,- 148, 20, 32, 60, 117, 245, 182, 156, 196, 230, 82, 117, 228, 211, 81, 45,- 115, 217, 23, 95, 138, 95, 103, 124, 32, 89, 187, 48, 251, 103, 81, 234,- 76, 4, 57, 197, 71, 48, 125, 169, 195, 147, 183, 142, 166, 8, 147, 7, 77,- 240, 111, 44, 168, 23, 89, 107, 95, 220, 75, 202, 44, 25, 244, 200, 160,- 0, 174, 111, 107, 204, 22, 36, 122, 191, 101, 33, 52, 252, 14, 47, 25,- 109, 135, 48, 131, 253, 195, 237, 60, 86, 14, 119, 85, 28, 182, 139, 136,- 191, 59, 187, 90, 126, 207, 168, 238, 184, 83, 77, 254, 208, 21, 57, 104,- 188, 228, 134, 82, 249, 190, 249, 163, 120, 111, 68, 225, 210, 131, 29,- 151, 153, 146, 71, 163, 104, 225, 194, 33, 64, 213, 92, 145, 253, 42, 32,- 233, 95, 224, 72, 184, 119, 192, 113, 253, 177, 153, 246, 240, 49, 103,- 170, 229, 82, 69, 186, 36, 252, 29, 124, 255, 25, 148, 5, 160, 159, 105,- 157, 185, 25, 158, 122, 145, 30, 245, 51, 205, 62, 56, 154, 23, 52, 0,- 225, 177, 105, 195, 131, 177, 151, 197, 114, 110, 128, 227, 127, 176, 28,- 252, 217, 56, 61, 136, 148, 190, 124, 108, 129, 62, 243, 235, 37, 70, 228,- 233, 10, 67, 124, 120, 58, 164, 83, 57, 80, 39, 204, 98, 28, 199, 136, 75,- 12, 51, 255, 24, 130, 127, 19, 239, 160, 94, 137, 75, 15, 82, 158, 252,- 163, 43, 236, 193, 234, 27, 74, 69, 14, 179, 171, 10, 169, 27, 138, 172,- 213, 189, 222, 167, 110, 24, 11, 118, 151, 223, 94, 154, 125, 9, 21, 137,- 70, 128, 51, 102, 52, 105, 104, 157, 54, 186, 75, 217, 226, 169, 71, 125,- 177, 253, 218, 85, 236, 242, 25, 215, 147, 181, 104, 242, 82, 75, 50, 165,- 49, 102, 128, 82, 237, 170, 134, 162, 196, 56, 247, 199, 138, 102, 118,- 37, 66, 114, 165, 177, 156, 251, 39, 199, 12, 167, 246, 169, 150, 108, 91,- 192, 42, 68, 192, 244, 255, 107, 18, 191, 7, 73, 19, 174, 28, 116, 66,- 131, 96, 173, 60, 131, 190, 249, 219, 246, 71, 182, 124, 183, 129, 101,- 109, 95, 180, 78, 17, 140, 182, 62, 80, 195, 184, 253, 176, 169, 153, 1,- 29, 83, 39, 252, 150, 41, 219, 176, 48, 151, 108, 60, 255, 239, 0, 85,- 101, 193, 110, 204, 12, 254, 22, 136, 15, 154, 217, 88, 13, 28, 252, 232,- 48, 32, 33, 41, 221, 103, 227, 228, 177, 54, 175, 195, 106, 174, 140, 54,- 128, 108, 214, 228, 215, 118, 226, 206, 171, 21, 155, 162, 152, 135, 203,- 16, 170, 130, 100, 173, 155, 243, 80, 40, 98, 157, 248, 7, 101, 88, 199,- 218, 224, 141, 82, 238, 121, 92, 82, 97, 49, 31, 155, 61, 63, 84, 227, 90,- 143, 164, 59, 216, 101, 19, 35, 134, 2, 20, 18, 197, 97, 215, 169, 85,- 220, 75, 254, 91, 125, 144, 43, 65, 128, 29, 66, 77, 184, 172, 89, 123,- 203, 231, 254, 59, 18, 249, 204, 249, 220, 153, 84, 166, 63, 23, 108, 120,- 145, 216, 67, 223, 123, 248, 15, 253, 63, 191, 126, 84, 95, 98, 141, 66,- 200, 129, 194, 174, 30, 80, 48, 75, 113, 14, 102, 101, 218, 249, 14, 203,- 24, 6, 11, 89, 99, 56, 49, 17, 148, 160, 242, 101, 191, 102, 227, 115, 33,- 107, 71, 235, 6, 141, 68, 161, 162, 165, 227, 159, 82, 253, 54, 157, 214,- 255, 141, 151, 154, 134, 150, 93, 141, 97, 158, 244, 180, 135, 42, 10, 3,- 148, 9, 152, 149, 20, 18, 237, 253, 180, 136, 165, 13, 80, 195, 220, 43,- 3, 178, 10, 127, 144, 2, 207, 209, 246, 40, 110, 38, 133, 9, 22, 180, 11,- 223, 116, 236, 205, 186, 25, 183, 155, 165, 77, 206, 101, 255, 106, 223,- 70, 10, 22, 176, 119, 142, 163, 197, 178, 251, 216, 112, 237, 63, 201, 77,- 219, 196, 2, 176, 48, 15, 207, 91, 74, 236, 21, 8, 205, 126, 77, 28, 13,- 26, 28, 202, 250, 100, 79, 134, 209, 193, 78, 202, 58, 248, 124, 215, 64,- 143, 244, 17, 23, 163, 162, 241, 249, 49, 210, 168, 203, 213, 135, 77, 14,- 29, 35, 193, 234, 58, 12, 106, 165, 163, 251, 192, 115, 251, 7, 198, 189,- 93, 207, 178, 246, 50, 189, 185, 51, 45, 84, 140, 194, 34, 46, 92, 90,- 136, 81, 81, 53, 52, 253, 128, 247, 131, 243, 21, 207, 245, 141, 49, 178,- 213, 214, 211, 8, 17, 234, 133, 225, 104, 197, 186, 224, 117, 1, 173, 104,- 17, 177, 161, 223, 71, 195, 159, 194, 45, 177, 116, 26, 187, 193, 161,- 213, 179, 158, 8, 122, 186, 122, 191, 158, 5, 12, 178, 235, 78, 132, 78,- 189, 16, 86, 110, 73, 51, 129, 255, 242, 110, 63, 6, 53, 209, 110, 132,- 236, 43, 239, 192, 221, 138, 1, 128, 176, 0, 113, 85, 119, 201, 36, 188,- 202, 9, 223, 98, 196, 42, 130, 158, 149, 200, 150, 202, 132, 118, 153, 97,- 54, 195, 154, 15, 45, 246, 129, 144, 255, 231, 75, 25, 56, 47, 178, 98,- 10, 106, 84, 56, 113, 161, 227, 37, 246, 1, 245, 129, 173, 70, 186, 11,- 28, 125, 198, 243, 225, 113, 130, 5, 138, 52, 251, 194, 152, 105, 48, 214,- 13, 246, 228, 75, 236, 194, 223, 177, 64, 150, 97, 167, 20, 27, 74, 76,- 166, 199, 239, 91, 240, 8, 22, 54, 41, 63, 35, 112, 255, 251, 88, 252,- 147, 173, 185, 43, 98, 83, 155, 230, 176, 55, 161, 8, 83, 15, 110, 151,- 241, 110, 168, 203, 190, 198, 218, 152, 144, 150, 58, 123, 11, 123, 250,- 104, 113, 198, 93, 1, 152, 51, 172, 140, 246, 115, 113, 229, 218, 166,- 200, 35, 123, 16, 133, 169, 191, 59, 103, 12, 114, 15, 60, 37, 4, 92, 208,- 54, 31, 79, 56, 225, 6, 11, 74, 107, 79, 225, 239, 16, 73, 249, 234, 197,- 129, 230, 97, 39, 115, 49, 96, 141, 41, 242, 225, 177, 214, 18, 103, 34,- 229, 37, 176, 241, 99, 82, 227, 195, 77, 32, 64, 4, 120, 49, 199, 209,- 139, 2, 4, 222, 233, 45, 151, 141, 142, 252, 41, 124, 231, 13, 144, 63,- 212, 252, 145, 34, 142, 232, 152, 84, 135, 87, 175, 46, 53, 139, 60, 168,- 135, 167, 101, 253, 127, 152, 138, 154, 31, 231, 198, 77, 89, 182, 9, 54,- 103, 119, 100, 218, 245, 44, 191, 74, 30, 152, 84, 22, 62, 159, 131, 163,- 223, 3, 51, 194, 241, 49, 9, 213, 43, 214, 201, 75, 158, 198, 22, 203,- 209, 190, 199, 189, 75, 4, 6, 72, 60, 241, 113, 171, 30, 42, 143, 73, 51,- 72, 206, 110, 175, 203, 195, 199, 15, 155, 208, 166, 121, 26, 132, 59, 44,- 72, 155, 7, 48, 122, 132, 224, 142, 3, 7, 21, 207, 11, 30, 112, 18, 149,- 146, 127, 41, 104, 197, 169, 86, 213, 108, 253, 111, 160, 5, 11, 202, 172,- 233, 32, 5, 52, 92, 124, 152, 162, 11, 88, 28, 166, 248, 141, 251, 38,- 161, 53, 49, 136, 246, 183, 85, 9, 165, 115, 108, 18, 208, 218, 129, 165,- 163, 131, 34, 32, 94, 226, 121, 93, 24, 87, 226, 105, 25, 242, 128, 198,- 78, 26, 237, 21, 92, 33, 121, 8, 119, 131, 140, 193, 14, 60, 139, 130, 19,- 65, 96, 50, 5, 249, 12, 27, 51, 23, 195, 89, 255, 47, 23, 109, 62, 202,- 190, 5, 131, 92, 91, 39, 27, 209, 132, 146, 95, 98, 66, 26, 230, 186, 236,- 186, 162, 149, 81, 143, 221, 21, 79, 171, 236, 21, 161, 19, 135, 10, 213,- 168, 200, 135, 19, 221, 177, 207, 106, 214, 194, 124, 220, 53, 45, 176,- 245, 178, 189, 49, 242, 22, 230, 154, 241, 146, 230, 187, 180, 244, 158,- 145, 197, 225, 51, 150, 140, 26, 175, 78, 142, 243, 232, 221, 137, 205,- 130, 178, 54, 216, 136, 118, 212, 33, 90, 206, 18, 224, 158, 44, 23, 144,- 204, 24, 184, 48, 81, 233, 124, 20, 222, 77, 119, 144, 22, 145, 241, 19,- 206, 135, 252, 164, 114, 84, 37, 175, 107, 67, 243, 183, 137, 213, 53,- 236, 41, 73, 50, 34, 146, 218, 204, 68, 235, 158, 150, 139, 133, 75, 248,- 157, 7, 0, 53, 68, 44, 156, 110, 56, 197, 209, 201, 0, 155, 225, 85, 35,- 169, 193, 231, 36, 31, 142, 101, 168, 29, 192, 31, 128, 81, 191, 253, 184,- 153, 226, 214, 1, 27, 6, 0, 192, 36, 101, 72, 105, 150, 226, 3, 21, 12,- 127, 72, 250, 223, 240, 136, 249, 157, 129, 247, 91, 178, 157, 208, 86,- 146, 23, 176, 150, 35, 211, 155, 22, 207, 119, 168, 167, 122, 180, 183,- 106, 97, 138, 87, 96, 34, 141, 110, 145, 231, 226, 35, 115, 232, 129, 54,- 186, 128, 190, 238, 37, 169, 194, 37, 24, 237, 211, 164, 111, 54, 88, 245,- 125, 67, 78, 194, 11, 194, 235, 217, 87, 203, 14, 220, 189, 107, 68, 94,- 139, 66, 230, 5, 54, 64, 28, 246, 143, 75, 127, 239, 243, 20, 251, 189,- 246, 246, 151, 90, 219, 227, 242, 223, 205, 40, 124, 245, 4, 189, 72, 39,- 145, 110, 96, 120, 164, 27, 117, 146, 177, 30, 76, 173, 106, 130, 228,- 192, 189, 59, 167, 30, 127, 178, 164, 5, 133, 80, 199, 207, 216, 189, 156,- 93, 222, 150, 129, 81, 193, 180, 38, 59, 8, 214, 210, 95, 150, 182, 175,- 148, 43, 153, 169, 66, 62, 135, 140, 159, 89, 195, 253, 3, 132, 180, 164,- 244, 243, 232, 71, 196, 200, 158, 194, 114, 115, 193, 88, 161, 185, 235,- 247, 14, 126, 225, 176, 111, 17, 79, 77, 245, 80, 229, 174, 6, 180, 156,- 217, 85, 174, 201, 255, 237, 85, 83, 53, 188, 153, 98, 91, 193, 21, 211,- 49, 145, 196, 252, 52, 66, 226, 131, 203, 214, 130, 237, 194, 208, 174,- 102, 133, 220, 235, 222, 79, 232, 36, 21, 161, 248, 51, 185, 164, 156, 95,- 121, 65, 57, 233, 183, 29, 199, 105, 104, 12, 90, 195, 186, 81, 199, 176,- 1, 87, 16, 226, 192, 206, 185, 197, 46, 34, 75, 174, 153, 238, 15, 50, 87,- 226, 96, 26, 197, 202, 73, 235, 19, 140, 9, 79, 12, 52, 83, 76, 85, 146,- 234, 24, 151, 179, 178, 118, 58, 162, 223, 103, 69, 244, 231, 135, 167,- 204, 117, 166, 60, 237, 82, 63, 11, 4, 207, 10, 146, 54, 126, 191, 79,- 133, 60, 128, 34, 136, 170, 23, 84, 81, 38, 94, 9, 130, 245, 100, 115,- 209, 34, 228, 158, 101, 216, 135, 208, 207, 191, 169, 115, 252, 144, 139,- 226, 252, 6, 44, 221, 134, 170, 87, 11, 46, 124, 58, 219, 179, 238, 6, 98,- 216, 18, 174, 42, 12, 97, 126, 85, 245, 81, 220, 232, 135, 114, 21, 125,- 135, 225, 182, 245, 228, 223, 242, 62, 158, 35, 76, 6, 110, 25, 184, 206,- 124, 237, 54, 252, 199, 44, 78, 89, 0, 135, 44, 176, 57, 168, 36, 221,- 173, 77, 214, 209, 60, 1, 202, 238, 237, 61, 90, 47, 114, 230, 92, 238,- 235, 18, 151, 220, 243, 225, 163, 159, 139, 189, 253, 62, 225, 182, 202,- 59, 7, 83, 99, 129, 118, 175, 37, 246, 85, 119, 251, 246, 69, 180, 247,- 37, 24, 194, 89, 158, 97, 230, 247, 254, 145, 102, 89, 77, 68, 245, 3,- 103, 83, 28, 45, 168, 30, 189, 151, 112, 120, 215, 84, 90, 198, 85, 85,- 129, 55, 127, 124, 28, 137, 229, 139, 54, 88, 229, 105, 81, 212, 83, 28,- 107, 250, 82, 164, 43, 24, 15, 57, 206, 156, 19, 145, 95, 57, 169, 8, 128,- 211, 29, 213, 195, 148, 27, 73, 186, 221, 242, 11, 167, 78, 246, 133, 18,- 118, 67, 236, 59, 19, 112, 254, 93, 168, 157, 118, 0, 107, 248, 57, 149,- 67, 222, 123, 225, 207, 251, 69, 218, 56, 110, 162, 19, 25, 209, 209, 213,- 200, 158, 70, 9, 100, 208, 77, 48, 255, 151, 200, 0, 68, 230, 70, 120,- 209, 29, 86, 225, 188, 189, 226, 101, 42, 176, 32, 147, 121, 72, 151, 130,- 217, 13, 66, 148, 84, 129, 215, 249, 164, 174, 187, 80, 85, 185, 245, 108,- 169, 119, 59, 178, 144, 229, 63, 194, 132, 250, 131, 82, 161, 125, 126,- 255, 252, 220, 204, 104, 231, 201, 136, 246, 116, 43, 88, 233, 0, 43, 128,- 214, 40, 59, 81, 147, 139, 132, 69, 24, 233, 21, 14, 91, 230, 241, 19,- 138, 163, 55, 13, 221, 47, 64, 140, 248, 6, 38, 164, 16, 219, 63, 33, 180,- 71, 151, 0, 234, 103, 58, 213, 222, 163, 95, 132, 1, 178, 146, 66, 124,- 242, 223, 102, 129, 192, 214, 194, 117, 162, 252, 246, 143, 42, 70, 139,- 97, 168, 64, 141, 190, 115, 126, 93, 175, 59, 49, 9, 184, 88, 201, 100,- 182, 142, 145, 244, 72, 128, 203, 49, 196, 5, 5, 18, 46, 34, 87, 171, 132,- 158, 128, 75, 194, 8, 242, 52, 156, 229, 245, 56, 245, 88, 14, 195, 110,- 166, 51, 158, 245, 195, 120, 17, 166, 66, 100, 212, 188, 243, 2, 236, 90,- 8, 16, 35, 151, 122, 175, 115, 168, 186, 191, 60, 71, 23, 81, 217, 79,- 203, 239, 61, 146, 247, 168, 112, 83, 102, 146, 222, 178, 45, 247, 63, 23,- 181, 3, 136, 208, 62, 154, 203, 35, 250, 238, 61, 98, 207, 90, 169, 175,- 36, 227, 9, 182, 78, 226, 99, 89, 67, 105, 185, 35, 242, 162, 54, 99, 60,- 148, 14, 118, 1, 26, 120, 62, 82, 62, 222, 34, 99, 58, 174, 145, 199, 190,- 21, 182, 117, 238, 13, 170, 29, 67, 149, 44, 90, 94, 181, 125, 182, 186,- 82, 55, 105, 253, 29, 212, 67, 134, 204, 227, 94, 255, 127, 72, 157, 140,- 142, 224, 77, 149, 29, 170, 45, 163, 214, 209, 46, 28, 125, 177, 111, 2,- 92, 121, 252, 166, 204, 227, 173, 51, 60, 162, 243, 202, 207, 103, 30,- 153, 182, 116, 182, 130, 98, 59, 25, 141, 239, 49, 224, 176, 27, 237, 218,- 76, 68, 189, 108, 185, 136, 255, 105, 150, 11, 153, 44, 248, 139, 199,- 178, 235, 85, 115, 121, 144, 87, 221, 50, 222, 238, 16, 20, 51, 190, 93,- 248, 228, 84, 228, 115, 31, 229, 227, 137, 180, 44, 115, 224, 119, 129,- 181, 134, 224, 144, 186, 123, 208, 118, 96, 101, 177, 191, 232, 171, 6,- 17, 247, 187, 173, 84, 70, 249, 19, 191, 116, 172, 126, 131, 216, 123,- 225, 151, 55, 205, 177, 93, 139, 117,- ]),- 'raw-public': hexStringToUint8Array(- '92b84328ac1bcc1b87166ddf7f176182c6e4c73eb215ad1458b4cda811a4875c55924cc29850ef9d2115efb6b0fe7c50878a57a9676357055ba1ef3b12f69414203c75f5b69cc4e65275e4d3512d73d9175f8a5f677c2059bb30fb6751ea4c0439c547307da9c393b78ea60893074df06f2ca817596b5fdc4bca2c19f4c8a000ae6f6bcc16247abf652134fc0e2f196d873083fdc3ed3c560e77551cb68b88bf3bbb5a7ecfa8eeb8534dfed0153968bce48652f9bef9a3786f44e1d2831d97999247a368e1c22140d55c91fd2a20e95fe048b877c071fdb199f6f03167aae55245ba24fc1d7cff199405a09f699db9199e7a911ef533cd3e389a173400e1b169c383b197c5726e80e37fb01cfcd9383d8894be7c6c813ef3eb2546e4e90a437c783aa453395027cc621cc7884b0c33ff18827f13efa05e894b0f529efca32becc1ea1b4a450eb3ab0aa91b8aacd5bddea76e180b7697df5e9a7d091589468033663469689d36ba4bd9e2a9477db1fdda55ecf219d793b568f2524b32a531668052edaa86a2c438f7c78a6676254272a5b19cfb27c70ca7f6a9966c5bc02a44c0f4ff6b12bf074913ae1c74428360ad3c83bef9dbf647b67cb781656d5fb44e118cb63e50c3b8fdb0a999011d5327fc9629dbb030976c3cffef005565c16ecc0cfe16880f9ad9580d1cfce830202129dd67e3e4b136afc36aae8c36806cd6e4d776e2ceab159ba29887cb10aa8264ad9bf35028629df8076558c7dae08d52ee795c5261311f9b3d3f54e35a8fa43bd865132386021412c561d7a955dc4bfe5b7d902b41801d424db8ac597bcbe7fe3b12f9ccf9dc9954a63f176c7891d843df7bf80ffd3fbf7e545f628d42c881c2ae1e50304b710e6665daf90ecb18060b596338311194a0f265bf66e373216b47eb068d44a1a2a5e39f52fd369dd6ff8d979a86965d8d619ef4b4872a0a03940998951412edfdb488a50d50c3dc2b03b20a7f9002cfd1f6286e26850916b40bdf74eccdba19b79ba54dce65ff6adf460a16b0778ea3c5b2fbd870ed3fc94ddbc402b0300fcf5b4aec1508cd7e4d1c0d1a1ccafa644f86d1c14eca3af87cd7408ff41117a3a2f1f931d2a8cbd5874d0e1d23c1ea3a0c6aa5a3fbc073fb07c6bd5dcfb2f632bdb9332d548cc2222e5c5a8851513534fd80f783f315cff58d31b2d5d6d30811ea85e168c5bae07501ad6811b1a1df47c39fc22db1741abbc1a1d5b39e087aba7abf9e050cb2eb4e844ebd10566e493381fff26e3f0635d16e84ec2befc0dd8a0180b000715577c924bcca09df62c42a829e95c896ca8476996136c39a0f2df68190ffe74b19382fb2620a6a543871a1e325f601f581ad46ba0b1c7dc6f3e17182058a34fbc2986930d60df6e44becc2dfb1409661a7141b4a4ca6c7ef5bf0081636293f2370fffb58fc93adb92b62539be6b037a108530f6e97f16ea8cbbec6da9890963a7b0b7bfa6871c65d019833ac8cf67371e5daa6c8237b1085a9bf3b670c720f3c25045cd0361f4f38e1060b4a6b4fe1ef1049f9eac581e661277331608d29f2e1b1d6126722e525b0f16352e3c34d2040047831c7d18b0204dee92d978d8efc297ce70d903fd4fc91228ee898548757af2e358b3ca887a765fd7f988a9a1fe7c64d59b60936677764daf52cbf4a1e9854163e9f83a3df0333c2f13109d52bd6c94b9ec616cbd1bec7bd4b0406483cf171ab1e2a8f493348ce6eafcbc3c70f9bd0a6791a843b2c489b07307a84e08e030715cf0b1e701295927f2968c5a956d56cfd6fa0050bcaace92005345c7c98a20b581ca6f88dfb26a1353188f6b75509a5736c12d0da81a5a38322205ee2795d1857e26919f280c64e1aed155c21790877838cc10e3c8b821341603205f90c1b3317c359ff2f176d3ecabe05835c5b271bd184925f62421ae6baecbaa295518fdd154fabec15a113870ad5a8c88713ddb1cf6ad6c27cdc352db0f5b2bd31f216e69af192e6bbb4f49e91c5e133968c1aaf4e8ef3e8dd89cd82b236d88876d4215ace12e09e2c1790cc18b83051e97c14de4d77901691f113ce87fca4725425af6b43f3b789d535ec2949322292dacc44eb9e968b854bf89d070035442c9c6e38c5d1c9009be15523a9c1e7241f8e65a81dc01f8051bffdb899e2d6011b0600c02465486996e203150c7f48fadff088f99d81f75bb29dd0569217b09623d39b16cf77a8a77ab4b76a618a5760228d6e91e7e22373e88136ba80beee25a9c22518edd3a46f3658f57d434ec20bc2ebd957cb0edcbd6b445e8b42e60536401cf68f4b7feff314fbbdf6f6975adbe3f2dfcd287cf504bd4827916e6078a41b7592b11e4cad6a82e4c0bd3ba71e7fb2a4058550c7cfd8bd9c5dde968151c1b4263b08d6d25f96b6af942b99a9423e878c9f59c3fd0384b4a4f4f3e847c4c89ec27273c158a1b9ebf70e7ee1b06f114f4df550e5ae06b49cd955aec9ffed555335bc99625bc115d33191c4fc3442e283cbd682edc2d0ae6685dcebde4fe82415a1f833b9a49c5f794139e9b71dc769680c5ac3ba51c7b0015710e2c0ceb9c52e224bae99ee0f3257e2601ac5ca49eb138c094f0c34534c5592ea1897b3b2763aa2df6745f4e787a7cc75a63ced523f0b04cf0a92367ebf4f853c802288aa175451265e0982f56473d122e49e65d887d0cfbfa973fc908be2fc062cdd86aa570b2e7c3adbb3ee0662d812ae2a0c617e55f551dce88772157d87e1b6f5e4dff23e9e234c066e19b8ce7ced36fcc72c4e5900872cb039a824ddad4dd6d13c01caeeed3d5a2f72e65ceeeb1297dcf3e1a39f8bbdfd3ee1b6ca3b0753638176af25f65577fbf645b4f72518c2599e61e6f7fe9166594d44f50367531c2da81ebd977078d7545ac6555581377f7c1c89e58b3658e56951d4531c6bfa52a42b180f39ce9c13915f39a90880d31dd5c3941b49baddf20ba74ef685127643ec3b1370fe5da89d76006bf8399543de7be1cffb45da386ea21319d1d1d5c89e460964d04d30ff97c80044e64678d11d56e1bcbde2652ab0209379489782d90d42945481d7f9a4aebb5055b9f56ca9773bb290e53fc284fa8352a17d7efffcdccc68e7c988f6742b58e9002b80d6283b51938b844518e9150e5be6f1138aa3370ddd2f408cf80626a410db3f21b4479700ea673ad5dea35f8401b292427cf2df6681c0d6c275a2fcf68f2a468b61a8408dbe737e5daf3b3109b858c964b68e91f44880cb31c40505122e2257ab849e804bc208f2349ce5f538f5580ec36ea6339ef5c37811a64264d4bcf302ec5a081023977aaf73a8babf3c471751d94fcbef3d92f7a870536692deb22df73f17b50388d03e9acb23faee3d62cf5aa9af24e309b64ee263594369b923f2a236633c940e76011a783e523ede22633aae91c7be15b675ee0daa1d43952c5a5eb57db6ba523769fd1dd44386cce35eff7f489d8c8ee04d951daa2da3d6d12e1c7db16f025c79fca6cce3ad333ca2f3cacf671e99b674b682623b198def31e0b01bedda4c44bd6cb988ff69960b992cf88bc7b2eb5573799057dd32deee101433be5df8e454e4731fe5e389b42c73e07781b586e090ba7bd0766065b1bfe8ab0611f7bbad5446f913bf74ac7e83d87be19737cdb15d8b75'- ),- 'raw-seed': new Uint8Array([- 161, 80, 109, 145, 76, 109, 101, 140, 117, 39, 228, 51, 151, 221, 109, 76,- 37, 246, 164, 121, 116, 51, 90, 76, 208, 59, 254, 105, 131, 68, 18, 81,- ]),- jwk: {- priv: 'oVBtkUxtZYx1J-Qzl91tTCX2pHl0M1pM0Dv-aYNEElE',- kty: 'AKP',- alg: 'ML-DSA-87',- pub: 'krhDKKwbzBuHFm3ffxdhgsbkxz6yFa0UWLTNqBGkh1xVkkzCmFDvnSEV77aw_nxQh4pXqWdjVwVboe87EvaUFCA8dfW2nMTmUnXk01Etc9kXX4pfZ3wgWbsw-2dR6kwEOcVHMH2pw5O3jqYIkwdN8G8sqBdZa1_cS8osGfTIoACub2vMFiR6v2UhNPwOLxlthzCD_cPtPFYOd1UctouIvzu7Wn7PqO64U03-0BU5aLzkhlL5vvmjeG9E4dKDHZeZkkejaOHCIUDVXJH9KiDpX-BIuHfAcf2xmfbwMWeq5VJFuiT8HXz_GZQFoJ9pnbkZnnqRHvUzzT44mhc0AOGxacODsZfFcm6A43-wHPzZOD2IlL58bIE-8-slRuTpCkN8eDqkUzlQJ8xiHMeISwwz_xiCfxPvoF6JSw9SnvyjK-zB6htKRQ6zqwqpG4qs1b3ep24YC3aX316afQkViUaAM2Y0aWidNrpL2eKpR32x_dpV7PIZ15O1aPJSSzKlMWaAUu2qhqLEOPfHimZ2JUJypbGc-yfHDKf2qZZsW8AqRMD0_2sSvwdJE64cdEKDYK08g7752_ZHtny3gWVtX7ROEYy2PlDDuP2wqZkBHVMn_JYp27Awl2w8_-8AVWXBbswM_haID5rZWA0c_OgwICEp3Wfj5LE2r8Nqrow2gGzW5Nd24s6rFZuimIfLEKqCZK2b81AoYp34B2VYx9rgjVLueVxSYTEfmz0_VONaj6Q72GUTI4YCFBLFYdepVdxL_lt9kCtBgB1CTbisWXvL5_47EvnM-dyZVKY_F2x4kdhD33v4D_0_v35UX2KNQsiBwq4eUDBLcQ5mZdr5DssYBgtZYzgxEZSg8mW_ZuNzIWtH6waNRKGipeOfUv02ndb_jZeahpZdjWGe9LSHKgoDlAmYlRQS7f20iKUNUMPcKwOyCn-QAs_R9ihuJoUJFrQL33TszboZt5ulTc5l_2rfRgoWsHeOo8Wy-9hw7T_JTdvEArAwD89bSuwVCM1-TRwNGhzK-mRPhtHBTso6-HzXQI_0ERejovH5MdKoy9WHTQ4dI8HqOgxqpaP7wHP7B8a9Xc-y9jK9uTMtVIzCIi5cWohRUTU0_YD3g_MVz_WNMbLV1tMIEeqF4WjFuuB1Aa1oEbGh30fDn8ItsXQau8Gh1bOeCHq6er-eBQyy606ETr0QVm5JM4H_8m4_BjXRboTsK-_A3YoBgLAAcVV3ySS8ygnfYsQqgp6VyJbKhHaZYTbDmg8t9oGQ_-dLGTgvsmIKalQ4caHjJfYB9YGtRroLHH3G8-FxggWKNPvCmGkw1g325Evswt-xQJZhpxQbSkymx-9b8AgWNik_I3D_-1j8k625K2JTm-awN6EIUw9ul_FuqMu-xtqYkJY6ewt7-mhxxl0BmDOsjPZzceXapsgjexCFqb87ZwxyDzwlBFzQNh9POOEGC0prT-HvEEn56sWB5mEnczFgjSny4bHWEmci5SWw8WNS48NNIEAEeDHH0YsCBN7pLZeNjvwpfOcNkD_U_JEijuiYVIdXry41izyoh6dl_X-Yipof58ZNWbYJNmd3ZNr1LL9KHphUFj6fg6PfAzPC8TEJ1SvWyUuexhbL0b7HvUsEBkg88XGrHiqPSTNIzm6vy8PHD5vQpnkahDssSJsHMHqE4I4DBxXPCx5wEpWSfyloxalW1Wz9b6AFC8qs6SAFNFx8mKILWBym-I37JqE1MYj2t1UJpXNsEtDagaWjgyIgXuJ5XRhX4mkZ8oDGThrtFVwheQh3g4zBDjyLghNBYDIF-QwbMxfDWf8vF20-yr4Fg1xbJxvRhJJfYkIa5rrsuqKVUY_dFU-r7BWhE4cK1ajIhxPdsc9q1sJ83DUtsPWyvTHyFuaa8ZLmu7T0npHF4TOWjBqvTo7z6N2JzYKyNtiIdtQhWs4S4J4sF5DMGLgwUel8FN5Nd5AWkfETzof8pHJUJa9rQ_O3idU17ClJMiKS2sxE656Wi4VL-J0HADVELJxuOMXRyQCb4VUjqcHnJB-OZagdwB-AUb_9uJni1gEbBgDAJGVIaZbiAxUMf0j63_CI-Z2B91uyndBWkhewliPTmxbPd6inerS3amGKV2AijW6R5-Ijc-iBNrqAvu4lqcIlGO3TpG82WPV9Q07CC8Lr2VfLDty9a0Rei0LmBTZAHPaPS3_v8xT7vfb2l1rb4_LfzSh89QS9SCeRbmB4pBt1krEeTK1qguTAvTunHn-ypAWFUMfP2L2cXd6WgVHBtCY7CNbSX5a2r5QrmalCPoeMn1nD_QOEtKT08-hHxMiewnJzwVihuev3Dn7hsG8RT031UOWuBrSc2VWuyf_tVVM1vJliW8EV0zGRxPw0QuKDy9aC7cLQrmaF3OveT-gkFaH4M7mknF95QTnptx3HaWgMWsO6UcewAVcQ4sDOucUuIkuume4PMlfiYBrFyknrE4wJTww0U0xVkuoYl7Oydjqi32dF9OeHp8x1pjztUj8LBM8KkjZ-v0-FPIAiiKoXVFEmXgmC9WRz0SLknmXYh9DPv6lz_JCL4vwGLN2GqlcLLnw627PuBmLYEq4qDGF-VfVR3OiHchV9h-G29eTf8j6eI0wGbhm4znztNvzHLE5ZAIcssDmoJN2tTdbRPAHK7u09Wi9y5lzu6xKX3PPho5-Lvf0-4bbKOwdTY4F2ryX2VXf79kW09yUYwlmeYeb3_pFmWU1E9QNnUxwtqB69l3B411RaxlVVgTd_fByJ5Ys2WOVpUdRTHGv6UqQrGA85zpwTkV85qQiA0x3Vw5QbSbrd8gunTvaFEnZD7DsTcP5dqJ12AGv4OZVD3nvhz_tF2jhuohMZ0dHVyJ5GCWTQTTD_l8gAROZGeNEdVuG8veJlKrAgk3lIl4LZDUKUVIHX-aSuu1BVufVsqXc7spDlP8KE-oNSoX1-__zczGjnyYj2dCtY6QArgNYoO1GTi4RFGOkVDlvm8ROKozcN3S9AjPgGJqQQ2z8htEeXAOpnOtXeo1-EAbKSQnzy32aBwNbCdaL89o8qRothqECNvnN-Xa87MQm4WMlkto6R9EiAyzHEBQUSLiJXq4SegEvCCPI0nOX1OPVYDsNupjOe9cN4EaZCZNS88wLsWggQI5d6r3Oour88RxdR2U_L7z2S96hwU2aS3rIt9z8XtQOI0D6ayyP67j1iz1qpryTjCbZO4mNZQ2m5I_KiNmM8lA52ARp4PlI-3iJjOq6Rx74VtnXuDaodQ5UsWl61fba6Ujdp_R3UQ4bM417_f0idjI7gTZUdqi2j1tEuHH2xbwJcefymzOOtMzyi88rPZx6ZtnS2gmI7GY3vMeCwG-3aTES9bLmI_2mWC5ks-IvHsutVc3mQV90y3u4QFDO-XfjkVORzH-XjibQsc-B3gbWG4JC6e9B2YGWxv-irBhH3u61URvkTv3SsfoPYe-GXN82xXYt1',- },- },-};diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/ML-KEM_importKey.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/ML-KEM_importKey.jsdeleted file mode 100644index ad2f7504855..00000000000--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/ML-KEM_importKey.js+++ /dev/null@@ -1,130 +0,0 @@-var subtle = crypto.subtle;--function runTests(algorithmName) {- var algorithm = { name: algorithmName };- var data = keyData[algorithmName];- // var jwkData = {jwk: {kty: data.jwk.kty, alg: data.jwk.alg, pub: data.jwk.pub}};-- // TODO: add JWK when its definition is done in IETF JOSE WG-- [true, false].forEach(function (extractable) {- // Test public keys first- allValidUsages(data.publicUsages, true).forEach(function (usages) {- ['spki', /*'jwk',*/ 'raw-public'].forEach(function (format) {- if (format === 'jwk') {- // Not all fields used for public keys- testFormat(- format,- algorithm,- jwkData,- algorithmName,- usages,- extractable- );- } else {- testFormat(- format,- algorithm,- data,- algorithmName,- usages,- extractable- );- }- });- });-- // Next, test private keys- allValidUsages(data.privateUsages).forEach(function (usages) {- ['pkcs8', /*'jwk',*/ 'raw-seed'].forEach(function (format) {- testFormat(format, algorithm, data, algorithmName, usages, extractable);- });- });- });-}--// Test importKey with a given key format and other parameters. If-// extrable is true, export the key and verify that it matches the input.-function testFormat(format, algorithm, keyData, keySize, usages, extractable) {- [algorithm, algorithm.name].forEach((alg) => {- promise_test(function (test) {- return subtle- .importKey(format, keyData[format], alg, extractable, usages)- .then(- function (key) {- assert_equals(- key.constructor,- CryptoKey,- 'Imported a CryptoKey object'- );- assert_goodCryptoKey(- key,- algorithm,- extractable,- usages,- format === 'pkcs8' ||- format === 'raw-seed' ||- (format === 'jwk' && keyData[format].priv)- ? 'private'- : 'public'- );- if (!extractable) {- return;- }-- return subtle.exportKey(format, key).then(- function (result) {- if (format !== 'jwk') {- assert_true(- equalBuffers(keyData[format], result),- 'Round trip works'- );- } else {- assert_true(- equalJwk(keyData[format], result),- 'Round trip works'- );- }- },- function (err) {- assert_unreached(- 'Threw an unexpected error: ' + err.toString()- );- }- );- },- function (err) {- assert_unreached('Threw an unexpected error: ' + err.toString());- }- );- }, 'Good parameters: ' +- keySize.toString() +- ' bits ' +- parameterString(format, keyData[format], alg, extractable, usages));- });-}--// Helper methods follow:--// Convert method parameters to a string to uniquely name each test-function parameterString(format, data, algorithm, extractable, usages) {- if ('byteLength' in data) {- data = 'buffer(' + data.byteLength.toString() + ')';- } else {- data = 'object(' + Object.keys(data).join(', ') + ')';- }- var result =- '(' +- objectToString(format) +- ', ' +- objectToString(data) +- ', ' +- objectToString(algorithm) +- ', ' +- objectToString(extractable) +- ', ' +- objectToString(usages) +- ')';-- return result;-}diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/ec_importKey.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/ec_importKey.https.any.htmlindex f977dad2c04..62c74f9f206 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/ec_importKey.https.any.html+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/ec_importKey.https.any.html@@ -12,5 +12,6 @@ self.GLOBAL = {<script src="../../resources/testharness.js"></script><script src="../../resources/testharnessreport.js"></script><script src="../util/helpers.js"></script>+<script src="../util/ec_key_fixtures.js"></script><div id=log></div><script src="../../WebCryptoAPI/import_export/ec_importKey.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/ec_importKey.https.any.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/ec_importKey.https.any.jsindex 3b78bab4e74..473fab2887e 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/ec_importKey.https.any.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/ec_importKey.https.any.js@@ -1,6 +1,7 @@// META: title=WebCryptoAPI: importKey() for EC keys// META: timeout=long// META: script=../util/helpers.js+// META: script=../util/ec_key_fixtures.js// Test importKey and exportKey for EC algorithms. Only "happy paths" are// currently tested - those where the operation should succeed.@@ -9,56 +10,7 @@var curves = ['P-256', 'P-384', 'P-521'];- var keyData = {- "P-521": {- spki: new Uint8Array([48, 129, 155, 48, 16, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 5, 43, 129, 4, 0, 35, 3, 129, 134, 0, 4, 1, 86, 244, 121, 248, 223, 30, 32, 167, 255, 192, 76, 228, 32, 195, 225, 84, 174, 37, 25, 150, 190, 228, 47, 3, 75, 132, 212, 27, 116, 63, 52, 228, 95, 49, 27, 129, 58, 156, 222, 200, 205, 165, 155, 187, 189, 49, 212, 96, 179, 41, 37, 33, 231, 193, 183, 34, 229, 102, 124, 3, 219, 47, 174, 117, 63, 1, 80, 23, 54, 207, 226, 71, 57, 67, 32, 216, 228, 175, 194, 253, 57, 181, 169, 51, 16, 97, 184, 30, 34, 65, 40, 43, 158, 23, 137, 24, 34, 181, 183, 158, 5, 47, 69, 151, 181, 150, 67, 253, 57, 55, 156, 81, 189, 81, 37, 196, 244, 139, 195, 240, 37, 206, 60, 211, 105, 83, 40, 108, 203, 56, 251]),- spki_compressed: new Uint8Array([48, 88, 48, 16, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 5, 43, 129, 4, 0, 35, 3, 68, 0, 3, 1, 86, 244, 121, 248, 223, 30, 32, 167, 255, 192, 76, 228, 32, 195, 225, 84, 174, 37, 25, 150, 190, 228, 47, 3, 75, 132, 212, 27, 116, 63, 52, 228, 95, 49, 27, 129, 58, 156, 222, 200, 205, 165, 155, 187, 189, 49, 212, 96, 179, 41, 37, 33, 231, 193, 183, 34, 229, 102, 124, 3, 219, 47, 174, 117, 63]),- raw: new Uint8Array([4, 1, 86, 244, 121, 248, 223, 30, 32, 167, 255, 192, 76, 228, 32, 195, 225, 84, 174, 37, 25, 150, 190, 228, 47, 3, 75, 132, 212, 27, 116, 63, 52, 228, 95, 49, 27, 129, 58, 156, 222, 200, 205, 165, 155, 187, 189, 49, 212, 96, 179, 41, 37, 33, 231, 193, 183, 34, 229, 102, 124, 3, 219, 47, 174, 117, 63, 1, 80, 23, 54, 207, 226, 71, 57, 67, 32, 216, 228, 175, 194, 253, 57, 181, 169, 51, 16, 97, 184, 30, 34, 65, 40, 43, 158, 23, 137, 24, 34, 181, 183, 158, 5, 47, 69, 151, 181, 150, 67, 253, 57, 55, 156, 81, 189, 81, 37, 196, 244, 139, 195, 240, 37, 206, 60, 211, 105, 83, 40, 108, 203, 56, 251]),- raw_compressed: new Uint8Array([3, 1, 86, 244, 121, 248, 223, 30, 32, 167, 255, 192, 76, 228, 32, 195, 225, 84, 174, 37, 25, 150, 190, 228, 47, 3, 75, 132, 212, 27, 116, 63, 52, 228, 95, 49, 27, 129, 58, 156, 222, 200, 205, 165, 155, 187, 189, 49, 212, 96, 179, 41, 37, 33, 231, 193, 183, 34, 229, 102, 124, 3, 219, 47, 174, 117, 63]),- pkcs8: new Uint8Array([48, 129, 238, 2, 1, 0, 48, 16, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 5, 43, 129, 4, 0, 35, 4, 129, 214, 48, 129, 211, 2, 1, 1, 4, 66, 0, 244, 8, 117, 131, 104, 186, 147, 15, 48, 247, 106, 224, 84, 254, 92, 210, 206, 127, 218, 44, 159, 118, 166, 212, 54, 207, 117, 214, 108, 68, 11, 254, 99, 49, 199, 193, 114, 161, 36, 120, 25, 60, 130, 81, 72, 123, 201, 18, 99, 250, 80, 33, 127, 133, 255, 99, 111, 89, 205, 84, 110, 58, 180, 131, 180, 161, 129, 137, 3, 129, 134, 0, 4, 1, 86, 244, 121, 248, 223, 30, 32, 167, 255, 192, 76, 228, 32, 195, 225, 84, 174, 37, 25, 150, 190, 228, 47, 3, 75, 132, 212, 27, 116, 63, 52, 228, 95, 49, 27, 129, 58, 156, 222, 200, 205, 165, 155, 187, 189, 49, 212, 96, 179, 41, 37, 33, 231, 193, 183, 34, 229, 102, 124, 3, 219, 47, 174, 117, 63, 1, 80, 23, 54, 207, 226, 71, 57, 67, 32, 216, 228, 175, 194, 253, 57, 181, 169, 51, 16, 97, 184, 30, 34, 65, 40, 43, 158, 23, 137, 24, 34, 181, 183, 158, 5, 47, 69, 151, 181, 150, 67, 253, 57, 55, 156, 81, 189, 81, 37, 196, 244, 139, 195, 240, 37, 206, 60, 211, 105, 83, 40, 108, 203, 56, 251]),- pkcs8_private_only: new Uint8Array([48, 96, 2, 1, 0, 48, 16, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 5, 43, 129, 4, 0, 35, 4, 73, 48, 71, 2, 1, 1, 4, 66, 0, 244, 8, 117, 131, 104, 186, 147, 15, 48, 247, 106, 224, 84, 254, 92, 210, 206, 127, 218, 44, 159, 118, 166, 212, 54, 207, 117, 214, 108, 68, 11, 254, 99, 49, 199, 193, 114, 161, 36, 120, 25, 60, 130, 81, 72, 123, 201, 18, 99, 250, 80, 33, 127, 133, 255, 99, 111, 89, 205, 84, 110, 58, 180, 131, 180]),- jwk: {- kty: "EC",- crv: "P-521",- x: "AVb0efjfHiCn_8BM5CDD4VSuJRmWvuQvA0uE1Bt0PzTkXzEbgTqc3sjNpZu7vTHUYLMpJSHnwbci5WZ8A9svrnU_",- y: "AVAXNs_iRzlDINjkr8L9ObWpMxBhuB4iQSgrnheJGCK1t54FL0WXtZZD_Tk3nFG9USXE9IvD8CXOPNNpUyhsyzj7",- d: "APQIdYNoupMPMPdq4FT-XNLOf9osn3am1DbPddZsRAv-YzHHwXKhJHgZPIJRSHvJEmP6UCF_hf9jb1nNVG46tIO0"- }- },-- "P-256": {- spki: new Uint8Array([48, 89, 48, 19, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 8, 42, 134, 72, 206, 61, 3, 1, 7, 3, 66, 0, 4, 210, 16, 176, 166, 249, 217, 240, 18, 134, 128, 88, 180, 63, 164, 244, 113, 1, 133, 67, 187, 160, 12, 146, 80, 223, 146, 87, 194, 172, 174, 93, 209, 206, 3, 117, 82, 212, 129, 69, 12, 227, 155, 77, 16, 149, 112, 27, 23, 91, 250, 179, 75, 142, 108, 9, 158, 24, 241, 193, 152, 53, 131, 97, 232]),- spki_compressed: new Uint8Array([48, 57, 48, 19, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 8, 42, 134, 72, 206, 61, 3, 1, 7, 3, 34, 0, 2, 210, 16, 176, 166, 249, 217, 240, 18, 134, 128, 88, 180, 63, 164, 244, 113, 1, 133, 67, 187, 160, 12, 146, 80, 223, 146, 87, 194, 172, 174, 93, 209]),- raw: new Uint8Array([4, 210, 16, 176, 166, 249, 217, 240, 18, 134, 128, 88, 180, 63, 164, 244, 113, 1, 133, 67, 187, 160, 12, 146, 80, 223, 146, 87, 194, 172, 174, 93, 209, 206, 3, 117, 82, 212, 129, 69, 12, 227, 155, 77, 16, 149, 112, 27, 23, 91, 250, 179, 75, 142, 108, 9, 158, 24, 241, 193, 152, 53, 131, 97, 232]),- raw_compressed: new Uint8Array([2, 210, 16, 176, 166, 249, 217, 240, 18, 134, 128, 88, 180, 63, 164, 244, 113, 1, 133, 67, 187, 160, 12, 146, 80, 223, 146, 87, 194, 172, 174, 93, 209]),- pkcs8: new Uint8Array([48, 129, 135, 2, 1, 0, 48, 19, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 8, 42, 134, 72, 206, 61, 3, 1, 7, 4, 109, 48, 107, 2, 1, 1, 4, 32, 19, 211, 58, 45, 90, 191, 156, 249, 235, 178, 31, 248, 96, 212, 174, 254, 110, 86, 231, 119, 144, 244, 222, 233, 180, 8, 132, 235, 211, 53, 68, 234, 161, 68, 3, 66, 0, 4, 210, 16, 176, 166, 249, 217, 240, 18, 134, 128, 88, 180, 63, 164, 244, 113, 1, 133, 67, 187, 160, 12, 146, 80, 223, 146, 87, 194, 172, 174, 93, 209, 206, 3, 117, 82, 212, 129, 69, 12, 227, 155, 77, 16, 149, 112, 27, 23, 91, 250, 179, 75, 142, 108, 9, 158, 24, 241, 193, 152, 53, 131, 97, 232]),- pkcs8_private_only: new Uint8Array([48, 65, 2, 1, 0, 48, 19, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 8, 42, 134, 72, 206, 61, 3, 1, 7, 4, 39, 48, 37, 2, 1, 1, 4, 32, 19, 211, 58, 45, 90, 191, 156, 249, 235, 178, 31, 248, 96, 212, 174, 254, 110, 86, 231, 119, 144, 244, 222, 233, 180, 8, 132, 235, 211, 53, 68, 234]),- jwk: {- kty: "EC",- crv: "P-256",- x: "0hCwpvnZ8BKGgFi0P6T0cQGFQ7ugDJJQ35JXwqyuXdE",- y: "zgN1UtSBRQzjm00QlXAbF1v6s0uObAmeGPHBmDWDYeg",- d: "E9M6LVq_nPnrsh_4YNSu_m5W53eQ9N7ptAiE69M1ROo"- }- },-- "P-384": {- spki: new Uint8Array([48, 118, 48, 16, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 5, 43, 129, 4, 0, 34, 3, 98, 0, 4, 33, 156, 20, 214, 102, 23, 179, 110, 198, 216, 133, 107, 56, 91, 115, 167, 77, 52, 79, 216, 174, 117, 239, 4, 100, 53, 221, 165, 78, 59, 68, 189, 95, 189, 235, 209, 208, 141, 214, 158, 45, 125, 193, 220, 33, 140, 180, 53, 189, 40, 19, 140, 199, 120, 51, 122, 132, 47, 107, 214, 27, 36, 14, 116, 36, 159, 36, 102, 124, 42, 88, 16, 167, 107, 252, 40, 224, 51, 95, 136, 166, 80, 29, 236, 1, 151, 109, 168, 90, 251, 0, 134, 156, 182, 172, 232]),- spki_compressed: new Uint8Array([48, 70, 48, 16, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 5, 43, 129, 4, 0, 34, 3, 50, 0, 2, 33, 156, 20, 214, 102, 23, 179, 110, 198, 216, 133, 107, 56, 91, 115, 167, 77, 52, 79, 216, 174, 117, 239, 4, 100, 53, 221, 165, 78, 59, 68, 189, 95, 189, 235, 209, 208, 141, 214, 158, 45, 125, 193, 220, 33, 140, 180, 53]),- raw: new Uint8Array([4, 33, 156, 20, 214, 102, 23, 179, 110, 198, 216, 133, 107, 56, 91, 115, 167, 77, 52, 79, 216, 174, 117, 239, 4, 100, 53, 221, 165, 78, 59, 68, 189, 95, 189, 235, 209, 208, 141, 214, 158, 45, 125, 193, 220, 33, 140, 180, 53, 189, 40, 19, 140, 199, 120, 51, 122, 132, 47, 107, 214, 27, 36, 14, 116, 36, 159, 36, 102, 124, 42, 88, 16, 167, 107, 252, 40, 224, 51, 95, 136, 166, 80, 29, 236, 1, 151, 109, 168, 90, 251, 0, 134, 156, 182, 172, 232]),- raw_compressed: new Uint8Array([2, 33, 156, 20, 214, 102, 23, 179, 110, 198, 216, 133, 107, 56, 91, 115, 167, 77, 52, 79, 216, 174, 117, 239, 4, 100, 53, 221, 165, 78, 59, 68, 189, 95, 189, 235, 209, 208, 141, 214, 158, 45, 125, 193, 220, 33, 140, 180, 53]),- pkcs8: new Uint8Array([48, 129, 182, 2, 1, 0, 48, 16, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 5, 43, 129, 4, 0, 34, 4, 129, 158, 48, 129, 155, 2, 1, 1, 4, 48, 69, 55, 181, 153, 7, 132, 211, 194, 210, 46, 150, 168, 249, 47, 161, 170, 73, 46, 232, 115, 229, 118, 164, 21, 130, 225, 68, 24, 60, 152, 136, 209, 14, 107, 158, 180, 206, 212, 178, 204, 64, 18, 228, 172, 94, 168, 64, 115, 161, 100, 3, 98, 0, 4, 33, 156, 20, 214, 102, 23, 179, 110, 198, 216, 133, 107, 56, 91, 115, 167, 77, 52, 79, 216, 174, 117, 239, 4, 100, 53, 221, 165, 78, 59, 68, 189, 95, 189, 235, 209, 208, 141, 214, 158, 45, 125, 193, 220, 33, 140, 180, 53, 189, 40, 19, 140, 199, 120, 51, 122, 132, 47, 107, 214, 27, 36, 14, 116, 36, 159, 36, 102, 124, 42, 88, 16, 167, 107, 252, 40, 224, 51, 95, 136, 166, 80, 29, 236, 1, 151, 109, 168, 90, 251, 0, 134, 156, 182, 172, 232]),- pkcs8_private_only: new Uint8Array([48, 78, 2, 1, 0, 48, 16, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 5, 43, 129, 4, 0, 34, 4, 55, 48, 53, 2, 1, 1, 4, 48, 69, 55, 181, 153, 7, 132, 211, 194, 210, 46, 150, 168, 249, 47, 161, 170, 73, 46, 232, 115, 229, 118, 164, 21, 130, 225, 68, 24, 60, 152, 136, 209, 14, 107, 158, 180, 206, 212, 178, 204, 64, 18, 228, 172, 94, 168, 64, 115]),- jwk: {- kty: "EC",- crv: "P-384",- x: "IZwU1mYXs27G2IVrOFtzp000T9iude8EZDXdpU47RL1fvevR0I3Wni19wdwhjLQ1",- y: "vSgTjMd4M3qEL2vWGyQOdCSfJGZ8KlgQp2v8KOAzX4imUB3sAZdtqFr7AIactqzo",- d: "RTe1mQeE08LSLpao-S-hqkku6HPldqQVguFEGDyYiNEOa560ztSyzEAS5KxeqEBz"- }- },-- };+ var keyData = ecKeyData;// combinations to testvar testVectors = [diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/ec_importKey_failures_ECDH.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/ec_importKey_failures_ECDH.https.any.htmlindex 645558bba28..9ed94192797 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/ec_importKey_failures_ECDH.https.any.html+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/ec_importKey_failures_ECDH.https.any.html@@ -12,6 +12,7 @@ self.GLOBAL = {<script src="../../resources/testharness.js"></script><script src="../../resources/testharnessreport.js"></script><script src="../util/helpers.js"></script>+<script src="../util/ec_key_fixtures.js"></script><script src="ec_importKey_failures_fixtures.js"></script><script src="importKey_failures.js"></script><div id=log></div>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/ec_importKey_failures_ECDH.https.any.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/ec_importKey_failures_ECDH.https.any.jsindex 423d399f19d..260e49791a5 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/ec_importKey_failures_ECDH.https.any.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/ec_importKey_failures_ECDH.https.any.js@@ -1,6 +1,7 @@// META: title=WebCryptoAPI: importKey() for Failures// META: timeout=long// META: script=../util/helpers.js+// META: script=../util/ec_key_fixtures.js// META: script=ec_importKey_failures_fixtures.js// META: script=importKey_failures.jsdiff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/ec_importKey_failures_ECDSA.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/ec_importKey_failures_ECDSA.https.any.htmlindex 89f3c255255..644874d2910 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/ec_importKey_failures_ECDSA.https.any.html+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/ec_importKey_failures_ECDSA.https.any.html@@ -12,6 +12,7 @@ self.GLOBAL = {<script src="../../resources/testharness.js"></script><script src="../../resources/testharnessreport.js"></script><script src="../util/helpers.js"></script>+<script src="../util/ec_key_fixtures.js"></script><script src="ec_importKey_failures_fixtures.js"></script><script src="importKey_failures.js"></script><div id=log></div>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/ec_importKey_failures_ECDSA.https.any.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/ec_importKey_failures_ECDSA.https.any.jsindex 527940798a4..96116d5462d 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/ec_importKey_failures_ECDSA.https.any.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/ec_importKey_failures_ECDSA.https.any.js@@ -1,6 +1,7 @@// META: title=WebCryptoAPI: importKey() for Failures// META: timeout=long// META: script=../util/helpers.js+// META: script=../util/ec_key_fixtures.js// META: script=ec_importKey_failures_fixtures.js// META: script=importKey_failures.jsdiff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/ec_importKey_failures_fixtures.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/ec_importKey_failures_fixtures.jsindex dc0e11d551a..a37a72cb28d 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/ec_importKey_failures_fixtures.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/ec_importKey_failures_fixtures.js@@ -1,17 +1,41 @@-// Setup: define the correct behaviors that should be sought, and create-// helper functions that generate all possible test parameters for-// different situations.+function ecPrivateJwk(namedCurve) {+ return Object.assign({}, ecKeyData[namedCurve].jwk);+}+function getValidKeyData(algorithm) {- return validKeyData[algorithm.namedCurve];+ var key = ecKeyData[algorithm.namedCurve];+ return [+ {format: "spki", data: key.spki},+ {format: "raw", data: key.raw},+ {format: "pkcs8", data: key.pkcs8},+ {format: "jwk", data: ecPrivateJwk(algorithm.namedCurve)}+ ];}function getBadKeyLengthData(algorithm) {- return badKeyLengthData[algorithm.namedCurve];+ var key = ecKeyData[algorithm.namedCurve];+ var jwk = ecPrivateJwk(algorithm.namedCurve);+ jwk.x = jwk.x.slice(0, -1);+ return [+ {format: "spki", data: key.spki.slice(0, -1)},+ {format: "raw", data: key.raw.slice(0, -1)},+ {format: "pkcs8", data: key.pkcs8.slice(0, -1)},+ {format: "jwk", data: jwk}+ ];}function getMissingJWKFieldKeyData(algorithm) {- // The curve doesn't affect when testing for missing JWK fields.- return missingJWKFieldKeyData["P-521"];+ var missingX = ecPrivateJwk("P-521");+ var missingKty = ecPrivateJwk("P-521");+ var missingCrv = ecPrivateJwk("P-521");+ delete missingX.x;+ delete missingKty.kty;+ delete missingCrv.crv;+ return [+ {param: "x", data: missingX},+ {param: "kty", data: missingKty},+ {param: "crv", data: missingCrv}+ ];}function getMismatchedJWKKeyData(algorithm) {@@ -20,206 +44,15 @@ function getMismatchedJWKKeyData(algorithm) {}function getMismatchedKtyField(algorithm) {- return mismatchedKtyField[algorithm.namedCurve];+ return "OKP";}function getMismatchedCrvField(algorithm) {- return mismatchedCrvField[algorithm.namedCurve];-}--var validKeyData = {- "P-521": [- {- format: "spki",- data: new Uint8Array([48, 129, 155, 48, 16, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 5, 43, 129, 4, 0, 35, 3, 129, 134, 0, 4, 1, 86, 244, 121, 248, 223, 30, 32, 167, 255, 192, 76, 228, 32, 195, 225, 84, 174, 37, 25, 150, 190, 228, 47, 3, 75, 132, 212, 27, 116, 63, 52, 228, 95, 49, 27, 129, 58, 156, 222, 200, 205, 165, 155, 187, 189, 49, 212, 96, 179, 41, 37, 33, 231, 193, 183, 34, 229, 102, 124, 3, 219, 47, 174, 117, 63, 1, 80, 23, 54, 207, 226, 71, 57, 67, 32, 216, 228, 175, 194, 253, 57, 181, 169, 51, 16, 97, 184, 30, 34, 65, 40, 43, 158, 23, 137, 24, 34, 181, 183, 158, 5, 47, 69, 151, 181, 150, 67, 253, 57, 55, 156, 81, 189, 81, 37, 196, 244, 139, 195, 240, 37, 206, 60, 211, 105, 83, 40, 108, 203, 56, 251]),- },- {- format: "raw",- data: new Uint8Array([4, 1, 86, 244, 121, 248, 223, 30, 32, 167, 255, 192, 76, 228, 32, 195, 225, 84, 174, 37, 25, 150, 190, 228, 47, 3, 75, 132, 212, 27, 116, 63, 52, 228, 95, 49, 27, 129, 58, 156, 222, 200, 205, 165, 155, 187, 189, 49, 212, 96, 179, 41, 37, 33, 231, 193, 183, 34, 229, 102, 124, 3, 219, 47, 174, 117, 63, 1, 80, 23, 54, 207, 226, 71, 57, 67, 32, 216, 228, 175, 194, 253, 57, 181, 169, 51, 16, 97, 184, 30, 34, 65, 40, 43, 158, 23, 137, 24, 34, 181, 183, 158, 5, 47, 69, 151, 181, 150, 67, 253, 57, 55, 156, 81, 189, 81, 37, 196, 244, 139, 195, 240, 37, 206, 60, 211, 105, 83, 40, 108, 203, 56, 251]),- },- {- format:"pkcs8",- data: new Uint8Array([48, 129, 238, 2, 1, 0, 48, 16, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 5, 43, 129, 4, 0, 35, 4, 129, 214, 48, 129, 211, 2, 1, 1, 4, 66, 0, 244, 8, 117, 131, 104, 186, 147, 15, 48, 247, 106, 224, 84, 254, 92, 210, 206, 127, 218, 44, 159, 118, 166, 212, 54, 207, 117, 214, 108, 68, 11, 254, 99, 49, 199, 193, 114, 161, 36, 120, 25, 60, 130, 81, 72, 123, 201, 18, 99, 250, 80, 33, 127, 133, 255, 99, 111, 89, 205, 84, 110, 58, 180, 131, 180, 161, 129, 137, 3, 129, 134, 0, 4, 1, 86, 244, 121, 248, 223, 30, 32, 167, 255, 192, 76, 228, 32, 195, 225, 84, 174, 37, 25, 150, 190, 228, 47, 3, 75, 132, 212, 27, 116, 63, 52, 228, 95, 49, 27, 129, 58, 156, 222, 200, 205, 165, 155, 187, 189, 49, 212, 96, 179, 41, 37, 33, 231, 193, 183, 34, 229, 102, 124, 3, 219, 47, 174, 117, 63, 1, 80, 23, 54, 207, 226, 71, 57, 67, 32, 216, 228, 175, 194, 253, 57, 181, 169, 51, 16, 97, 184, 30, 34, 65, 40, 43, 158, 23, 137, 24, 34, 181, 183, 158, 5, 47, 69, 151, 181, 150, 67, 253, 57, 55, 156, 81, 189, 81, 37, 196, 244, 139, 195, 240, 37, 206, 60, 211, 105, 83, 40, 108, 203, 56, 251]),- },- {- format: "jwk",- data: {- kty: "EC",- crv: "P-521",- x: "AVb0efjfHiCn_8BM5CDD4VSuJRmWvuQvA0uE1Bt0PzTkXzEbgTqc3sjNpZu7vTHUYLMpJSHnwbci5WZ8A9svrnU_",- y: "AVAXNs_iRzlDINjkr8L9ObWpMxBhuB4iQSgrnheJGCK1t54FL0WXtZZD_Tk3nFG9USXE9IvD8CXOPNNpUyhsyzj7",- d: "APQIdYNoupMPMPdq4FT-XNLOf9osn3am1DbPddZsRAv-YzHHwXKhJHgZPIJRSHvJEmP6UCF_hf9jb1nNVG46tIO0"- }- }- ],- "P-256": [- {- format: "spki",- data: new Uint8Array([48, 89, 48, 19, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 8, 42, 134, 72, 206, 61, 3, 1, 7, 3, 66, 0, 4, 210, 16, 176, 166, 249, 217, 240, 18, 134, 128, 88, 180, 63, 164, 244, 113, 1, 133, 67, 187, 160, 12, 146, 80, 223, 146, 87, 194, 172, 174, 93, 209, 206, 3, 117, 82, 212, 129, 69, 12, 227, 155, 77, 16, 149, 112, 27, 23, 91, 250, 179, 75, 142, 108, 9, 158, 24, 241, 193, 152, 53, 131, 97, 232]),- },- {- format: "raw",- data: new Uint8Array([4, 210, 16, 176, 166, 249, 217, 240, 18, 134, 128, 88, 180, 63, 164, 244, 113, 1, 133, 67, 187, 160, 12, 146, 80, 223, 146, 87, 194, 172, 174, 93, 209, 206, 3, 117, 82, 212, 129, 69, 12, 227, 155, 77, 16, 149, 112, 27, 23, 91, 250, 179, 75, 142, 108, 9, 158, 24, 241, 193, 152, 53, 131, 97, 232]),- },- {- format: "pkcs8",- data: new Uint8Array([48, 129, 135, 2, 1, 0, 48, 19, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 8, 42, 134, 72, 206, 61, 3, 1, 7, 4, 109, 48, 107, 2, 1, 1, 4, 32, 19, 211, 58, 45, 90, 191, 156, 249, 235, 178, 31, 248, 96, 212, 174, 254, 110, 86, 231, 119, 144, 244, 222, 233, 180, 8, 132, 235, 211, 53, 68, 234, 161, 68, 3, 66, 0, 4, 210, 16, 176, 166, 249, 217, 240, 18, 134, 128, 88, 180, 63, 164, 244, 113, 1, 133, 67, 187, 160, 12, 146, 80, 223, 146, 87, 194, 172, 174, 93, 209, 206, 3, 117, 82, 212, 129, 69, 12, 227, 155, 77, 16, 149, 112, 27, 23, 91, 250, 179, 75, 142, 108, 9, 158, 24, 241, 193, 152, 53, 131, 97, 232]),- },- {- format: "jwk",- data: {- kty: "EC",- crv: "P-256",- x: "0hCwpvnZ8BKGgFi0P6T0cQGFQ7ugDJJQ35JXwqyuXdE",- y: "zgN1UtSBRQzjm00QlXAbF1v6s0uObAmeGPHBmDWDYeg",- d: "E9M6LVq_nPnrsh_4YNSu_m5W53eQ9N7ptAiE69M1ROo"- }- },- ],- "P-384": [- {- format: "spki",- data: new Uint8Array([48, 118, 48, 16, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 5, 43, 129, 4, 0, 34, 3, 98, 0, 4, 33, 156, 20, 214, 102, 23, 179, 110, 198, 216, 133, 107, 56, 91, 115, 167, 77, 52, 79, 216, 174, 117, 239, 4, 100, 53, 221, 165, 78, 59, 68, 189, 95, 189, 235, 209, 208, 141, 214, 158, 45, 125, 193, 220, 33, 140, 180, 53, 189, 40, 19, 140, 199, 120, 51, 122, 132, 47, 107, 214, 27, 36, 14, 116, 36, 159, 36, 102, 124, 42, 88, 16, 167, 107, 252, 40, 224, 51, 95, 136, 166, 80, 29, 236, 1, 151, 109, 168, 90, 251, 0, 134, 156, 182, 172, 232]),- },- {- format: "raw",- data: new Uint8Array([4, 33, 156, 20, 214, 102, 23, 179, 110, 198, 216, 133, 107, 56, 91, 115, 167, 77, 52, 79, 216, 174, 117, 239, 4, 100, 53, 221, 165, 78, 59, 68, 189, 95, 189, 235, 209, 208, 141, 214, 158, 45, 125, 193, 220, 33, 140, 180, 53, 189, 40, 19, 140, 199, 120, 51, 122, 132, 47, 107, 214, 27, 36, 14, 116, 36, 159, 36, 102, 124, 42, 88, 16, 167, 107, 252, 40, 224, 51, 95, 136, 166, 80, 29, 236, 1, 151, 109, 168, 90, 251, 0, 134, 156, 182, 172, 232]),- },- {- format: "pkcs8",- data: new Uint8Array([48, 129, 182, 2, 1, 0, 48, 16, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 5, 43, 129, 4, 0, 34, 4, 129, 158, 48, 129, 155, 2, 1, 1, 4, 48, 69, 55, 181, 153, 7, 132, 211, 194, 210, 46, 150, 168, 249, 47, 161, 170, 73, 46, 232, 115, 229, 118, 164, 21, 130, 225, 68, 24, 60, 152, 136, 209, 14, 107, 158, 180, 206, 212, 178, 204, 64, 18, 228, 172, 94, 168, 64, 115, 161, 100, 3, 98, 0, 4, 33, 156, 20, 214, 102, 23, 179, 110, 198, 216, 133, 107, 56, 91, 115, 167, 77, 52, 79, 216, 174, 117, 239, 4, 100, 53, 221, 165, 78, 59, 68, 189, 95, 189, 235, 209, 208, 141, 214, 158, 45, 125, 193, 220, 33, 140, 180, 53, 189, 40, 19, 140, 199, 120, 51, 122, 132, 47, 107, 214, 27, 36, 14, 116, 36, 159, 36, 102, 124, 42, 88, 16, 167, 107, 252, 40, 224, 51, 95, 136, 166, 80, 29, 236, 1, 151, 109, 168, 90, 251, 0, 134, 156, 182, 172, 232]),- },- {- format: "jwk",- data: {- kty: "EC",- crv: "P-384",- x: "IZwU1mYXs27G2IVrOFtzp000T9iude8EZDXdpU47RL1fvevR0I3Wni19wdwhjLQ1",- y: "vSgTjMd4M3qEL2vWGyQOdCSfJGZ8KlgQp2v8KOAzX4imUB3sAZdtqFr7AIactqzo",- d: "RTe1mQeE08LSLpao-S-hqkku6HPldqQVguFEGDyYiNEOa560ztSyzEAS5KxeqEBz"- }- }- ]-};--// Removed just the last byte.-var badKeyLengthData = {- "P-521": [- {- format: "spki",- data: new Uint8Array([48, 129, 155, 48, 16, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 5, 43, 129, 4, 0, 35, 3, 129, 134, 0, 4, 1, 86, 244, 121, 248, 223, 30, 32, 167, 255, 192, 76, 228, 32, 195, 225, 84, 174, 37, 25, 150, 190, 228, 47, 3, 75, 132, 212, 27, 116, 63, 52, 228, 95, 49, 27, 129, 58, 156, 222, 200, 205, 165, 155, 187, 189, 49, 212, 96, 179, 41, 37, 33, 231, 193, 183, 34, 229, 102, 124, 3, 219, 47, 174, 117, 63, 1, 80, 23, 54, 207, 226, 71, 57, 67, 32, 216, 228, 175, 194, 253, 57, 181, 169, 51, 16, 97, 184, 30, 34, 65, 40, 43, 158, 23, 137, 24, 34, 181, 183, 158, 5, 47, 69, 151, 181, 150, 67, 253, 57, 55, 156, 81, 189, 81, 37, 196, 244, 139, 195, 240, 37, 206, 60, 211, 105, 83, 40, 108, 203, 56]),- },- {- format: "raw",- data: new Uint8Array([4, 1, 86, 244, 121, 248, 223, 30, 32, 167, 255, 192, 76, 228, 32, 195, 225, 84, 174, 37, 25, 150, 190, 228, 47, 3, 75, 132, 212, 27, 116, 63, 52, 228, 95, 49, 27, 129, 58, 156, 222, 200, 205, 165, 155, 187, 189, 49, 212, 96, 179, 41, 37, 33, 231, 193, 183, 34, 229, 102, 124, 3, 219, 47, 174, 117, 63, 1, 80, 23, 54, 207, 226, 71, 57, 67, 32, 216, 228, 175, 194, 253, 57, 181, 169, 51, 16, 97, 184, 30, 34, 65, 40, 43, 158, 23, 137, 24, 34, 181, 183, 158, 5, 47, 69, 151, 181, 150, 67, 253, 57, 55, 156, 81, 189, 81, 37, 196, 244, 139, 195, 240, 37, 206, 60, 211, 105, 83, 40, 108, 203, 56]),- },- {- format:"pkcs8",- data: new Uint8Array([48, 129, 238, 2, 1, 0, 48, 16, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 5, 43, 129, 4, 0, 35, 4, 129, 214, 48, 129, 211, 2, 1, 1, 4, 66, 0, 244, 8, 117, 131, 104, 186, 147, 15, 48, 247, 106, 224, 84, 254, 92, 210, 206, 127, 218, 44, 159, 118, 166, 212, 54, 207, 117, 214, 108, 68, 11, 254, 99, 49, 199, 193, 114, 161, 36, 120, 25, 60, 130, 81, 72, 123, 201, 18, 99, 250, 80, 33, 127, 133, 255, 99, 111, 89, 205, 84, 110, 58, 180, 131, 180, 161, 129, 137, 3, 129, 134, 0, 4, 1, 86, 244, 121, 248, 223, 30, 32, 167, 255, 192, 76, 228, 32, 195, 225, 84, 174, 37, 25, 150, 190, 228, 47, 3, 75, 132, 212, 27, 116, 63, 52, 228, 95, 49, 27, 129, 58, 156, 222, 200, 205, 165, 155, 187, 189, 49, 212, 96, 179, 41, 37, 33, 231, 193, 183, 34, 229, 102, 124, 3, 219, 47, 174, 117, 63, 1, 80, 23, 54, 207, 226, 71, 57, 67, 32, 216, 228, 175, 194, 253, 57, 181, 169, 51, 16, 97, 184, 30, 34, 65, 40, 43, 158, 23, 137, 24, 34, 181, 183, 158, 5, 47, 69, 151, 181, 150, 67, 253, 57, 55, 156, 81, 189, 81, 37, 196, 244, 139, 195, 240, 37, 206, 60, 211, 105, 83, 40, 108, 203, 56]),- },- {- format: "jwk",- data: {- kty: "EC",- crv: "P-521",- x: "AVb0efjfHiCn_8BM5CDD4VSuJRmWvuQvA0uE1Bt0PzTkXzEbgTqc3sjNpZu7vTHUYLMpJSHnwbci5WZ8A9svrnU",- y: "AVAXNs_iRzlDINjkr8L9ObWpMxBhuB4iQSgrnheJGCK1t54FL0WXtZZD_Tk3nFG9USXE9IvD8CXOPNNpUyhsyzj7",- d: "APQIdYNoupMPMPdq4FT-XNLOf9osn3am1DbPddZsRAv-YzHHwXKhJHgZPIJRSHvJEmP6UCF_hf9jb1nNVG46tIO0"- }- }- ],- "P-256": [- {- format: "spki",- data: new Uint8Array([48, 89, 48, 19, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 8, 42, 134, 72, 206, 61, 3, 1, 7, 3, 66, 0, 4, 210, 16, 176, 166, 249, 217, 240, 18, 134, 128, 88, 180, 63, 164, 244, 113, 1, 133, 67, 187, 160, 12, 146, 80, 223, 146, 87, 194, 172, 174, 93, 209, 206, 3, 117, 82, 212, 129, 69, 12, 227, 155, 77, 16, 149, 112, 27, 23, 91, 250, 179, 75, 142, 108, 9, 158, 24, 241, 193, 152, 53, 131, 97]),- },- {- format: "raw",- data: new Uint8Array([4, 210, 16, 176, 166, 249, 217, 240, 18, 134, 128, 88, 180, 63, 164, 244, 113, 1, 133, 67, 187, 160, 12, 146, 80, 223, 146, 87, 194, 172, 174, 93, 209, 206, 3, 117, 82, 212, 129, 69, 12, 227, 155, 77, 16, 149, 112, 27, 23, 91, 250, 179, 75, 142, 108, 9, 158, 24, 241, 193, 152, 53, 131, 97]),- },- {- format: "pkcs8",- data: new Uint8Array([48, 129, 135, 2, 1, 0, 48, 19, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 8, 42, 134, 72, 206, 61, 3, 1, 7, 4, 109, 48, 107, 2, 1, 1, 4, 32, 19, 211, 58, 45, 90, 191, 156, 249, 235, 178, 31, 248, 96, 212, 174, 254, 110, 86, 231, 119, 144, 244, 222, 233, 180, 8, 132, 235, 211, 53, 68, 234, 161, 68, 3, 66, 0, 4, 210, 16, 176, 166, 249, 217, 240, 18, 134, 128, 88, 180, 63, 164, 244, 113, 1, 133, 67, 187, 160, 12, 146, 80, 223, 146, 87, 194, 172, 174, 93, 209, 206, 3, 117, 82, 212, 129, 69, 12, 227, 155, 77, 16, 149, 112, 27, 23, 91, 250, 179, 75, 142, 108, 9, 158, 24, 241, 193, 152, 53, 131, 97]),- },- {- format: "jwk",- data: {- kty: "EC",- crv: "P-256",- x: "0hCwpvnZ8BKGgFi0P6T0cQGFQ7ugDJJQ35JXwqyuXd",- y: "zgN1UtSBRQzjm00QlXAbF1v6s0uObAmeGPHBmDWDYeg",- d: "E9M6LVq_nPnrsh_4YNSu_m5W53eQ9N7ptAiE69M1ROo"- }- },- ],- "P-384": [- {- format: "spki",- data: new Uint8Array([48, 118, 48, 16, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 5, 43, 129, 4, 0, 34, 3, 98, 0, 4, 33, 156, 20, 214, 102, 23, 179, 110, 198, 216, 133, 107, 56, 91, 115, 167, 77, 52, 79, 216, 174, 117, 239, 4, 100, 53, 221, 165, 78, 59, 68, 189, 95, 189, 235, 209, 208, 141, 214, 158, 45, 125, 193, 220, 33, 140, 180, 53, 189, 40, 19, 140, 199, 120, 51, 122, 132, 47, 107, 214, 27, 36, 14, 116, 36, 159, 36, 102, 124, 42, 88, 16, 167, 107, 252, 40, 224, 51, 95, 136, 166, 80, 29, 236, 1, 151, 109, 168, 90, 251, 0, 134, 156, 182, 172]),- },- {- format: "raw",- data: new Uint8Array([4, 33, 156, 20, 214, 102, 23, 179, 110, 198, 216, 133, 107, 56, 91, 115, 167, 77, 52, 79, 216, 174, 117, 239, 4, 100, 53, 221, 165, 78, 59, 68, 189, 95, 189, 235, 209, 208, 141, 214, 158, 45, 125, 193, 220, 33, 140, 180, 53, 189, 40, 19, 140, 199, 120, 51, 122, 132, 47, 107, 214, 27, 36, 14, 116, 36, 159, 36, 102, 124, 42, 88, 16, 167, 107, 252, 40, 224, 51, 95, 136, 166, 80, 29, 236, 1, 151, 109, 168, 90, 251, 0, 134, 156, 182, 172]),- },- {- format: "pkcs8",- data: new Uint8Array([48, 129, 182, 2, 1, 0, 48, 16, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 5, 43, 129, 4, 0, 34, 4, 129, 158, 48, 129, 155, 2, 1, 1, 4, 48, 69, 55, 181, 153, 7, 132, 211, 194, 210, 46, 150, 168, 249, 47, 161, 170, 73, 46, 232, 115, 229, 118, 164, 21, 130, 225, 68, 24, 60, 152, 136, 209, 14, 107, 158, 180, 206, 212, 178, 204, 64, 18, 228, 172, 94, 168, 64, 115, 161, 100, 3, 98, 0, 4, 33, 156, 20, 214, 102, 23, 179, 110, 198, 216, 133, 107, 56, 91, 115, 167, 77, 52, 79, 216, 174, 117, 239, 4, 100, 53, 221, 165, 78, 59, 68, 189, 95, 189, 235, 209, 208, 141, 214, 158, 45, 125, 193, 220, 33, 140, 180, 53, 189, 40, 19, 140, 199, 120, 51, 122, 132, 47, 107, 214, 27, 36, 14, 116, 36, 159, 36, 102, 124, 42, 88, 16, 167, 107, 252, 40, 224, 51, 95, 136, 166, 80, 29, 236, 1, 151, 109, 168, 90, 251, 0, 134, 156, 182, 172]),- },- {- format: "jwk",- data: {- kty: "EC",- crv: "P-384",- x: "IZwU1mYXs27G2IVrOFtzp000T9iude8EZDXdpU47RL1fvevR0I3Wni19wdwhjLQ",- y: "vSgTjMd4M3qEL2vWGyQOdCSfJGZ8KlgQp2v8KOAzX4imUB3sAZdtqFr7AIactqzo",- d: "RTe1mQeE08LSLpao-S-hqkku6HPldqQVguFEGDyYiNEOa560ztSyzEAS5KxeqEBz"- }- }- ]-};--var missingJWKFieldKeyData = {- "P-521": [- {- param: "x",- data: {- kty: "EC",- crv: "P-521",- y: "AVAXNs_iRzlDINjkr8L9ObWpMxBhuB4iQSgrnheJGCK1t54FL0WXtZZD_Tk3nFG9USXE9IvD8CXOPNNpUyhsyzj7",- d: "APQIdYNoupMPMPdq4FT-XNLOf9osn3am1DbPddZsRAv-YzHHwXKhJHgZPIJRSHvJEmP6UCF_hf9jb1nNVG46tIO0"- }- },- {- param: "kty",- data: {- crv: "P-521",- x: "AVb0efjfHiCn_8BM5CDD4VSuJRmWvuQvA0uE1Bt0PzTkXzEbgTqc3sjNpZu7vTHUYLMpJSHnwbci5WZ8A9svrnU_",- y: "AVAXNs_iRzlDINjkr8L9ObWpMxBhuB4iQSgrnheJGCK1t54FL0WXtZZD_Tk3nFG9USXE9IvD8CXOPNNpUyhsyzj7",- d: "APQIdYNoupMPMPdq4FT-XNLOf9osn3am1DbPddZsRAv-YzHHwXKhJHgZPIJRSHvJEmP6UCF_hf9jb1nNVG46tIO0"- }- },- {- param: "crv",- data: {- kty: "EC",- x: "AVb0efjfHiCn_8BM5CDD4VSuJRmWvuQvA0uE1Bt0PzTkXzEbgTqc3sjNpZu7vTHUYLMpJSHnwbci5WZ8A9svrnU_",- y: "AVAXNs_iRzlDINjkr8L9ObWpMxBhuB4iQSgrnheJGCK1t54FL0WXtZZD_Tk3nFG9USXE9IvD8CXOPNNpUyhsyzj7",- d: "APQIdYNoupMPMPdq4FT-XNLOf9osn3am1DbPddZsRAv-YzHHwXKhJHgZPIJRSHvJEmP6UCF_hf9jb1nNVG46tIO0"- }- }- ]-};--// The 'kty' field doesn't match the key algorithm.-var mismatchedKtyField = {- "P-521": "OKP",- "P-256": "OKP",- "P-384": "OKP",+ return mismatchedEcCurves[algorithm.namedCurve];}-// The 'kty' field doesn't match the key algorithm.-var mismatchedCrvField = {+var mismatchedEcCurves = {"P-521": "P-256","P-256": "P-384",- "P-384": "P-521",-}+ "P-384": "P-521"+};diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/importKey_failures.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/importKey_failures.jsindex f45da96cf6b..7581614f0dc 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/importKey_failures.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/importKey_failures.js@@ -1,8 +1,6 @@function run_test(algorithmNames) {var subtle = crypto.subtle; // Change to test prefixed implementations- setup({explicit_timeout: true});-// These tests check that importKey and exportKey throw an error, and that// the error is of the right type, for a wide set of incorrect parameters.@@ -79,16 +77,15 @@ function run_test(algorithmNames) {}, testTag + ": importKey" + parameterString(format, algorithm, extractable, usages, keyData));}- // Don't create an exhaustive list of all invalid usages,- // because there would usually be nearly 2**8 of them,- // way too many to test. Instead, create every singleton+ // Don't create an exhaustive list of all invalid usages because+ // there would be too many to test. Instead, create every singleton// of an illegal usage, and "poison" every valid usage// with an illegal one.function invalidUsages(validUsages, mandatoryUsages) {var results = [];var illegalUsages = [];- ["encrypt", "decrypt", "sign", "verify", "wrapKey", "unwrapKey", "deriveKey", "deriveBits"].forEach(function(usage) {+ allKeyUsages.forEach(function(usage) {if (!validUsages.includes(usage)) {illegalUsages.push(usage);}diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/okp_importKey_Ed25519.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/okp_importKey_Ed25519.https.any.htmlindex 1a99a4a444d..2c896869bd6 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/okp_importKey_Ed25519.https.any.html+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/okp_importKey_Ed25519.https.any.html@@ -12,6 +12,7 @@ self.GLOBAL = {<script src="../../resources/testharness.js"></script><script src="../../resources/testharnessreport.js"></script><script src="../util/helpers.js"></script>+<script src="../util/okp_key_fixtures.js"></script><script src="okp_importKey_fixtures.js"></script><script src="okp_importKey.js"></script><div id=log></div>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/okp_importKey_Ed25519.https.any.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/okp_importKey_Ed25519.https.any.jsindex 49656489d42..b6b37865195 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/okp_importKey_Ed25519.https.any.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/okp_importKey_Ed25519.https.any.js@@ -1,6 +1,7 @@// META: title=WebCryptoAPI: importKey() for OKP keys// META: timeout=long// META: script=../util/helpers.js+// META: script=../util/okp_key_fixtures.js// META: script=okp_importKey_fixtures.js// META: script=okp_importKey.jsdiff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/okp_importKey_Ed448.tentative.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/okp_importKey_Ed448.tentative.https.any.htmldeleted file mode 100644index a93f68fb57d..00000000000--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/okp_importKey_Ed448.tentative.https.any.html+++ /dev/null@@ -1,18 +0,0 @@-<!doctype html>-<meta charset=utf-8>-<title>WebCryptoAPI: importKey() for OKP keys</title>-<meta name="timeout" content="long">-<script>-self.GLOBAL = {- isWindow: function() { return true; },- isWorker: function() { return false; },- isShadowRealm: function() { return false; },-};-</script>-<script src="../../resources/testharness.js"></script>-<script src="../../resources/testharnessreport.js"></script>-<script src="../util/helpers.js"></script>-<script src="okp_importKey_fixtures.js"></script>-<script src="okp_importKey.js"></script>-<div id=log></div>-<script src="../../WebCryptoAPI/import_export/okp_importKey_Ed448.tentative.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/okp_importKey_Ed448.tentative.https.any.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/okp_importKey_Ed448.tentative.https.any.jsdeleted file mode 100644index 5bb7460c1fb..00000000000--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/okp_importKey_Ed448.tentative.https.any.js+++ /dev/null@@ -1,9 +0,0 @@-// META: title=WebCryptoAPI: importKey() for OKP keys-// META: timeout=long-// META: script=../util/helpers.js-// META: script=okp_importKey_fixtures.js-// META: script=okp_importKey.js---// Test importKey and exportKey for OKP algorithms.-runTests("Ed448");diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/okp_importKey_X25519.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/okp_importKey_X25519.https.any.htmlindex ccac6276859..dd18ce7ed61 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/okp_importKey_X25519.https.any.html+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/okp_importKey_X25519.https.any.html@@ -12,6 +12,7 @@ self.GLOBAL = {<script src="../../resources/testharness.js"></script><script src="../../resources/testharnessreport.js"></script><script src="../util/helpers.js"></script>+<script src="../util/okp_key_fixtures.js"></script><script src="okp_importKey_fixtures.js"></script><script src="okp_importKey.js"></script><div id=log></div>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/okp_importKey_X25519.https.any.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/okp_importKey_X25519.https.any.jsindex de1431d6cc2..5d629c08273 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/okp_importKey_X25519.https.any.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/okp_importKey_X25519.https.any.js@@ -1,6 +1,7 @@// META: title=WebCryptoAPI: importKey() for OKP keys// META: timeout=long// META: script=../util/helpers.js+// META: script=../util/okp_key_fixtures.js// META: script=okp_importKey_fixtures.js// META: script=okp_importKey.jsdiff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/okp_importKey_X448.tentative.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/okp_importKey_X448.tentative.https.any.htmldeleted file mode 100644index 5e3723151d5..00000000000--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/okp_importKey_X448.tentative.https.any.html+++ /dev/null@@ -1,18 +0,0 @@-<!doctype html>-<meta charset=utf-8>-<title>WebCryptoAPI: importKey() for OKP keys</title>-<meta name="timeout" content="long">-<script>-self.GLOBAL = {- isWindow: function() { return true; },- isWorker: function() { return false; },- isShadowRealm: function() { return false; },-};-</script>-<script src="../../resources/testharness.js"></script>-<script src="../../resources/testharnessreport.js"></script>-<script src="../util/helpers.js"></script>-<script src="okp_importKey_fixtures.js"></script>-<script src="okp_importKey.js"></script>-<div id=log></div>-<script src="../../WebCryptoAPI/import_export/okp_importKey_X448.tentative.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/okp_importKey_X448.tentative.https.any.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/okp_importKey_X448.tentative.https.any.jsdeleted file mode 100644index f8552be3c82..00000000000--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/okp_importKey_X448.tentative.https.any.js+++ /dev/null@@ -1,9 +0,0 @@-// META: title=WebCryptoAPI: importKey() for OKP keys-// META: timeout=long-// META: script=../util/helpers.js-// META: script=okp_importKey_fixtures.js-// META: script=okp_importKey.js---// Test importKey and exportKey for OKP algorithms.-runTests("X448");diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/okp_importKey_failures_Ed25519.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/okp_importKey_failures_Ed25519.https.any.htmlindex 1a5f21397a2..f2b499343bc 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/okp_importKey_failures_Ed25519.https.any.html+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/okp_importKey_failures_Ed25519.https.any.html@@ -12,6 +12,7 @@ self.GLOBAL = {<script src="../../resources/testharness.js"></script><script src="../../resources/testharnessreport.js"></script><script src="../util/helpers.js"></script>+<script src="../util/okp_key_fixtures.js"></script><script src="okp_importKey_failures_fixtures.js"></script><script src="importKey_failures.js"></script><div id=log></div>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/okp_importKey_failures_Ed25519.https.any.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/okp_importKey_failures_Ed25519.https.any.jsindex e07b796df83..0b541d77016 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/okp_importKey_failures_Ed25519.https.any.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/okp_importKey_failures_Ed25519.https.any.js@@ -1,6 +1,7 @@// META: title=WebCryptoAPI: importKey() for Failures// META: timeout=long// META: script=../util/helpers.js+// META: script=../util/okp_key_fixtures.js// META: script=okp_importKey_failures_fixtures.js// META: script=importKey_failures.jsdiff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/okp_importKey_failures_Ed448.tentative.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/okp_importKey_failures_Ed448.tentative.https.any.htmldeleted file mode 100644index 18b0984d085..00000000000--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/okp_importKey_failures_Ed448.tentative.https.any.html+++ /dev/null@@ -1,18 +0,0 @@-<!doctype html>-<meta charset=utf-8>-<title>WebCryptoAPI: importKey() for Failures</title>-<meta name="timeout" content="long">-<script>-self.GLOBAL = {- isWindow: function() { return true; },- isWorker: function() { return false; },- isShadowRealm: function() { return false; },-};-</script>-<script src="../../resources/testharness.js"></script>-<script src="../../resources/testharnessreport.js"></script>-<script src="../util/helpers.js"></script>-<script src="okp_importKey_failures_fixtures.js"></script>-<script src="importKey_failures.js"></script>-<div id=log></div>-<script src="../../WebCryptoAPI/import_export/okp_importKey_failures_Ed448.tentative.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/okp_importKey_failures_Ed448.tentative.https.any.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/okp_importKey_failures_Ed448.tentative.https.any.jsdeleted file mode 100644index 8ff3de5c79d..00000000000--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/okp_importKey_failures_Ed448.tentative.https.any.js+++ /dev/null@@ -1,8 +0,0 @@-// META: title=WebCryptoAPI: importKey() for Failures-// META: timeout=long-// META: script=../util/helpers.js-// META: script=okp_importKey_failures_fixtures.js-// META: script=importKey_failures.js---run_test(["Ed448"]);diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/okp_importKey_failures_X25519.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/okp_importKey_failures_X25519.https.any.htmlindex 7d1ac84d804..22dc6ce1130 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/okp_importKey_failures_X25519.https.any.html+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/okp_importKey_failures_X25519.https.any.html@@ -12,6 +12,7 @@ self.GLOBAL = {<script src="../../resources/testharness.js"></script><script src="../../resources/testharnessreport.js"></script><script src="../util/helpers.js"></script>+<script src="../util/okp_key_fixtures.js"></script><script src="okp_importKey_failures_fixtures.js"></script><script src="importKey_failures.js"></script><div id=log></div>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/okp_importKey_failures_X25519.https.any.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/okp_importKey_failures_X25519.https.any.jsindex a0116bee888..d4c9c105bc3 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/okp_importKey_failures_X25519.https.any.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/okp_importKey_failures_X25519.https.any.js@@ -1,6 +1,7 @@// META: title=WebCryptoAPI: importKey() for Failures// META: timeout=long// META: script=../util/helpers.js+// META: script=../util/okp_key_fixtures.js// META: script=okp_importKey_failures_fixtures.js// META: script=importKey_failures.jsdiff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/okp_importKey_failures_X448.tentative.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/okp_importKey_failures_X448.tentative.https.any.htmldeleted file mode 100644index a3e0bc63301..00000000000--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/okp_importKey_failures_X448.tentative.https.any.html+++ /dev/null@@ -1,18 +0,0 @@-<!doctype html>-<meta charset=utf-8>-<title>WebCryptoAPI: importKey() for Failures</title>-<meta name="timeout" content="long">-<script>-self.GLOBAL = {- isWindow: function() { return true; },- isWorker: function() { return false; },- isShadowRealm: function() { return false; },-};-</script>-<script src="../../resources/testharness.js"></script>-<script src="../../resources/testharnessreport.js"></script>-<script src="../util/helpers.js"></script>-<script src="okp_importKey_failures_fixtures.js"></script>-<script src="importKey_failures.js"></script>-<div id=log></div>-<script src="../../WebCryptoAPI/import_export/okp_importKey_failures_X448.tentative.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/okp_importKey_failures_X448.tentative.https.any.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/okp_importKey_failures_X448.tentative.https.any.jsdeleted file mode 100644index eccce68fac7..00000000000--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/okp_importKey_failures_X448.tentative.https.any.js+++ /dev/null@@ -1,8 +0,0 @@-// META: title=WebCryptoAPI: importKey() for Failures-// META: timeout=long-// META: script=../util/helpers.js-// META: script=okp_importKey_failures_fixtures.js-// META: script=importKey_failures.js---run_test(["X448"]);diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/okp_importKey_failures_fixtures.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/okp_importKey_failures_fixtures.jsindex 6a7f583e016..01c65d60d44 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/okp_importKey_failures_fixtures.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/okp_importKey_failures_fixtures.js@@ -1,438 +1,85 @@-// Setup: define the correct behaviors that should be sought, and create-// helper functions that generate all possible test parameters for-// different situations.+function algorithmName(algorithm) {+ return algorithm.name || algorithm;+}++function privateJwk(name) {+ return Object.assign({}, okpKeyData[name].jwk);+}++function publicJwk(name) {+ var jwk = privateJwk(name);+ delete jwk.d;+ return jwk;+}+function getValidKeyData(algorithm) {- return validKeyData[algorithm.name || algorithm];+ var name = algorithmName(algorithm);+ var key = okpKeyData[name];+ return [+ {format: "spki", data: key.spki},+ {format: "pkcs8", data: key.pkcs8},+ {format: "raw", data: key.raw},+ {format: "jwk", data: privateJwk(name)},+ {format: "jwk", data: publicJwk(name)}+ ];}function getBadKeyLengthData(algorithm) {- return badKeyLengthData[algorithm.name || algorithm];+ var name = algorithmName(algorithm);+ var key = okpKeyData[name];+ var badPrivateJwk = privateJwk(name);+ var badPublicJwk = publicJwk(name);+ badPrivateJwk.d = badPrivateJwk.d.slice(0, -1);+ badPublicJwk.x = badPublicJwk.x.slice(0, -1);+ return [+ {format: "spki", data: key.spki.slice(0, -1)},+ {format: "pkcs8", data: key.pkcs8.slice(0, -1)},+ {format: "raw", data: key.raw.slice(0, -1)},+ {format: "jwk", data: badPrivateJwk},+ {format: "jwk", data: badPublicJwk}+ ];}function getMissingJWKFieldKeyData(algorithm) {- return missingJWKFieldKeyData[algorithm.name || algorithm];+ var name = algorithmName(algorithm);+ var missingX = privateJwk(name);+ var missingKty = privateJwk(name);+ var missingCrv = name === "Ed448" ? privateJwk(name) : publicJwk(name);+ delete missingX.x;+ delete missingKty.kty;+ delete missingCrv.crv;+ return [+ {param: "x", data: missingX},+ {param: "kty", data: missingKty},+ {param: "crv", data: missingCrv}+ ];}function getMismatchedJWKKeyData(algorithm) {- return mismatchedJWKKeyData[algorithm.name || algorithm];+ var name = algorithmName(algorithm);+ var jwk = privateJwk(name);+ jwk.x = mismatchedPublicKeys[name];+ return [jwk];}function getMismatchedKtyField(algorithm) {- return mismatchedKtyField[algorithm.name || algorithm];+ return "EC";}function getMismatchedCrvField(algorithm) {- return mismatchedCrvField[algorithm.name || algorithm];+ return mismatchedCurves[algorithmName(algorithm)];}-var validKeyData = {- "Ed25519": [- {- format: "spki",- data: new Uint8Array([48, 42, 48, 5, 6, 3, 43, 101, 112, 3, 33, 0, 216, 225, 137, 99, 216, 9, 212, 135, 217, 84, 154, 204, 174, 198, 116, 46, 126, 235, 162, 77, 138, 13, 59, 20, 183, 227, 202, 234, 6, 137, 61, 204])- },- {- format: "pkcs8",- data: new Uint8Array([48, 46, 2, 1, 0, 48, 5, 6, 3, 43, 101, 112, 4, 34, 4, 32, 243, 200, 244, 196, 141, 248, 120, 20, 110, 140, 211, 191, 109, 244, 229, 14, 56, 155, 167, 7, 78, 21, 194, 53, 45, 205, 93, 48, 141, 76, 168, 31])- },- {- format: "raw",- data: new Uint8Array([216, 225, 137, 99, 216, 9, 212, 135, 217, 84, 154, 204, 174, 198, 116, 46, 126, 235, 162, 77, 138, 13, 59, 20, 183, 227, 202, 234, 6, 137, 61, 204])- },- {- format: "jwk",- data: {- crv: "Ed25519",- d: "88j0xI34eBRujNO_bfTlDjibpwdOFcI1Lc1dMI1MqB8",- x: "2OGJY9gJ1IfZVJrMrsZ0Ln7rok2KDTsUt-PK6gaJPcw",- kty: "OKP"- },- },- {- format: "jwk",- data: {- crv: "Ed25519",- x: "2OGJY9gJ1IfZVJrMrsZ0Ln7rok2KDTsUt-PK6gaJPcw",- kty: "OKP"- },- }- ],- "Ed448": [- {- format: "spki",- data: new Uint8Array([48, 67, 48, 5, 6, 3, 43, 101, 113, 3, 58, 0, 171, 75, 184, 133, 253, 125, 44, 90, 242, 78, 131, 113, 12, 255, 160, 199, 74, 87, 226, 116, 128, 29, 178, 5, 123, 11, 220, 94, 160, 50, 182, 254, 107, 199, 139, 128, 69, 54, 90, 235, 38, 232, 110, 31, 20, 253, 52, 157, 7, 196, 132, 149, 245, 164, 106, 90, 128]),- },- {- format: "pkcs8",- data: new Uint8Array([48, 71, 2, 1, 0, 48, 5, 6, 3, 43, 101, 113, 4, 59, 4, 57, 14, 255, 3, 69, 140, 40, 224, 23, 156, 82, 29, 227, 18, 201, 105, 183, 131, 67, 72, 236, 171, 153, 26, 96, 227, 178, 233, 167, 158, 76, 217, 228, 128, 239, 41, 23, 18, 210, 200, 61, 4, 114, 114, 213, 201, 244, 40, 102, 79, 105, 109, 38, 112, 69, 143, 29, 46]),- },- {- format: "raw",- data: new Uint8Array([171, 75, 184, 133, 253, 125, 44, 90, 242, 78, 131, 113, 12, 255, 160, 199, 74, 87, 226, 116, 128, 29, 178, 5, 123, 11, 220, 94, 160, 50, 182, 254, 107, 199, 139, 128, 69, 54, 90, 235, 38, 232, 110, 31, 20, 253, 52, 157, 7, 196, 132, 149, 245, 164, 106, 90, 128]),- },- {- format: "jwk",- data: {- crv: "Ed448",- d: "Dv8DRYwo4BecUh3jEslpt4NDSOyrmRpg47Lpp55M2eSA7ykXEtLIPQRyctXJ9ChmT2ltJnBFjx0u",- x: "q0u4hf19LFryToNxDP-gx0pX4nSAHbIFewvcXqAytv5rx4uARTZa6ybobh8U_TSdB8SElfWkalqA",- kty: "OKP"- },- },- {- format: "jwk",- data: {- crv: "Ed448",- x: "q0u4hf19LFryToNxDP-gx0pX4nSAHbIFewvcXqAytv5rx4uARTZa6ybobh8U_TSdB8SElfWkalqA",- kty: "OKP"- },- },- ],- "X25519": [- {- format: "spki",- data: new Uint8Array([48, 42, 48, 5, 6, 3, 43, 101, 110, 3, 33, 0, 28, 242, 177, 230, 2, 46, 197, 55, 55, 30, 215, 245, 62, 84, 250, 17, 84, 216, 62, 152, 235, 100, 234, 81, 250, 229, 179, 48, 124, 254, 151, 6]),- },- {- format: "pkcs8",- data: new Uint8Array([48, 46, 2, 1, 0, 48, 5, 6, 3, 43, 101, 110, 4, 34, 4, 32, 200, 131, 142, 118, 208, 87, 223, 183, 216, 201, 90, 105, 225, 56, 22, 10, 221, 99, 115, 253, 113, 164, 210, 118, 187, 86, 227, 168, 27, 100, 255, 97]),- },- {- format: "raw",- data: new Uint8Array([28, 242, 177, 230, 2, 46, 197, 55, 55, 30, 215, 245, 62, 84, 250, 17, 84, 216, 62, 152, 235, 100, 234, 81, 250, 229, 179, 48, 124, 254, 151, 6]),- },- {- format: "jwk",- data: {- crv: "X25519",- d: "yIOOdtBX37fYyVpp4TgWCt1jc_1xpNJ2u1bjqBtk_2E",- x: "HPKx5gIuxTc3Htf1PlT6EVTYPpjrZOpR-uWzMHz-lwY",- kty: "OKP"- },- },- {- format: "jwk",- data: {- crv: "X25519",- x: "HPKx5gIuxTc3Htf1PlT6EVTYPpjrZOpR-uWzMHz-lwY",- kty: "OKP"- },- },- ],- "X448": [- {- format: "spki",- data: new Uint8Array([48, 66, 48, 5, 6, 3, 43, 101, 111, 3, 57, 0, 182, 4, 161, 209, 165, 205, 29, 148, 38, 213, 97, 239, 99, 10, 158, 177, 108, 190, 105, 213, 185, 202, 97, 94, 220, 83, 99, 62, 251, 82, 234, 49, 230, 230, 160, 161, 219, 172, 198, 231, 108, 188, 230, 72, 45, 126, 75, 163, 213, 93, 158, 128, 39, 101, 206, 111]),- },- {- format: "pkcs8",- data: new Uint8Array([48, 70, 2, 1, 0, 48, 5, 6, 3, 43, 101, 111, 4, 58, 4, 56, 88, 199, 210, 154, 62, 181, 25, 178, 157, 0, 207, 177, 145, 187, 100, 252, 109, 138, 66, 216, 241, 113, 118, 39, 43, 137, 242, 39, 45, 24, 25, 41, 92, 101, 37, 192, 130, 150, 113, 176, 82, 239, 7, 39, 83, 15, 24, 142, 49, 208, 204, 83, 191, 38, 146, 158]),- },- {- format: "raw",- data: new Uint8Array([182, 4, 161, 209, 165, 205, 29, 148, 38, 213, 97, 239, 99, 10, 158, 177, 108, 190, 105, 213, 185, 202, 97, 94, 220, 83, 99, 62, 251, 82, 234, 49, 230, 230, 160, 161, 219, 172, 198, 231, 108, 188, 230, 72, 45, 126, 75, 163, 213, 93, 158, 128, 39, 101, 206, 111]),- },- {- format: "jwk",- data: {- crv: "X448",- d: "WMfSmj61GbKdAM-xkbtk_G2KQtjxcXYnK4nyJy0YGSlcZSXAgpZxsFLvBydTDxiOMdDMU78mkp4",- x: "tgSh0aXNHZQm1WHvYwqesWy-adW5ymFe3FNjPvtS6jHm5qCh26zG52y85kgtfkuj1V2egCdlzm8",- kty: "OKP"- },- },- {- format: "jwk",- data: {- crv: "X448",- x: "tgSh0aXNHZQm1WHvYwqesWy-adW5ymFe3FNjPvtS6jHm5qCh26zG52y85kgtfkuj1V2egCdlzm8",- kty: "OKP"- },- },- ],-};--// Removed just the last byte.-var badKeyLengthData = {- "Ed25519": [- {- format: "spki",- data: new Uint8Array([48, 42, 48, 5, 6, 3, 43, 101, 112, 3, 33, 0, 216, 225, 137, 99, 216, 9, 212, 135, 217, 84, 154, 204, 174, 198, 116, 46, 126, 235, 162, 77, 138, 13, 59, 20, 183, 227, 202, 234, 6, 137, 61])- },- {- format: "pkcs8",- data: new Uint8Array([48, 46, 2, 1, 0, 48, 5, 6, 3, 43, 101, 112, 4, 34, 4, 32, 243, 200, 244, 196, 141, 248, 120, 20, 110, 140, 211, 191, 109, 244, 229, 14, 56, 155, 167, 7, 78, 21, 194, 53, 45, 205, 93, 48, 141, 76, 168])- },- {- format: "raw",- data: new Uint8Array([216, 225, 137, 99, 216, 9, 212, 135, 217, 84, 154, 204, 174, 198, 116, 46, 126, 235, 162, 77, 138, 13, 59, 20, 183, 227, 202, 234, 6, 137, 61])- },- {- format: "jwk",- data: {- crv: "Ed25519",- d: "88j0xI34eBRujNO_bfTlDjibpwdOFcI1Lc1dMI1MqB",- x: "2OGJY9gJ1IfZVJrMrsZ0Ln7rok2KDTsUt-PK6gaJPcw",- kty: "OKP"- }- },- {- format: "jwk",- data: {- crv: "Ed25519",- x: "2OGJY9gJ1IfZVJrMrsZ0Ln7rok2KDTsUt-PK6gaJPc",- kty: "OKP"- }- }- ],- "Ed448": [- {- format: "spki",- data: new Uint8Array([48, 67, 48, 5, 6, 3, 43, 101, 113, 3, 58, 0, 171, 75, 184, 133, 253, 125, 44, 90, 242, 78, 131, 113, 12, 255, 160, 199, 74, 87, 226, 116, 128, 29, 178, 5, 123, 11, 220, 94, 160, 50, 182, 254, 107, 199, 139, 128, 69, 54, 90, 235, 38, 232, 110, 31, 20, 253, 52, 157, 7, 196, 132, 149, 245, 164, 106, 90]),- },- {- format: "pkcs8",- data: new Uint8Array([48, 71, 2, 1, 0, 48, 5, 6, 3, 43, 101, 113, 4, 59, 4, 57, 14, 255, 3, 69, 140, 40, 224, 23, 156, 82, 29, 227, 18, 201, 105, 183, 131, 67, 72, 236, 171, 153, 26, 96, 227, 178, 233, 167, 158, 76, 217, 228, 128, 239, 41, 23, 18, 210, 200, 61, 4, 114, 114, 213, 201, 244, 40, 102, 79, 105, 109, 38, 112, 69, 143, 29]),- },- {- format: "raw",- data: new Uint8Array([171, 75, 184, 133, 253, 125, 44, 90, 242, 78, 131, 113, 12, 255, 160, 199, 74, 87, 226, 116, 128, 29, 178, 5, 123, 11, 220, 94, 160, 50, 182, 254, 107, 199, 139, 128, 69, 54, 90, 235, 38, 232, 110, 31, 20, 253, 52, 157, 7, 196, 132, 149, 245, 164, 106, 90]),- },- {- format: "jwk",- data: {- crv: "Ed448",- d: "Dv8DRYwo4BecUh3jEslpt4NDSOyrmRpg47Lpp55M2eSA7ykXEtLIPQRyctXJ9ChmT2ltJnBFjx0",- x: "q0u4hf19LFryToNxDP-gx0pX4nSAHbIFewvcXqAytv5rx4uARTZa6ybobh8U_TSdB8SElfWkalqA",- kty: "OKP"- },- },- {- format: "jwk",- data: {- crv: "Ed448",- x: "q0u4hf19LFryToNxDP-gx0pX4nSAHbIFewvcXqAytv5rx4uARTZa6ybobh8U_TSdB8SElfWkalq",- kty: "OKP"- },- },- ],- "X25519": [- {- format: "spki",- data: new Uint8Array([48, 42, 48, 5, 6, 3, 43, 101, 110, 3, 33, 0, 28, 242, 177, 230, 2, 46, 197, 55, 55, 30, 215, 245, 62, 84, 250, 17, 84, 216, 62, 152, 235, 100, 234, 81, 250, 229, 179, 48, 124, 254, 151]),- },- {- format: "pkcs8",- data: new Uint8Array([48, 46, 2, 1, 0, 48, 5, 6, 3, 43, 101, 110, 4, 34, 4, 32, 200, 131, 142, 118, 208, 87, 223, 183, 216, 201, 90, 105, 225, 56, 22, 10, 221, 99, 115, 253, 113, 164, 210, 118, 187, 86, 227, 168, 27, 100, 255]),- },- {- format: "raw",- data: new Uint8Array([28, 242, 177, 230, 2, 46, 197, 55, 55, 30, 215, 245, 62, 84, 250, 17, 84, 216, 62, 152, 235, 100, 234, 81, 250, 229, 179, 48, 124, 254, 151]),- },- {- format: "jwk",- data: {- crv: "X25519",- x: "HPKx5gIuxTc3Htf1PlT6EVTYPpjrZOpR-uWzMHz-lw",- kty: "OKP"- }- },- {- format: "jwk",- data: {- crv: "X25519",- d: "yIOOdtBX37fYyVpp4TgWCt1jc_1xpNJ2u1bjqBtk_2",- x: "HPKx5gIuxTc3Htf1PlT6EVTYPpjrZOpR-uWzMHz-lwY",- kty: "OKP"- },- },- ],- "X448": [- {- format: "spki",- data: new Uint8Array([48, 66, 48, 5, 6, 3, 43, 101, 111, 3, 57, 0, 182, 4, 161, 209, 165, 205, 29, 148, 38, 213, 97, 239, 99, 10, 158, 177, 108, 190, 105, 213, 185, 202, 97, 94, 220, 83, 99, 62, 251, 82, 234, 49, 230, 230, 160, 161, 219, 172, 198, 231, 108, 188, 230, 72, 45, 126, 75, 163, 213, 93, 158, 128, 39, 101, 206]),- },- {- format: "pkcs8",- data: new Uint8Array([48, 70, 2, 1, 0, 48, 5, 6, 3, 43, 101, 111, 4, 58, 4, 56, 88, 199, 210, 154, 62, 181, 25, 178, 157, 0, 207, 177, 145, 187, 100, 252, 109, 138, 66, 216, 241, 113, 118, 39, 43, 137, 242, 39, 45, 24, 25, 41, 92, 101, 37, 192, 130, 150, 113, 176, 82, 239, 7, 39, 83, 15, 24, 142, 49, 208, 204, 83, 191, 38, 146]),- },- {- format: "raw",- data: new Uint8Array([182, 4, 161, 209, 165, 205, 29, 148, 38, 213, 97, 239, 99, 10, 158, 177, 108, 190, 105, 213, 185, 202, 97, 94, 220, 83, 99, 62, 251, 82, 234, 49, 230, 230, 160, 161, 219, 172, 198, 231, 108, 188, 230, 72, 45, 126, 75, 163, 213, 93, 158, 128, 39, 101, 206]),- },- {- format: "jwk",- data: {- crv: "X448",- d: "WMfSmj61GbKdAM-xkbtk_G2KQtjxcXYnK4nyJy0YGSlcZSXAgpZxsFLvBydTDxiOMdDMU78mkp",- x: "tgSh0aXNHZQm1WHvYwqesWy-adW5ymFe3FNjPvtS6jHm5qCh26zG52y85kgtfkuj1V2egCdlzm8",- kty: "OKP"- },- },- {- format: "jwk",- data: {- crv: "X448",- x: "tgSh0aXNHZQm1WHvYwqesWy-adW5ymFe3FNjPvtS6jHm5qCh26zG52y85kgtfkuj1V2egCdlzm",- kty: "OKP"- },- },- ],+var mismatchedPublicKeys = {+ "Ed25519": "11qYAYKxCrfVS_7TyWQHOg7hcvPapiMlrwIaaPcHURo",+ "Ed448": "X9dEm1m0Yf0s54fsYWrUah2hNCSFpw4fig6nXYDpZ3jt8SR2m0bHBhvWeD3x5Q9s0foavq_oJWGA",+ "X25519": "hSDwCYkwp1R0i33ctD73Wg2_Og0mOBr066SpjqqbTmo",+ "X448": "mwj3zDG34+Z9ItWuoSEHSic70rg94Jxj+qc9LCLF2bvINmRyQdlT1AxbEtqIEg1TF3+A5TLEH6A"};-var missingJWKFieldKeyData = {- "Ed25519": [- {- param: "x",- data: {- crv: "Ed25519",- d: "88j0xI34eBRujNO_bfTlDjibpwdOFcI1Lc1dMI1MqB8",- kty: "OKP"- },- },- {- param: "kty",- data: {- crv: "Ed25519",- x: "11qYAYKxCrfVS_7TyWQHOg7hcvPapiMlrwIaaPcHURo",- d: "88j0xI34eBRujNO_bfTlDjibpwdOFcI1Lc1dMI1MqB8",- },- },- {- param: "crv",- data: {- x: "11qYAYKxCrfVS_7TyWQHOg7hcvPapiMlrwIaaPcHURo",- kty: "OKP"- },- }- ],- "Ed448": [- {- param: "x",- data: {- crv: "Ed448",- d: "Dv8DRYwo4BecUh3jEslpt4NDSOyrmRpg47Lpp55M2eSA7ykXEtLIPQRyctXJ9ChmT2ltJnBFjx0u",- kty: "OKP"- }- },- {- param: "kty",- data: {- crv: "Ed448",- d: "Dv8DRYwo4BecUh3jEslpt4NDSOyrmRpg47Lpp55M2eSA7ykXEtLIPQRyctXJ9ChmT2ltJnBFjx0u",- x: "q0u4hf19LFryToNxDP-gx0pX4nSAHbIFewvcXqAytv5rx4uARTZa6ybobh8U_TSdB8SElfWkalqA",- }- },- {- param: "crv",- data: {- d: "Dv8DRYwo4BecUh3jEslpt4NDSOyrmRpg47Lpp55M2eSA7ykXEtLIPQRyctXJ9ChmT2ltJnBFjx0u",- x: "q0u4hf19LFryToNxDP-gx0pX4nSAHbIFewvcXqAytv5rx4uARTZa6ybobh8U_TSdB8SElfWkalqA",- kty: "OKP"- }- }- ],- "X25519": [- {- param: "x",- data: {- crv: "X25519",- d: "yIOOdtBX37fYyVpp4TgWCt1jc_1xpNJ2u1bjqBtk_2E",- kty: "OKP"- },- },- {- param: "kty",- data: {- crv: "X25519",- d: "yIOOdtBX37fYyVpp4TgWCt1jc_1xpNJ2u1bjqBtk_2E",- x: "HPKx5gIuxTc3Htf1PlT6EVTYPpjrZOpR-uWzMHz-lwY",- },- },- {- param: "crv",- data: {- x: "HPKx5gIuxTc3Htf1PlT6EVTYPpjrZOpR-uWzMHz-lwY",- kty: "OKP"- },- }- ],- "X448": [- {- param: "x",- data: {- crv: "X448",- d: "WMfSmj61GbKdAM-xkbtk_G2KQtjxcXYnK4nyJy0YGSlcZSXAgpZxsFLvBydTDxiOMdDMU78mkp4",- kty: "OKP"- }- },- {- param: "kty",- data: {- crv: "X448",- d: "WMfSmj61GbKdAM-xkbtk_G2KQtjxcXYnK4nyJy0YGSlcZSXAgpZxsFLvBydTDxiOMdDMU78mkp4",- x: "tgSh0aXNHZQm1WHvYwqesWy-adW5ymFe3FNjPvtS6jHm5qCh26zG52y85kgtfkuj1V2egCdlzm8",- }- },- {- param: "crv",- data: {- x: "tgSh0aXNHZQm1WHvYwqesWy-adW5ymFe3FNjPvtS6jHm5qCh26zG52y85kgtfkuj1V2egCdlzm8",- kty: "OKP"- }- }- ],-};--// The public key doesn't match the private key.-var mismatchedJWKKeyData = {- "Ed25519": [- {- crv: "Ed25519",- d: "88j0xI34eBRujNO_bfTlDjibpwdOFcI1Lc1dMI1MqB8",- x: "11qYAYKxCrfVS_7TyWQHOg7hcvPapiMlrwIaaPcHURo",- kty: "OKP"- },- ],- "Ed448": [- {- crv: "Ed448",- d: "Dv8DRYwo4BecUh3jEslpt4NDSOyrmRpg47Lpp55M2eSA7ykXEtLIPQRyctXJ9ChmT2ltJnBFjx0u",- x: "X9dEm1m0Yf0s54fsYWrUah2hNCSFpw4fig6nXYDpZ3jt8SR2m0bHBhvWeD3x5Q9s0foavq_oJWGA",- kty: "OKP"- },- ],- "X25519": [- {- crv: "X25519",- d: "yIOOdtBX37fYyVpp4TgWCt1jc_1xpNJ2u1bjqBtk_2E",- x: "hSDwCYkwp1R0i33ctD73Wg2_Og0mOBr066SpjqqbTmo",- kty: "OKP"- },- ],- "X448": [- {-- crv: "X448",- kty: "OKP",- d: "WMfSmj61GbKdAM-xkbtk_G2KQtjxcXYnK4nyJy0YGSlcZSXAgpZxsFLvBydTDxiOMdDMU78mkp4",- x: "mwj3zDG34+Z9ItWuoSEHSic70rg94Jxj+qc9LCLF2bvINmRyQdlT1AxbEtqIEg1TF3+A5TLEH6A",- },- ],-}--// The 'kty' field doesn't match the key algorithm.-var mismatchedKtyField = {- "Ed25519": "EC",- "X25519": "EC",- "Ed448": "EC",- "X448": "EC",-}--// The 'kty' field doesn't match the key algorithm.-var mismatchedCrvField = {+var mismatchedCurves = {"Ed25519": "X25519","X25519": "Ed25519","Ed448": "X448",- "X448": "Ed448",-}+ "X448": "Ed448"+};diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/okp_importKey_fixtures.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/okp_importKey_fixtures.jsindex 58b41d52601..5fe0f05c42b 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/okp_importKey_fixtures.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/okp_importKey_fixtures.js@@ -1,58 +1 @@-var keyData = {- "Ed25519": {- privateUsages: ["sign"],- publicUsages: ["verify"],- spki: new Uint8Array([48, 42, 48, 5, 6, 3, 43, 101, 112, 3, 33, 0, 216, 225, 137, 99, 216, 9, 212, 135, 217, 84, 154, 204, 174, 198, 116, 46, 126, 235, 162, 77, 138, 13, 59, 20, 183, 227, 202, 234, 6, 137, 61, 204]),- raw: new Uint8Array([216, 225, 137, 99, 216, 9, 212, 135, 217, 84, 154, 204, 174, 198, 116, 46, 126, 235, 162, 77, 138, 13, 59, 20, 183, 227, 202, 234, 6, 137, 61, 204]),- pkcs8: new Uint8Array([48, 46, 2, 1, 0, 48, 5, 6, 3, 43, 101, 112, 4, 34, 4, 32, 243, 200, 244, 196, 141, 248, 120, 20, 110, 140, 211, 191, 109, 244, 229, 14, 56, 155, 167, 7, 78, 21, 194, 53, 45, 205, 93, 48, 141, 76, 168, 31]),- jwk: {- crv: "Ed25519",- d: "88j0xI34eBRujNO_bfTlDjibpwdOFcI1Lc1dMI1MqB8",- x: "2OGJY9gJ1IfZVJrMrsZ0Ln7rok2KDTsUt-PK6gaJPcw",- kty: "OKP"- }- },-- "Ed448": {- privateUsages: ["sign"],- publicUsages: ["verify"],- spki: new Uint8Array([48, 67, 48, 5, 6, 3, 43, 101, 113, 3, 58, 0, 171, 75, 184, 133, 253, 125, 44, 90, 242, 78, 131, 113, 12, 255, 160, 199, 74, 87, 226, 116, 128, 29, 178, 5, 123, 11, 220, 94, 160, 50, 182, 254, 107, 199, 139, 128, 69, 54, 90, 235, 38, 232, 110, 31, 20, 253, 52, 157, 7, 196, 132, 149, 245, 164, 106, 90, 128]),- raw: new Uint8Array([171, 75, 184, 133, 253, 125, 44, 90, 242, 78, 131, 113, 12, 255, 160, 199, 74, 87, 226, 116, 128, 29, 178, 5, 123, 11, 220, 94, 160, 50, 182, 254, 107, 199, 139, 128, 69, 54, 90, 235, 38, 232, 110, 31, 20, 253, 52, 157, 7, 196, 132, 149, 245, 164, 106, 90, 128]),- pkcs8: new Uint8Array([48, 71, 2, 1, 0, 48, 5, 6, 3, 43, 101, 113, 4, 59, 4, 57, 14, 255, 3, 69, 140, 40, 224, 23, 156, 82, 29, 227, 18, 201, 105, 183, 131, 67, 72, 236, 171, 153, 26, 96, 227, 178, 233, 167, 158, 76, 217, 228, 128, 239, 41, 23, 18, 210, 200, 61, 4, 114, 114, 213, 201, 244, 40, 102, 79, 105, 109, 38, 112, 69, 143, 29, 46]),- jwk: {- crv: "Ed448",- d: "Dv8DRYwo4BecUh3jEslpt4NDSOyrmRpg47Lpp55M2eSA7ykXEtLIPQRyctXJ9ChmT2ltJnBFjx0u",- x: "q0u4hf19LFryToNxDP-gx0pX4nSAHbIFewvcXqAytv5rx4uARTZa6ybobh8U_TSdB8SElfWkalqA",- kty: "OKP"- }- },-- "X25519": {- privateUsages: ["deriveKey", "deriveBits"],- publicUsages: [],- spki: new Uint8Array([48, 42, 48, 5, 6, 3, 43, 101, 110, 3, 33, 0, 28, 242, 177, 230, 2, 46, 197, 55, 55, 30, 215, 245, 62, 84, 250, 17, 84, 216, 62, 152, 235, 100, 234, 81, 250, 229, 179, 48, 124, 254, 151, 6]),- raw: new Uint8Array([28, 242, 177, 230, 2, 46, 197, 55, 55, 30, 215, 245, 62, 84, 250, 17, 84, 216, 62, 152, 235, 100, 234, 81, 250, 229, 179, 48, 124, 254, 151, 6]),- pkcs8: new Uint8Array([48, 46, 2, 1, 0, 48, 5, 6, 3, 43, 101, 110, 4, 34, 4, 32, 200, 131, 142, 118, 208, 87, 223, 183, 216, 201, 90, 105, 225, 56, 22, 10, 221, 99, 115, 253, 113, 164, 210, 118, 187, 86, 227, 168, 27, 100, 255, 97]),- jwk: {- crv: "X25519",- d: "yIOOdtBX37fYyVpp4TgWCt1jc_1xpNJ2u1bjqBtk_2E",- x: "HPKx5gIuxTc3Htf1PlT6EVTYPpjrZOpR-uWzMHz-lwY",- kty: "OKP"- }- },-- "X448": {- privateUsages: ["deriveKey", "deriveBits"],- publicUsages: [],- spki: new Uint8Array([48, 66, 48, 5, 6, 3, 43, 101, 111, 3, 57, 0, 182, 4, 161, 209, 165, 205, 29, 148, 38, 213, 97, 239, 99, 10, 158, 177, 108, 190, 105, 213, 185, 202, 97, 94, 220, 83, 99, 62, 251, 82, 234, 49, 230, 230, 160, 161, 219, 172, 198, 231, 108, 188, 230, 72, 45, 126, 75, 163, 213, 93, 158, 128, 39, 101, 206, 111]),- raw: new Uint8Array([182, 4, 161, 209, 165, 205, 29, 148, 38, 213, 97, 239, 99, 10, 158, 177, 108, 190, 105, 213, 185, 202, 97, 94, 220, 83, 99, 62, 251, 82, 234, 49, 230, 230, 160, 161, 219, 172, 198, 231, 108, 188, 230, 72, 45, 126, 75, 163, 213, 93, 158, 128, 39, 101, 206, 111]),- pkcs8: new Uint8Array([48, 70, 2, 1, 0, 48, 5, 6, 3, 43, 101, 111, 4, 58, 4, 56, 88, 199, 210, 154, 62, 181, 25, 178, 157, 0, 207, 177, 145, 187, 100, 252, 109, 138, 66, 216, 241, 113, 118, 39, 43, 137, 242, 39, 45, 24, 25, 41, 92, 101, 37, 192, 130, 150, 113, 176, 82, 239, 7, 39, 83, 15, 24, 142, 49, 208, 204, 83, 191, 38, 146, 158]),- jwk: {- crv: "X448",- d: "WMfSmj61GbKdAM-xkbtk_G2KQtjxcXYnK4nyJy0YGSlcZSXAgpZxsFLvBydTDxiOMdDMU78mkp4",- x: "tgSh0aXNHZQm1WHvYwqesWy-adW5ymFe3FNjPvtS6jHm5qCh26zG52y85kgtfkuj1V2egCdlzm8",- kty: "OKP"- }- },--};+var keyData = okpKeyData;diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/symmetric_importKey.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/symmetric_importKey.jsindex 8633af5279c..795d90ffbff 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/symmetric_importKey.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/symmetric_importKey.js@@ -59,6 +59,20 @@ function runTests(algorithmName) {testFormat(format, algorithm, data, keyData.length * 8, usages, extractable);});testEmptyUsages(format, algorithm, data, keyData.length * 8, extractable);++ // Verify the key data is copied only after the algorithm is+ // normalized (per spec, "get a copy of the bytes held by the+ // keyData parameter" follows "normalize an algorithm"). A+ // getter on the algorithm name mutates the key data during+ // normalization; the imported key must reflect the restored+ // bytes. Checked for BufferSource formats (jwk key data is+ // not a BufferSource) when the key is extractable, so the+ // imported bytes can be read back and compared.+ if (extractable && format !== "jwk") {+ allValidUsages(vector.legalUsages).forEach(function(usages) {+ testKeyDataAlteredDuringCall(format, algorithm, keyData, keyData.length * 8, usages);+ });+ }});});@@ -111,6 +125,35 @@ function runTests(algorithmName) {}, "Empty Usages: " + keySize.toString() + " bits " + parameterString(format, keyData, algorithm, extractable, usages));}+ // Test that importKey copies the key data only after the algorithm has been+ // normalized. The spec normalizes the algorithm (which can run author+ // getters on the algorithm dictionary) before getting a copy of the bytes+ // held by the keyData parameter. Here a getter on the algorithm's name+ // mutates the key data during normalization and then restores it, so a+ // spec-compliant implementation imports the restored (original) bytes.+ function testKeyDataAlteredDuringCall(format, algorithm, keyData, keySize, usages) {+ promise_test(function(test) {+ var alteredKeyData = copyBuffer(keyData);+ alteredKeyData[0] = 255 - alteredKeyData[0];+ var algorithmWithGetter = {+ ...algorithm,+ get name() {+ alteredKeyData[0] = keyData[0];+ return algorithm.name;+ }+ };+ return subtle.importKey(format, alteredKeyData, algorithmWithGetter, true, usages).+ then(function(key) {+ return subtle.exportKey(format, key);+ }).+ then(function(result) {+ assert_true(equalBuffers(keyData, result), "Imported key reflects the key data as it was after normalization");+ }, function(err) {+ assert_unreached("Threw an unexpected error: " + err.toString());+ });+ }, "Key data altered during call: " + keySize.toString() + " bits " + parameterString(format, keyData, algorithm, true, usages));+ }+// Helper methods follow:diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/derive_bits_keys/argon2.tentative.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/derive_bits_keys/argon2.https.any.htmlsimilarity index 55%rename from Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/derive_bits_keys/argon2.tentative.https.any.htmlrename to Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/derive_bits_keys/argon2.https.any.htmlindex c591830ae40..e8fa79a5954 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/derive_bits_keys/argon2.tentative.https.any.html+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/derive_bits_keys/argon2.https.any.html@@ -9,11 +9,11 @@ self.GLOBAL = {isShadowRealm: function() { return false; },};</script>-<script src="../../resources/testharness.js"></script>-<script src="../../resources/testharnessreport.js"></script>-<script src="../util/helpers.js"></script>-<script src="../../common/subset-tests.js"></script>+<script src="../../../resources/testharness.js"></script>+<script src="../../../resources/testharnessreport.js"></script>+<script src="../../util/helpers.js"></script>+<script src="../../../common/subset-tests.js"></script><script src="argon2_vectors.js"></script><script src="argon2.js"></script><div id=log></div>-<script src="../../WebCryptoAPI/derive_bits_keys/argon2.tentative.https.any.js"></script>+<script src="../../../WebCryptoAPI/modern-algos/derive_bits_keys/argon2.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/derive_bits_keys/argon2.tentative.https.any.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/derive_bits_keys/argon2.https.any.jssimilarity index 85%rename from Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/derive_bits_keys/argon2.tentative.https.any.jsrename to Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/derive_bits_keys/argon2.https.any.jsindex 9422c39c958..8ddbac5960e 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/derive_bits_keys/argon2.tentative.https.any.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/derive_bits_keys/argon2.https.any.js@@ -1,6 +1,6 @@// META: title=WebCryptoAPI: deriveBits() Using Argon2// META: timeout=long-// META: script=../util/helpers.js+// META: script=../../util/helpers.js// META: script=/common/subset-tests.js// META: script=argon2_vectors.js// META: script=argon2.jsdiff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/derive_bits_keys/argon2.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/derive_bits_keys/argon2.jssimilarity index 100%rename from Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/derive_bits_keys/argon2.jsrename to Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/derive_bits_keys/argon2.jsdiff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/derive_bits_keys/argon2_vectors.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/derive_bits_keys/argon2_vectors.jssimilarity index 100%rename from Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/derive_bits_keys/argon2_vectors.jsrename to Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/derive_bits_keys/argon2_vectors.jsdiff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/digest/cshake.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/digest/cshake.https.any.htmlnew file mode 100644index 00000000000..86ef3bc3e78--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/digest/cshake.https.any.html@@ -0,0 +1,18 @@+<!doctype html>+<meta charset=utf-8>+<title>WebCryptoAPI: digest() cSHAKE algorithms</title>+<meta name="timeout" content="long">+<script>+self.GLOBAL = {+ isWindow: function() { return true; },+ isWorker: function() { return false; },+ isShadowRealm: function() { return false; },+};+</script>+<script src="../../../resources/testharness.js"></script>+<script src="../../../resources/testharnessreport.js"></script>+<script src="../../util/helpers.js"></script>+<script src="../../digest/digest_test_data.js"></script>+<script src="../../digest/digest.js"></script>+<div id=log></div>+<script src="../../../WebCryptoAPI/modern-algos/digest/cshake.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/digest/cshake.tentative.https.any.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/digest/cshake.https.any.jssimilarity index 59%rename from Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/digest/cshake.tentative.https.any.jsrename to Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/digest/cshake.https.any.jsindex 81793666294..58b5378a852 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/digest/cshake.tentative.https.any.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/digest/cshake.https.any.js@@ -1,23 +1,12 @@// META: title=WebCryptoAPI: digest() cSHAKE algorithms-// META: script=../util/helpers.js+// META: script=../../util/helpers.js+// META: script=../../digest/digest_test_data.js+// META: script=../../digest/digest.js// META: timeout=longvar subtle = crypto.subtle; // Change to test prefixed implementations-var sourceData = {- empty: new Uint8Array(0),- short: new Uint8Array([- 21, 110, 234, 124, 193, 76, 86, 203, 148, 219, 3, 10, 74, 157, 149, 255,- ]),- medium: new Uint8Array([- 182, 200, 249, 223, 100, 140, 208, 136, 183, 15, 56, 231, 65, 151, 177, 140,- 184, 30, 30, 67, 80, 213, 11, 204, 184, 251, 90, 115, 121, 200, 123, 178,- 227, 214, 237, 84, 97, 237, 30, 159, 54, 243, 64, 163, 150, 42, 68, 107,- 129, 91, 121, 75, 75, 212, 58, 68, 3, 80, 32, 119, 178, 37, 108, 200, 7,- 131, 127, 58, 172, 209, 24, 235, 75, 156, 43, 174, 184, 151, 6, 134, 37,- 171, 172, 161, 147,- ]),-};+var sourceData = getDigestSourceData(false);// Test different output lengths for cSHAKEvar digestLengths = [0, 256, 384, 512];@@ -158,91 +147,19 @@ var digestedData = {};// Test cSHAKE digest algorithms with variable output lengths-Object.keys(digestedData).forEach(function (alg) {- digestLengths.forEach(function (length) {- Object.keys(sourceData).forEach(function (size) {- promise_test(function (test) {- return crypto.subtle- .digest({ name: alg, outputLength: length }, sourceData[size])- .then(function (result) {- assert_true(- equalBuffers(result, digestedData[alg][length][size]),- 'digest matches expected'- );- });- }, alg + ' with ' + length + ' bit output and ' + size + ' source data');-- if (sourceData[size].length > 0) {- promise_test(function (test) {- var buffer = new Uint8Array(sourceData[size]);- // Alter the buffer before calling digest- buffer[0] = ~buffer[0];- return crypto.subtle- .digest({- get name() {- // Alter the buffer back while calling digest- buffer[0] = sourceData[size][0];- return alg;- },- outputLength: length- }, buffer)- .then(function (result) {- assert_true(- equalBuffers(result, digestedData[alg][length][size]),- 'digest matches expected'- );- });- }, alg + ' with ' + length + ' bit output and ' + size + ' source data and altered buffer during call');-- promise_test(function (test) {- var buffer = new Uint8Array(sourceData[size]);- var promise = crypto.subtle- .digest({ name: alg, outputLength: length }, buffer)- .then(function (result) {- assert_true(- equalBuffers(result, digestedData[alg][length][size]),- 'digest matches expected'- );- });- // Alter the buffer after calling digest- buffer[0] = ~buffer[0];- return promise;- }, alg + ' with ' + length + ' bit output and ' + size + ' source data and altered buffer after call');-- promise_test(function (test) {- var buffer = new Uint8Array(sourceData[size]);- return crypto.subtle- .digest({- get name() {- // Transfer the buffer while calling digest- buffer.buffer.transfer();- return alg;- },- outputLength: length- }, buffer)- .then(function (result) {- assert_true(- equalBuffers(result, digestedData[alg][length].empty),- 'digest on transferred buffer should match result for empty buffer'- );- });- }, alg + ' with ' + length + ' bit output and ' + size + ' source data and transferred buffer during call');-- promise_test(function (test) {- var buffer = new Uint8Array(sourceData[size]);- var promise = crypto.subtle- .digest({ name: alg, outputLength: length }, buffer)- .then(function (result) {- assert_true(- equalBuffers(result, digestedData[alg][length][size]),- 'digest matches expected'- );- });- // Transfer the buffer after calling digest- buffer.buffer.transfer();- return promise;- }, alg + ' with ' + length + ' bit output and ' + size + ' source data and transferred buffer after call');- }+runDigestTests(subtle, sourceData, function (size) {+ var vectors = [];+ Object.keys(digestedData).forEach(function (alg) {+ digestLengths.forEach(function (length) {+ vectors.push({+ algorithm: {name: alg, outputLength: length},+ expected: digestedData[alg][length][size],+ emptyExpected: digestedData[alg][length].empty,+ label: alg + ' with ' + length + ' bit output and ' ++ size + ' source data',+ mutations: true,+ });});});+ return vectors;});diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/digest/sha3.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/digest/sha3.https.any.htmlnew file mode 100644index 00000000000..99c4a0ba818--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/digest/sha3.https.any.html@@ -0,0 +1,18 @@+<!doctype html>+<meta charset=utf-8>+<title>WebCryptoAPI: digest() SHA-3 algorithms</title>+<meta name="timeout" content="long">+<script>+self.GLOBAL = {+ isWindow: function() { return true; },+ isWorker: function() { return false; },+ isShadowRealm: function() { return false; },+};+</script>+<script src="../../../resources/testharness.js"></script>+<script src="../../../resources/testharnessreport.js"></script>+<script src="../../util/helpers.js"></script>+<script src="../../digest/digest_test_data.js"></script>+<script src="../../digest/digest.js"></script>+<div id=log></div>+<script src="../../../WebCryptoAPI/modern-algos/digest/sha3.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/digest/sha3.https.any.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/digest/sha3.https.any.jsnew file mode 100644index 00000000000..ea44080aac5--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/digest/sha3.https.any.js@@ -0,0 +1,94 @@+// META: title=WebCryptoAPI: digest() SHA-3 algorithms+// META: script=../../util/helpers.js+// META: script=../../digest/digest_test_data.js+// META: script=../../digest/digest.js+// META: timeout=long++var subtle = crypto.subtle; // Change to test prefixed implementations++var sourceData = getDigestSourceData(true);++var digestedData = {+ 'SHA3-256': {+ empty: new Uint8Array([+ 167, 255, 198, 248, 191, 30, 215, 102, 81, 193, 71, 86, 160, 97, 214, 98,+ 245, 128, 255, 77, 228, 59, 73, 250, 130, 216, 10, 75, 128, 248, 67, 74,+ ]),+ short: new Uint8Array([+ 48, 89, 175, 122, 163, 59, 81, 112, 132, 232, 173, 123, 188, 79, 178, 8,+ 164, 76, 40, 239, 50, 180, 105, 141, 16, 61, 213, 64, 228, 249, 26, 161,+ ]),+ medium: new Uint8Array([+ 31, 167, 205, 29, 167, 76, 216, 4, 100, 23, 80, 140, 131, 20, 231, 74,+ 154, 74, 157, 56, 249, 241, 142, 108, 178, 21, 184, 200, 145, 160, 168,+ 14,+ ]),+ long: new Uint8Array([+ 178, 207, 198, 30, 3, 134, 205, 174, 245, 225, 10, 43, 225, 137, 137, 31,+ 94, 245, 42, 118, 36, 191, 205, 142, 220, 137, 58, 204, 100, 254, 198, 0,+ ]),+ },+ 'SHA3-384': {+ empty: new Uint8Array([+ 12, 99, 167, 91, 132, 94, 79, 125, 1, 16, 125, 133, 46, 76, 36, 133, 197,+ 26, 80, 170, 170, 148, 252, 97, 153, 94, 113, 187, 238, 152, 58, 42, 195,+ 113, 56, 49, 38, 74, 219, 71, 251, 107, 209, 224, 88, 213, 240, 4,+ ]),+ short: new Uint8Array([+ 84, 184, 240, 228, 207, 73, 116, 222, 116, 0, 152, 246, 107, 48, 36, 71,+ 155, 1, 99, 19, 21, 166, 119, 54, 6, 195, 62, 173, 195, 37, 86, 166, 231,+ 120, 224, 143, 2, 37, 174, 121, 38, 90, 236, 102, 108, 178, 57, 11,+ ]),+ medium: new Uint8Array([+ 67, 123, 125, 139, 104, 178, 80, 181, 193, 115, 158, 164, 204, 134, 219,+ 32, 51, 135, 157, 251, 24, 222, 41, 44, 156, 80, 217, 193, 147, 164, 199,+ 154, 8, 166, 202, 227, 244, 228, 131, 194, 121, 94, 165, 209, 239, 126,+ 105, 210,+ ]),+ long: new Uint8Array([+ 59, 57, 196, 201, 122, 216, 118, 19, 48, 93, 12, 204, 152, 113, 129, 113,+ 62, 45, 94, 132, 177, 249, 118, 0, 17, 188, 206, 12, 41, 116, 153, 0, 91,+ 220, 232, 163, 210, 64, 155, 90, 208, 22, 79, 50, 187, 135, 120, 208,+ ]),+ },+ 'SHA3-512': {+ empty: new Uint8Array([+ 166, 159, 115, 204, 162, 58, 154, 197, 200, 181, 103, 220, 24, 90, 117,+ 110, 151, 201, 130, 22, 79, 226, 88, 89, 224, 209, 220, 193, 71, 92, 128,+ 166, 21, 178, 18, 58, 241, 245, 249, 76, 17, 227, 233, 64, 44, 58, 197,+ 88, 245, 0, 25, 157, 149, 182, 211, 227, 1, 117, 133, 134, 40, 29, 205,+ 38,+ ]),+ short: new Uint8Array([+ 45, 210, 224, 122, 98, 230, 173, 4, 152, 186, 132, 243, 19, 196, 212, 2,+ 76, 180, 96, 1, 247, 143, 117, 219, 51, 107, 13, 77, 139, 210, 169, 236,+ 21, 44, 74, 210, 8, 120, 115, 93, 130, 186, 8, 114, 236, 245, 150, 8, 239,+ 60, 237, 43, 42, 134, 105, 66, 126, 125, 163, 30, 54, 35, 51, 216,+ ]),+ medium: new Uint8Array([+ 230, 64, 162, 25, 9, 83, 102, 64, 54, 158, 155, 10, 72, 147, 28, 92, 178,+ 239, 203, 201, 31, 236, 242, 71, 48, 107, 201, 106, 14, 76, 163, 51, 7,+ 203, 142, 27, 154, 243, 103, 148, 109, 208, 28, 36, 63, 57, 7, 80, 141, 4,+ 241, 105, 42, 49, 97, 223, 31, 137, 141, 232, 238, 37, 254, 190,+ ]),+ long: new Uint8Array([+ 189, 38, 44, 236, 245, 101, 195, 56, 3, 45, 229, 186, 1, 56, 240, 170,+ 207, 231, 221, 232, 61, 39, 45, 13, 55, 217, 82, 130, 158, 210, 93, 225,+ 161, 52, 45, 152, 101, 158, 247, 210, 250, 74, 202, 124, 226, 177, 170, 7,+ 132, 216, 252, 29, 203, 248, 27, 206, 199, 167, 67, 26, 61, 163, 107, 247,+ ]),+ },+};++// Test SHA-3 digest algorithms+runDigestTests(subtle, sourceData, function (size) {+ return Object.keys(digestedData).map(function (alg) {+ return {+ algorithm: alg,+ expected: digestedData[alg][size],+ emptyExpected: digestedData[alg].empty,+ label: alg + ' with ' + size + ' source data',+ mutations: true,+ };+ });+});diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/encap_decap/encap_decap_bits.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/encap_decap/encap_decap_bits.https.any.htmlnew file mode 100644index 00000000000..ad435b9e587--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/encap_decap/encap_decap_bits.https.any.html@@ -0,0 +1,18 @@+<!doctype html>+<meta charset=utf-8>+<title>WebCryptoAPI: KEM encapsulateBits() and decapsulateBits() tests</title>+<meta name="timeout" content="long">+<script>+self.GLOBAL = {+ isWindow: function() { return true; },+ isWorker: function() { return false; },+ isShadowRealm: function() { return false; },+};+</script>+<script src="../../../resources/testharness.js"></script>+<script src="../../../resources/testharnessreport.js"></script>+<script src="../../util/helpers.js"></script>+<script src="ml_kem_vectors.js"></script>+<script src="hybrid_kem_vectors.js"></script>+<div id=log></div>+<script src="../../../WebCryptoAPI/modern-algos/encap_decap/encap_decap_bits.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encap_decap/encap_decap_bits.tentative.https.any.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/encap_decap/encap_decap_bits.https.any.jssimilarity index 83%rename from Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encap_decap/encap_decap_bits.tentative.https.any.jsrename to Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/encap_decap/encap_decap_bits.https.any.jsindex 5a669753cd2..df6626aeb7b 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encap_decap/encap_decap_bits.tentative.https.any.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/encap_decap/encap_decap_bits.https.any.js@@ -1,13 +1,23 @@-// META: title=WebCryptoAPI: ML-KEM encapsulateBits() and decapsulateBits() tests+// META: title=WebCryptoAPI: KEM encapsulateBits() and decapsulateBits() tests+// META: script=../../util/helpers.js// META: script=ml_kem_vectors.js-// META: script=../util/helpers.js+// META: script=hybrid_kem_vectors.js// META: timeout=longfunction define_bits_tests() {var subtle = self.crypto.subtle;- var variants = ['ML-KEM-512', 'ML-KEM-768', 'ML-KEM-1024'];+ var variants = [+ { name: 'ML-KEM-512', ciphertextLength: 768 },+ { name: 'ML-KEM-768', ciphertextLength: 1088 },+ { name: 'ML-KEM-1024', ciphertextLength: 1568 },+ { name: 'MLKEM768-P256', ciphertextLength: 1153 },+ { name: 'MLKEM768-X25519', ciphertextLength: 1120 },+ { name: 'MLKEM1024-P384', ciphertextLength: 1665 },+ ];++ variants.forEach(function (variant) {+ var algorithmName = variant.name;- variants.forEach(function (algorithmName) {// Test encapsulateBits operationpromise_test(async function (test) {// Generate a key pair for testing@@ -27,11 +37,11 @@ function define_bits_tests() {'encapsulateBits should return an object');assert_true(- encapsulatedBits.hasOwnProperty('sharedKey'),+ Object.hasOwn(encapsulatedBits, 'sharedKey'),'Result should have sharedKey property');assert_true(- encapsulatedBits.hasOwnProperty('ciphertext'),+ Object.hasOwn(encapsulatedBits, 'ciphertext'),'Result should have ciphertext property');assert_true(@@ -50,24 +60,11 @@ function define_bits_tests() {'Shared key should be 32 bytes');- // Verify ciphertext length based on algorithm variant- var expectedCiphertextLength;- switch (algorithmName) {- case 'ML-KEM-512':- expectedCiphertextLength = 768;- break;- case 'ML-KEM-768':- expectedCiphertextLength = 1088;- break;- case 'ML-KEM-1024':- expectedCiphertextLength = 1568;- break;- }assert_equals(encapsulatedBits.ciphertext.byteLength,- expectedCiphertextLength,+ variant.ciphertextLength,'Ciphertext should be ' +- expectedCiphertextLength ++ variant.ciphertextLength +' bytes for ' +algorithmName);diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/encap_decap/encap_decap_keys.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/encap_decap/encap_decap_keys.https.any.htmlnew file mode 100644index 00000000000..1ddbf75eaa7--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/encap_decap/encap_decap_keys.https.any.html@@ -0,0 +1,18 @@+<!doctype html>+<meta charset=utf-8>+<title>WebCryptoAPI: KEM encapsulateKey() and decapsulateKey() tests</title>+<meta name="timeout" content="long">+<script>+self.GLOBAL = {+ isWindow: function() { return true; },+ isWorker: function() { return false; },+ isShadowRealm: function() { return false; },+};+</script>+<script src="../../../resources/testharness.js"></script>+<script src="../../../resources/testharnessreport.js"></script>+<script src="../../util/helpers.js"></script>+<script src="ml_kem_vectors.js"></script>+<script src="hybrid_kem_vectors.js"></script>+<div id=log></div>+<script src="../../../WebCryptoAPI/modern-algos/encap_decap/encap_decap_keys.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encap_decap/encap_decap_keys.tentative.https.any.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/encap_decap/encap_decap_keys.https.any.jssimilarity index 94%rename from Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encap_decap/encap_decap_keys.tentative.https.any.jsrename to Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/encap_decap/encap_decap_keys.https.any.jsindex 0a45c1fc4e9..364183bc2eb 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encap_decap/encap_decap_keys.tentative.https.any.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/encap_decap/encap_decap_keys.https.any.js@@ -1,11 +1,19 @@-// META: title=WebCryptoAPI: ML-KEM encapsulateKey() and decapsulateKey() tests+// META: title=WebCryptoAPI: KEM encapsulateKey() and decapsulateKey() tests+// META: script=../../util/helpers.js// META: script=ml_kem_vectors.js-// META: script=../util/helpers.js+// META: script=hybrid_kem_vectors.js// META: timeout=longfunction define_key_tests() {var subtle = self.crypto.subtle;- var variants = ['ML-KEM-512', 'ML-KEM-768', 'ML-KEM-1024'];+ var variants = [+ { name: 'ML-KEM-512', ciphertextLength: 768 },+ { name: 'ML-KEM-768', ciphertextLength: 1088 },+ { name: 'ML-KEM-1024', ciphertextLength: 1568 },+ { name: 'MLKEM768-P256', ciphertextLength: 1153 },+ { name: 'MLKEM768-X25519', ciphertextLength: 1120 },+ { name: 'MLKEM1024-P384', ciphertextLength: 1665 },+ ];// Test various 256-bit shared key algorithmsvar sharedKeyConfigs = [@@ -36,7 +44,9 @@ function define_key_tests() {},];- variants.forEach(function (algorithmName) {+ variants.forEach(function (variant) {+ var algorithmName = variant.name;+sharedKeyConfigs.forEach(function (config) {[true, false].forEach(function (extractable) {// Test encapsulateKey operation@@ -61,11 +71,11 @@ function define_key_tests() {'encapsulateKey should return an object');assert_true(- encapsulatedKey.hasOwnProperty('sharedKey'),+ Object.hasOwn(encapsulatedKey, 'sharedKey'),'Result should have sharedKey property');assert_true(- encapsulatedKey.hasOwnProperty('ciphertext'),+ Object.hasOwn(encapsulatedKey, 'ciphertext'),'Result should have ciphertext property');assert_true(@@ -115,24 +125,11 @@ function define_key_tests() {);}- // Verify ciphertext length based on algorithm variant- var expectedCiphertextLength;- switch (algorithmName) {- case 'ML-KEM-512':- expectedCiphertextLength = 768;- break;- case 'ML-KEM-768':- expectedCiphertextLength = 1088;- break;- case 'ML-KEM-1024':- expectedCiphertextLength = 1568;- break;- }assert_equals(encapsulatedKey.ciphertext.byteLength,- expectedCiphertextLength,+ variant.ciphertextLength,'Ciphertext should be ' +- expectedCiphertextLength ++ variant.ciphertextLength +' bytes for ' +algorithmName);diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/encap_decap/hybrid_kem_vectors.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/encap_decap/hybrid_kem_vectors.jsnew file mode 100644index 00000000000..751d192cbd4--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/encap_decap/hybrid_kem_vectors.js@@ -0,0 +1,50 @@+// Test vectors from draft-irtf-cfrg-concrete-hybrid-kems-03, Appendix A.++// MLKEM768-P256 test vectors+ml_kem_vectors['MLKEM768-P256'] = {+ publicKey: hexStringToUint8Array(+ '3d209f716752f6408e7f89bceef97ac388530045377927644ef046c0a7cae978c8841a0133aac4f1e1a7027277f671219cf58b85d29c8fec08edd432e787a3cf9936fe0026a113cb9efb1d7214049527bfe2141ea170b0294a59403ab0ce16760a8baa95b823cbb8aacdcc17ef32775223c791e3740163941f9bb3f63346bef1c050c31f932c62719429aff14c2bd438ab135bed692d56c77c04cbbffd6335b578318b513771e84b14ea821262141ca006ccb8bf2500aa1008970f216fe7f1ae34125aa290492c069a189222adc322f97649c762c7d3128ad3bb2667971d0744014bc3b67445cbcd0b3e7ea69fb1cb9f9c331f97487920187292926d04a25a2650abbd44982bb0c3c6301fe6a61330d24d8a3c7021dc3e3392c79a139b37613bba67a2984298507b84a4d61eef18acfb979af2d39caa4c0db4513815359d76fc378c63a7f4f3053b17168d0221cf0c2eec5514ba235f81d04d67c3b5c518094917671c26a7c046457533cc32844581277a03eb065c4529a779a9a5878f2aac3f81db9ed3d8c9345697058cbb99d379bca16d8fdb61d129960390524791b9d3e501b900bd1e5002e095be06c23f1fb212f5801f24b6b28c0c5493d246d02aa29fa3acfbe15ac4e212eb0b6f69ebbea259a2703aa4c308224bdb741c65c7a5d4bff788279507bbfe513d7aa5694e7b3cdf62ab36432742d4a0ca9b3570ba742fa803b46989c8526ea586cc4fc32866143b79601725fa545fd280b404530318bbc3371194710b6d74beaa629eb18a36a953b75915ae96999ba5c88cdc56a46861c50032c9b630bcc1445a30878979bc55a2c0955bf399b231203b90c651b6afe0e242b5a543250b142f7291ed753d816098f7913302a8ce91641716623d4fc2ac6772aa5f3674042b7c4a18a2186289a4ac4e200774596ca03e6798c7506b984999db6ac142586bae0799f1e776f9f5247dc574d8556ddf9bbbc4ca3643263457f74248010d62d4311268360aecb4902b450bf2050ecb8ba7a92820d233f5a14ed31225a1d17ca6f19e825894cfb1807d922cbd60761134be419144bcf72006366a4460137ad9136c113f05eb54c409520edc72e4150cc3a24b0f819eec11bbd19ca9645b0810a60b4a8a9e9c3955396a1653955b047bcf4f98433c27236c570d75f809e44aaf2dc33665826351872c293350ab324518c8c0c80b521c80c81a56bdc968a5650315a830c8bb17532c62ccc23b1d46412c256b224fd4674491803501d0143125c7577239689965b6989ca561793c0f85c62a9e13487da17662a7188c70b1040a67ed4c3f85e74e3691822fb96314d6134fe6a626b3cbe1461d62a7b573b2cc75579ffa22967e36ceb2a1aa0b71875a22751d706b72ca9ecd0c8100ad0aa58009a5c83fffe91759e6baa0a9345af99fe3b69509dbc84032868844ab3f65bb1df8beadf36442e48e339c967023a525411544c789a2f04dacd06ffef78302210450b931f6b4c32aab34a3f5260b810f4c9a946fc22d3baabaa80ba8d9955d6dc35e8609b4256b482cdc9d8977c1a47a354e7c527fdb1672e166917b95cd6351820261daab361f8a2dcbb240c55abd6a8105e5291b427b566d731e6b7047189cff20d8b120e0b3e72472d1b0086812200fd3698e23f06e4f4e08bbb54cc2049c039c845be659999c8fa48d7f62327c146cf1bc0b0bb1b91b30174b7bc220d422023bff6b0dee263532c503f3982e4d3e27071b855578a9a9aa63b8a8c339bf'+ ),+ privateSeed: hexStringToUint8Array(+ '0000000000000000000000000000000000000000000000000000000000000000'+ ),+ sampleCiphertext: hexStringToUint8Array(+ 'd81018a94f8078e02105beaa814e003390befa4589bb614f77397af42d8e8150796f2c88a4efca81b8cf93c0ae3716c54ec1b045e3875f38c2dd12d7f717bd7fb701a9fecda5ed8b764c9a35d4a5c1d8930f6071f653eebb2d1afa77debb8302d16f17e0f5f3920a71a4d49beafa0e1c7e443f8abca64a65a9e81a97e7357bf902573363c0e1a12e5228036828e3f759121fada92441fe334e85d79347e470d2fed945541d832c54baaa3cb7526c3853954db4f73547cc7c27fd38398bfa7704952cb841e38b270e4db7435f0ee22f57d7ad3270bd0c88e71b4b864cf2277c65daa10a6dad4c7abecd95cc4ebec39c08404b522e4ecc1545713f76bebd3b5a0f2feb3461936065dbd13f6a1f61e1b142a2af2e5a482ba2c50cf0317049c0b3bfd6d5e9240eba9111d2030fdea17e33b6524020d30b0c4f8069285f3a6ca267d287d01e827d8422bf5426e11688bfc73756af1841b1c87e126cb50c914b5b2b8673488ad3b074cad77a3840eb12dd688f313ee1e9ff8c479a678f276356fc9d65e1d5b4c1e9855b4175db144f7767c12061769190fe6b5e51563b91f94d131a2b796bd2980ed0dab4ae7a7110e920007a757158a5eb8662cbf89ddffe9d8196821313cdc00108853fc4746b111d5b56da638d8ed2973918960f5dfe93ead3ae521e957cec3c8d843e8fce234c70ad055177f235439d6098bdd771b1cfcfadaab4f50a7378185c62409f383c8ff658c2a2af66498cfd81e962766ac6b774e88424fb4f331837d0a28502708477caf8780a156d723f68fca791e1cd2397bfc2b24c77c765d9b2af36f732d52107517efd8157b283b440a613f756c364ca108971a8878199a93f260baec3e850033cc032c2e53f823576affb4d3b116e2d16049152c35aaa263ab376f0ad5ede6a749607a283e3016e62191c0e8fde33e718cd989591c9a205d608d99fcb8a7471603d716cb01b56328d7d880aec2851f4e6d8b5016c25647e9026ebb441543e8012dbfcf078d4012b8c39184dd64f3821b4774ae4e36365f8baf2bd1f6667c017a1e65ff8a1554458fb3f367c02721752bfa56fc7fd566ae95ffb208f919ef12f4cf8a2fdd141a8df559bddb7b8d1f04ee6d4cf7805d142989caf216dfae985faaab9974f6d9f8aa1129084db8db912b1655f595ffbaa66491ab4655fd734cfd4bb0c0289d4bcc8fc5e9943b351cb147c8db059a24004d1c3e3bb4c14a881e5101acb736c65c5d579acb67ee85a560277b43338fe79d34b772c5da001da3b5a3383dd81319a0b4542e6d7e46eed5314cc70eb231de27b6e760db598ba19995cf69be0e4458e35f3f274aca2455d43fe3344e183c6dc47c857dbe9907b41e41006d91b25adcafc098fe66f7554be8dad493c4f4b1dbf7a51464139db474afab5572f92a2232b59be56a72c0505149dae5cde1e602877037de7802b5f6fa47a4c9a3e52d6ca15339920254e9ffb53c7b834cc0288ed9905a1841e9390ea94a8898bd4c6b6d6027e4d43c7867242515bbeefe12340fc04428a824ea7cf56ad2a64ed368b71315d80cee846007cff1d2eea2c3f0f921537304ae598f98dd10d1f102811a4e2d161c3fd8bbb193d4b25bee950ac839c0f9d'+ ),+ expectedSharedSecret: hexStringToUint8Array(+ '9bd018e869bb01b63fb8f5da374a73d347ea14cb2bc570b13d0908e2288ec456'+ ),+};++// MLKEM768-X25519 test vectors+ml_kem_vectors['MLKEM768-X25519'] = {+ publicKey: hexStringToUint8Array(+ '3d209f716752f6408e7f89bceef97ac388530045377927644ef046c0a7cae978c8841a0133aac4f1e1a7027277f671219cf58b85d29c8fec08edd432e787a3cf9936fe0026a113cb9efb1d7214049527bfe2141ea170b0294a59403ab0ce16760a8baa95b823cbb8aacdcc17ef32775223c791e3740163941f9bb3f63346bef1c050c31f932c62719429aff14c2bd438ab135bed692d56c77c04cbbffd6335b578318b513771e84b14ea821262141ca006ccb8bf2500aa1008970f216fe7f1ae34125aa290492c069a189222adc322f97649c762c7d3128ad3bb2667971d0744014bc3b67445cbcd0b3e7ea69fb1cb9f9c331f97487920187292926d04a25a2650abbd44982bb0c3c6301fe6a61330d24d8a3c7021dc3e3392c79a139b37613bba67a2984298507b84a4d61eef18acfb979af2d39caa4c0db4513815359d76fc378c63a7f4f3053b17168d0221cf0c2eec5514ba235f81d04d67c3b5c518094917671c26a7c046457533cc32844581277a03eb065c4529a779a9a5878f2aac3f81db9ed3d8c9345697058cbb99d379bca16d8fdb61d129960390524791b9d3e501b900bd1e5002e095be06c23f1fb212f5801f24b6b28c0c5493d246d02aa29fa3acfbe15ac4e212eb0b6f69ebbea259a2703aa4c308224bdb741c65c7a5d4bff788279507bbfe513d7aa5694e7b3cdf62ab36432742d4a0ca9b3570ba742fa803b46989c8526ea586cc4fc32866143b79601725fa545fd280b404530318bbc3371194710b6d74beaa629eb18a36a953b75915ae96999ba5c88cdc56a46861c50032c9b630bcc1445a30878979bc55a2c0955bf399b231203b90c651b6afe0e242b5a543250b142f7291ed753d816098f7913302a8ce91641716623d4fc2ac6772aa5f3674042b7c4a18a2186289a4ac4e200774596ca03e6798c7506b984999db6ac142586bae0799f1e776f9f5247dc574d8556ddf9bbbc4ca3643263457f74248010d62d4311268360aecb4902b450bf2050ecb8ba7a92820d233f5a14ed31225a1d17ca6f19e825894cfb1807d922cbd60761134be419144bcf72006366a4460137ad9136c113f05eb54c409520edc72e4150cc3a24b0f819eec11bbd19ca9645b0810a60b4a8a9e9c3955396a1653955b047bcf4f98433c27236c570d75f809e44aaf2dc33665826351872c293350ab324518c8c0c80b521c80c81a56bdc968a5650315a830c8bb17532c62ccc23b1d46412c256b224fd4674491803501d0143125c7577239689965b6989ca561793c0f85c62a9e13487da17662a7188c70b1040a67ed4c3f85e74e3691822fb96314d6134fe6a626b3cbe1461d62a7b573b2cc75579ffa22967e36ceb2a1aa0b71875a22751d706b72ca9ecd0c8100ad0aa58009a5c83fffe91759e6baa0a9345af99fe3b69509dbc84032868844ab3f65bb1df8beadf36442e48e339c967023a525411544c789a2f04dacd06ffef78302210450b931f6b4c32aab34a3f5260b810f4c9a946fc22d3baabaa80ba8d9955d6dc35e8609b4256b482cdc9d8977c1a47a354e7c527fdb1672e166917b95cd6351820261daab361f8a2dcbb240c55abd6a8105e5291b427b566d731e6b7047189cff20d8b120e0b3e72472d1b0086812200fd3698e23f06e4f4e08bbb54cc2f63601b7f85accfeea2d17964c66b5194b0f08e18519faaee194e3c102823062'+ ),+ privateSeed: hexStringToUint8Array(+ '0000000000000000000000000000000000000000000000000000000000000000'+ ),+ sampleCiphertext: hexStringToUint8Array(+ 'd81018a94f8078e02105beaa814e003390befa4589bb614f77397af42d8e8150796f2c88a4efca81b8cf93c0ae3716c54ec1b045e3875f38c2dd12d7f717bd7fb701a9fecda5ed8b764c9a35d4a5c1d8930f6071f653eebb2d1afa77debb8302d16f17e0f5f3920a71a4d49beafa0e1c7e443f8abca64a65a9e81a97e7357bf902573363c0e1a12e5228036828e3f759121fada92441fe334e85d79347e470d2fed945541d832c54baaa3cb7526c3853954db4f73547cc7c27fd38398bfa7704952cb841e38b270e4db7435f0ee22f57d7ad3270bd0c88e71b4b864cf2277c65daa10a6dad4c7abecd95cc4ebec39c08404b522e4ecc1545713f76bebd3b5a0f2feb3461936065dbd13f6a1f61e1b142a2af2e5a482ba2c50cf0317049c0b3bfd6d5e9240eba9111d2030fdea17e33b6524020d30b0c4f8069285f3a6ca267d287d01e827d8422bf5426e11688bfc73756af1841b1c87e126cb50c914b5b2b8673488ad3b074cad77a3840eb12dd688f313ee1e9ff8c479a678f276356fc9d65e1d5b4c1e9855b4175db144f7767c12061769190fe6b5e51563b91f94d131a2b796bd2980ed0dab4ae7a7110e920007a757158a5eb8662cbf89ddffe9d8196821313cdc00108853fc4746b111d5b56da638d8ed2973918960f5dfe93ead3ae521e957cec3c8d843e8fce234c70ad055177f235439d6098bdd771b1cfcfadaab4f50a7378185c62409f383c8ff658c2a2af66498cfd81e962766ac6b774e88424fb4f331837d0a28502708477caf8780a156d723f68fca791e1cd2397bfc2b24c77c765d9b2af36f732d52107517efd8157b283b440a613f756c364ca108971a8878199a93f260baec3e850033cc032c2e53f823576affb4d3b116e2d16049152c35aaa263ab376f0ad5ede6a749607a283e3016e62191c0e8fde33e718cd989591c9a205d608d99fcb8a7471603d716cb01b56328d7d880aec2851f4e6d8b5016c25647e9026ebb441543e8012dbfcf078d4012b8c39184dd64f3821b4774ae4e36365f8baf2bd1f6667c017a1e65ff8a1554458fb3f367c02721752bfa56fc7fd566ae95ffb208f919ef12f4cf8a2fdd141a8df559bddb7b8d1f04ee6d4cf7805d142989caf216dfae985faaab9974f6d9f8aa1129084db8db912b1655f595ffbaa66491ab4655fd734cfd4bb0c0289d4bcc8fc5e9943b351cb147c8db059a24004d1c3e3bb4c14a881e5101acb736c65c5d579acb67ee85a560277b43338fe79d34b772c5da001da3b5a3383dd81319a0b4542e6d7e46eed5314cc70eb231de27b6e760db598ba19995cf69be0e4458e35f3f274aca2455d43fe3344e183c6dc47c857dbe9907b41e41006d91b25adcafc098fe66f7554be8dad493c4f4b1dbf7a51464139db474afab5572f92a2232b59be56a72c0505149dae5cde1e602877037de7802b5f6fa47a4c9a3e52d6ca15339920254e9ffb53c7b834cc0288ed9905a1841e9390ea94a8898bd4c6b6d6027e4d43c7867242515bbeefe12340fc6b3d57762f8badb69433f9c6d060f85f5e5c6b6803a816d141c075f63541ad10'+ ),+ expectedSharedSecret: hexStringToUint8Array(+ 'e5ba94031ea6efd69c09c254f6d9783136ba6037e2d4c43bcccf19d6f3f4343a'+ ),+};++// MLKEM1024-P384 test vectors+ml_kem_vectors['MLKEM1024-P384'] = {+ publicKey: hexStringToUint8Array(+ 'a10bc8b554cd51980cdbbccc3041420fd320fe8b74c7a84278c63c17070dc231b61ab269b9d677d920261186654b4571f51797d5c342b8070bc6c92bca16adecc631e4e94c7508b111730c749c73e2d6a6f97155cb269ccc06a71a21bef3d269463c935048a7f4636c7b320073709023f7b04d0530571a9a6f718280870bb63875d3f599bc229b95869cd5bb5d26640856d40b828198fdf2c099998ffdf772e462336c521cd326b5e4997bd95c135c57bd02c7afa80a2923d510951778ee5125b2aa18f90445453b85789224725b259279698ac9426c882baabc38d4fb3a3f6831180918b9825e0e418154d78aebab5e7e7066e69b2567476bf1177fe079a38298be6f01b098c33851ab25312b52e32a5750c2b73d293c0b810473b310aaf062f19914c7377b2e90388f575bf5e6853453b95a74aa18d62d4ae37e6996a48ab5217488a92d7b01e315c50b68204143792afc4f8367c0ce065ab32014bdb5515fe0594608aad1218994724afaaaa2df0355f46666b6e02a387b6d3da4713edb610bb048c3a2078b800e9ea483f2009c96d24c71b2cbc8e1200c0277383c5c27895e298c3607701ce58702a91903274a041408234cb0021ef2b1c5131419b444dc84b89d147d1fe43c43f676d906735d9ca2a59c2232d97fd4aa1ae2bb3d1b170ca553cb2574954fdc6689fac623cbaa31982d82424d5a564fef7a8ba51b44df15053b2b45bec4aa1ed49929123daf754175c5938258c608b24d062042ab4bbee5e553a5ea627521738ae5ab2e06bd98b020787b2f5fa51eb4c46c2bf90e55a49560340667f88ac41432b7f551dfd98c037c79f79b41b985a8b1f51345550cd816714362040778c43e378a288394bd028c8c31b5a904bc4a5648a596035cb38f0e276e12c9a96f8425056b05a136642dd2cb75463036485ba1a50539e420e1e31dfac529cad6c68ec06746749473e050a4ac92b7199beceb239b6c12c8e716b66607aeca64a5850b01f99d0b176a7759781ed77cb1ba40d17ac5c6cb06c942c002c2cf6efcb121f10ad2a45ff781426e7104cbdca73b81865ab22b00ba834355ae485a262f354248932c2be178369a3dd7e2428fdc379346ab2b754c43db657460cb09c5c48b5810cb7a5c6156cf87440c9e36a4869a8ac458b382fc178915a9ce1bcdda7c48807c207e656ffb80bf33e32bc8c7b20ef60572612ceac99ad1c56ce5a764b29b74c17a5b510b1afcb18a1afc35c12ac213725325f9b7a2eb338fe4c0080c31a58a995db7027d900e78544887f90ada467d0e383c119c5399310bc6735874e8804ff6c2bae57f2c3357cb627033c12a5924b20ce5abf113172bd2b77086cac543811793bba71734c9f005ac2656460bc30a442b388725758a623e37ba6e293abfb84f344229f373c214ca776a7c05adc465fed93b9cf77f0022ab71f1adde369dd8f420a58c057c14cc18dc47da7c12b086473eab419652967001c4e42a381c8ba539a875d21a9945133bab9bc1e53a600de77cbfb2aeab6b19ced4c6eaa8998ee6a1577255f7132d80a32d6c0c6ec44c9c4b28699a645bb0bc958e00275077925309519b0824c7000dfa61912ec049063a067d00b059053e508a5bfee63473869c8a8510af898cd7572854f5c38af96f5f97a7372632ea7bb4b6fb831c612af71191ff9806b379bcd43c6059b7b1f953741444af713c155d962722b947aa23a32a89b356a6a7508aad63968c1dea78ff18aac27a89aa7b42b0d7481dd3cc649421e51397782218ac5441760ba51a0328d66b436fec32d7aa4d68e0cad1bc14f7241c903480f809983fc2c30d93138cf63b59bc737ac08192893d039187a811bef3d3209eb7b8d1e05b5b251cef760a210b2732867ab32049ba3c354e3858aee7b71df792924730d8e842e484122b50677b0a306e61cf21b62091da18b937192936a09e5a418cf78b666157dd477af1c36a12320129522840e370941157808782a5335b0ac10d70e1beafd401074b84b9826cc58aad217bae0f419b2da896133272d8f22c6f420fcc738fccc1082fc93c7df0994c6bcf2cc8a29037b6bb2b4bcef4b0ee8caf8506bc5ecba082a56806c1cede0b944338a69a668254c1150ae05030e256b2b67661ba027d97576da613ac8c7c29051f1240b96b0c127e264d5e1dbbfe9561a567d5c9103673b446b3ccea6c5f7f34f09348a5d4a58b0498871dc940ee97b50c0336f9a60c3299f99560ac70657a27befa702265ce590583e04a28326092d3dea2118dd1df5e81d7d3014ec4b5ce67dcb45ef001769dd5d5ada76934d38d740924712bfae672169d8f8744c151346d285fbb653f83aa0f'+ ),+ privateSeed: hexStringToUint8Array(+ '0000000000000000000000000000000000000000000000000000000000000000'+ ),+ sampleCiphertext: hexStringToUint8Array(+ 'dc63d18bb9715fb6e3ba71cb439fcd3377a75305cc9b144e6758bf5794a272e6b4a0da33234c0ac1bb5b4e60e4c82eb1fb780d59e4e4616641a0595ba031e3ae69d971dcd5fff14e21731a8e1a221f46c7820d214630b707fa1b0de3a484698f3d49e0a75f1212b8c42d330dd909f15eac0402f19ee77fba9447e1c44304b0d8c371c17c5549fdbdec1e0a2e7be9f577d7a4b5b2618d9ba67ab95a0297cd5c5a13c89cc5a57cbd9a8ae38d66455c9a3d2bc55b498775fee2f6dc224d376d5f526a8354c8ed724f60337e900b85627972383e1fd987d407a8834005814a4fdc94c947e5f3471459288cfb127952b3208f10c914200bbaac5fcebd2bc9e2848492bab17b9288ca8b81d1c2ac9522dcc0b6d5f51e10f3afbb5d65fbf919edef6323c4e92c6b0690c10db25a9182de9e919ea1b3e65ae6150635d5180ebd7d23a2264828bc3ee1fd34dba1924ad0db30c747e05baa9148f1a032769c685e04665fd802a79c4624f69a9198a426eac1b217d903cdacf8844e73365f3a219a700dda27edf6bea33602617c5fd105b301b884bfaaa1163b791ec09f82523fef65c87b75ed063ceb127729b82c8712e1f41b547d095f55ee71f3f8b47a306cb5d9bdd817854c74a42eebf934a1136dea3fbc546ad8ce51b3171913722f08b0261d197590342bfe4108dcb08c62a98610cbfb8d3b2831f56dcac2220e29a5811f38f0824f21a6cbebc64fd89a09b110dffbe03799ffc74fe565c80dbf6a66acd7bfd14cb90acba03405a7982d4c1c68caa75f8b72e4dd6401d7dce4db4f6b820a7886a604b66b4e5b9eea5e5eddc2bca458a25977bd1f02874c5d9daf2baf56b3040f24ce7fe14cc14d61c7960db4decb37d9779c8e36d69a7763066d8c1149312d26887a693dc222daa892dd00cd8f3a558cf605e4c65c011c2e9f0d671ba10af2bb90ee0351ae5078eb7878399ec9eb4ace87a68269618bda12a7aed6fda0385496c5d10ac36b35255f4a31edfa8a2c516b65c63431013ed4909ec7a787a5efb9d3c3887b80ac18a44934b6559bd8a84b18e86fa1b0b9e1d9f92ba495ba5595d82e5095612b79e805154bf428a7071662c7cefb6450165c6f8f6954c37219bff4a49894a8aa37f940a40f4ec942c281e6c47ea408199927a724ff1c7460fc8fd47a98d0c9d4d1f07994d8084f6e084935ad7c2985282fabd5ca13b942e10d35278f4ff4cb1cb96f3c862410e79144a46b4db1a3c3d4d63018ec5c01ca48cb67081482e7d434b4abe5fa3071f2fbb533f745602b0da6183b28e6c5dfa42dab7ae0bbbf7638e106be1bd7312cba399e08c96dbd69a128a2face2d4a02951533a25e82fe63d0aaaa2e8c75150215c93ab06c22f9cab8d1cae7424f8baa09b3260ecfa3c7c8d55a276b4b317f72ec86b1b145a63aca83ef8c1204d8ab0c96ea3f742de39db47020616e139285814f188029ace4587f14cf12b5ed81086d8213cf8cb578341e04e16f519b77ff4c2644a5732639d658d0c4eaf992bd7dbd5011b700a5fa63dc1b24a84a3c80656bab5705dc3a74312c80e8bdb24a7ac6e27bcb8c07ece62c6e5777dd3dc0657181f440c7524d907dd27950bcb252aef7f8cbf453cee3fe3143a665072c787cea76de323aa41537df2f3a40a518a694b918953bde8d57084e32d3b1fdcf9d153e73f02624beaf6ebe23e6828a6a489583494f3cd790fc96bb6f5d8b198402965e2e668e6581e7cf1c8a47a92198388f2b4cd38df660f0ddd48ad126819c4435af3a12c89113d778ac544fd8079cb8aaa97d2ff1b608da574c4dcd87f4979390de3be405f0e47788dd0b01662805079fd73c64e9278c036544add3694c838bfcfb08c8a5efb09549442123eaa59fa30fbb9198105f6be00163bac076193f6721c539714108bbfae167f5db8085c5838618f32a968bbb25c40645a17c17b9bec64aea45832eec5adc25b53e677f67566fbf5ce2d9193a06bd9b477e601d589b25f422defc49105252cd9ca6adcbb36be8a01a8472b4d463f655be14ccff9b0571a2048e31c14b9b23e2d43fafa3f85ece6fd41896cc5c68993dbaa926f285ec94c72887de9564881d735c05f83aa474b3d4cd133a630ac63850771cb5270f6cb7a391170d66af3e4901b6eb0253f3f34ef57d6babd97aa99ce718c3bcb53ff13d4028a0c943bb9681106ce176242cccb75df1d3f8d3706e5b068b042c3154d5e6292581b36499e6b069b9a490aa67f0675390539da8555e6a4e8a35a86fdfea83e1387bf4acc650ec1edae7c99aa3a48306ee1d1a5e513c0c6901f64d0a3ee285de3c11d49f90cd4323dafda14832f0d8b760c0e5a48633c967cfaf'+ ),+ expectedSharedSecret: hexStringToUint8Array(+ '8c028c6ea72a1c59408e2b15dd8fed8008517e861cd2329b159bda1919ea656c'+ ),+};+diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/encap_decap/ml_kem_vectors.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/encap_decap/ml_kem_vectors.jsnew file mode 100644index 00000000000..a3cd8a2a749--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/encap_decap/ml_kem_vectors.js@@ -0,0 +1,49 @@+var ml_kem_vectors = {};++// ML-KEM-512 test vectors+ml_kem_vectors['ML-KEM-512'] = {+ publicKey: hexStringToUint8Array(+ 'cecb751f326709b49e14caa4be3095eee98558862b83b93356864ead05cb3826954cdbb21dc452446036dd778230094fe3b814c7998f944582d389ccc738974e39496db534d4db784b65446ea9bc59e896a339be6c13463ab74ae2028a12695c5b12c1c9d570065819f6823b533b29bbc8938bc0aa745277e73357d9525cec0cafe1f08a1b9b11a2f8aac1f5abb2a6b45f109569b20cfebaaf32b490644c1884d77fe388a120b08514c96eebb3bc0cd97706769f70f04847098abf6282ac002fa01584ab96760bdc4657093bb6979e0af8540bb720722a6cbbb8481fd036f5d364c564c96f4aa6beb24086b3b104e0af5910638b667d7d29b32e93addba05437823858f7cfc69acdaa94ba74902973b88a9b08ce2fb109b2a16d31f10d8bb452a08996b9547849908a61ba0d92f36f467aa5224cb92caa17abc937842a4facf64af4e2811278496daca6e1a9898a5c028ea46a64e56784c5be7ef93960a910d7011e03b17caf42ce3ec213759693320b2c96b22aef8010a3825d60bcc0e9151a0fa43df10ca3a3cc6b6d6bb6a2f6035fe3c02362ae07e5a979286924d05a54c5137b46b3998574a73cc009875dd566beae6b4d47a279f585af8ec57cfca28116a95403fa6e49e7a4111689f2340fe9088e0743a26e06bc6c54b01261766905cfb2785ef5d5c986ecc9d74c66efec5769a92c8a034890300f2b7c7d20a80ffb731ce4192cec021ad9b9ac25dc9946004ccdcca5f4b29581f27eb3e724504ac36e95aeb7bc49c65a783ab8c2d169ccc0113b1826307e51b3c57307a68ac3e618ba223928d63361512892bf93b15268ae54eac44f621d829439e2987c1bea1326926ab11c5911477c7beb282ae8810b5514538028b8588b1ca5914e559e68325d5f948783733ffc8bb48cd952f8745f76c2639a875410471e8382316d22261632b1a17809d58bbb75d78ba299cfde2a730f8091dc44b8aa736955fa23b816b1d7784d97abcb0cf4cbb7c8364ef12a82b009103c8f7a76c6ac086ae10a3e6b0639cb35ce10c31faaaa26fc22b9d512cca8480a61ac3aa187bfea79117dfbc4fe0b4f9457d87ba4914ee55a4baa946e9155e99baeace9522cc64bee7bd7fa45eb2f6b'+ ),+ privateSeed: hexStringToUint8Array(+ '3e4262cad144026de9bd35bf203ffb40263c8c765d05d2a4d00a8ae92507d2d2c560b8435a054d816e5f2535a3df91833ccad263e58e3c34555cd8c57325ad9d'+ ),+ sampleCiphertext: hexStringToUint8Array(+ '0e488758dcd45552565bece5b8bda4523544de14eed13fec29cf926016158913143224db555a2d6d42c2ce30f63b7234b825ab11b6b10bbac19835c23cac07e3b37fed08a1eb886199ee2db95e0135af1c21d375edd0c1346617b66cfcd9cda85a8028da745d9d3653fc5b80c6d29b4cd9b02d6c5ac8e7c027a70258573198bc72404a31de1f443854e7becb3bcf390a6fe7c86c3a0b149e51a5103b2dd84b96d20d1f3b1a5308dd9411fa87754d7d8572ad583627db9aa98d2fe09b6fddca3ca8f94e643b56d92babaf105e52ba7082e334f7b8e4866f45f415a1d46901ba932c298dcdb0e964d18a0b725ad058c2d5ea7213ff7f44afeacf1b6a1029fd93ce50a6b34bf51e8323c7da586006d3c1f78c98ca79ccbcff1c14a0309496bfb4f4bc24402a47912f98005defbc082b96c206dca02c9327d7a4166b9ccfea2c45326a98a1ab84dcac0ea35a2b1a2c401b911cdf27652338e74beafab4d945c3f13ca296507c87f73e348bb443b7fa7ec05fa0e35b9f191ec8bade966092748cda729e25a4cf8d9f8fc06daf4a60f3b98530282eabbf57674d34f96cf537639695357825111e0ca9afc04a789df283b125d9f9f1b55927c93bd48e1bcc62f36e7628ea8bddf448ae0ce298442f1a8c8d31dc23b96832603cf2036fbae96fc0fbd2570aa5d6517cc352dddfa944524a4ca6c5c76db98cc796c8f9cfe392748cb3b22eaf5843457729a7b6a801ca0ca9b4656abc9df0911a3d1a11c85be1f41360e85a47e766dcd99cd0a35f1fa6c0945805c846d2a08655363401ae9886d426c3a15aefd0984d5a128c0318f1818d734f624bc6e73a5d42f81329764c3b5186e7d6872e9e3e22de4faef96ae1a772fa1e8fc195e8601dd5468acb80619c658e06e789fab5fd688f8c08c36ac884135232ce832e68a0c15f0165b84c3882afac0bbe4eef7a42de92174af0f685fe47baf2bc797ced19df1808728ace5786cfc5541719ab0ceba544335c1f02ec8b80dde750749743a8a3b91a8e1d2197956c96a02dc51baded9d8846899dbd4ac557a74c4e7843a4c3431132deafa3f418d7c39d5276'+ ),+ expectedSharedSecret: hexStringToUint8Array(+ '6b15add5b366b22c668a1d81901d2ee2113303b6afa82eaf6764dbead766b8fc'+ ),+};++// ML-KEM-768 test vectors+ml_kem_vectors['ML-KEM-768'] = {+ publicKey: hexStringToUint8Array(+ '0f610218607bac1636d12a24507965bc4b6f3975699e24ba489ab00eb8bb94c416e09b5b3c2205da71a40af38b1095b998b734462a0cdf337be78525fbd984547a981e119a10a19bb62221f71760f4711b3d88317ef78384d52028a94977a7599610b34bc3394b909ccc3abf62fbc2cc66aec617cdc90917c180ba14816864f541c43a1f299877fa284aca655bd5a7b5da3b77e48696bff72525105934269fef4c0bb483ce3d8c126fa4c0e44a181f9731be1839ad0895e27b1bf2e589f308606c50c52d2c0c15785888655e721825d1a4b52565518559c3f2a7b4b58618e6e69149b02962217396897eb74212b1070d9fb09d0cf39375089bf3251ef992b255b15b83c9b475151b932283fcd943ee7a2e7cb248dfb8325dc0c70d557131cc696646a231755be20a9cee4415de085df3a41665560a59c15a9560879696c0bb344a2787916cb7773af05c65bb79cdf924751bcb4d8a20ae59a609c158b1419c83649a74e17e69765ad4f528ac66c98119c620a318c8179814c25758432a5cb6734e31a02aa9c8ba1488a11a9cf36929e2128db8766d95b2ab22b1155a2253e4277dc780b010e59a42ea95c6a9a0d6f945d57345e555c9f339808ae00aa5475ec6c4526bb010fcac24475a218a758e62f920567711c038196cd037abb57ad132ad622a2e3e39617cf366a398564f31adb5405ff6a920c5326ec726a397fc11cf79259e4862e6d33948299e55f56893eacd10dc9f899847ac127cb8b5527caa9e8cf4af1bf5c506014c76058b1ed10fa0f609b778aa26cacc3bb03e04b49e99fa7ac0330ef2925538804ebc24530003cf08173a4b5a787bcb3bb06b6b7de17a7ad74bc3125b9fa0cb46550cfdc9a9a8400a8fe51f9f39a28aa2a752c16119f925e4db6a4a37b26e85c78022b8952b30599833bf1896ba1a16fdb71e4a3031058500c85a05fd36b99741cac790243af94cfbe25dec5808fa43cfc792a9fcc1adf962079832897049b9999a71857288a0ea8423e17e1d50c8a56a97fbfc0ca4195fc9d20d6b7bbf625591a6858f75ca791b6557585b4f23868a387abd2008511cbb4b681c3f90499c53c16e8a3522495848c50a0e379267d0b9bcce9b846b3415be0ba2a952c37dfc6810c4726d01974eba5d4c8ab59a99b75b7b9c6b866de4c387ed584bf391b70ca87a37478544032e00cbbff4d74a1b42991e729c8c4bcb980a487c554bb7556a242383cab936366344e7e33c8c916d64b46ec29935bca65c8eda3f67559edada07301644fbc4643f9c2fea45195d8c67ce5687ffd064d282ca823b449f9b2ee596297ff6a34d3854b587c596e3bc2f7c4e913339bec85435b78321b123a893564441c515a280563150d3f80ffc688674346159461d176c77a4ccc0527357c9d00d1723734e78b5b374b2d895b0e08b33e97b2d73a6b994f90e89bcabeac2bee498bb09c4bc03ca2c8e00ce99fa04fb048d864c3bb6e1236e5cac3de30407c3284b2c643fe02c6efa024d96401f1bc463e5bbd9c08c81792dbae510f1b727f3a1b530402b47c6b6dbd5147579938fa972afc46e7426782e26a9c8e2c57045482adc100317173ee51d03f3197a102c9fd7b607351b4ad5b6bde45113d637332a288e4f6bb67e444c323ee8218b5c1d1599b58dde352fd6cd647a52'+ ),+ privateSeed: hexStringToUint8Array(+ '46973b12a054a89f47d53af583ad94676bbe8ac1046b071d666f55813b6898aaaacb5559d007ea6814683b499d8be1a0f5bdf0527ad9dfa8669038fb33be26c5'+ ),+ sampleCiphertext: hexStringToUint8Array(+ '1ad401a3c43e18a5808d49bcfa19132e0a3c0a551379169c0770376a12d2dd499efbc860e5067707de7be9b164185a4612dc88ef8cc755f253fe9081b9fb25827f2e316a09ae62ebf85d97454693fb220422eec6d3a1782184977fced1951ad0a8b7eac897f4e8e3bb7d15fd3f78ed8d37ead1a54ebfa230af95f3326fbb0557bc558a8b1950d9e5463a4d2ceaaa1f7a67f8d625c98640a89ed4eec2e63d34c06d7b31ffe83f861a3a7e50fe644b6bc72e78ceb773831d1d905f7a3408acb073ac81bf40ed3766f283a5bc07d206a8264afdef771adce3878f8d1d346f9292d6bbb8b9c6cb8e857ed0479852828935bb68aa0469828434062aa5ea49307a80f110ffc143ac8644e5aa3a74e5853986ce97a2e699add9cb7753a1983d08d253fd5e25efc8d9f110e2bbf89b31957fe0d3cdf5b1f6256ff88d7aa4ecb6b5f91d6620e2c861dc870a903834b4f1b608ac904043ea5c5c0a1f8ec44f91c51c9a2e5fb879d7dbfb9f948c1917ca607ca103a1bfeaccfad2ef34a8799f39261304d6772938b582a2ea948a2839ffb43dc315d0ae311f1e54294cb6dbc1efa904a666b0a381c8b528d10a562641ead95293b74ecc78c2e64af98ba6388278b5091ef29f8b506e7ea4e2b8591cca6145205efc91f9de7e2860d7e2893c888807be0b765a12a8563ce04fcb99d68510312f774fcccd4c5d0f8764cfb9fffffd67b2dc3ff5b4b47da0665409d3dc4ec4da3e36b991f9f3ea2cc01e347d69256ff7057b201f3e04343b2bc81e67009ea659c120e0c606ed2aebe8a67196481ef3c5301bc173a33c61ed931916d21a0e6d9ae73981dd3eb2a33b33a84ecebfbe42249f54a3d817038ec6c60e8998dc9ebd17b96887bd3c69c7b4547f402f24981f5293e0ce5e7707aaf333b9bd982195afffab10a80d53a9ecca129579d5f5fddd6dc5245640f83cf3bf9ae7f839455a14aeaffc2a177d7a5e93110f74f9ea27ed224df258681753683ae1755ae4a8d616fbae8cc686ea06a31b39df7a563735839aadc4ac05f7f4b9edc6b173576fdcc7ce3072dced29dee8355966db7d25bb2f613ea6e32a7c513cc2474b71b3db7d5f8a64c66f7cbeadf3417d7b7f60f27e23566adb11da10c7049ce129fe55a65ad16f60dfecaa1faa0536c54f66a3a0e41e040010c28b2ce6c5e5c9c093599b1bcb0ddd4d23ef4a6a49136a31d769ecd14ca4dd83e66d90a93ac101948875b784a3940b024e3f8ce2d04542fe6714cbf00539f650005ba58eba04377e3734bfe9ff99b6cabfa08743369e4847e3b15445251a94b64270f618a596ce94e22c1f71e40fd19765498bc21c9a59ab7eb77caee81eafed0de8d5424ee3ceff860eabb3b1381fa5287642ec50ea9ee9578a8b7abc00eb187b158c75669c175d50e300a4e00bae5a5333a75933938601183f8a69bf547d5be49b7faea391bd2a4f5cab057642205b55437f99cc8114cc21ba9e9f16e8844cf9dad53931409cf4ef6c6e65e77f21ee2b3e70927129a4b5d78044ea7031264bce6a'+ ),+ expectedSharedSecret: hexStringToUint8Array(+ '532e3b9af08e5f5528929b762fb6e4d30b2886f018f970784199f315e3f5cfc3'+ ),+};++// ML-KEM-1024 test vectors+ml_kem_vectors['ML-KEM-1024'] = {+ publicKey: hexStringToUint8Array(+ '51e6707169475b3a308f014059583b8304cd2d93687e5315834644793510d8bcb46d9053afe0cb91095f39ac782b8a612781c9ff6a4ef7b17bb762c138b543f48654e6797066ecce85d43d42e793446b74e349296b445afd2c9f45646497d1083f329bc5723b3b6256396a135c310300411bfb17450350b7e180832c0038e2450e78f518ee318442cca136ab938ef87975258bf2cc5162b1a93d8a51ea52a1a8d4ca23b9b60bd68c7f4186a9806999cc886fa3692ffcbb46aaa28f856f9a774357402fb0a5ce80f69631e52336729e0438a1e93a214ae99f15263eff135de0a942d8b3c261b422c034b1bec79036b0a041c37be03334ae42cf8613283ee80e69314989f3696f1825bc53c894323e1775c72f779415b88487ec26f4b16446a0aab0e5226b837b8d13297e31b47b4b41a49b823f6964e5378a78063afa24b5e6294f270bba5a7b90e42a2d6ba4419f858adbb18f901c37a0f278bf6c468e723f00bcba3710809bd55e35bbb520dc9f44614665006f713b5ba264bb26b7106d89bb714c65c0f378df1651a575cd6377a28374b7668bb6b1436612a39c71eaa482eb78b7d07d4914873e36384290a7c44786e9b37b8b427882069f0a9018b487a5ffa8bc83d52aab57956397ac6056313b94b53ce1c39b717e9be28bc7ca12c4938e48bb031a563962c05f25a406da2b7c1b983a555c5ae793622c3193c4c175fe0a8dfe20c1cbb94d9697160160878c6720eef44f8c22549cf62a2b4cbffc119bd1c46a10d0661d5c4b1a9277aa3100d8e3636899bee543127cbb2a8c70b6768cc51aa439938725877187aa253eea51c6784c29b36507e4039c37b845ee4b058155a3b851ca685c054f8086ca955824ab4144c4368ddc70764a184c2a2abecc84add7650736a0f8865ec0c6b4be22345cebc6ed7a27d56161f350a605eb4b3f18a685db1606352e052a97e9a5cfb3b1c909f5545ce0a419c605b785940f32c622e31787c5a361f45ecda50b4b7546e755aa62679f13eaaa78755f3118991b0a579249599a3921471152634b4fe401b11ce7182c54a321899a94b445b7ca32be5c1302f77e51dc86fcf361593b13eb9cb01df3b16993c157c566ac0bbce31083cbb149535b05fdc86655a5766542341f99b9f2747718fb58ef1c0011184c21e3ca80b1b9128b796b169c2b0aad8ebb2da5369f44db2c995ca56756c668e4bdfe38862cc7bae4d1ae505c6e936cbaae9b42e5bb2868c141c25b81ed7cc706846ea9a059ea659602b429dc9111f1b0b318f7402fe20698a93b770978d6035db8d4065c49275ffabe6875c662156d2a07bd3d91cc9a703f0f1b63990363e49bbfb67c86782759f1e3afd1094d66b6100d872b7254bda0b17b17b9cd1544509f9a72b79c21969254823c5013244c681a7728297869bb7cae716f9d59868d0c2aef982153e218ab55b8ce969f3185268a880c31988738589d42b81bbce5aedb29b0e99337f2389aa54350289742456384669187d2c6918c59033c924969a36751b10134549975b277afd9033f50ce65dc633e5a1d01a3b6138c6f01f7aea179c7c8c79e4bfb203fd9b28fa23c14e655ba7791928ac46fe1a6b8b93658092768e65e85c5aed9e897dd8a45712aabcb7c191907656849559ed84d4077c114d911f9e8267028a5856a9023ba51086786689267a56b06e6281f1bc3434b01bf96b0243e0886d7f43725f9aa598b515cea401b7751e1a259816526232a75d07274f6bc4bd0d1a61ebb11804aa79f094008e5a19085431ac11c508a6fbd50268a8c8021c4b19bfa56909720bfb726cae9a7b7736faf17cfba9b3b4a32adbb0450e90024bbe82cdbb02f62005ef334798cb3bd7fdaa7fa635fe3a643ef745f1037cb6b824b7c608515e37f5b73a488248de17c665d3bb4d92575266a0f6565264eb6a4643b52b3d23a80254610585c22c330a1e235ebc73de0babf9b39a9c5f48ef0ac060fe96a00fa4be76bbc4728371de9646dfa7d5c833de1f646287633deb41f4676c744722507f1c353a85e85ea10b3d43e8a784c3ef262f281bdd5db44e03c4ecad2a05b480ba199bb32bb07afc46257f95bdf516fea63c66cc48426facacc0656b7f60179f792b7d686dfe707d7b916b1e8b24950c74b9b6001604e5d333a35992a7cc44ce3bc1bbdb8c72f08428d8a6e5920619d8196a7d3269533bdcd3435183b5d6e98'+ ),+ privateSeed: hexStringToUint8Array(+ 'd710a2bc4789368cf20af5feeedc8b9a8d0a88ebd770f91e9a441146526f6b0e711d945a8786bdce9f167ddc5da8c7ab96dc305d6a366319d5f8a6924f183959'+ ),+ sampleCiphertext: hexStringToUint8Array(+ 'd54df4d679314cfd6f3291cb644b9973145a788c98ef94e68e9f8d1f92eb842396849e6914d8cf53090257882f26b1fb4c07a2b6adeaf3bd568c5d3c5b54320d950fa55980af8d96fd7d4965825b638842929f7b6acf5dfd3033f3f345af313280e0105faadd42715fff55550caa64368967f158ca3a7d00aeb4df1eccde240f5b2110efe65f58e9b3ee54987e07eae195279afa373d7462a48d9c79b7c8a3f8162d8430bd0d97bd901436297c123e41f74096065469d587b9e742773ffef91346e351bb95b43b8c082a287b979891174e7186dc8cf2d64a07711f6e9f17cf02addcc3b803fdc2e3eec9d391841f0b385e2d3e0908ab84188267ceddcfb69d2f444f69008816458da4dad59a79e33783339ccceb5524a0227f114a2367dbcc5f9785ef15665e921e877b2405876743eced6d76af9d4aa6a68033c2435158d7b0106058ef9852a81a462bfb3cf8b16027e5e08250c12cb1e4130668173623356f9793db05bd065ea36a61326ccaf53d2ec0a134dc1fc6c72a403d274630b73464aaa16b46a71c82d8a027cb5005f22426c0b5314b04b708d7aca3f4b8538ec19253f940b4b815af22ce82bdcd7da85a61ac187c92ef38c8c29900519164823747eaa5f68bea24e87e623cb74dac2c7b57fa1f285316fd744b83800ef36636cdf529230dc69e7bb28bc5c648db1dbb6148ae0510999b48238c1050ee5ea04986274efea863de71f5528cefccd39e0e179b5749b72729013cbb1e85b96a134759d80bcab2a5e4eb93fd7eef26ae23ed1e07d59172a48d09aeeffafe12ad46d791bfc6a713307dad2b8ed41487f289eb2ccab83612b0ec61c8dc3280ae899a4b57e2e133b5db0d896ad418a5afef5dab36f87c64793239672d50a67b6ac16d6fcbac5d3e711d487ccd0e4ac1c964aa5155cc3ba010b5783dcdd0ef10567e7cf19862c00d71230241ef1329c5213d0983a58f565c12dd786d68d8bc31158de6cd0273bdfd8e58f216489600575b9f3734cfde2a22c6f3301756285019c777f23eed8f101109e9ffbd7565523b5c0fb49509e66a28915e26bfcefc755cc02dc8637f31d359f0e2a7e8214c99d52f299f8c1f2cba34ff1e967458171a40e3c446f0fd2b443a06039f30ace8a07ec9f1577db6f9524f1e705ed797e4a6f99feda605721ebc688f1a72e0b267e9cc4f264f5a6c46da620a47f589ab0f80493e18e5c0559f9718cc99b3b2a9b8dbfe0d9416ece262265e9318094a24f9c0103ccdcf77d7cd00decd2201602b8f4986407021ee683e1a1e21587aff7052d30f76971e9c3486a481df81b224c169565237464eeea0d0c6b2e93f35bde3d08736ce85b8ac48ecf49da790ed8b26ff131e55a3817403f58503a228431655c28bb584323ed02bde2f700c964e5951b71910dd190d71fc37a1fd1931e7a6525c231df5e069e02db176f2e0cff568339d050e7c767a4af85409b60f9a36ba25260157e432c4a5e65718e474a2fdee8e954f35333cb0035f65c86559389e985f633d13a6193c6f8140275a305cbe675996f683532fed0130b4ae130ceec7476ba0b79ef0c3606e07884947c18f3920a32a3b39f66ccda82c159b3718f266d90de831c901cc758cd0dfe4a4affb4de77aad1e8f9ddf5acf39cb6594b5009949e5bca50298d9ad8bc7ae021c489b304d7be8fcde0e18bf4a817d79f7b512d62b30aff6d2bc31a2940d074e6f78c013c8220696cfd02ec83145e7b9802a97042c28e9e61957cafb7dc45d2ba1297223db253ad5c17a71c7de34b67727bfffb6ea54247258550af963751ae43e2a2409b63595e82390fc24c67182b574adc14cc7f6536428ad93ee47e91a589a51963de73aee5b8b050e37da2c899b0a7b67e586c25efa76a23891ec12f935478c9970f7cee6acf92e3f457c35e633bf2acf087bd0ab5ac27a6df9fe097a29e0cf3893dfe4da6b660ce28364a6fb7425789b74f705d8e139481b600616c9c3a9c2add0f8862b44e4c14ed4268f8ed9a6a1efbbac2c9882badd148d14e009d15044cc4e035992009a6036bad6a9ae75fd3659877cd347a45d99e99db2175583ed3ceb2560a8fdcfa35c1509315d4c8fb0e4a0ac298113285629261dd9b2b38fee181cc957a1cb5824711a67b1dce40d99ca28f923b2f99f2b38309643b14c014135021247b6e8d115b24bedf9bb206c7ee1f92aa62cb978c1b8db4f259a9c'+ ),+ expectedSharedSecret: hexStringToUint8Array(+ '2f521110a9e853867013cee34a38f107bea1c46890671608e4eca113ede9097e'+ ),+};diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encrypt_decrypt/aes_ocb.tentative.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/encrypt_decrypt/aes_ocb.https.any.htmlsimilarity index 51%rename from Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encrypt_decrypt/aes_ocb.tentative.https.any.htmlrename to Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/encrypt_decrypt/aes_ocb.https.any.htmlindex f93da1e336d..41071595717 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encrypt_decrypt/aes_ocb.tentative.https.any.html+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/encrypt_decrypt/aes_ocb.https.any.html@@ -9,11 +9,12 @@ self.GLOBAL = {isShadowRealm: function() { return false; },};</script>-<script src="../../resources/testharness.js"></script>-<script src="../../resources/testharnessreport.js"></script>-<script src="../util/helpers.js"></script>+<script src="../../../resources/testharness.js"></script>+<script src="../../../resources/testharnessreport.js"></script>+<script src="../../util/helpers.js"></script>+<script src="../../encrypt_decrypt/aes_common_fixtures.js"></script><script src="aes_ocb_fixtures.js"></script><script src="aes_ocb_vectors.js"></script>-<script src="aes.js"></script>+<script src="../../encrypt_decrypt/aes.js"></script><div id=log></div>-<script src="../../WebCryptoAPI/encrypt_decrypt/aes_ocb.tentative.https.any.js"></script>+<script src="../../../WebCryptoAPI/modern-algos/encrypt_decrypt/aes_ocb.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encrypt_decrypt/aes_ocb.tentative.https.any.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/encrypt_decrypt/aes_ocb.https.any.jssimilarity index 54%rename from Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encrypt_decrypt/aes_ocb.tentative.https.any.jsrename to Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/encrypt_decrypt/aes_ocb.https.any.jsindex cca34e9e54e..bc0085719ab 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encrypt_decrypt/aes_ocb.tentative.https.any.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/encrypt_decrypt/aes_ocb.https.any.js@@ -1,8 +1,9 @@// META: title=WebCryptoAPI: encrypt() Using AES-OCB w/ 120-bit iv-// META: script=../util/helpers.js+// META: script=../../util/helpers.js+// META: script=../../encrypt_decrypt/aes_common_fixtures.js// META: script=aes_ocb_fixtures.js// META: script=aes_ocb_vectors.js-// META: script=aes.js+// META: script=../../encrypt_decrypt/aes.js// META: timeout=longrun_test();diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encrypt_decrypt/aes_ocb_fixtures.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/encrypt_decrypt/aes_ocb_fixtures.jssimilarity index 87%rename from Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encrypt_decrypt/aes_ocb_fixtures.jsrename to Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/encrypt_decrypt/aes_ocb_fixtures.jsindex a5795195f16..3e0c014c3e1 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encrypt_decrypt/aes_ocb_fixtures.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/encrypt_decrypt/aes_ocb_fixtures.js@@ -1,64 +1,13 @@function getFixtures() {- // Before we can really start, we need to fill a bunch of buffers with data- var plaintext = new Uint8Array([- 84, 104, 105, 115, 32, 115, 112, 101, 99, 105, 102, 105, 99, 97, 116, 105,- 111, 110, 32, 100, 101, 115, 99, 114, 105, 98, 101, 115, 32, 97, 32, 74, 97,- 118, 97, 83, 99, 114, 105, 112, 116, 32, 65, 80, 73, 32, 102, 111, 114, 32,- 112, 101, 114, 102, 111, 114, 109, 105, 110, 103, 32, 98, 97, 115, 105, 99,- 32, 99, 114, 121, 112, 116, 111, 103, 114, 97, 112, 104, 105, 99, 32, 111,- 112, 101, 114, 97, 116, 105, 111, 110, 115, 32, 105, 110, 32, 119, 101, 98,- 32, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 115, 44, 32, 115,- 117, 99, 104, 32, 97, 115, 32, 104, 97, 115, 104, 105, 110, 103, 44, 32,- 115, 105, 103, 110, 97, 116, 117, 114, 101, 32, 103, 101, 110, 101, 114, 97,- 116, 105, 111, 110, 32, 97, 110, 100, 32, 118, 101, 114, 105, 102, 105, 99,- 97, 116, 105, 111, 110, 44, 32, 97, 110, 100, 32, 101, 110, 99, 114, 121,- 112, 116, 105, 111, 110, 32, 97, 110, 100, 32, 100, 101, 99, 114, 121, 112,- 116, 105, 111, 110, 46, 32, 65, 100, 100, 105, 116, 105, 111, 110, 97, 108,- 108, 121, 44, 32, 105, 116, 32, 100, 101, 115, 99, 114, 105, 98, 101, 115,- 32, 97, 110, 32, 65, 80, 73, 32, 102, 111, 114, 32, 97, 112, 112, 108, 105,- 99, 97, 116, 105, 111, 110, 115, 32, 116, 111, 32, 103, 101, 110, 101, 114,- 97, 116, 101, 32, 97, 110, 100, 47, 111, 114, 32, 109, 97, 110, 97, 103,- 101, 32, 116, 104, 101, 32, 107, 101, 121, 105, 110, 103, 32, 109, 97, 116,- 101, 114, 105, 97, 108, 32, 110, 101, 99, 101, 115, 115, 97, 114, 121, 32,- 116, 111, 32, 112, 101, 114, 102, 111, 114, 109, 32, 116, 104, 101, 115,- 101, 32, 111, 112, 101, 114, 97, 116, 105, 111, 110, 115, 46, 32, 85, 115,- 101, 115, 32, 102, 111, 114, 32, 116, 104, 105, 115, 32, 65, 80, 73, 32,- 114, 97, 110, 103, 101, 32, 102, 114, 111, 109, 32, 117, 115, 101, 114, 32,- 111, 114, 32, 115, 101, 114, 118, 105, 99, 101, 32, 97, 117, 116, 104, 101,- 110, 116, 105, 99, 97, 116, 105, 111, 110, 44, 32, 100, 111, 99, 117, 109,- 101, 110, 116, 32, 111, 114, 32, 99, 111, 100, 101, 32, 115, 105, 103, 110,- 105, 110, 103, 44, 32, 97, 110, 100, 32, 116, 104, 101, 32, 99, 111, 110,- 102, 105, 100, 101, 110, 116, 105, 97, 108, 105, 116, 121, 32, 97, 110, 100,- 32, 105, 110, 116, 101, 103, 114, 105, 116, 121, 32, 111, 102, 32, 99, 111,- 109, 109, 117, 110, 105, 99, 97, 116, 105, 111, 110, 115, 46,- ]);-- // We want some random key bytes of various sizes.- // These were randomly generated from a script.- var keyBytes = {- 128: new Uint8Array([- 222, 192, 212, 252, 191, 60, 71, 65, 200, 146, 218, 189, 28, 212, 192, 78,- ]),- 192: new Uint8Array([- 208, 238, 131, 65, 63, 68, 196, 63, 186, 208, 61, 207, 166, 18, 99, 152,- 29, 109, 221, 95, 240, 30, 28, 246,- ]),- 256: new Uint8Array([- 103, 105, 56, 35, 251, 29, 88, 7, 63, 145, 236, 233, 204, 58, 249, 16,- 229, 83, 38, 22, 164, 210, 123, 19, 235, 123, 116, 216, 0, 11, 191, 48,- ]),- };+ var commonFixtures = getAesCommonFixtures();+ var plaintext = commonFixtures.plaintext;+ var keyBytes = commonFixtures.keyBytes;var iv = new Uint8Array([58, 146, 115, 42, 166, 234, 57, 191, 57, 134, 224, 199, 108, 116, 46,]);- var additionalData = new Uint8Array([- 84, 104, 101, 114, 101, 32, 97, 114, 101, 32, 55, 32, 102, 117, 114, 116,- 104, 101, 114, 32, 101, 100, 105, 116, 111, 114, 105, 97, 108, 32, 110, 111,- 116, 101, 115, 32, 105, 110, 32, 116, 104, 101, 32, 100, 111, 99, 117, 109,- 101, 110, 116, 46,- ]);+ var additionalData = commonFixtures.additionalData;var ciphertext = {128: {diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encrypt_decrypt/aes_ocb_vectors.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/encrypt_decrypt/aes_ocb_vectors.jssimilarity index 100%rename from Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encrypt_decrypt/aes_ocb_vectors.jsrename to Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/encrypt_decrypt/aes_ocb_vectors.jsdiff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encrypt_decrypt/chacha20_poly1305.tentative.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/encrypt_decrypt/chacha20_poly1305.https.any.htmlsimilarity index 54%rename from Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encrypt_decrypt/chacha20_poly1305.tentative.https.any.htmlrename to Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/encrypt_decrypt/chacha20_poly1305.https.any.htmlindex 0cea09140ce..c83f2a6d1b2 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encrypt_decrypt/chacha20_poly1305.tentative.https.any.html+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/encrypt_decrypt/chacha20_poly1305.https.any.html@@ -9,8 +9,8 @@ self.GLOBAL = {isShadowRealm: function() { return false; },};</script>-<script src="../../resources/testharness.js"></script>-<script src="../../resources/testharnessreport.js"></script>-<script src="../util/helpers.js"></script>+<script src="../../../resources/testharness.js"></script>+<script src="../../../resources/testharnessreport.js"></script>+<script src="../../util/helpers.js"></script><div id=log></div>-<script src="../../WebCryptoAPI/encrypt_decrypt/chacha20_poly1305.tentative.https.any.js"></script>+<script src="../../../WebCryptoAPI/modern-algos/encrypt_decrypt/chacha20_poly1305.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encrypt_decrypt/chacha20_poly1305.tentative.https.any.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/encrypt_decrypt/chacha20_poly1305.https.any.jssimilarity index 99%rename from Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encrypt_decrypt/chacha20_poly1305.tentative.https.any.jsrename to Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/encrypt_decrypt/chacha20_poly1305.https.any.jsindex d03f7c03099..85bac420415 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/encrypt_decrypt/chacha20_poly1305.tentative.https.any.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/encrypt_decrypt/chacha20_poly1305.https.any.js@@ -1,6 +1,6 @@// META: title=WebCryptoAPI: encrypt()/decrypt() ChaCha20-Poly1305// META: timeout=long-// META: script=../util/helpers.js+// META: script=../../util/helpers.jsvar subtle = crypto.subtle; // Change to test prefixed implementationsdiff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/generateKey/failures_ML-DSA.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/generateKey/failures_ML-DSA.https.any.htmlnew file mode 100644index 00000000000..6a780f168c0--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/generateKey/failures_ML-DSA.https.any.html@@ -0,0 +1,18 @@+<!doctype html>+<meta charset=utf-8>+<title>WebCryptoAPI: generateKey() for Failures</title>+<meta name="timeout" content="long">+<script>+self.GLOBAL = {+ isWindow: function() { return true; },+ isWorker: function() { return false; },+ isShadowRealm: function() { return false; },+};+</script>+<script src="../../../resources/testharness.js"></script>+<script src="../../../resources/testharnessreport.js"></script>+<script src="../../util/helpers.js"></script>+<script src="../../generateKey/algorithm_registry.js"></script>+<script src="../../generateKey/failures.js"></script>+<div id=log></div>+<script src="../../../WebCryptoAPI/modern-algos/generateKey/failures_ML-DSA.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/generateKey/failures_ML-DSA.https.any.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/generateKey/failures_ML-DSA.https.any.jsnew file mode 100644index 00000000000..474a2cf8c8b--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/generateKey/failures_ML-DSA.https.any.js@@ -0,0 +1,6 @@+// META: title=WebCryptoAPI: generateKey() for Failures+// META: timeout=long+// META: script=../../util/helpers.js+// META: script=../../generateKey/algorithm_registry.js+// META: script=../../generateKey/failures.js+run_test(["ML-DSA-44", "ML-DSA-65", "ML-DSA-87"]);diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/generateKey/failures_kmac.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/generateKey/failures_kmac.https.any.htmlnew file mode 100644index 00000000000..12523b66c9e--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/generateKey/failures_kmac.https.any.html@@ -0,0 +1,18 @@+<!doctype html>+<meta charset=utf-8>+<title>WebCryptoAPI: generateKey() for Failures</title>+<meta name="timeout" content="long">+<script>+self.GLOBAL = {+ isWindow: function() { return true; },+ isWorker: function() { return false; },+ isShadowRealm: function() { return false; },+};+</script>+<script src="../../../resources/testharness.js"></script>+<script src="../../../resources/testharnessreport.js"></script>+<script src="../../util/helpers.js"></script>+<script src="../../generateKey/algorithm_registry.js"></script>+<script src="../../generateKey/failures.js"></script>+<div id=log></div>+<script src="../../../WebCryptoAPI/modern-algos/generateKey/failures_kmac.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/generateKey/failures_kmac.https.any.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/generateKey/failures_kmac.https.any.jsnew file mode 100644index 00000000000..0ba07082948--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/generateKey/failures_kmac.https.any.js@@ -0,0 +1,6 @@+// META: title=WebCryptoAPI: generateKey() for Failures+// META: timeout=long+// META: script=../../util/helpers.js+// META: script=../../generateKey/algorithm_registry.js+// META: script=../../generateKey/failures.js+run_test(["KMAC128", "KMAC256"]);diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/generateKey/successes_ML-DSA.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/generateKey/successes_ML-DSA.https.any.htmlnew file mode 100644index 00000000000..e0ad9f6128e--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/generateKey/successes_ML-DSA.https.any.html@@ -0,0 +1,19 @@+<!doctype html>+<meta charset=utf-8>+<title>WebCryptoAPI: generateKey() Successful Calls</title>+<meta name="timeout" content="long">+<script>+self.GLOBAL = {+ isWindow: function() { return true; },+ isWorker: function() { return false; },+ isShadowRealm: function() { return false; },+};+</script>+<script src="../../../resources/testharness.js"></script>+<script src="../../../resources/testharnessreport.js"></script>+<script src="../../util/helpers.js"></script>+<script src="../../../common/subset-tests.js"></script>+<script src="../../generateKey/algorithm_registry.js"></script>+<script src="../../generateKey/successes.js"></script>+<div id=log></div>+<script src="../../../WebCryptoAPI/modern-algos/generateKey/successes_ML-DSA.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/successes_ML-DSA.tentative.https.any.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/generateKey/successes_ML-DSA.https.any.jssimilarity index 55%rename from Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/successes_ML-DSA.tentative.https.any.jsrename to Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/generateKey/successes_ML-DSA.https.any.jsindex 15d52f2a505..c33f9f38b24 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/successes_ML-DSA.tentative.https.any.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/generateKey/successes_ML-DSA.https.any.js@@ -1,6 +1,7 @@// META: title=WebCryptoAPI: generateKey() Successful Calls// META: timeout=long-// META: script=../util/helpers.js+// META: script=../../util/helpers.js// META: script=/common/subset-tests.js-// META: script=successes.js+// META: script=../../generateKey/algorithm_registry.js+// META: script=../../generateKey/successes.jsrun_test(["ML-DSA-44", "ML-DSA-65", "ML-DSA-87"]);diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/generateKey/successes_ML-KEM.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/generateKey/successes_ML-KEM.https.any.htmlnew file mode 100644index 00000000000..6d281da2adf--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/generateKey/successes_ML-KEM.https.any.html@@ -0,0 +1,19 @@+<!doctype html>+<meta charset=utf-8>+<title>WebCryptoAPI: generateKey() Successful Calls</title>+<meta name="timeout" content="long">+<script>+self.GLOBAL = {+ isWindow: function() { return true; },+ isWorker: function() { return false; },+ isShadowRealm: function() { return false; },+};+</script>+<script src="../../../resources/testharness.js"></script>+<script src="../../../resources/testharnessreport.js"></script>+<script src="../../util/helpers.js"></script>+<script src="../../../common/subset-tests.js"></script>+<script src="../../generateKey/algorithm_registry.js"></script>+<script src="../../generateKey/successes.js"></script>+<div id=log></div>+<script src="../../../WebCryptoAPI/modern-algos/generateKey/successes_ML-KEM.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/successes_ML-KEM.tentative.https.any.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/generateKey/successes_ML-KEM.https.any.jssimilarity index 55%rename from Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/successes_ML-KEM.tentative.https.any.jsrename to Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/generateKey/successes_ML-KEM.https.any.jsindex 68a0d97b975..1353d25cb13 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/successes_ML-KEM.tentative.https.any.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/generateKey/successes_ML-KEM.https.any.js@@ -1,6 +1,7 @@// META: title=WebCryptoAPI: generateKey() Successful Calls// META: timeout=long-// META: script=../util/helpers.js+// META: script=../../util/helpers.js// META: script=/common/subset-tests.js-// META: script=successes.js+// META: script=../../generateKey/algorithm_registry.js+// META: script=../../generateKey/successes.jsrun_test(["ML-KEM-512", "ML-KEM-768", "ML-KEM-1024"]);diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/generateKey/successes_kmac.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/generateKey/successes_kmac.https.any.htmlnew file mode 100644index 00000000000..a901cd9f739--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/generateKey/successes_kmac.https.any.html@@ -0,0 +1,19 @@+<!doctype html>+<meta charset=utf-8>+<title>WebCryptoAPI: generateKey() Successful Calls</title>+<meta name="timeout" content="long">+<script>+self.GLOBAL = {+ isWindow: function() { return true; },+ isWorker: function() { return false; },+ isShadowRealm: function() { return false; },+};+</script>+<script src="../../../resources/testharness.js"></script>+<script src="../../../resources/testharnessreport.js"></script>+<script src="../../util/helpers.js"></script>+<script src="../../../common/subset-tests.js"></script>+<script src="../../generateKey/algorithm_registry.js"></script>+<script src="../../generateKey/successes.js"></script>+<div id=log></div>+<script src="../../../WebCryptoAPI/modern-algos/generateKey/successes_kmac.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/successes_kmac.tentative.https.any.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/generateKey/successes_kmac.https.any.jssimilarity index 52%rename from Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/successes_kmac.tentative.https.any.jsrename to Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/generateKey/successes_kmac.https.any.jsindex 9f881f92bc1..7f6120b4f89 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/successes_kmac.tentative.https.any.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/generateKey/successes_kmac.https.any.js@@ -1,6 +1,7 @@// META: title=WebCryptoAPI: generateKey() Successful Calls// META: timeout=long-// META: script=../util/helpers.js+// META: script=../../util/helpers.js// META: script=/common/subset-tests.js-// META: script=successes.js+// META: script=../../generateKey/algorithm_registry.js+// META: script=../../generateKey/successes.jsrun_test(["KMAC128", "KMAC256"]);diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/import_export/KMAC_importKey.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/import_export/KMAC_importKey.https.any.htmlnew file mode 100644index 00000000000..51a398a4649--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/import_export/KMAC_importKey.https.any.html@@ -0,0 +1,17 @@+<!doctype html>+<meta charset=utf-8>+<title>WebCryptoAPI: importKey() for symmetric keys</title>+<meta name="timeout" content="long">+<script>+self.GLOBAL = {+ isWindow: function() { return true; },+ isWorker: function() { return false; },+ isShadowRealm: function() { return false; },+};+</script>+<script src="../../../resources/testharness.js"></script>+<script src="../../../resources/testharnessreport.js"></script>+<script src="../../util/helpers.js"></script>+<script src="../../import_export/symmetric_importKey.js"></script>+<div id=log></div>+<script src="../../../WebCryptoAPI/modern-algos/import_export/KMAC_importKey.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/KMAC_importKey.tentative.https.any.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/import_export/KMAC_importKey.https.any.jssimilarity index 56%rename from Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/KMAC_importKey.tentative.https.any.jsrename to Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/import_export/KMAC_importKey.https.any.jsindex 83995bca37a..c3aacbeed6e 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/KMAC_importKey.tentative.https.any.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/import_export/KMAC_importKey.https.any.js@@ -1,7 +1,7 @@// META: title=WebCryptoAPI: importKey() for symmetric keys// META: timeout=long-// META: script=../util/helpers.js-// META: script=symmetric_importKey.js+// META: script=../../util/helpers.js+// META: script=../../import_export/symmetric_importKey.jsrunTests("KMAC128");runTests("KMAC256");diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/ML-DSA_importKey.tentative.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/import_export/ML-DSA_importKey.https.any.htmlsimilarity index 50%rename from Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/ML-DSA_importKey.tentative.https.any.htmlrename to Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/import_export/ML-DSA_importKey.https.any.htmlindex 2c4c55626eb..995c81178f2 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/ML-DSA_importKey.tentative.https.any.html+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/import_export/ML-DSA_importKey.https.any.html@@ -9,10 +9,11 @@ self.GLOBAL = {isShadowRealm: function() { return false; },};</script>-<script src="../../resources/testharness.js"></script>-<script src="../../resources/testharnessreport.js"></script>-<script src="../util/helpers.js"></script>+<script src="../../../resources/testharness.js"></script>+<script src="../../../resources/testharnessreport.js"></script>+<script src="../../util/helpers.js"></script>+<script src="../util/mldsa_key_fixtures.js"></script><script src="ML-DSA_importKey_fixtures.js"></script>-<script src="ML-DSA_importKey.js"></script>+<script src="ml_importKey.js"></script><div id=log></div>-<script src="../../WebCryptoAPI/import_export/ML-DSA_importKey.tentative.https.any.js"></script>+<script src="../../../WebCryptoAPI/modern-algos/import_export/ML-DSA_importKey.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/ML-DSA_importKey.tentative.https.any.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/import_export/ML-DSA_importKey.https.any.jssimilarity index 62%rename from Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/ML-DSA_importKey.tentative.https.any.jsrename to Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/import_export/ML-DSA_importKey.https.any.jsindex 5ce13d858d6..96d17f641b1 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/ML-DSA_importKey.tentative.https.any.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/import_export/ML-DSA_importKey.https.any.js@@ -1,8 +1,9 @@// META: title=WebCryptoAPI: importKey() for ML-DSA keys// META: timeout=long-// META: script=../util/helpers.js+// META: script=../../util/helpers.js+// META: script=../util/mldsa_key_fixtures.js// META: script=ML-DSA_importKey_fixtures.js-// META: script=ML-DSA_importKey.js+// META: script=ml_importKey.jsrunTests("ML-DSA-44");runTests("ML-DSA-65");diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/import_export/ML-DSA_importKey_fixtures.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/import_export/ML-DSA_importKey_fixtures.jsnew file mode 100644index 00000000000..463213a8014--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/import_export/ML-DSA_importKey_fixtures.js@@ -0,0 +1,67 @@+var mldsaKeyFixtures = getMldsaKeyFixtures();++var keyData = {+ 'ML-DSA-44': {+ privateUsages: ['sign'],+ publicUsages: ['verify'],+ publicFormats: ['spki', 'jwk', 'raw-public'],+ privateFormats: ['pkcs8', 'jwk', 'raw-seed'],+ pkcs8: mldsaKeyFixtures.pkcs8['ML-DSA-44'],+ spki: mldsaKeyFixtures.spki['ML-DSA-44'],+ 'raw-public': hexStringToUint8Array(+ '5598d544c614b154c8bc216824a1c17fe297306b7abf5956bc03f5c7124fa8c0dadadfe3548529bb09b70ede9b89546f8a61ea98340fa32fe3da1314e55d63fc9bd51ef19ed3d5bf9b49d3913bc24b8c03a1958b30ac9bac78ea8e4f4e74d7b832b6a2c05dddb3d846ba5c5d33be3dad69ce09d03436d0fc73b09276170005299779f1f6c1ced4a0b50763dc4e607b8e236b25da8a8be4cfa684572474fbae0a29c4ab1ad45ad5df8d57e83b2ead10f7ad04dba5ea08d9e9a30d0aa01657e802095cb12343376833cce751d13e1f75388d4e6d9476bf5dc13b1e58ed13a90e0b9666d79045f6209f6e314b4ee179b8ceea7eaba42bedf43f534688d5f479b822c9f95f40a5630ec3e71279149c50e785c5005ec316fbffaed5674b583a8a422555a20ff21d3193bfa3aa6dc3163fc5957564245173cb7e3e5667c1b645eee9a23ef8849ed4d0bb7fd4c6a9f51a991ccf554191c817c426403136e9b9489c56e67f986cb8f06d0867e4ce8e494ad634b6cb52c9afbc6f2ae808b1832fed5c78d27c30b9d7892446a2a477009b1439211bdc4dfee9be6a8715c239ee5fa24ea421d2d72b6460e857132b41f0b71183f761f1076f9f28fc2de44c472e55b5362987a290e38079adcf773613c517e7b07dbe204c3c2218a02a49be7c630509d606dcb1ce4fde0a8efa3fb343159f397eef1ceef06b4fb9aee8a89280e577131521efc12ab2987c18cb83c15da202d0e714cbe82f3672ffec61639c0fa04b3c6f3b2319e62b5baaa14a46b3b4fb47c5f0682a27cace0c73f98a37fcd83db9794c89aca6585c821234430dbb3193d44d4a383b7b63cd2489606f94799d0253f6569c9862ac4df4d6e1b8f0799038d5a12b4304a168ca5b86f76c182ebb3fd8327d7811d816e49cfd07b40f82b44847a903ecf70baa204cece185fa14ebc88f59199e319ea4d5dd5178f196d2134fa51823aab6f2ff8fab948c29cfba62e01098e0266eafa96f84c9b27219c432959ec1b465b75c6d8366777b4e6bdf0401ce8c82edcd2412b4c59a1aec8cade66523bd7968154b51e0bad4516b42f4eb405ace272c2ba2bb3fe5d99ab99d187dfc5b883b2fb6c8491389845110eae3d22010a0bcfa1bbea435f4dbc7b19275326348eb259a4833cb3d27e6228475d9a7c92a114c4867ac5da91d4c58b2e22035be3cd28471c61a46b32f22b858b2d001c45988a7212609ff59ca1b5de564c018eac8ba7de7d4bc0b1d33bd4693b0e7511072989f157cb9d0324ad371cf2336adcd8534a7c7579e7821cca392e9153d1c6630e8b80fdbeef0d7deef036eb45f6793ec0a39c39fe7325c91a52ccc79bb09d25056fba984ecf817cfdee30d35015845690deecafbc2f50e2601f59dd4a2b6d9e6738bafdbc74a7cba9e03dc57dcb1550d3aa8df06ee9c50792ca6b0003062465d4e32c010ba02e9696978c311648dd69e903f0458be65d137772e8075e179ccc3133daa74fbe1e61c1bf954c3e0be3cd4530394cc046732e9afcf2f33d84ffb9651ab079137bcbbd9c89bf6552a7b1270c074a328bb84c0d2bc6a75d9b9b7ca210bcd0a3d340f428379701a60a6f10144ce505c8453597e879d04ca100583703e38eab0d577cdcb116a9c75fb871549dbee03581547887600076a97c8ddb3ce32c61b76b51b5523f82c390fdd617904a76fb6cfc33486c380ad6f62981d8ac5afabf7c21486d1e85e11cb8b1eedbbf310b42b69ec42afaa8b18631ce18d60fa77006fd422d92a86584e4c7ea9a83b9a5d362ba11d6f7c3be13456932697a12477cca4792eba415446260fcb30a8ebe71e375f240a14a66d08126dfbd5528ef031f9b44e45'+ ),+ 'raw-seed': new Uint8Array([+ 153, 21, 95, 99, 48, 150, 218, 124, 190, 8, 122, 137, 72, 184, 79, 118,+ 123, 16, 249, 1, 200, 35, 194, 64, 177, 221, 43, 200, 112, 5, 201, 62,+ ]),+ jwk: {+ priv: 'mRVfYzCW2ny-CHqJSLhPdnsQ-QHII8JAsd0ryHAFyT4',+ kty: 'AKP',+ alg: 'ML-DSA-44',+ pub: 'VZjVRMYUsVTIvCFoJKHBf-KXMGt6v1lWvAP1xxJPqMDa2t_jVIUpuwm3Dt6biVRvimHqmDQPoy_j2hMU5V1j_JvVHvGe09W_m0nTkTvCS4wDoZWLMKybrHjqjk9OdNe4MraiwF3ds9hGulxdM749rWnOCdA0NtD8c7CSdhcABSmXefH2wc7UoLUHY9xOYHuOI2sl2oqL5M-mhFckdPuuCinEqxrUWtXfjVfoOy6tEPetBNul6gjZ6aMNCqAWV-gCCVyxI0M3aDPM51HRPh91OI1ObZR2v13BOx5Y7ROpDguWZteQRfYgn24xS07hebjO6n6rpCvt9D9TRojV9Hm4Isn5X0ClYw7D5xJ5FJxQ54XFAF7DFvv_rtVnS1g6ikIlVaIP8h0xk7-jqm3DFj_FlXVkJFFzy34-VmfBtkXu6aI--ISe1NC7f9TGqfUamRzPVUGRyBfEJkAxNum5SJxW5n-YbLjwbQhn5M6OSUrWNLbLUsmvvG8q6Aixgy_tXHjSfDC514kkRqKkdwCbFDkhG9xN_um-aocVwjnuX6JOpCHS1ytkYOhXEytB8LcRg_dh8Qdvnyj8LeRMRy5VtTYph6KQ44B5rc93NhPFF-ewfb4gTDwiGKAqSb58YwUJ1gbcsc5P3gqO-j-zQxWfOX7vHO7wa0-5ruiokoDldxMVIe_BKrKYfBjLg8FdogLQ5xTL6C82cv_sYWOcD6BLPG87IxnmK1uqoUpGs7T7R8XwaConys4Mc_mKN_zYPbl5TImsplhcghI0Qw27MZPUTUo4O3tjzSSJYG-UeZ0CU_ZWnJhirE301uG48HmQONWhK0MEoWjKW4b3bBguuz_YMn14EdgW5Jz9B7QPgrRIR6kD7PcLqiBM7OGF-hTryI9ZGZ4xnqTV3VF48ZbSE0-lGCOqtvL_j6uUjCnPumLgEJjgJm6vqW-EybJyGcQylZ7BtGW3XG2DZnd7TmvfBAHOjILtzSQStMWaGuyMreZlI715aBVLUeC61FFrQvTrQFrOJywrors_5dmauZ0YffxbiDsvtshJE4mEURDq49IgEKC8-hu-pDX028exknUyY0jrJZpIM8s9J-YihHXZp8kqEUxIZ6xdqR1MWLLiIDW-PNKEccYaRrMvIrhYstABxFmIpyEmCf9Zyhtd5WTAGOrIun3n1LwLHTO9RpOw51EQcpifFXy50DJK03HPIzatzYU0p8dXnnghzKOS6RU9HGYw6LgP2-7w197vA260X2eT7Ao5w5_nMlyRpSzMebsJ0lBW-6mE7PgXz97jDTUBWEVpDe7K-8L1DiYB9Z3UorbZ5nOLr9vHSny6ngPcV9yxVQ06qN8G7pxQeSymsAAwYkZdTjLAELoC6WlpeMMRZI3WnpA_BFi-ZdE3dy6AdeF5zMMTPap0--HmHBv5VMPgvjzUUwOUzARnMumvzy8z2E_7llGrB5E3vLvZyJv2VSp7EnDAdKMou4TA0rxqddm5t8ohC80KPTQPQoN5cBpgpvEBRM5QXIRTWX6HnQTKEAWDcD446rDVd83LEWqcdfuHFUnb7gNYFUeIdgAHapfI3bPOMsYbdrUbVSP4LDkP3WF5BKdvts_DNIbDgK1vYpgdisWvq_fCFIbR6F4Ry4se7bvzELQraexCr6qLGGMc4Y1g-ncAb9Qi2SqGWE5MfqmoO5pdNiuhHW98O-E0VpMml6Ekd8ykeS66QVRGJg_LMKjr5x43XyQKFKZtCBJt-9VSjvAx-bRORQ',+ },+ },+ 'ML-DSA-65': {+ privateUsages: ['sign'],+ publicUsages: ['verify'],+ publicFormats: ['spki', 'jwk', 'raw-public'],+ privateFormats: ['pkcs8', 'jwk', 'raw-seed'],+ pkcs8: mldsaKeyFixtures.pkcs8['ML-DSA-65'],+ spki: mldsaKeyFixtures.spki['ML-DSA-65'],+ 'raw-public': hexStringToUint8Array(+ 'd8b1e93c9718f642afa1c07609b157e805d831fefba033d8faabe5689575876b05eff4a7533931991d876c8a75ec7841594111c97f93f667eecc1953f01dad7f8c0158282b8633137d83e032a75214d9d7a2295fd73882e2b1d814a985558c0969ac36790057ca125d6093677fa43fc56131e67d35504014ef1d5a7666ddb106dcdcaa6b6b128a7d8a46423cb9e8d10464117618b56ef132fa8ad11354dc3d6050805165a009053521703c3bc34f73be655d38ab923352e942e1e2d3483a094adeb9afd39ca444bc772e0e40a00dcf3c51446c943b58585c58abf9cca089deeaa8e90356e0ae69e001b1b8e6ec1e55f93869d33253a88b1cafb51659a6d798dab86f41185247b964ac42b206d7a4fc3828c6cf986ebacf27ebb326d758696db1825b05dfa44ef1b07dc55e6428d6fbeffd589a0e4bfe5ed256f4335fa88bd5495797d1967e5845fb749d7a60d4ce2ada2655b832f6bc23483ce29bf656d16e85a1817e509aee4040aa9cb1e134572a589aaef61e548fdd331b413c2816782a912252eb4f14d7d3e7976c773574be0d8bc7bd5436bade5a74fde3cf68d1762a905e16dbc6d3d8ab4bf53df09d6c5113ee2778d2f23f7e060f1261e8cfb854ef48735a5f704e2dc90d66d09792fd99b1730ec2b86b76783f6959903cf2506a200bccaaa5ddb61fbb9fd876dacfb66b88d3a2e7c48053fbc0bd9501f524929f0b741ebf8db69de35b5848e037c360f587f98e10e5ed1b3c025b8a52c5d228087baccacf77c7be66288dae5dd3db86691a6764663e82e087ad52e0c8d54cd326b51061634b0e2aa2dfed8d011d8cbf9231ecb358cadc7cefe78365866f1c3697ac43a77160cc3f4ca95f0eaf95bdad27b166179e66ece046cbbe84e688031cc98394a4dbb5d01aef6f562366857271b4b852b46a7cf87e57b1a5b0cc808db38d2277a039cea85fc56e4f3c30aa7dce93899c552e07c1e496162e9333999df897fd723a7e267f13e163b7ebaf5aa608e98d0a55e893071489f054e7568632d4c906fd129672a08c02febd980e446e3286c749ed38746e8724280ea732475109b236b6f74020cc745c83281ef6bcecb6bb84ef7c88ee9289f757340f4e6c87b26546c7c1c090c46aba8d2a65d6c443af2608bd94a6fddd90775101e8af51ed0dbcdce62f73b8b3003376271672e8580f79d8826bad6cafe17128dfb906f4e3492640540ac83551b3d96aac3ba146b44630382ee985f539789aa7316dbc98f5b5019ff72ca79806bff626788d39f1a83c260652f85755000a16132cb23f264e01d2a68c03c770879b240dcc7c2f05be675bcd93f873b1c4b4ea552318b610cf6ba70a36c192475f2d6db82b659bb837abc48859e354b71f0089e692fa061be1f10b5f7cf885ab954349136e68ad5606f6c3c4c8af3512c6df8c55d0fdccdcffe858ee146118340d03b33e976543214ffd9dfde9c56d824e0ba5d6c8299d3f2eaffbf6e1e3c75c6bd83a7ce2ca995c1ffab65c63006e124ee4a6be4358f59b8b529827cc4a8c5f5252a093902100f2c81666a0e966e02acdf0385fc5e2afebf07d0a330cf696eaad5f84adae01a1172734a857360442c9229b5285aa4c34e26da31322b8e227144b48c946bc47b6e60613ff0891c13f5196184859a84a62ad8543e32cfcfce3c07d14e390181f304343305ea334dba3e1d6d66dd37ad5c65acc2861d379111c84f66ee633c52aa28fc79ed7d2853c417f0199c116abfa72ccf6ff7e19602ca466acd317f57a30ddf98a9486ce87f62aebc659bd2d7dcc45c1301d907de07f4201868de0d3c18d45804ba7f4a07836bfd61d28f90f2e448d5bf25b50fc6d7a9a40993841fe6a1204acab8850624f85ff0464bf90abdb2e84b582e46b44207bc911432390b4a01e7d0937b8ac009ffae853a8a2669e79d0b174a3a050f12e9c3acbf043b0f4aaa0737a8d9a65dab27782c320cf33956233db3979d89c65dab8dccc29b5953f50c20b8fa4db177b8d772b5e4eaf59a530a72c2ddbc50fca7674f597da0ec7601b66cec67bdeb2d214c826197c3a665cc56b3305ec7dadc671906cb11668dfa5270954577c509908d44c021c0c5ad48194d4e53f1dc871ab9a6bbdca16930720fd4625e062c781153631347c5428bec26c491a0f7c5757c6d97a7f52a7833b08ac31a23d404fc4cd416e4b8280c5b6fb6e8dc5b8a6f4f6d91469552a50fb4d3bccf7b3dab57cd1041c76ea91ed8c6a3658521ceb44dd6d8b0ba6b63f8ec2ffd5db749e1fe0777ee8a09001b15cdba231b574a368f5c1bc1aac0fbe87cf6af60d844cbda0197b1a1430cb3bd145eb67fda06c53ce4662000239a2ca3f2d59adc9fefefd8f154d83b8ea2544ce45bab39193872a8998fdd5f00d7aa1dabab4d5a296e73f70b6e9560ce1c385251c1693c9c8c573038ac2564ff71bf19580c5080b863576aff8fd725b1fc0fdd16f1fe4f4b8b39291a7899bb8da263ebb16b5c15d1009c32ac6e1649094dfb8287520835e5d53587d5fdc14ce07e44e36eeb2c426f55f08eb6a11af8ec13cb335f45c93f4da5f7ffb802a6952f3e0d5195b9716c91219e6a55519f9aaa0abd2d1209a7cf53c1eff8a9a1d559ce8b14e0e8934d7f71ad373481485e80197fb3f2d784531d182ff02da15fb10561e3e885c953c067d8191eb66be90f8013587159e2c9ee6f6acf9a169cc313c463f7fa3e7afaeea93b93e05f49c041f279cb09afba68fd42b1e613225b09b4d9566'+ ),+ 'raw-seed': new Uint8Array([+ 132, 164, 137, 75, 123, 70, 164, 178, 3, 156, 206, 16, 195, 26, 133, 186,+ 176, 195, 102, 48, 254, 35, 29, 66, 103, 17, 67, 152, 38, 7, 130, 139,+ ]),+ jwk: {+ priv: 'hKSJS3tGpLIDnM4QwxqFurDDZjD-Ix1CZxFDmCYHgos',+ kty: 'AKP',+ alg: 'ML-DSA-65',+ pub: '2LHpPJcY9kKvocB2CbFX6AXYMf77oDPY-qvlaJV1h2sF7_SnUzkxmR2HbIp17HhBWUERyX-T9mfuzBlT8B2tf4wBWCgrhjMTfYPgMqdSFNnXoilf1ziC4rHYFKmFVYwJaaw2eQBXyhJdYJNnf6Q_xWEx5n01UEAU7x1admbdsQbc3KpraxKKfYpGQjy56NEEZBF2GLVu8TL6itETVNw9YFCAUWWgCQU1IXA8O8NPc75lXTirkjNS6ULh4tNIOglK3rmv05ykRLx3Lg5AoA3PPFFEbJQ7WFhcWKv5zKCJ3uqo6QNW4K5p4AGxuObsHlX5OGnTMlOoixyvtRZZpteY2rhvQRhSR7lkrEKyBtek_Dgoxs-YbrrPJ-uzJtdYaW2xglsF36RO8bB9xV5kKNb77_1Ymg5L_l7SVvQzX6iL1UlXl9GWflhF-3SdemDUziraJlW4Mva8I0g84pv2VtFuhaGBflCa7kBAqpyx4TRXKliarvYeVI_dMxtBPCgWeCqRIlLrTxTX0-eXbHc1dL4Ni8e9VDa63lp0_ePPaNF2KpBeFtvG09irS_U98J1sURPuJ3jS8j9-Bg8SYejPuFTvSHNaX3BOLckNZtCXkv2ZsXMOwrhrdng_aVmQPPJQaiALzKql3bYfu5_YdtrPtmuI06LnxIBT-8C9lQH1JJKfC3Qev422neNbWEjgN8Ng9Yf5jhDl7Rs8AluKUsXSKAh7rMrPd8e-ZiiNrl3T24ZpGmdkZj6C4IetUuDI1UzTJrUQYWNLDiqi3-2NAR2Mv5Ix7LNYytx87-eDZYZvHDaXrEOncWDMP0ypXw6vlb2tJ7FmF55m7OBGy76E5ogDHMmDlKTbtdAa729WI2aFcnG0uFK0anz4flexpbDMgI2zjSJ3oDnOqF_Fbk88MKp9zpOJnFUuB8HklhYukzOZnfiX_XI6fiZ_E-Fjt-uvWqYI6Y0KVeiTBxSJ8FTnVoYy1MkG_RKWcqCMAv69mA5EbjKGx0ntOHRuhyQoDqcyR1EJsja290AgzHRcgyge9rzstruE73yI7pKJ91c0D05sh7JlRsfBwJDEarqNKmXWxEOvJgi9lKb93ZB3UQHor1HtDbzc5i9zuLMAM3YnFnLoWA952IJrrWyv4XEo37kG9ONJJkBUCsg1UbPZaqw7oUa0RjA4LumF9Tl4mqcxbbyY9bUBn_csp5gGv_YmeI058ag8JgZS-FdVAAoWEyyyPyZOAdKmjAPHcIebJA3MfC8FvmdbzZP4c7HEtOpVIxi2EM9rpwo2wZJHXy1tuCtlm7g3q8SIWeNUtx8AieaS-gYb4fELX3z4hauVQ0kTbmitVgb2w8TIrzUSxt-MVdD9zNz_6FjuFGEYNA0Dsz6XZUMhT_2d_enFbYJOC6XWyCmdPy6v-_bh48dca9g6fOLKmVwf-rZcYwBuEk7kpr5DWPWbi1KYJ8xKjF9SUqCTkCEA8sgWZqDpZuAqzfA4X8Xir-vwfQozDPaW6q1fhK2uAaEXJzSoVzYEQskim1KFqkw04m2jEyK44icUS0jJRrxHtuYGE_8IkcE_UZYYSFmoSmKthUPjLPz848B9FOOQGB8wQ0MwXqM026Ph1tZt03rVxlrMKGHTeREchPZu5jPFKqKPx57X0oU8QX8BmcEWq_pyzPb_fhlgLKRmrNMX9Xow3fmKlIbOh_Yq68ZZvS19zEXBMB2QfeB_QgGGjeDTwY1FgEun9KB4Nr_WHSj5Dy5EjVvyW1D8bXqaQJk4Qf5qEgSsq4hQYk-F_wRkv5Cr2y6EtYLka0Qge8kRQyOQtKAefQk3uKwAn_roU6iiZp550LF0o6BQ8S6cOsvwQ7D0qqBzeo2aZdqyd4LDIM8zlWIz2zl52Jxl2rjczCm1lT9QwguPpNsXe413K15Or1mlMKcsLdvFD8p2dPWX2g7HYBtmzsZ73rLSFMgmGXw6ZlzFazMF7H2txnGQbLEWaN-lJwlUV3xQmQjUTAIcDFrUgZTU5T8dyHGrmmu9yhaTByD9RiXgYseBFTYxNHxUKL7CbEkaD3xXV8bZen9Sp4M7CKwxoj1AT8TNQW5LgoDFtvtujcW4pvT22RRpVSpQ-007zPez2rV80QQcduqR7YxqNlhSHOtE3W2LC6a2P47C_9XbdJ4f4Hd-6KCQAbFc26IxtXSjaPXBvBqsD76Hz2r2DYRMvaAZexoUMMs70UXrZ_2gbFPORmIAAjmiyj8tWa3J_v79jxVNg7jqJUTORbqzkZOHKomY_dXwDXqh2rq01aKW5z9wtulWDOHDhSUcFpPJyMVzA4rCVk_3G_GVgMUIC4Y1dq_4_XJbH8D90W8f5PS4s5KRp4mbuNomPrsWtcFdEAnDKsbhZJCU37godSCDXl1TWH1f3BTOB-RONu6yxCb1XwjrahGvjsE8szX0XJP02l9_-4AqaVLz4NUZW5cWyRIZ5qVVGfmqoKvS0SCafPU8Hv-Kmh1VnOixTg6JNNf3GtNzSBSF6AGX-z8teEUx0YL_AtoV-xBWHj6IXJU8Bn2BketmvpD4ATWHFZ4snub2rPmhacwxPEY_f6Pnr67qk7k-BfScBB8nnLCa-6aP1CseYTIlsJtNlWY',+ },+ },+ 'ML-DSA-87': {+ privateUsages: ['sign'],+ publicUsages: ['verify'],+ publicFormats: ['spki', 'jwk', 'raw-public'],+ privateFormats: ['pkcs8', 'jwk', 'raw-seed'],+ pkcs8: mldsaKeyFixtures.pkcs8['ML-DSA-87'],+ spki: mldsaKeyFixtures.spki['ML-DSA-87'],+ 'raw-public': hexStringToUint8Array(+ '92b84328ac1bcc1b87166ddf7f176182c6e4c73eb215ad1458b4cda811a4875c55924cc29850ef9d2115efb6b0fe7c50878a57a9676357055ba1ef3b12f69414203c75f5b69cc4e65275e4d3512d73d9175f8a5f677c2059bb30fb6751ea4c0439c547307da9c393b78ea60893074df06f2ca817596b5fdc4bca2c19f4c8a000ae6f6bcc16247abf652134fc0e2f196d873083fdc3ed3c560e77551cb68b88bf3bbb5a7ecfa8eeb8534dfed0153968bce48652f9bef9a3786f44e1d2831d97999247a368e1c22140d55c91fd2a20e95fe048b877c071fdb199f6f03167aae55245ba24fc1d7cff199405a09f699db9199e7a911ef533cd3e389a173400e1b169c383b197c5726e80e37fb01cfcd9383d8894be7c6c813ef3eb2546e4e90a437c783aa453395027cc621cc7884b0c33ff18827f13efa05e894b0f529efca32becc1ea1b4a450eb3ab0aa91b8aacd5bddea76e180b7697df5e9a7d091589468033663469689d36ba4bd9e2a9477db1fdda55ecf219d793b568f2524b32a531668052edaa86a2c438f7c78a6676254272a5b19cfb27c70ca7f6a9966c5bc02a44c0f4ff6b12bf074913ae1c74428360ad3c83bef9dbf647b67cb781656d5fb44e118cb63e50c3b8fdb0a999011d5327fc9629dbb030976c3cffef005565c16ecc0cfe16880f9ad9580d1cfce830202129dd67e3e4b136afc36aae8c36806cd6e4d776e2ceab159ba29887cb10aa8264ad9bf35028629df8076558c7dae08d52ee795c5261311f9b3d3f54e35a8fa43bd865132386021412c561d7a955dc4bfe5b7d902b41801d424db8ac597bcbe7fe3b12f9ccf9dc9954a63f176c7891d843df7bf80ffd3fbf7e545f628d42c881c2ae1e50304b710e6665daf90ecb18060b596338311194a0f265bf66e373216b47eb068d44a1a2a5e39f52fd369dd6ff8d979a86965d8d619ef4b4872a0a03940998951412edfdb488a50d50c3dc2b03b20a7f9002cfd1f6286e26850916b40bdf74eccdba19b79ba54dce65ff6adf460a16b0778ea3c5b2fbd870ed3fc94ddbc402b0300fcf5b4aec1508cd7e4d1c0d1a1ccafa644f86d1c14eca3af87cd7408ff41117a3a2f1f931d2a8cbd5874d0e1d23c1ea3a0c6aa5a3fbc073fb07c6bd5dcfb2f632bdb9332d548cc2222e5c5a8851513534fd80f783f315cff58d31b2d5d6d30811ea85e168c5bae07501ad6811b1a1df47c39fc22db1741abbc1a1d5b39e087aba7abf9e050cb2eb4e844ebd10566e493381fff26e3f0635d16e84ec2befc0dd8a0180b000715577c924bcca09df62c42a829e95c896ca8476996136c39a0f2df68190ffe74b19382fb2620a6a543871a1e325f601f581ad46ba0b1c7dc6f3e17182058a34fbc2986930d60df6e44becc2dfb1409661a7141b4a4ca6c7ef5bf0081636293f2370fffb58fc93adb92b62539be6b037a108530f6e97f16ea8cbbec6da9890963a7b0b7bfa6871c65d019833ac8cf67371e5daa6c8237b1085a9bf3b670c720f3c25045cd0361f4f38e1060b4a6b4fe1ef1049f9eac581e661277331608d29f2e1b1d6126722e525b0f16352e3c34d2040047831c7d18b0204dee92d978d8efc297ce70d903fd4fc91228ee898548757af2e358b3ca887a765fd7f988a9a1fe7c64d59b60936677764daf52cbf4a1e9854163e9f83a3df0333c2f13109d52bd6c94b9ec616cbd1bec7bd4b0406483cf171ab1e2a8f493348ce6eafcbc3c70f9bd0a6791a843b2c489b07307a84e08e030715cf0b1e701295927f2968c5a956d56cfd6fa0050bcaace92005345c7c98a20b581ca6f88dfb26a1353188f6b75509a5736c12d0da81a5a38322205ee2795d1857e26919f280c64e1aed155c21790877838cc10e3c8b821341603205f90c1b3317c359ff2f176d3ecabe05835c5b271bd184925f62421ae6baecbaa295518fdd154fabec15a113870ad5a8c88713ddb1cf6ad6c27cdc352db0f5b2bd31f216e69af192e6bbb4f49e91c5e133968c1aaf4e8ef3e8dd89cd82b236d88876d4215ace12e09e2c1790cc18b83051e97c14de4d77901691f113ce87fca4725425af6b43f3b789d535ec2949322292dacc44eb9e968b854bf89d070035442c9c6e38c5d1c9009be15523a9c1e7241f8e65a81dc01f8051bffdb899e2d6011b0600c02465486996e203150c7f48fadff088f99d81f75bb29dd0569217b09623d39b16cf77a8a77ab4b76a618a5760228d6e91e7e22373e88136ba80beee25a9c22518edd3a46f3658f57d434ec20bc2ebd957cb0edcbd6b445e8b42e60536401cf68f4b7feff314fbbdf6f6975adbe3f2dfcd287cf504bd4827916e6078a41b7592b11e4cad6a82e4c0bd3ba71e7fb2a4058550c7cfd8bd9c5dde968151c1b4263b08d6d25f96b6af942b99a9423e878c9f59c3fd0384b4a4f4f3e847c4c89ec27273c158a1b9ebf70e7ee1b06f114f4df550e5ae06b49cd955aec9ffed555335bc99625bc115d33191c4fc3442e283cbd682edc2d0ae6685dcebde4fe82415a1f833b9a49c5f794139e9b71dc769680c5ac3ba51c7b0015710e2c0ceb9c52e224bae99ee0f3257e2601ac5ca49eb138c094f0c34534c5592ea1897b3b2763aa2df6745f4e787a7cc75a63ced523f0b04cf0a92367ebf4f853c802288aa175451265e0982f56473d122e49e65d887d0cfbfa973fc908be2fc062cdd86aa570b2e7c3adbb3ee0662d812ae2a0c617e55f551dce88772157d87e1b6f5e4dff23e9e234c066e19b8ce7ced36fcc72c4e5900872cb039a824ddad4dd6d13c01caeeed3d5a2f72e65ceeeb1297dcf3e1a39f8bbdfd3ee1b6ca3b0753638176af25f65577fbf645b4f72518c2599e61e6f7fe9166594d44f50367531c2da81ebd977078d7545ac6555581377f7c1c89e58b3658e56951d4531c6bfa52a42b180f39ce9c13915f39a90880d31dd5c3941b49baddf20ba74ef685127643ec3b1370fe5da89d76006bf8399543de7be1cffb45da386ea21319d1d1d5c89e460964d04d30ff97c80044e64678d11d56e1bcbde2652ab0209379489782d90d42945481d7f9a4aebb5055b9f56ca9773bb290e53fc284fa8352a17d7efffcdccc68e7c988f6742b58e9002b80d6283b51938b844518e9150e5be6f1138aa3370ddd2f408cf80626a410db3f21b4479700ea673ad5dea35f8401b292427cf2df6681c0d6c275a2fcf68f2a468b61a8408dbe737e5daf3b3109b858c964b68e91f44880cb31c40505122e2257ab849e804bc208f2349ce5f538f5580ec36ea6339ef5c37811a64264d4bcf302ec5a081023977aaf73a8babf3c471751d94fcbef3d92f7a870536692deb22df73f17b50388d03e9acb23faee3d62cf5aa9af24e309b64ee263594369b923f2a236633c940e76011a783e523ede22633aae91c7be15b675ee0daa1d43952c5a5eb57db6ba523769fd1dd44386cce35eff7f489d8c8ee04d951daa2da3d6d12e1c7db16f025c79fca6cce3ad333ca2f3cacf671e99b674b682623b198def31e0b01bedda4c44bd6cb988ff69960b992cf88bc7b2eb5573799057dd32deee101433be5df8e454e4731fe5e389b42c73e07781b586e090ba7bd0766065b1bfe8ab0611f7bbad5446f913bf74ac7e83d87be19737cdb15d8b75'+ ),+ 'raw-seed': new Uint8Array([+ 161, 80, 109, 145, 76, 109, 101, 140, 117, 39, 228, 51, 151, 221, 109, 76,+ 37, 246, 164, 121, 116, 51, 90, 76, 208, 59, 254, 105, 131, 68, 18, 81,+ ]),+ jwk: {+ priv: 'oVBtkUxtZYx1J-Qzl91tTCX2pHl0M1pM0Dv-aYNEElE',+ kty: 'AKP',+ alg: 'ML-DSA-87',+ pub: 'krhDKKwbzBuHFm3ffxdhgsbkxz6yFa0UWLTNqBGkh1xVkkzCmFDvnSEV77aw_nxQh4pXqWdjVwVboe87EvaUFCA8dfW2nMTmUnXk01Etc9kXX4pfZ3wgWbsw-2dR6kwEOcVHMH2pw5O3jqYIkwdN8G8sqBdZa1_cS8osGfTIoACub2vMFiR6v2UhNPwOLxlthzCD_cPtPFYOd1UctouIvzu7Wn7PqO64U03-0BU5aLzkhlL5vvmjeG9E4dKDHZeZkkejaOHCIUDVXJH9KiDpX-BIuHfAcf2xmfbwMWeq5VJFuiT8HXz_GZQFoJ9pnbkZnnqRHvUzzT44mhc0AOGxacODsZfFcm6A43-wHPzZOD2IlL58bIE-8-slRuTpCkN8eDqkUzlQJ8xiHMeISwwz_xiCfxPvoF6JSw9SnvyjK-zB6htKRQ6zqwqpG4qs1b3ep24YC3aX316afQkViUaAM2Y0aWidNrpL2eKpR32x_dpV7PIZ15O1aPJSSzKlMWaAUu2qhqLEOPfHimZ2JUJypbGc-yfHDKf2qZZsW8AqRMD0_2sSvwdJE64cdEKDYK08g7752_ZHtny3gWVtX7ROEYy2PlDDuP2wqZkBHVMn_JYp27Awl2w8_-8AVWXBbswM_haID5rZWA0c_OgwICEp3Wfj5LE2r8Nqrow2gGzW5Nd24s6rFZuimIfLEKqCZK2b81AoYp34B2VYx9rgjVLueVxSYTEfmz0_VONaj6Q72GUTI4YCFBLFYdepVdxL_lt9kCtBgB1CTbisWXvL5_47EvnM-dyZVKY_F2x4kdhD33v4D_0_v35UX2KNQsiBwq4eUDBLcQ5mZdr5DssYBgtZYzgxEZSg8mW_ZuNzIWtH6waNRKGipeOfUv02ndb_jZeahpZdjWGe9LSHKgoDlAmYlRQS7f20iKUNUMPcKwOyCn-QAs_R9ihuJoUJFrQL33TszboZt5ulTc5l_2rfRgoWsHeOo8Wy-9hw7T_JTdvEArAwD89bSuwVCM1-TRwNGhzK-mRPhtHBTso6-HzXQI_0ERejovH5MdKoy9WHTQ4dI8HqOgxqpaP7wHP7B8a9Xc-y9jK9uTMtVIzCIi5cWohRUTU0_YD3g_MVz_WNMbLV1tMIEeqF4WjFuuB1Aa1oEbGh30fDn8ItsXQau8Gh1bOeCHq6er-eBQyy606ETr0QVm5JM4H_8m4_BjXRboTsK-_A3YoBgLAAcVV3ySS8ygnfYsQqgp6VyJbKhHaZYTbDmg8t9oGQ_-dLGTgvsmIKalQ4caHjJfYB9YGtRroLHH3G8-FxggWKNPvCmGkw1g325Evswt-xQJZhpxQbSkymx-9b8AgWNik_I3D_-1j8k625K2JTm-awN6EIUw9ul_FuqMu-xtqYkJY6ewt7-mhxxl0BmDOsjPZzceXapsgjexCFqb87ZwxyDzwlBFzQNh9POOEGC0prT-HvEEn56sWB5mEnczFgjSny4bHWEmci5SWw8WNS48NNIEAEeDHH0YsCBN7pLZeNjvwpfOcNkD_U_JEijuiYVIdXry41izyoh6dl_X-Yipof58ZNWbYJNmd3ZNr1LL9KHphUFj6fg6PfAzPC8TEJ1SvWyUuexhbL0b7HvUsEBkg88XGrHiqPSTNIzm6vy8PHD5vQpnkahDssSJsHMHqE4I4DBxXPCx5wEpWSfyloxalW1Wz9b6AFC8qs6SAFNFx8mKILWBym-I37JqE1MYj2t1UJpXNsEtDagaWjgyIgXuJ5XRhX4mkZ8oDGThrtFVwheQh3g4zBDjyLghNBYDIF-QwbMxfDWf8vF20-yr4Fg1xbJxvRhJJfYkIa5rrsuqKVUY_dFU-r7BWhE4cK1ajIhxPdsc9q1sJ83DUtsPWyvTHyFuaa8ZLmu7T0npHF4TOWjBqvTo7z6N2JzYKyNtiIdtQhWs4S4J4sF5DMGLgwUel8FN5Nd5AWkfETzof8pHJUJa9rQ_O3idU17ClJMiKS2sxE656Wi4VL-J0HADVELJxuOMXRyQCb4VUjqcHnJB-OZagdwB-AUb_9uJni1gEbBgDAJGVIaZbiAxUMf0j63_CI-Z2B91uyndBWkhewliPTmxbPd6inerS3amGKV2AijW6R5-Ijc-iBNrqAvu4lqcIlGO3TpG82WPV9Q07CC8Lr2VfLDty9a0Rei0LmBTZAHPaPS3_v8xT7vfb2l1rb4_LfzSh89QS9SCeRbmB4pBt1krEeTK1qguTAvTunHn-ypAWFUMfP2L2cXd6WgVHBtCY7CNbSX5a2r5QrmalCPoeMn1nD_QOEtKT08-hHxMiewnJzwVihuev3Dn7hsG8RT031UOWuBrSc2VWuyf_tVVM1vJliW8EV0zGRxPw0QuKDy9aC7cLQrmaF3OveT-gkFaH4M7mknF95QTnptx3HaWgMWsO6UcewAVcQ4sDOucUuIkuume4PMlfiYBrFyknrE4wJTww0U0xVkuoYl7Oydjqi32dF9OeHp8x1pjztUj8LBM8KkjZ-v0-FPIAiiKoXVFEmXgmC9WRz0SLknmXYh9DPv6lz_JCL4vwGLN2GqlcLLnw627PuBmLYEq4qDGF-VfVR3OiHchV9h-G29eTf8j6eI0wGbhm4znztNvzHLE5ZAIcssDmoJN2tTdbRPAHK7u09Wi9y5lzu6xKX3PPho5-Lvf0-4bbKOwdTY4F2ryX2VXf79kW09yUYwlmeYeb3_pFmWU1E9QNnUxwtqB69l3B411RaxlVVgTd_fByJ5Ys2WOVpUdRTHGv6UqQrGA85zpwTkV85qQiA0x3Vw5QbSbrd8gunTvaFEnZD7DsTcP5dqJ12AGv4OZVD3nvhz_tF2jhuohMZ0dHVyJ5GCWTQTTD_l8gAROZGeNEdVuG8veJlKrAgk3lIl4LZDUKUVIHX-aSuu1BVufVsqXc7spDlP8KE-oNSoX1-__zczGjnyYj2dCtY6QArgNYoO1GTi4RFGOkVDlvm8ROKozcN3S9AjPgGJqQQ2z8htEeXAOpnOtXeo1-EAbKSQnzy32aBwNbCdaL89o8qRothqECNvnN-Xa87MQm4WMlkto6R9EiAyzHEBQUSLiJXq4SegEvCCPI0nOX1OPVYDsNupjOe9cN4EaZCZNS88wLsWggQI5d6r3Oour88RxdR2U_L7z2S96hwU2aS3rIt9z8XtQOI0D6ayyP67j1iz1qpryTjCbZO4mNZQ2m5I_KiNmM8lA52ARp4PlI-3iJjOq6Rx74VtnXuDaodQ5UsWl61fba6Ujdp_R3UQ4bM417_f0idjI7gTZUdqi2j1tEuHH2xbwJcefymzOOtMzyi88rPZx6ZtnS2gmI7GY3vMeCwG-3aTES9bLmI_2mWC5ks-IvHsutVc3mQV90y3u4QFDO-XfjkVORzH-XjibQsc-B3gbWG4JC6e9B2YGWxv-irBhH3u61URvkTv3SsfoPYe-GXN82xXYt1',+ },+ },+};diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/ML-KEM_importKey.tentative.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/import_export/ML-KEM_importKey.https.any.htmlsimilarity index 54%rename from Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/ML-KEM_importKey.tentative.https.any.htmlrename to Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/import_export/ML-KEM_importKey.https.any.htmlindex 188ca12e821..28a836b2785 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/ML-KEM_importKey.tentative.https.any.html+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/import_export/ML-KEM_importKey.https.any.html@@ -9,10 +9,10 @@ self.GLOBAL = {isShadowRealm: function() { return false; },};</script>-<script src="../../resources/testharness.js"></script>-<script src="../../resources/testharnessreport.js"></script>-<script src="../util/helpers.js"></script>+<script src="../../../resources/testharness.js"></script>+<script src="../../../resources/testharnessreport.js"></script>+<script src="../../util/helpers.js"></script><script src="ML-KEM_importKey_fixtures.js"></script>-<script src="ML-KEM_importKey.js"></script>+<script src="ml_importKey.js"></script><div id=log></div>-<script src="../../WebCryptoAPI/import_export/ML-KEM_importKey.tentative.https.any.js"></script>+<script src="../../../WebCryptoAPI/modern-algos/import_export/ML-KEM_importKey.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/ML-KEM_importKey.tentative.https.any.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/import_export/ML-KEM_importKey.https.any.jssimilarity index 73%rename from Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/ML-KEM_importKey.tentative.https.any.jsrename to Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/import_export/ML-KEM_importKey.https.any.jsindex 8b459c17e2d..7766a2badb3 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/ML-KEM_importKey.tentative.https.any.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/import_export/ML-KEM_importKey.https.any.js@@ -1,8 +1,8 @@// META: title=WebCryptoAPI: importKey() for ML-KEM keys// META: timeout=long-// META: script=../util/helpers.js+// META: script=../../util/helpers.js// META: script=ML-KEM_importKey_fixtures.js-// META: script=ML-KEM_importKey.js+// META: script=ml_importKey.jsrunTests("ML-KEM-512");runTests("ML-KEM-768");diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/ML-KEM_importKey_fixtures.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/import_export/ML-KEM_importKey_fixtures.jssimilarity index 75%rename from Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/ML-KEM_importKey_fixtures.jsrename to Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/import_export/ML-KEM_importKey_fixtures.jsindex 1c25d37614e..3adec94ec41 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/ML-KEM_importKey_fixtures.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/import_export/ML-KEM_importKey_fixtures.js@@ -2,6 +2,8 @@ var keyData = {'ML-KEM-512': {privateUsages: ['decapsulateBits', 'decapsulateKey'],publicUsages: ['encapsulateBits', 'encapsulateKey'],+ publicFormats: ['spki', 'jwk', 'raw-public'],+ privateFormats: ['pkcs8', 'jwk', 'raw-seed'],pkcs8: new Uint8Array([48, 84, 2, 1, 0, 48, 11, 6, 9, 96, 134, 72, 1, 101, 3, 4, 4, 1, 4, 66,128, 64, 165, 38, 193, 164, 132, 122, 104, 173, 83, 214, 227, 31, 231,@@ -23,10 +25,18 @@ var keyData = {80, 130, 235, 161, 49, 141, 160, 11, 40, 152, 18, 142, 30, 56, 252, 129,211,]),+ jwk: {+ priv: 'pSbBpIR6aK1T1uMf57eY5GCMQRdTgwjN9cB64vRehm12PK3LGUu9kBYlozVOlblQguuhMY2gCyiYEo4eOPyB0w',+ kty: 'AKP',+ alg: 'ML-KEM-512',+ pub: 'NmgRwWK5Bbwb-FQJRnK_kDCVThmIH7wdYMRUaaUaIFQoZJQK5bJh0zEtyFpBboqtcZLG7tibd5wJQpNDnnkvmHZjC3QZl2iOLolHnjQPe7FuOPGP_EqSF0kziAZ7cHQ2UPgJVcVhQWYsqhdjAkEsTqyrUvOlclGMjxSOdNF0e9qVxWZRjvFzTudlmfKGdPsO9gmnKRYsHqbDm4mdVJOlRhpeZIUUwPRF3KrIUBul5CpUPVuUdPrM1Ola15ISYJU_mDI0ECKpElWtiAmRcOWxoiGd3tGWwPyorGqmJCabuEI7ZaqjIQoygXlWanvIxEVI75d2aroa4ZM1dgMJAiWM_Pcet7EEieafA7pdP1EQ6utJs9oYDXsngBZaOXiqc_hnm3KzKQUZIkiPA9BQgxN53RMG51ZC2HVHwoC7iaVQsDi4u9iFRZCplXWPZXQMcSpH_sBy4cEVDgW-AZweDpIW9rICT9xOHwwwmvWtNMmXmDZ0-vNN14kHGdBOP4N0-YIj1nwdkwIHskKfAnlDVcrA0Rx-EFixxcQiXDq-xeBc-gY6UdR6LDQeifp7BRwqTicqBYOCdYHJpIN2pweK70puM3Iy_kHIPhIazCBnJvOKl3YlYRsPR8BU12W3LJS4kOUfvXiNqIKrqXxFv7BxURULIfvN7myEBrc9OpivU_IfiOOy-5jA8RRxLGsWnppqQdINFuqvYtEn31obk2CVnESA7hnOERuM7EOdU-M8MsN0QSlmZJxAN3VavFBl6uOq8FJJvfydUvEWc3vPrnB2g_KmXuwtprObdlO9_1JWp2UnenFpOClD7QnMKtaiBmWOGZZV6dmIWrtY9_RZ01Gn_LORv8JoWQhAb2tMrRVtF9M1Jjx0jIO5jlSx9MgVzYte18YCMTCPY-J5Zuo3Q6o-LdLInnUq6cVugdQMjhJ_8SuXmsBYIHXN9FMKttWI6YKcLVYjHstsXiEP0kOx4fd4kZaKH-S3vCIl9CA5BiUXjxK108ooEpY9lTxH_yGCQRnEkve0HwWwHfvagpKsDDWzRIh4xAHRsY9_xcPO-JlXbUZ6_HA',+ },},'ML-KEM-768': {privateUsages: ['decapsulateBits', 'decapsulateKey'],publicUsages: ['encapsulateBits', 'encapsulateKey'],+ publicFormats: ['spki', 'jwk', 'raw-public'],+ privateFormats: ['pkcs8', 'jwk', 'raw-seed'],pkcs8: new Uint8Array([48, 84, 2, 1, 0, 48, 11, 6, 9, 96, 134, 72, 1, 101, 3, 4, 4, 2, 4, 66,128, 64, 166, 200, 29, 100, 198, 48, 80, 164, 143, 215, 2, 108, 106, 162,@@ -47,10 +57,18 @@ var keyData = {201, 9, 240, 170, 192, 86, 52, 228, 122, 16, 73, 139, 30, 11, 224, 117,143, 2, 124, 21, 63, 91, 210, 94, 160, 123, 99, 189, 172, 61, 235, 191,]),+ jwk: {+ priv: 'psgdZMYwUKSP1wJsaqLna2-PAg63_ZwRW9VLyHBZ8zfJCfCqwFY05HoQSYseC-B1jwJ8FT9b0l6ge2O9rD3rvw',+ kty: 'AKP',+ alg: 'ML-KEM-768',+ pub: '7lhoaxGSnpU0O6dvndAgrKiCDLwlHeMBR4ZatDw5lYwtPCIEI9CbmfqjX7kTAcoJsEKh-oityrERRVegtAmShCZFdzGGVjRh3Yh594KhKZfGPYyUnTq8eBETGfl0Gldu8BBimWuzEGhghoOHYPa0ygEfUQZhU8qZ8nA6TbiuNSdPJ8xdfxtgiEiCe3Z9SqhF3aerJoyuc2uAKbGPafrCd7rDsitzFPI1TVYaKWC1OblyKVu8PhWtEdx8VYRftaUJBwfKEnQSNvWLZTVEbTqgJQNwHLmQyMSktnjNKDmrF2C-TkKFOrenC4QAEGQvcrAuidpcuPNl8FVMDKUsIRY5aiQvEsdRxJcWZGJ6hUVzzseVrgBM0NFrIDkpe5Wga-hSZggbACIvWzISJgNkznp7oJM36FxeVbkHDXTNaLQ-PHR7pTwrpzUCmiecewGZ5ZIE6ooPaMC84vdxlqB-WKQV2gs_t1mO20NnZcCyqPkGNNtueOkGZlJORvhYBbqEhdKdtLF4b-oo-CBrHgAKRGVaAGoFEleSCJFusCsX_ajBKQkvNSdJXDJC82QGXbnKL1sK9QLOzTYV_xgZWMW3tRFYMMWSz5w000irtFDNcmJcUbkn0BGg-vdzceY46eOeg3JE2rh-9fVLzhZMq6UG8YyhBZMonEx-JalyninCurYWk1aEVic0n7cQ1MMPvnJyKolXubWNKFGiB7K1H2mG5TafRrJvCQlXfSoncaLHr9SGr2UQvyvGNMTGYcFIxnCp3lyU42a157x3OwINDcA39OLD0hJ7JhdeVGkeIQp9VRt1vaOUEEPFVXuXIPtBqMu-9gOfL3hNh2aixMCP6VS6gypYfYNNCTZ9O7pJ81sFfEJv4-yR5zBZ0IYi4saeeoUJQgmohBcm9IaUDoWAlVhbxKoV1SQ22juWvXas5flgyzVh-GV7bpVoH-SawqlAEnxE-vWWVXLMRXYuh_CByxYvFPVCYeS4GuKF9kpT7rWQ6gM-T-gV5zS62EQ7qrxZL7DOjkqXnqeaD7pMxWRKt4QFdYupnNgfI1wt8Mxjn_CzKOOBHZIdKooppSI2BOpmvyu1zcDJX1snbBNcLVtMdbBYJXOf1RXIEXWCAOKf1jNGLRyOazhlbOpmtBxRsqO5-Lq9odptmUO3FtQ23VqQ0nhFHeFO8yMpOAp2H3widhpFQbKbYKKrtfjGL_kXwxqlh4k1nAmCXzvKe7wzlyow1NgEx_e6MRkc_PIsekgytkAhsPSYc0t_AuEy5xyqN_m_JMbLJCwaFVtoPVoKPNRzFtM1YrNSrtAOg0MLMna5eJN9CotPh0MywwxzKfyvFnEr-FKMr9UgOExqrZWY1gFeDot5S9rJhErLrZWAI8cn2tUuOGMg1LozqOxJIOyHsAERJ4W7jJQ5dWosbzdsiSeXAauX4fB_VWbAxmxNhreT1mJAF5Owx1OLJGYTFsmKqSI4HsGvlVpwQcClh8ZIBmWiLwUstOO401BGBsh2lbyWUmRGQCgSymgMP6IuQ7hAnWAp7CyO92VWNfXMV3ynevpq4a8MzDsgXnFisMWx_7w1vsdnSvNfo8E',+ },},'ML-KEM-1024': {privateUsages: ['decapsulateBits', 'decapsulateKey'],publicUsages: ['encapsulateBits', 'encapsulateKey'],+ publicFormats: ['spki', 'jwk', 'raw-public'],+ privateFormats: ['pkcs8', 'jwk', 'raw-seed'],pkcs8: new Uint8Array([48, 84, 2, 1, 0, 48, 11, 6, 9, 96, 134, 72, 1, 101, 3, 4, 4, 3, 4, 66,128, 64, 152, 117, 178, 230, 181, 134, 244, 129, 167, 125, 166, 8, 181,@@ -72,5 +90,11 @@ var keyData = {251, 65, 39, 3, 101, 145, 174, 21, 195, 144, 234, 14, 158, 32, 49, 57,142, 113,]),+ jwk: {+ priv: 'mHWy5rWG9IGnfaYItV_O0ohw230GdnpTJvQ5zTJiOy7oQhGRzPyiuXR08hyEwftBJwNlka4Vw5DqDp4gMTmOcQ',+ kty: 'AKP',+ alg: 'ML-KEM-1024',+ pub: 'IUe4I2Yu3_Ix1zZYFhRrTaBXm9KI8sZbdfbBXtsk8yV5ZBa0HYip0qHDrSEniEVDDngDv9Nhibg-OKdEgFy2NEaVa4WbHQxsVrUO11sV5LZ3H4Ww7CNG_3Ye-4h-vRw0B8eYJSLFGouhMRs8Q4q0ZhVp1wI8fIOoM-cXxypf6Kw_hLZD2TCkA3dN8hxk_tC5o5aZ8bFw7UyFJhgjmcEvzaYV6VqzokdodPty1jWOmguRXmydfvE1RjUHodUFOIhSzwuH3BgYlVk2Xcp3IPyyjnSNLBwLKEg4LlANCUvENPY6EJNgp-toE9wqk9ao_0t5HPpaqDAU0frBe9MhAHuvH3DHWlukxSRy7rmqC2tra9XCbTxp9_QRrCEs8Aa956fFmjN_z_EAGEdS7QqIxfi414ECFAWcTpGmC4y-VHSUC3UUGjJW1eNHzLOrk6g0dgqNFwF2h9h56NKddiQ3S2JUSTmAaiQj5FKmswNW61Ie24Yo4qcQOGKg9ioKGPmPyZDJ5Xwgchh6vsqu7-cOWZiRd8xAjvCrf6oiDXEjs7i8faEZqJAkVmqbfqyy4CW5astIffZYnBxsckuqHylk6VyrE8GalasJ65aY2ft0femcNJh5xSTBsmTHJtyj2hU1FcyNndgrLbdpcQobXdmyX0i3nsN6HXwKv_iAV6B6jCaTJVgLINwr0PW9XHaKLXKSw9QgmGc47qzCjiiEBZVrzxKz0ohDzlcGCvRapgDGakg1nBW54eRbuJi7kRynkSAaK2FKkuJ60Exw5PgGpBRRrFGI_KVbKMw7GkvOP6c3F0obH0iuk1TOsim92KJIixrOK2KECCrMODGAtDOVlxQxhDG57UGAp2KeGIwzhknHMCO081UV4Iy9dPctfVs6DlUwjHiMb9c5deJX7vwSVHxXqSUL52N-QNpBMXEX3TlsHafGewhSQhk3SfRNVxLAqqpWxyRxAKMKKsBEFDi1LsQGlQdF_RwjtNHMBOwJEeSy3lSAiLmInLVQ9-xUYXWZJmyY8jCwU4OUrSg3v0ge0cAtglA3UwAX5DU4i2AOT8YPkuR3DseMsirFEEOc2pI7tCpy4YxdRyqY9XWRNYTCI2UAtAdIKaaslRMEhnZpI8VYBqUehNCvkPIY8GxuA_o3XlopD8g8gBlqqqqxqYNdrQVLiWjCZyajXOBwL8uWiMOSQWcmHztxlRJ3TjqDZSYlZ2RZzBWGy7O1bXsSPAcu64EyWPFYgWEHAwGUAOodl5F95acdk0C1ogE3aBSz-SGqWddCZUUE1YlZ8etr-Dt8_9y4IUaixqxDZcZcU0ZiaDBNiKQWkIl3yIvKF3YwUdgXeyBg3jkUDDyTE2vLFYtzH-Vl6aOBNJTHaKESEUFyo4FW6qkwU5bNuXJed6ygiLZES6MKXGkHZzxt0xN_-1GWMcwa5Rxfq7V6KSh64sWSmEyXtXBnhesfUuMXfMFXFNzCanuIhIdabku6uPutNSOuRgW-5aajfVV_Bbtgx9eibpZHfYw42eqcJUdtsZEYgRUkzVgYxtFn6WyhQqhDeXGry4lUJrMGUWmmr5yGvbW8u1GFS7LITjODYvms1kKtRpEdNCIJICwlyQwhn_eVsYc-OWMG71iNeqELTgRj1olWgJpXenFMe0K8ctyMnSNY6LQOd-tTtUx8cQnKmxA5ThtrhYtS8JS0iDmUUcikf8aJxxZs7hh9HQp9jttI4PsBo8dKdMRHJQLEW1cY8nGG21C1nRzKKeet8hNA2va3T-xznbdzkEJ1FNae1fMWhZUO1pRAGUfB_ARPnAeNRRFn-XmLCwtKtRy_GrpHsmhlVZdvioJVZGoB9JusQamo7PhciUmTbpx69rc55nF7EKjOyHFaH3O5GCmulSLJK0fKpTG2d0KWlKDK13IK4PMvVpd0kegv-VSyF3as7QwEuVQrdJJOHZi5MZMsF4vISwgGdcN5JBdFdCXAvgmOqlpR0Li6HCUoD0GXs7KPZwCADLk1lynACrq_HodeXadFvpORW0ok07UF58Swb-SbdatO2dQjfwWB0dC2a9JINjSS6WGfrIKrOriqP-5wjVKdo5w1493fQtp3aXqOEio',+ },},};diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/ML-DSA_importKey.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/import_export/ml_importKey.jssimilarity index 95%rename from Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/ML-DSA_importKey.jsrename to Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/import_export/ml_importKey.jsindex d9257ac6982..545cec51b59 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/ML-DSA_importKey.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/import_export/ml_importKey.js@@ -1,5 +1,6 @@var subtle = crypto.subtle;+// Shared ML-DSA and ML-KEM import/export tests.function runTests(algorithmName) {var algorithm = { name: algorithmName };var data = keyData[algorithmName];@@ -10,7 +11,7 @@ function runTests(algorithmName) {[true, false].forEach(function (extractable) {// Test public keys firstallValidUsages(data.publicUsages, true).forEach(function (usages) {- ['spki', 'jwk', 'raw-public'].forEach(function (format) {+ data.publicFormats.forEach(function (format) {if (format === 'jwk') {// Not all fields used for public keystestFormat(@@ -36,7 +37,7 @@ function runTests(algorithmName) {// Next, test private keysallValidUsages(data.privateUsages).forEach(function (usages) {- ['pkcs8', 'jwk', 'raw-seed'].forEach(function (format) {+ data.privateFormats.forEach(function (format) {testFormat(format, algorithm, data, algorithmName, usages, extractable);});});diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/raw_format_aliases.tentative.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/import_export/raw_format_aliases.https.any.htmlsimilarity index 55%rename from Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/raw_format_aliases.tentative.https.any.htmlrename to Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/import_export/raw_format_aliases.https.any.htmlindex 64e0d704257..72b5ad2ae9c 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/raw_format_aliases.tentative.https.any.html+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/import_export/raw_format_aliases.https.any.html@@ -9,8 +9,8 @@ self.GLOBAL = {isShadowRealm: function() { return false; },};</script>-<script src="../../resources/testharness.js"></script>-<script src="../../resources/testharnessreport.js"></script>-<script src="../util/helpers.js"></script>+<script src="../../../resources/testharness.js"></script>+<script src="../../../resources/testharnessreport.js"></script>+<script src="../../util/helpers.js"></script><div id=log></div>-<script src="../../WebCryptoAPI/import_export/raw_format_aliases.tentative.https.any.js"></script>+<script src="../../../WebCryptoAPI/modern-algos/import_export/raw_format_aliases.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/raw_format_aliases.tentative.https.any.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/import_export/raw_format_aliases.https.any.jssimilarity index 99%rename from Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/raw_format_aliases.tentative.https.any.jsrename to Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/import_export/raw_format_aliases.https.any.jsindex 646ae1b0de7..e09526e75d3 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/import_export/raw_format_aliases.tentative.https.any.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/import_export/raw_format_aliases.https.any.js@@ -1,6 +1,6 @@// META: title=WebCryptoAPI: raw-secret and raw-public importKey() format aliases// META: timeout=long-// META: script=../util/helpers.js+// META: script=../../util/helpers.js// For all existing symmetric algorithms in WebCrypto, "raw-secret" acts as an// alias of "raw". For all existing asymmetric algorithms in WebCrypto,diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/serialization/aes-ocb.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/serialization/aes-ocb.https.any.htmlnew file mode 100644index 00000000000..4c47d731284--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/serialization/aes-ocb.https.any.html@@ -0,0 +1,16 @@+<!doctype html>+<meta charset=utf-8>+<title>WebCryptoAPI: CryptoKey serialization</title>+<script>+self.GLOBAL = {+ isWindow: function() { return true; },+ isWorker: function() { return false; },+ isShadowRealm: function() { return false; },+};+</script>+<script src="../../../resources/testharness.js"></script>+<script src="../../../resources/testharnessreport.js"></script>+<script src="../../util/helpers.js"></script>+<script src="../../serialization/serialization.js"></script>+<div id=log></div>+<script src="../../../WebCryptoAPI/modern-algos/serialization/aes-ocb.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/serialization/aes-ocb.tentative.https.any.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/serialization/aes-ocb.https.any.jssimilarity index 70%rename from Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/serialization/aes-ocb.tentative.https.any.jsrename to Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/serialization/aes-ocb.https.any.jsindex 33b814410c3..1d63ea9ef8e 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/serialization/aes-ocb.tentative.https.any.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/serialization/aes-ocb.https.any.js@@ -1,6 +1,6 @@// META: title=WebCryptoAPI: CryptoKey serialization-// META: script=../util/helpers.js-// META: script=serialization.js+// META: script=../../util/helpers.js+// META: script=../../serialization/serialization.jsrun_test([{name: 'AES-OCB',diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/serialization/chacha20-poly1305.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/serialization/chacha20-poly1305.https.any.htmlnew file mode 100644index 00000000000..1d39d71931f--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/serialization/chacha20-poly1305.https.any.html@@ -0,0 +1,16 @@+<!doctype html>+<meta charset=utf-8>+<title>WebCryptoAPI: CryptoKey serialization</title>+<script>+self.GLOBAL = {+ isWindow: function() { return true; },+ isWorker: function() { return false; },+ isShadowRealm: function() { return false; },+};+</script>+<script src="../../../resources/testharness.js"></script>+<script src="../../../resources/testharnessreport.js"></script>+<script src="../../util/helpers.js"></script>+<script src="../../serialization/serialization.js"></script>+<div id=log></div>+<script src="../../../WebCryptoAPI/modern-algos/serialization/chacha20-poly1305.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/serialization/chacha20-poly1305.tentative.https.any.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/serialization/chacha20-poly1305.https.any.jssimilarity index 71%rename from Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/serialization/chacha20-poly1305.tentative.https.any.jsrename to Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/serialization/chacha20-poly1305.https.any.jsindex aaaa24a0b66..6b2357f51ce 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/serialization/chacha20-poly1305.tentative.https.any.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/serialization/chacha20-poly1305.https.any.js@@ -1,6 +1,6 @@// META: title=WebCryptoAPI: CryptoKey serialization-// META: script=../util/helpers.js-// META: script=serialization.js+// META: script=../../util/helpers.js+// META: script=../../serialization/serialization.jsrun_test([{name: 'ChaCha20-Poly1305',diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/serialization/kmac.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/serialization/kmac.https.any.htmlnew file mode 100644index 00000000000..0c229fe2608--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/serialization/kmac.https.any.html@@ -0,0 +1,16 @@+<!doctype html>+<meta charset=utf-8>+<title>WebCryptoAPI: CryptoKey serialization</title>+<script>+self.GLOBAL = {+ isWindow: function() { return true; },+ isWorker: function() { return false; },+ isShadowRealm: function() { return false; },+};+</script>+<script src="../../../resources/testharness.js"></script>+<script src="../../../resources/testharnessreport.js"></script>+<script src="../../util/helpers.js"></script>+<script src="../../serialization/serialization.js"></script>+<div id=log></div>+<script src="../../../WebCryptoAPI/modern-algos/serialization/kmac.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/serialization/kmac.tentative.https.any.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/serialization/kmac.https.any.jssimilarity index 77%rename from Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/serialization/kmac.tentative.https.any.jsrename to Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/serialization/kmac.https.any.jsindex 645d16bec77..80913886e38 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/serialization/kmac.tentative.https.any.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/serialization/kmac.https.any.js@@ -1,6 +1,6 @@// META: title=WebCryptoAPI: CryptoKey serialization-// META: script=../util/helpers.js-// META: script=serialization.js+// META: script=../../util/helpers.js+// META: script=../../serialization/serialization.jsrun_test([{name: 'KMAC128',diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/serialization/mldsa.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/serialization/mldsa.https.any.htmlnew file mode 100644index 00000000000..216c20f4ab2--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/serialization/mldsa.https.any.html@@ -0,0 +1,16 @@+<!doctype html>+<meta charset=utf-8>+<title>WebCryptoAPI: CryptoKey serialization</title>+<script>+self.GLOBAL = {+ isWindow: function() { return true; },+ isWorker: function() { return false; },+ isShadowRealm: function() { return false; },+};+</script>+<script src="../../../resources/testharness.js"></script>+<script src="../../../resources/testharnessreport.js"></script>+<script src="../../util/helpers.js"></script>+<script src="../../serialization/serialization.js"></script>+<div id=log></div>+<script src="../../../WebCryptoAPI/modern-algos/serialization/mldsa.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/serialization/mldsa.tentative.https.any.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/serialization/mldsa.https.any.jssimilarity index 85%rename from Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/serialization/mldsa.tentative.https.any.jsrename to Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/serialization/mldsa.https.any.jsindex 3f61248b3d9..7e0c076496c 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/serialization/mldsa.tentative.https.any.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/serialization/mldsa.https.any.js@@ -1,6 +1,6 @@// META: title=WebCryptoAPI: CryptoKey serialization-// META: script=../util/helpers.js-// META: script=serialization.js+// META: script=../../util/helpers.js+// META: script=../../serialization/serialization.jsrun_test([{diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/serialization/mlkem.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/serialization/mlkem.https.any.htmlnew file mode 100644index 00000000000..b0e92fc03b7--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/serialization/mlkem.https.any.html@@ -0,0 +1,16 @@+<!doctype html>+<meta charset=utf-8>+<title>WebCryptoAPI: CryptoKey serialization</title>+<script>+self.GLOBAL = {+ isWindow: function() { return true; },+ isWorker: function() { return false; },+ isShadowRealm: function() { return false; },+};+</script>+<script src="../../../resources/testharness.js"></script>+<script src="../../../resources/testharnessreport.js"></script>+<script src="../../util/helpers.js"></script>+<script src="../../serialization/serialization.js"></script>+<div id=log></div>+<script src="../../../WebCryptoAPI/modern-algos/serialization/mlkem.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/serialization/mlkem.tentative.https.any.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/serialization/mlkem.https.any.jssimilarity index 89%rename from Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/serialization/mlkem.tentative.https.any.jsrename to Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/serialization/mlkem.https.any.jsindex 62a210f0cda..7437d96f112 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/serialization/mlkem.tentative.https.any.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/serialization/mlkem.https.any.js@@ -1,6 +1,6 @@// META: title=WebCryptoAPI: CryptoKey serialization-// META: script=../util/helpers.js-// META: script=serialization.js+// META: script=../../util/helpers.js+// META: script=../../serialization/serialization.jsrun_test([{name: 'ML-KEM-512',diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/kmac.tentative.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/sign_verify/kmac.https.any.htmlsimilarity index 56%rename from Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/kmac.tentative.https.any.htmlrename to Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/sign_verify/kmac.https.any.htmlindex 7b37f0556de..e4993ac2cbd 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/kmac.tentative.https.any.html+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/sign_verify/kmac.https.any.html@@ -9,10 +9,11 @@ self.GLOBAL = {isShadowRealm: function() { return false; },};</script>-<script src="../../resources/testharness.js"></script>-<script src="../../resources/testharnessreport.js"></script>-<script src="../util/helpers.js"></script>+<script src="../../../resources/testharness.js"></script>+<script src="../../../resources/testharnessreport.js"></script>+<script src="../../util/helpers.js"></script><script src="kmac_vectors.js"></script>+<script src="../../sign_verify/mac.js"></script><script src="kmac.js"></script><div id=log></div>-<script src="../../WebCryptoAPI/sign_verify/kmac.tentative.https.any.js"></script>+<script src="../../../WebCryptoAPI/modern-algos/sign_verify/kmac.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/kmac.tentative.https.any.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/sign_verify/kmac.https.any.jssimilarity index 65%rename from Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/kmac.tentative.https.any.jsrename to Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/sign_verify/kmac.https.any.jsindex 3d34c575213..db28d0cff5e 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/kmac.tentative.https.any.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/sign_verify/kmac.https.any.js@@ -1,6 +1,7 @@// META: title=WebCryptoAPI: sign() and verify() Using KMAC-// META: script=../util/helpers.js+// META: script=../../util/helpers.js// META: script=kmac_vectors.js+// META: script=../../sign_verify/mac.js// META: script=kmac.js// META: timeout=longdiff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/sign_verify/kmac.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/sign_verify/kmac.jsnew file mode 100644index 00000000000..ac30a5559d8--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/sign_verify/kmac.js@@ -0,0 +1,25 @@+function run_test() {+ function operationAlgorithm(vector) {+ var algorithm = {+ name: vector.algorithm,+ outputLength: vector.outputLength+ };+ if (vector.customization !== undefined) {+ algorithm.customization = vector.customization;+ }+ return algorithm;+ }++ runMacTests({+ importFormat: "raw-secret",+ importAlgorithm: function(vector) {+ return {name: vector.algorithm};+ },+ operationAlgorithm: operationAlgorithm,+ wrongVerificationAlgorithm: function(vector) {+ var algorithm = operationAlgorithm(vector);+ algorithm.outputLength = vector.outputLength === 256 ? 512 : 256;+ return algorithm;+ }+ });+}diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/kmac_vectors.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/sign_verify/kmac_vectors.jssimilarity index 100%rename from Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/kmac_vectors.jsrename to Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/sign_verify/kmac_vectors.jsdiff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/mldsa.tentative.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/sign_verify/mldsa.https.any.htmlsimilarity index 51%rename from Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/mldsa.tentative.https.any.htmlrename to Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/sign_verify/mldsa.https.any.htmlindex 4b3b1a8c51c..f050c8b5899 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/mldsa.tentative.https.any.html+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/sign_verify/mldsa.https.any.html@@ -9,10 +9,12 @@ self.GLOBAL = {isShadowRealm: function() { return false; },};</script>-<script src="../../resources/testharness.js"></script>-<script src="../../resources/testharnessreport.js"></script>-<script src="../util/helpers.js"></script>+<script src="../../../resources/testharness.js"></script>+<script src="../../../resources/testharnessreport.js"></script>+<script src="../../util/helpers.js"></script>+<script src="../util/mldsa_key_fixtures.js"></script><script src="mldsa_vectors.js"></script>+<script src="../../sign_verify/signature.js"></script><script src="mldsa.js"></script><div id=log></div>-<script src="../../WebCryptoAPI/sign_verify/mldsa.tentative.https.any.js"></script>+<script src="../../../WebCryptoAPI/modern-algos/sign_verify/mldsa.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/mldsa.tentative.https.any.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/sign_verify/mldsa.https.any.jssimilarity index 54%rename from Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/mldsa.tentative.https.any.jsrename to Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/sign_verify/mldsa.https.any.jsindex be336b34984..db071762f90 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/mldsa.tentative.https.any.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/sign_verify/mldsa.https.any.js@@ -1,6 +1,8 @@// META: title=WebCryptoAPI: sign() and verify() Using ML-DSA-// META: script=../util/helpers.js+// META: script=../../util/helpers.js+// META: script=../util/mldsa_key_fixtures.js// META: script=mldsa_vectors.js+// META: script=../../sign_verify/signature.js// META: script=mldsa.js// META: timeout=longdiff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/sign_verify/mldsa.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/sign_verify/mldsa.jsnew file mode 100644index 00000000000..a2a4ef27604--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/sign_verify/mldsa.js@@ -0,0 +1,10 @@+function run_test() {+ runSignatureTests({+ vectors: getTestVectors(),+ invalidVectors: getInvalidTestVectors(),+ algorithmIdentifier(vector) {+ return vector.algorithmName;+ },+ dataLabel: 'plaintext',+ });+}diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/mldsa_vectors.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/sign_verify/mldsa_vectors.jssimilarity index 63%rename from Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/mldsa_vectors.jsrename to Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/sign_verify/mldsa_vectors.jsindex a035821b7e3..021060a1f35 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/mldsa_vectors.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/sign_verify/mldsa_vectors.js@@ -1,393 +1,4 @@-// PKCS#8 private keys for ML-DSA variants-var pkcs8 = {- 'ML-DSA-44': new Uint8Array([- 48, 52, 2, 1, 0, 48, 11, 6, 9, 96, 134, 72, 1, 101, 3, 4, 3, 17, 4, 34, 128,- 32, 153, 21, 95, 99, 48, 150, 218, 124, 190, 8, 122, 137, 72, 184, 79, 118,- 123, 16, 249, 1, 200, 35, 194, 64, 177, 221, 43, 200, 112, 5, 201, 62,- ]),- 'ML-DSA-65': new Uint8Array([- 48, 52, 2, 1, 0, 48, 11, 6, 9, 96, 134, 72, 1, 101, 3, 4, 3, 18, 4, 34, 128,- 32, 132, 164, 137, 75, 123, 70, 164, 178, 3, 156, 206, 16, 195, 26, 133,- 186, 176, 195, 102, 48, 254, 35, 29, 66, 103, 17, 67, 152, 38, 7, 130, 139,- ]),- 'ML-DSA-87': new Uint8Array([- 48, 52, 2, 1, 0, 48, 11, 6, 9, 96, 134, 72, 1, 101, 3, 4, 3, 19, 4, 34, 128,- 32, 161, 80, 109, 145, 76, 109, 101, 140, 117, 39, 228, 51, 151, 221, 109,- 76, 37, 246, 164, 121, 116, 51, 90, 76, 208, 59, 254, 105, 131, 68, 18, 81,- ]),-};--// SPKI public keys for ML-DSA variants-var spki = {- 'ML-DSA-44': new Uint8Array([- 48, 130, 5, 50, 48, 11, 6, 9, 96, 134, 72, 1, 101, 3, 4, 3, 17, 3, 130, 5,- 33, 0, 85, 152, 213, 68, 198, 20, 177, 84, 200, 188, 33, 104, 36, 161, 193,- 127, 226, 151, 48, 107, 122, 191, 89, 86, 188, 3, 245, 199, 18, 79, 168,- 192, 218, 218, 223, 227, 84, 133, 41, 187, 9, 183, 14, 222, 155, 137, 84,- 111, 138, 97, 234, 152, 52, 15, 163, 47, 227, 218, 19, 20, 229, 93, 99, 252,- 155, 213, 30, 241, 158, 211, 213, 191, 155, 73, 211, 145, 59, 194, 75, 140,- 3, 161, 149, 139, 48, 172, 155, 172, 120, 234, 142, 79, 78, 116, 215, 184,- 50, 182, 162, 192, 93, 221, 179, 216, 70, 186, 92, 93, 51, 190, 61, 173,- 105, 206, 9, 208, 52, 54, 208, 252, 115, 176, 146, 118, 23, 0, 5, 41, 151,- 121, 241, 246, 193, 206, 212, 160, 181, 7, 99, 220, 78, 96, 123, 142, 35,- 107, 37, 218, 138, 139, 228, 207, 166, 132, 87, 36, 116, 251, 174, 10, 41,- 196, 171, 26, 212, 90, 213, 223, 141, 87, 232, 59, 46, 173, 16, 247, 173, 4,- 219, 165, 234, 8, 217, 233, 163, 13, 10, 160, 22, 87, 232, 2, 9, 92, 177,- 35, 67, 55, 104, 51, 204, 231, 81, 209, 62, 31, 117, 56, 141, 78, 109, 148,- 118, 191, 93, 193, 59, 30, 88, 237, 19, 169, 14, 11, 150, 102, 215, 144, 69,- 246, 32, 159, 110, 49, 75, 78, 225, 121, 184, 206, 234, 126, 171, 164, 43,- 237, 244, 63, 83, 70, 136, 213, 244, 121, 184, 34, 201, 249, 95, 64, 165,- 99, 14, 195, 231, 18, 121, 20, 156, 80, 231, 133, 197, 0, 94, 195, 22, 251,- 255, 174, 213, 103, 75, 88, 58, 138, 66, 37, 85, 162, 15, 242, 29, 49, 147,- 191, 163, 170, 109, 195, 22, 63, 197, 149, 117, 100, 36, 81, 115, 203, 126,- 62, 86, 103, 193, 182, 69, 238, 233, 162, 62, 248, 132, 158, 212, 208, 187,- 127, 212, 198, 169, 245, 26, 153, 28, 207, 85, 65, 145, 200, 23, 196, 38,- 64, 49, 54, 233, 185, 72, 156, 86, 230, 127, 152, 108, 184, 240, 109, 8,- 103, 228, 206, 142, 73, 74, 214, 52, 182, 203, 82, 201, 175, 188, 111, 42,- 232, 8, 177, 131, 47, 237, 92, 120, 210, 124, 48, 185, 215, 137, 36, 70,- 162, 164, 119, 0, 155, 20, 57, 33, 27, 220, 77, 254, 233, 190, 106, 135, 21,- 194, 57, 238, 95, 162, 78, 164, 33, 210, 215, 43, 100, 96, 232, 87, 19, 43,- 65, 240, 183, 17, 131, 247, 97, 241, 7, 111, 159, 40, 252, 45, 228, 76, 71,- 46, 85, 181, 54, 41, 135, 162, 144, 227, 128, 121, 173, 207, 119, 54, 19,- 197, 23, 231, 176, 125, 190, 32, 76, 60, 34, 24, 160, 42, 73, 190, 124, 99,- 5, 9, 214, 6, 220, 177, 206, 79, 222, 10, 142, 250, 63, 179, 67, 21, 159,- 57, 126, 239, 28, 238, 240, 107, 79, 185, 174, 232, 168, 146, 128, 229, 119,- 19, 21, 33, 239, 193, 42, 178, 152, 124, 24, 203, 131, 193, 93, 162, 2, 208,- 231, 20, 203, 232, 47, 54, 114, 255, 236, 97, 99, 156, 15, 160, 75, 60, 111,- 59, 35, 25, 230, 43, 91, 170, 161, 74, 70, 179, 180, 251, 71, 197, 240, 104,- 42, 39, 202, 206, 12, 115, 249, 138, 55, 252, 216, 61, 185, 121, 76, 137,- 172, 166, 88, 92, 130, 18, 52, 67, 13, 187, 49, 147, 212, 77, 74, 56, 59,- 123, 99, 205, 36, 137, 96, 111, 148, 121, 157, 2, 83, 246, 86, 156, 152, 98,- 172, 77, 244, 214, 225, 184, 240, 121, 144, 56, 213, 161, 43, 67, 4, 161,- 104, 202, 91, 134, 247, 108, 24, 46, 187, 63, 216, 50, 125, 120, 17, 216,- 22, 228, 156, 253, 7, 180, 15, 130, 180, 72, 71, 169, 3, 236, 247, 11, 170,- 32, 76, 236, 225, 133, 250, 20, 235, 200, 143, 89, 25, 158, 49, 158, 164,- 213, 221, 81, 120, 241, 150, 210, 19, 79, 165, 24, 35, 170, 182, 242, 255,- 143, 171, 148, 140, 41, 207, 186, 98, 224, 16, 152, 224, 38, 110, 175, 169,- 111, 132, 201, 178, 114, 25, 196, 50, 149, 158, 193, 180, 101, 183, 92, 109,- 131, 102, 119, 123, 78, 107, 223, 4, 1, 206, 140, 130, 237, 205, 36, 18,- 180, 197, 154, 26, 236, 140, 173, 230, 101, 35, 189, 121, 104, 21, 75, 81,- 224, 186, 212, 81, 107, 66, 244, 235, 64, 90, 206, 39, 44, 43, 162, 187, 63,- 229, 217, 154, 185, 157, 24, 125, 252, 91, 136, 59, 47, 182, 200, 73, 19,- 137, 132, 81, 16, 234, 227, 210, 32, 16, 160, 188, 250, 27, 190, 164, 53,- 244, 219, 199, 177, 146, 117, 50, 99, 72, 235, 37, 154, 72, 51, 203, 61, 39,- 230, 34, 132, 117, 217, 167, 201, 42, 17, 76, 72, 103, 172, 93, 169, 29, 76,- 88, 178, 226, 32, 53, 190, 60, 210, 132, 113, 198, 26, 70, 179, 47, 34, 184,- 88, 178, 208, 1, 196, 89, 136, 167, 33, 38, 9, 255, 89, 202, 27, 93, 229,- 100, 192, 24, 234, 200, 186, 125, 231, 212, 188, 11, 29, 51, 189, 70, 147,- 176, 231, 81, 16, 114, 152, 159, 21, 124, 185, 208, 50, 74, 211, 113, 207,- 35, 54, 173, 205, 133, 52, 167, 199, 87, 158, 120, 33, 204, 163, 146, 233,- 21, 61, 28, 102, 48, 232, 184, 15, 219, 238, 240, 215, 222, 239, 3, 110,- 180, 95, 103, 147, 236, 10, 57, 195, 159, 231, 50, 92, 145, 165, 44, 204,- 121, 187, 9, 210, 80, 86, 251, 169, 132, 236, 248, 23, 207, 222, 227, 13,- 53, 1, 88, 69, 105, 13, 238, 202, 251, 194, 245, 14, 38, 1, 245, 157, 212,- 162, 182, 217, 230, 115, 139, 175, 219, 199, 74, 124, 186, 158, 3, 220, 87,- 220, 177, 85, 13, 58, 168, 223, 6, 238, 156, 80, 121, 44, 166, 176, 0, 48,- 98, 70, 93, 78, 50, 192, 16, 186, 2, 233, 105, 105, 120, 195, 17, 100, 141,- 214, 158, 144, 63, 4, 88, 190, 101, 209, 55, 119, 46, 128, 117, 225, 121,- 204, 195, 19, 61, 170, 116, 251, 225, 230, 28, 27, 249, 84, 195, 224, 190,- 60, 212, 83, 3, 148, 204, 4, 103, 50, 233, 175, 207, 47, 51, 216, 79, 251,- 150, 81, 171, 7, 145, 55, 188, 187, 217, 200, 155, 246, 85, 42, 123, 18,- 112, 192, 116, 163, 40, 187, 132, 192, 210, 188, 106, 117, 217, 185, 183,- 202, 33, 11, 205, 10, 61, 52, 15, 66, 131, 121, 112, 26, 96, 166, 241, 1,- 68, 206, 80, 92, 132, 83, 89, 126, 135, 157, 4, 202, 16, 5, 131, 112, 62,- 56, 234, 176, 213, 119, 205, 203, 17, 106, 156, 117, 251, 135, 21, 73, 219,- 238, 3, 88, 21, 71, 136, 118, 0, 7, 106, 151, 200, 221, 179, 206, 50, 198,- 27, 118, 181, 27, 85, 35, 248, 44, 57, 15, 221, 97, 121, 4, 167, 111, 182,- 207, 195, 52, 134, 195, 128, 173, 111, 98, 152, 29, 138, 197, 175, 171, 247,- 194, 20, 134, 209, 232, 94, 17, 203, 139, 30, 237, 187, 243, 16, 180, 43,- 105, 236, 66, 175, 170, 139, 24, 99, 28, 225, 141, 96, 250, 119, 0, 111,- 212, 34, 217, 42, 134, 88, 78, 76, 126, 169, 168, 59, 154, 93, 54, 43, 161,- 29, 111, 124, 59, 225, 52, 86, 147, 38, 151, 161, 36, 119, 204, 164, 121,- 46, 186, 65, 84, 70, 38, 15, 203, 48, 168, 235, 231, 30, 55, 95, 36, 10, 20,- 166, 109, 8, 18, 109, 251, 213, 82, 142, 240, 49, 249, 180, 78, 69,- ]),- 'ML-DSA-65': new Uint8Array([- 48, 130, 7, 178, 48, 11, 6, 9, 96, 134, 72, 1, 101, 3, 4, 3, 18, 3, 130, 7,- 161, 0, 216, 177, 233, 60, 151, 24, 246, 66, 175, 161, 192, 118, 9, 177, 87,- 232, 5, 216, 49, 254, 251, 160, 51, 216, 250, 171, 229, 104, 149, 117, 135,- 107, 5, 239, 244, 167, 83, 57, 49, 153, 29, 135, 108, 138, 117, 236, 120,- 65, 89, 65, 17, 201, 127, 147, 246, 103, 238, 204, 25, 83, 240, 29, 173,- 127, 140, 1, 88, 40, 43, 134, 51, 19, 125, 131, 224, 50, 167, 82, 20, 217,- 215, 162, 41, 95, 215, 56, 130, 226, 177, 216, 20, 169, 133, 85, 140, 9,- 105, 172, 54, 121, 0, 87, 202, 18, 93, 96, 147, 103, 127, 164, 63, 197, 97,- 49, 230, 125, 53, 80, 64, 20, 239, 29, 90, 118, 102, 221, 177, 6, 220, 220,- 170, 107, 107, 18, 138, 125, 138, 70, 66, 60, 185, 232, 209, 4, 100, 17,- 118, 24, 181, 110, 241, 50, 250, 138, 209, 19, 84, 220, 61, 96, 80, 128, 81,- 101, 160, 9, 5, 53, 33, 112, 60, 59, 195, 79, 115, 190, 101, 93, 56, 171,- 146, 51, 82, 233, 66, 225, 226, 211, 72, 58, 9, 74, 222, 185, 175, 211, 156,- 164, 68, 188, 119, 46, 14, 64, 160, 13, 207, 60, 81, 68, 108, 148, 59, 88,- 88, 92, 88, 171, 249, 204, 160, 137, 222, 234, 168, 233, 3, 86, 224, 174,- 105, 224, 1, 177, 184, 230, 236, 30, 85, 249, 56, 105, 211, 50, 83, 168,- 139, 28, 175, 181, 22, 89, 166, 215, 152, 218, 184, 111, 65, 24, 82, 71,- 185, 100, 172, 66, 178, 6, 215, 164, 252, 56, 40, 198, 207, 152, 110, 186,- 207, 39, 235, 179, 38, 215, 88, 105, 109, 177, 130, 91, 5, 223, 164, 78,- 241, 176, 125, 197, 94, 100, 40, 214, 251, 239, 253, 88, 154, 14, 75, 254,- 94, 210, 86, 244, 51, 95, 168, 139, 213, 73, 87, 151, 209, 150, 126, 88, 69,- 251, 116, 157, 122, 96, 212, 206, 42, 218, 38, 85, 184, 50, 246, 188, 35,- 72, 60, 226, 155, 246, 86, 209, 110, 133, 161, 129, 126, 80, 154, 238, 64,- 64, 170, 156, 177, 225, 52, 87, 42, 88, 154, 174, 246, 30, 84, 143, 221, 51,- 27, 65, 60, 40, 22, 120, 42, 145, 34, 82, 235, 79, 20, 215, 211, 231, 151,- 108, 119, 53, 116, 190, 13, 139, 199, 189, 84, 54, 186, 222, 90, 116, 253,- 227, 207, 104, 209, 118, 42, 144, 94, 22, 219, 198, 211, 216, 171, 75, 245,- 61, 240, 157, 108, 81, 19, 238, 39, 120, 210, 242, 63, 126, 6, 15, 18, 97,- 232, 207, 184, 84, 239, 72, 115, 90, 95, 112, 78, 45, 201, 13, 102, 208,- 151, 146, 253, 153, 177, 115, 14, 194, 184, 107, 118, 120, 63, 105, 89, 144,- 60, 242, 80, 106, 32, 11, 204, 170, 165, 221, 182, 31, 187, 159, 216, 118,- 218, 207, 182, 107, 136, 211, 162, 231, 196, 128, 83, 251, 192, 189, 149, 1,- 245, 36, 146, 159, 11, 116, 30, 191, 141, 182, 157, 227, 91, 88, 72, 224,- 55, 195, 96, 245, 135, 249, 142, 16, 229, 237, 27, 60, 2, 91, 138, 82, 197,- 210, 40, 8, 123, 172, 202, 207, 119, 199, 190, 102, 40, 141, 174, 93, 211,- 219, 134, 105, 26, 103, 100, 102, 62, 130, 224, 135, 173, 82, 224, 200, 213,- 76, 211, 38, 181, 16, 97, 99, 75, 14, 42, 162, 223, 237, 141, 1, 29, 140,- 191, 146, 49, 236, 179, 88, 202, 220, 124, 239, 231, 131, 101, 134, 111, 28,- 54, 151, 172, 67, 167, 113, 96, 204, 63, 76, 169, 95, 14, 175, 149, 189,- 173, 39, 177, 102, 23, 158, 102, 236, 224, 70, 203, 190, 132, 230, 136, 3,- 28, 201, 131, 148, 164, 219, 181, 208, 26, 239, 111, 86, 35, 102, 133, 114,- 113, 180, 184, 82, 180, 106, 124, 248, 126, 87, 177, 165, 176, 204, 128,- 141, 179, 141, 34, 119, 160, 57, 206, 168, 95, 197, 110, 79, 60, 48, 170,- 125, 206, 147, 137, 156, 85, 46, 7, 193, 228, 150, 22, 46, 147, 51, 153,- 157, 248, 151, 253, 114, 58, 126, 38, 127, 19, 225, 99, 183, 235, 175, 90,- 166, 8, 233, 141, 10, 85, 232, 147, 7, 20, 137, 240, 84, 231, 86, 134, 50,- 212, 201, 6, 253, 18, 150, 114, 160, 140, 2, 254, 189, 152, 14, 68, 110, 50,- 134, 199, 73, 237, 56, 116, 110, 135, 36, 40, 14, 167, 50, 71, 81, 9, 178,- 54, 182, 247, 64, 32, 204, 116, 92, 131, 40, 30, 246, 188, 236, 182, 187,- 132, 239, 124, 136, 238, 146, 137, 247, 87, 52, 15, 78, 108, 135, 178, 101,- 70, 199, 193, 192, 144, 196, 106, 186, 141, 42, 101, 214, 196, 67, 175, 38,- 8, 189, 148, 166, 253, 221, 144, 119, 81, 1, 232, 175, 81, 237, 13, 188,- 220, 230, 47, 115, 184, 179, 0, 51, 118, 39, 22, 114, 232, 88, 15, 121, 216,- 130, 107, 173, 108, 175, 225, 113, 40, 223, 185, 6, 244, 227, 73, 38, 64,- 84, 10, 200, 53, 81, 179, 217, 106, 172, 59, 161, 70, 180, 70, 48, 56, 46,- 233, 133, 245, 57, 120, 154, 167, 49, 109, 188, 152, 245, 181, 1, 159, 247,- 44, 167, 152, 6, 191, 246, 38, 120, 141, 57, 241, 168, 60, 38, 6, 82, 248,- 87, 85, 0, 10, 22, 19, 44, 178, 63, 38, 78, 1, 210, 166, 140, 3, 199, 112,- 135, 155, 36, 13, 204, 124, 47, 5, 190, 103, 91, 205, 147, 248, 115, 177,- 196, 180, 234, 85, 35, 24, 182, 16, 207, 107, 167, 10, 54, 193, 146, 71, 95,- 45, 109, 184, 43, 101, 155, 184, 55, 171, 196, 136, 89, 227, 84, 183, 31, 0,- 137, 230, 146, 250, 6, 27, 225, 241, 11, 95, 124, 248, 133, 171, 149, 67,- 73, 19, 110, 104, 173, 86, 6, 246, 195, 196, 200, 175, 53, 18, 198, 223,- 140, 85, 208, 253, 204, 220, 255, 232, 88, 238, 20, 97, 24, 52, 13, 3, 179,- 62, 151, 101, 67, 33, 79, 253, 157, 253, 233, 197, 109, 130, 78, 11, 165,- 214, 200, 41, 157, 63, 46, 175, 251, 246, 225, 227, 199, 92, 107, 216, 58,- 124, 226, 202, 153, 92, 31, 250, 182, 92, 99, 0, 110, 18, 78, 228, 166, 190,- 67, 88, 245, 155, 139, 82, 152, 39, 204, 74, 140, 95, 82, 82, 160, 147, 144,- 33, 0, 242, 200, 22, 102, 160, 233, 102, 224, 42, 205, 240, 56, 95, 197,- 226, 175, 235, 240, 125, 10, 51, 12, 246, 150, 234, 173, 95, 132, 173, 174,- 1, 161, 23, 39, 52, 168, 87, 54, 4, 66, 201, 34, 155, 82, 133, 170, 76, 52,- 226, 109, 163, 19, 34, 184, 226, 39, 20, 75, 72, 201, 70, 188, 71, 182, 230,- 6, 19, 255, 8, 145, 193, 63, 81, 150, 24, 72, 89, 168, 74, 98, 173, 133, 67,- 227, 44, 252, 252, 227, 192, 125, 20, 227, 144, 24, 31, 48, 67, 67, 48, 94,- 163, 52, 219, 163, 225, 214, 214, 109, 211, 122, 213, 198, 90, 204, 40, 97,- 211, 121, 17, 28, 132, 246, 110, 230, 51, 197, 42, 162, 143, 199, 158, 215,- 210, 133, 60, 65, 127, 1, 153, 193, 22, 171, 250, 114, 204, 246, 255, 126,- 25, 96, 44, 164, 102, 172, 211, 23, 245, 122, 48, 221, 249, 138, 148, 134,- 206, 135, 246, 42, 235, 198, 89, 189, 45, 125, 204, 69, 193, 48, 29, 144,- 125, 224, 127, 66, 1, 134, 141, 224, 211, 193, 141, 69, 128, 75, 167, 244,- 160, 120, 54, 191, 214, 29, 40, 249, 15, 46, 68, 141, 91, 242, 91, 80, 252,- 109, 122, 154, 64, 153, 56, 65, 254, 106, 18, 4, 172, 171, 136, 80, 98, 79,- 133, 255, 4, 100, 191, 144, 171, 219, 46, 132, 181, 130, 228, 107, 68, 32,- 123, 201, 17, 67, 35, 144, 180, 160, 30, 125, 9, 55, 184, 172, 0, 159, 250,- 232, 83, 168, 162, 102, 158, 121, 208, 177, 116, 163, 160, 80, 241, 46, 156,- 58, 203, 240, 67, 176, 244, 170, 160, 115, 122, 141, 154, 101, 218, 178,- 119, 130, 195, 32, 207, 51, 149, 98, 51, 219, 57, 121, 216, 156, 101, 218,- 184, 220, 204, 41, 181, 149, 63, 80, 194, 11, 143, 164, 219, 23, 123, 141,- 119, 43, 94, 78, 175, 89, 165, 48, 167, 44, 45, 219, 197, 15, 202, 118, 116,- 245, 151, 218, 14, 199, 96, 27, 102, 206, 198, 123, 222, 178, 210, 20, 200,- 38, 25, 124, 58, 102, 92, 197, 107, 51, 5, 236, 125, 173, 198, 113, 144,- 108, 177, 22, 104, 223, 165, 39, 9, 84, 87, 124, 80, 153, 8, 212, 76, 2, 28,- 12, 90, 212, 129, 148, 212, 229, 63, 29, 200, 113, 171, 154, 107, 189, 202,- 22, 147, 7, 32, 253, 70, 37, 224, 98, 199, 129, 21, 54, 49, 52, 124, 84, 40,- 190, 194, 108, 73, 26, 15, 124, 87, 87, 198, 217, 122, 127, 82, 167, 131,- 59, 8, 172, 49, 162, 61, 64, 79, 196, 205, 65, 110, 75, 130, 128, 197, 182,- 251, 110, 141, 197, 184, 166, 244, 246, 217, 20, 105, 85, 42, 80, 251, 77,- 59, 204, 247, 179, 218, 181, 124, 209, 4, 28, 118, 234, 145, 237, 140, 106,- 54, 88, 82, 28, 235, 68, 221, 109, 139, 11, 166, 182, 63, 142, 194, 255,- 213, 219, 116, 158, 31, 224, 119, 126, 232, 160, 144, 1, 177, 92, 219, 162,- 49, 181, 116, 163, 104, 245, 193, 188, 26, 172, 15, 190, 135, 207, 106, 246,- 13, 132, 76, 189, 160, 25, 123, 26, 20, 48, 203, 59, 209, 69, 235, 103, 253,- 160, 108, 83, 206, 70, 98, 0, 2, 57, 162, 202, 63, 45, 89, 173, 201, 254,- 254, 253, 143, 21, 77, 131, 184, 234, 37, 68, 206, 69, 186, 179, 145, 147,- 135, 42, 137, 152, 253, 213, 240, 13, 122, 161, 218, 186, 180, 213, 162,- 150, 231, 63, 112, 182, 233, 86, 12, 225, 195, 133, 37, 28, 22, 147, 201,- 200, 197, 115, 3, 138, 194, 86, 79, 247, 27, 241, 149, 128, 197, 8, 11, 134,- 53, 118, 175, 248, 253, 114, 91, 31, 192, 253, 209, 111, 31, 228, 244, 184,- 179, 146, 145, 167, 137, 155, 184, 218, 38, 62, 187, 22, 181, 193, 93, 16,- 9, 195, 42, 198, 225, 100, 144, 148, 223, 184, 40, 117, 32, 131, 94, 93, 83,- 88, 125, 95, 220, 20, 206, 7, 228, 78, 54, 238, 178, 196, 38, 245, 95, 8,- 235, 106, 17, 175, 142, 193, 60, 179, 53, 244, 92, 147, 244, 218, 95, 127,- 251, 128, 42, 105, 82, 243, 224, 213, 25, 91, 151, 22, 201, 18, 25, 230,- 165, 85, 25, 249, 170, 160, 171, 210, 209, 32, 154, 124, 245, 60, 30, 255,- 138, 154, 29, 85, 156, 232, 177, 78, 14, 137, 52, 215, 247, 26, 211, 115,- 72, 20, 133, 232, 1, 151, 251, 63, 45, 120, 69, 49, 209, 130, 255, 2, 218,- 21, 251, 16, 86, 30, 62, 136, 92, 149, 60, 6, 125, 129, 145, 235, 102, 190,- 144, 248, 1, 53, 135, 21, 158, 44, 158, 230, 246, 172, 249, 161, 105, 204,- 49, 60, 70, 63, 127, 163, 231, 175, 174, 234, 147, 185, 62, 5, 244, 156, 4,- 31, 39, 156, 176, 154, 251, 166, 143, 212, 43, 30, 97, 50, 37, 176, 155, 77,- 149, 102,- ]),- 'ML-DSA-87': new Uint8Array([- 48, 130, 10, 50, 48, 11, 6, 9, 96, 134, 72, 1, 101, 3, 4, 3, 19, 3, 130, 10,- 33, 0, 146, 184, 67, 40, 172, 27, 204, 27, 135, 22, 109, 223, 127, 23, 97,- 130, 198, 228, 199, 62, 178, 21, 173, 20, 88, 180, 205, 168, 17, 164, 135,- 92, 85, 146, 76, 194, 152, 80, 239, 157, 33, 21, 239, 182, 176, 254, 124,- 80, 135, 138, 87, 169, 103, 99, 87, 5, 91, 161, 239, 59, 18, 246, 148, 20,- 32, 60, 117, 245, 182, 156, 196, 230, 82, 117, 228, 211, 81, 45, 115, 217,- 23, 95, 138, 95, 103, 124, 32, 89, 187, 48, 251, 103, 81, 234, 76, 4, 57,- 197, 71, 48, 125, 169, 195, 147, 183, 142, 166, 8, 147, 7, 77, 240, 111, 44,- 168, 23, 89, 107, 95, 220, 75, 202, 44, 25, 244, 200, 160, 0, 174, 111, 107,- 204, 22, 36, 122, 191, 101, 33, 52, 252, 14, 47, 25, 109, 135, 48, 131, 253,- 195, 237, 60, 86, 14, 119, 85, 28, 182, 139, 136, 191, 59, 187, 90, 126,- 207, 168, 238, 184, 83, 77, 254, 208, 21, 57, 104, 188, 228, 134, 82, 249,- 190, 249, 163, 120, 111, 68, 225, 210, 131, 29, 151, 153, 146, 71, 163, 104,- 225, 194, 33, 64, 213, 92, 145, 253, 42, 32, 233, 95, 224, 72, 184, 119,- 192, 113, 253, 177, 153, 246, 240, 49, 103, 170, 229, 82, 69, 186, 36, 252,- 29, 124, 255, 25, 148, 5, 160, 159, 105, 157, 185, 25, 158, 122, 145, 30,- 245, 51, 205, 62, 56, 154, 23, 52, 0, 225, 177, 105, 195, 131, 177, 151,- 197, 114, 110, 128, 227, 127, 176, 28, 252, 217, 56, 61, 136, 148, 190, 124,- 108, 129, 62, 243, 235, 37, 70, 228, 233, 10, 67, 124, 120, 58, 164, 83, 57,- 80, 39, 204, 98, 28, 199, 136, 75, 12, 51, 255, 24, 130, 127, 19, 239, 160,- 94, 137, 75, 15, 82, 158, 252, 163, 43, 236, 193, 234, 27, 74, 69, 14, 179,- 171, 10, 169, 27, 138, 172, 213, 189, 222, 167, 110, 24, 11, 118, 151, 223,- 94, 154, 125, 9, 21, 137, 70, 128, 51, 102, 52, 105, 104, 157, 54, 186, 75,- 217, 226, 169, 71, 125, 177, 253, 218, 85, 236, 242, 25, 215, 147, 181, 104,- 242, 82, 75, 50, 165, 49, 102, 128, 82, 237, 170, 134, 162, 196, 56, 247,- 199, 138, 102, 118, 37, 66, 114, 165, 177, 156, 251, 39, 199, 12, 167, 246,- 169, 150, 108, 91, 192, 42, 68, 192, 244, 255, 107, 18, 191, 7, 73, 19, 174,- 28, 116, 66, 131, 96, 173, 60, 131, 190, 249, 219, 246, 71, 182, 124, 183,- 129, 101, 109, 95, 180, 78, 17, 140, 182, 62, 80, 195, 184, 253, 176, 169,- 153, 1, 29, 83, 39, 252, 150, 41, 219, 176, 48, 151, 108, 60, 255, 239, 0,- 85, 101, 193, 110, 204, 12, 254, 22, 136, 15, 154, 217, 88, 13, 28, 252,- 232, 48, 32, 33, 41, 221, 103, 227, 228, 177, 54, 175, 195, 106, 174, 140,- 54, 128, 108, 214, 228, 215, 118, 226, 206, 171, 21, 155, 162, 152, 135,- 203, 16, 170, 130, 100, 173, 155, 243, 80, 40, 98, 157, 248, 7, 101, 88,- 199, 218, 224, 141, 82, 238, 121, 92, 82, 97, 49, 31, 155, 61, 63, 84, 227,- 90, 143, 164, 59, 216, 101, 19, 35, 134, 2, 20, 18, 197, 97, 215, 169, 85,- 220, 75, 254, 91, 125, 144, 43, 65, 128, 29, 66, 77, 184, 172, 89, 123, 203,- 231, 254, 59, 18, 249, 204, 249, 220, 153, 84, 166, 63, 23, 108, 120, 145,- 216, 67, 223, 123, 248, 15, 253, 63, 191, 126, 84, 95, 98, 141, 66, 200,- 129, 194, 174, 30, 80, 48, 75, 113, 14, 102, 101, 218, 249, 14, 203, 24, 6,- 11, 89, 99, 56, 49, 17, 148, 160, 242, 101, 191, 102, 227, 115, 33, 107, 71,- 235, 6, 141, 68, 161, 162, 165, 227, 159, 82, 253, 54, 157, 214, 255, 141,- 151, 154, 134, 150, 93, 141, 97, 158, 244, 180, 135, 42, 10, 3, 148, 9, 152,- 149, 20, 18, 237, 253, 180, 136, 165, 13, 80, 195, 220, 43, 3, 178, 10, 127,- 144, 2, 207, 209, 246, 40, 110, 38, 133, 9, 22, 180, 11, 223, 116, 236, 205,- 186, 25, 183, 155, 165, 77, 206, 101, 255, 106, 223, 70, 10, 22, 176, 119,- 142, 163, 197, 178, 251, 216, 112, 237, 63, 201, 77, 219, 196, 2, 176, 48,- 15, 207, 91, 74, 236, 21, 8, 205, 126, 77, 28, 13, 26, 28, 202, 250, 100,- 79, 134, 209, 193, 78, 202, 58, 248, 124, 215, 64, 143, 244, 17, 23, 163,- 162, 241, 249, 49, 210, 168, 203, 213, 135, 77, 14, 29, 35, 193, 234, 58,- 12, 106, 165, 163, 251, 192, 115, 251, 7, 198, 189, 93, 207, 178, 246, 50,- 189, 185, 51, 45, 84, 140, 194, 34, 46, 92, 90, 136, 81, 81, 53, 52, 253,- 128, 247, 131, 243, 21, 207, 245, 141, 49, 178, 213, 214, 211, 8, 17, 234,- 133, 225, 104, 197, 186, 224, 117, 1, 173, 104, 17, 177, 161, 223, 71, 195,- 159, 194, 45, 177, 116, 26, 187, 193, 161, 213, 179, 158, 8, 122, 186, 122,- 191, 158, 5, 12, 178, 235, 78, 132, 78, 189, 16, 86, 110, 73, 51, 129, 255,- 242, 110, 63, 6, 53, 209, 110, 132, 236, 43, 239, 192, 221, 138, 1, 128,- 176, 0, 113, 85, 119, 201, 36, 188, 202, 9, 223, 98, 196, 42, 130, 158, 149,- 200, 150, 202, 132, 118, 153, 97, 54, 195, 154, 15, 45, 246, 129, 144, 255,- 231, 75, 25, 56, 47, 178, 98, 10, 106, 84, 56, 113, 161, 227, 37, 246, 1,- 245, 129, 173, 70, 186, 11, 28, 125, 198, 243, 225, 113, 130, 5, 138, 52,- 251, 194, 152, 105, 48, 214, 13, 246, 228, 75, 236, 194, 223, 177, 64, 150,- 97, 167, 20, 27, 74, 76, 166, 199, 239, 91, 240, 8, 22, 54, 41, 63, 35, 112,- 255, 251, 88, 252, 147, 173, 185, 43, 98, 83, 155, 230, 176, 55, 161, 8, 83,- 15, 110, 151, 241, 110, 168, 203, 190, 198, 218, 152, 144, 150, 58, 123, 11,- 123, 250, 104, 113, 198, 93, 1, 152, 51, 172, 140, 246, 115, 113, 229, 218,- 166, 200, 35, 123, 16, 133, 169, 191, 59, 103, 12, 114, 15, 60, 37, 4, 92,- 208, 54, 31, 79, 56, 225, 6, 11, 74, 107, 79, 225, 239, 16, 73, 249, 234,- 197, 129, 230, 97, 39, 115, 49, 96, 141, 41, 242, 225, 177, 214, 18, 103,- 34, 229, 37, 176, 241, 99, 82, 227, 195, 77, 32, 64, 4, 120, 49, 199, 209,- 139, 2, 4, 222, 233, 45, 151, 141, 142, 252, 41, 124, 231, 13, 144, 63, 212,- 252, 145, 34, 142, 232, 152, 84, 135, 87, 175, 46, 53, 139, 60, 168, 135,- 167, 101, 253, 127, 152, 138, 154, 31, 231, 198, 77, 89, 182, 9, 54, 103,- 119, 100, 218, 245, 44, 191, 74, 30, 152, 84, 22, 62, 159, 131, 163, 223, 3,- 51, 194, 241, 49, 9, 213, 43, 214, 201, 75, 158, 198, 22, 203, 209, 190,- 199, 189, 75, 4, 6, 72, 60, 241, 113, 171, 30, 42, 143, 73, 51, 72, 206,- 110, 175, 203, 195, 199, 15, 155, 208, 166, 121, 26, 132, 59, 44, 72, 155,- 7, 48, 122, 132, 224, 142, 3, 7, 21, 207, 11, 30, 112, 18, 149, 146, 127,- 41, 104, 197, 169, 86, 213, 108, 253, 111, 160, 5, 11, 202, 172, 233, 32, 5,- 52, 92, 124, 152, 162, 11, 88, 28, 166, 248, 141, 251, 38, 161, 53, 49, 136,- 246, 183, 85, 9, 165, 115, 108, 18, 208, 218, 129, 165, 163, 131, 34, 32,- 94, 226, 121, 93, 24, 87, 226, 105, 25, 242, 128, 198, 78, 26, 237, 21, 92,- 33, 121, 8, 119, 131, 140, 193, 14, 60, 139, 130, 19, 65, 96, 50, 5, 249,- 12, 27, 51, 23, 195, 89, 255, 47, 23, 109, 62, 202, 190, 5, 131, 92, 91, 39,- 27, 209, 132, 146, 95, 98, 66, 26, 230, 186, 236, 186, 162, 149, 81, 143,- 221, 21, 79, 171, 236, 21, 161, 19, 135, 10, 213, 168, 200, 135, 19, 221,- 177, 207, 106, 214, 194, 124, 220, 53, 45, 176, 245, 178, 189, 49, 242, 22,- 230, 154, 241, 146, 230, 187, 180, 244, 158, 145, 197, 225, 51, 150, 140,- 26, 175, 78, 142, 243, 232, 221, 137, 205, 130, 178, 54, 216, 136, 118, 212,- 33, 90, 206, 18, 224, 158, 44, 23, 144, 204, 24, 184, 48, 81, 233, 124, 20,- 222, 77, 119, 144, 22, 145, 241, 19, 206, 135, 252, 164, 114, 84, 37, 175,- 107, 67, 243, 183, 137, 213, 53, 236, 41, 73, 50, 34, 146, 218, 204, 68,- 235, 158, 150, 139, 133, 75, 248, 157, 7, 0, 53, 68, 44, 156, 110, 56, 197,- 209, 201, 0, 155, 225, 85, 35, 169, 193, 231, 36, 31, 142, 101, 168, 29,- 192, 31, 128, 81, 191, 253, 184, 153, 226, 214, 1, 27, 6, 0, 192, 36, 101,- 72, 105, 150, 226, 3, 21, 12, 127, 72, 250, 223, 240, 136, 249, 157, 129,- 247, 91, 178, 157, 208, 86, 146, 23, 176, 150, 35, 211, 155, 22, 207, 119,- 168, 167, 122, 180, 183, 106, 97, 138, 87, 96, 34, 141, 110, 145, 231, 226,- 35, 115, 232, 129, 54, 186, 128, 190, 238, 37, 169, 194, 37, 24, 237, 211,- 164, 111, 54, 88, 245, 125, 67, 78, 194, 11, 194, 235, 217, 87, 203, 14,- 220, 189, 107, 68, 94, 139, 66, 230, 5, 54, 64, 28, 246, 143, 75, 127, 239,- 243, 20, 251, 189, 246, 246, 151, 90, 219, 227, 242, 223, 205, 40, 124, 245,- 4, 189, 72, 39, 145, 110, 96, 120, 164, 27, 117, 146, 177, 30, 76, 173, 106,- 130, 228, 192, 189, 59, 167, 30, 127, 178, 164, 5, 133, 80, 199, 207, 216,- 189, 156, 93, 222, 150, 129, 81, 193, 180, 38, 59, 8, 214, 210, 95, 150,- 182, 175, 148, 43, 153, 169, 66, 62, 135, 140, 159, 89, 195, 253, 3, 132,- 180, 164, 244, 243, 232, 71, 196, 200, 158, 194, 114, 115, 193, 88, 161,- 185, 235, 247, 14, 126, 225, 176, 111, 17, 79, 77, 245, 80, 229, 174, 6,- 180, 156, 217, 85, 174, 201, 255, 237, 85, 83, 53, 188, 153, 98, 91, 193,- 21, 211, 49, 145, 196, 252, 52, 66, 226, 131, 203, 214, 130, 237, 194, 208,- 174, 102, 133, 220, 235, 222, 79, 232, 36, 21, 161, 248, 51, 185, 164, 156,- 95, 121, 65, 57, 233, 183, 29, 199, 105, 104, 12, 90, 195, 186, 81, 199,- 176, 1, 87, 16, 226, 192, 206, 185, 197, 46, 34, 75, 174, 153, 238, 15, 50,- 87, 226, 96, 26, 197, 202, 73, 235, 19, 140, 9, 79, 12, 52, 83, 76, 85, 146,- 234, 24, 151, 179, 178, 118, 58, 162, 223, 103, 69, 244, 231, 135, 167, 204,- 117, 166, 60, 237, 82, 63, 11, 4, 207, 10, 146, 54, 126, 191, 79, 133, 60,- 128, 34, 136, 170, 23, 84, 81, 38, 94, 9, 130, 245, 100, 115, 209, 34, 228,- 158, 101, 216, 135, 208, 207, 191, 169, 115, 252, 144, 139, 226, 252, 6, 44,- 221, 134, 170, 87, 11, 46, 124, 58, 219, 179, 238, 6, 98, 216, 18, 174, 42,- 12, 97, 126, 85, 245, 81, 220, 232, 135, 114, 21, 125, 135, 225, 182, 245,- 228, 223, 242, 62, 158, 35, 76, 6, 110, 25, 184, 206, 124, 237, 54, 252,- 199, 44, 78, 89, 0, 135, 44, 176, 57, 168, 36, 221, 173, 77, 214, 209, 60,- 1, 202, 238, 237, 61, 90, 47, 114, 230, 92, 238, 235, 18, 151, 220, 243,- 225, 163, 159, 139, 189, 253, 62, 225, 182, 202, 59, 7, 83, 99, 129, 118,- 175, 37, 246, 85, 119, 251, 246, 69, 180, 247, 37, 24, 194, 89, 158, 97,- 230, 247, 254, 145, 102, 89, 77, 68, 245, 3, 103, 83, 28, 45, 168, 30, 189,- 151, 112, 120, 215, 84, 90, 198, 85, 85, 129, 55, 127, 124, 28, 137, 229,- 139, 54, 88, 229, 105, 81, 212, 83, 28, 107, 250, 82, 164, 43, 24, 15, 57,- 206, 156, 19, 145, 95, 57, 169, 8, 128, 211, 29, 213, 195, 148, 27, 73, 186,- 221, 242, 11, 167, 78, 246, 133, 18, 118, 67, 236, 59, 19, 112, 254, 93,- 168, 157, 118, 0, 107, 248, 57, 149, 67, 222, 123, 225, 207, 251, 69, 218,- 56, 110, 162, 19, 25, 209, 209, 213, 200, 158, 70, 9, 100, 208, 77, 48, 255,- 151, 200, 0, 68, 230, 70, 120, 209, 29, 86, 225, 188, 189, 226, 101, 42,- 176, 32, 147, 121, 72, 151, 130, 217, 13, 66, 148, 84, 129, 215, 249, 164,- 174, 187, 80, 85, 185, 245, 108, 169, 119, 59, 178, 144, 229, 63, 194, 132,- 250, 131, 82, 161, 125, 126, 255, 252, 220, 204, 104, 231, 201, 136, 246,- 116, 43, 88, 233, 0, 43, 128, 214, 40, 59, 81, 147, 139, 132, 69, 24, 233,- 21, 14, 91, 230, 241, 19, 138, 163, 55, 13, 221, 47, 64, 140, 248, 6, 38,- 164, 16, 219, 63, 33, 180, 71, 151, 0, 234, 103, 58, 213, 222, 163, 95, 132,- 1, 178, 146, 66, 124, 242, 223, 102, 129, 192, 214, 194, 117, 162, 252, 246,- 143, 42, 70, 139, 97, 168, 64, 141, 190, 115, 126, 93, 175, 59, 49, 9, 184,- 88, 201, 100, 182, 142, 145, 244, 72, 128, 203, 49, 196, 5, 5, 18, 46, 34,- 87, 171, 132, 158, 128, 75, 194, 8, 242, 52, 156, 229, 245, 56, 245, 88, 14,- 195, 110, 166, 51, 158, 245, 195, 120, 17, 166, 66, 100, 212, 188, 243, 2,- 236, 90, 8, 16, 35, 151, 122, 175, 115, 168, 186, 191, 60, 71, 23, 81, 217,- 79, 203, 239, 61, 146, 247, 168, 112, 83, 102, 146, 222, 178, 45, 247, 63,- 23, 181, 3, 136, 208, 62, 154, 203, 35, 250, 238, 61, 98, 207, 90, 169, 175,- 36, 227, 9, 182, 78, 226, 99, 89, 67, 105, 185, 35, 242, 162, 54, 99, 60,- 148, 14, 118, 1, 26, 120, 62, 82, 62, 222, 34, 99, 58, 174, 145, 199, 190,- 21, 182, 117, 238, 13, 170, 29, 67, 149, 44, 90, 94, 181, 125, 182, 186, 82,- 55, 105, 253, 29, 212, 67, 134, 204, 227, 94, 255, 127, 72, 157, 140, 142,- 224, 77, 149, 29, 170, 45, 163, 214, 209, 46, 28, 125, 177, 111, 2, 92, 121,- 252, 166, 204, 227, 173, 51, 60, 162, 243, 202, 207, 103, 30, 153, 182, 116,- 182, 130, 98, 59, 25, 141, 239, 49, 224, 176, 27, 237, 218, 76, 68, 189,- 108, 185, 136, 255, 105, 150, 11, 153, 44, 248, 139, 199, 178, 235, 85, 115,- 121, 144, 87, 221, 50, 222, 238, 16, 20, 51, 190, 93, 248, 228, 84, 228,- 115, 31, 229, 227, 137, 180, 44, 115, 224, 119, 129, 181, 134, 224, 144,- 186, 123, 208, 118, 96, 101, 177, 191, 232, 171, 6, 17, 247, 187, 173, 84,- 70, 249, 19, 191, 116, 172, 126, 131, 216, 123, 225, 151, 55, 205, 177, 93,- 139, 117,- ]),-};+var { pkcs8, spki } = getMldsaKeyFixtures();// Test message to sign (same for all variants)var data = new Uint8Array([diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/util/mldsa_key_fixtures.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/util/mldsa_key_fixtures.jsnew file mode 100644index 00000000000..7b5170cdfea--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/modern-algos/util/mldsa_key_fixtures.js@@ -0,0 +1,394 @@+function getMldsaKeyFixtures() {+ // PKCS#8 private keys for ML-DSA variants+ const pkcs8 = {+ 'ML-DSA-44': new Uint8Array([+ 48, 52, 2, 1, 0, 48, 11, 6, 9, 96, 134, 72, 1, 101, 3, 4, 3, 17, 4, 34, 128,+ 32, 153, 21, 95, 99, 48, 150, 218, 124, 190, 8, 122, 137, 72, 184, 79, 118,+ 123, 16, 249, 1, 200, 35, 194, 64, 177, 221, 43, 200, 112, 5, 201, 62,+ ]),+ 'ML-DSA-65': new Uint8Array([+ 48, 52, 2, 1, 0, 48, 11, 6, 9, 96, 134, 72, 1, 101, 3, 4, 3, 18, 4, 34, 128,+ 32, 132, 164, 137, 75, 123, 70, 164, 178, 3, 156, 206, 16, 195, 26, 133,+ 186, 176, 195, 102, 48, 254, 35, 29, 66, 103, 17, 67, 152, 38, 7, 130, 139,+ ]),+ 'ML-DSA-87': new Uint8Array([+ 48, 52, 2, 1, 0, 48, 11, 6, 9, 96, 134, 72, 1, 101, 3, 4, 3, 19, 4, 34, 128,+ 32, 161, 80, 109, 145, 76, 109, 101, 140, 117, 39, 228, 51, 151, 221, 109,+ 76, 37, 246, 164, 121, 116, 51, 90, 76, 208, 59, 254, 105, 131, 68, 18, 81,+ ]),+ };++ // SPKI public keys for ML-DSA variants+ const spki = {+ 'ML-DSA-44': new Uint8Array([+ 48, 130, 5, 50, 48, 11, 6, 9, 96, 134, 72, 1, 101, 3, 4, 3, 17, 3, 130, 5,+ 33, 0, 85, 152, 213, 68, 198, 20, 177, 84, 200, 188, 33, 104, 36, 161, 193,+ 127, 226, 151, 48, 107, 122, 191, 89, 86, 188, 3, 245, 199, 18, 79, 168,+ 192, 218, 218, 223, 227, 84, 133, 41, 187, 9, 183, 14, 222, 155, 137, 84,+ 111, 138, 97, 234, 152, 52, 15, 163, 47, 227, 218, 19, 20, 229, 93, 99, 252,+ 155, 213, 30, 241, 158, 211, 213, 191, 155, 73, 211, 145, 59, 194, 75, 140,+ 3, 161, 149, 139, 48, 172, 155, 172, 120, 234, 142, 79, 78, 116, 215, 184,+ 50, 182, 162, 192, 93, 221, 179, 216, 70, 186, 92, 93, 51, 190, 61, 173,+ 105, 206, 9, 208, 52, 54, 208, 252, 115, 176, 146, 118, 23, 0, 5, 41, 151,+ 121, 241, 246, 193, 206, 212, 160, 181, 7, 99, 220, 78, 96, 123, 142, 35,+ 107, 37, 218, 138, 139, 228, 207, 166, 132, 87, 36, 116, 251, 174, 10, 41,+ 196, 171, 26, 212, 90, 213, 223, 141, 87, 232, 59, 46, 173, 16, 247, 173, 4,+ 219, 165, 234, 8, 217, 233, 163, 13, 10, 160, 22, 87, 232, 2, 9, 92, 177,+ 35, 67, 55, 104, 51, 204, 231, 81, 209, 62, 31, 117, 56, 141, 78, 109, 148,+ 118, 191, 93, 193, 59, 30, 88, 237, 19, 169, 14, 11, 150, 102, 215, 144, 69,+ 246, 32, 159, 110, 49, 75, 78, 225, 121, 184, 206, 234, 126, 171, 164, 43,+ 237, 244, 63, 83, 70, 136, 213, 244, 121, 184, 34, 201, 249, 95, 64, 165,+ 99, 14, 195, 231, 18, 121, 20, 156, 80, 231, 133, 197, 0, 94, 195, 22, 251,+ 255, 174, 213, 103, 75, 88, 58, 138, 66, 37, 85, 162, 15, 242, 29, 49, 147,+ 191, 163, 170, 109, 195, 22, 63, 197, 149, 117, 100, 36, 81, 115, 203, 126,+ 62, 86, 103, 193, 182, 69, 238, 233, 162, 62, 248, 132, 158, 212, 208, 187,+ 127, 212, 198, 169, 245, 26, 153, 28, 207, 85, 65, 145, 200, 23, 196, 38,+ 64, 49, 54, 233, 185, 72, 156, 86, 230, 127, 152, 108, 184, 240, 109, 8,+ 103, 228, 206, 142, 73, 74, 214, 52, 182, 203, 82, 201, 175, 188, 111, 42,+ 232, 8, 177, 131, 47, 237, 92, 120, 210, 124, 48, 185, 215, 137, 36, 70,+ 162, 164, 119, 0, 155, 20, 57, 33, 27, 220, 77, 254, 233, 190, 106, 135, 21,+ 194, 57, 238, 95, 162, 78, 164, 33, 210, 215, 43, 100, 96, 232, 87, 19, 43,+ 65, 240, 183, 17, 131, 247, 97, 241, 7, 111, 159, 40, 252, 45, 228, 76, 71,+ 46, 85, 181, 54, 41, 135, 162, 144, 227, 128, 121, 173, 207, 119, 54, 19,+ 197, 23, 231, 176, 125, 190, 32, 76, 60, 34, 24, 160, 42, 73, 190, 124, 99,+ 5, 9, 214, 6, 220, 177, 206, 79, 222, 10, 142, 250, 63, 179, 67, 21, 159,+ 57, 126, 239, 28, 238, 240, 107, 79, 185, 174, 232, 168, 146, 128, 229, 119,+ 19, 21, 33, 239, 193, 42, 178, 152, 124, 24, 203, 131, 193, 93, 162, 2, 208,+ 231, 20, 203, 232, 47, 54, 114, 255, 236, 97, 99, 156, 15, 160, 75, 60, 111,+ 59, 35, 25, 230, 43, 91, 170, 161, 74, 70, 179, 180, 251, 71, 197, 240, 104,+ 42, 39, 202, 206, 12, 115, 249, 138, 55, 252, 216, 61, 185, 121, 76, 137,+ 172, 166, 88, 92, 130, 18, 52, 67, 13, 187, 49, 147, 212, 77, 74, 56, 59,+ 123, 99, 205, 36, 137, 96, 111, 148, 121, 157, 2, 83, 246, 86, 156, 152, 98,+ 172, 77, 244, 214, 225, 184, 240, 121, 144, 56, 213, 161, 43, 67, 4, 161,+ 104, 202, 91, 134, 247, 108, 24, 46, 187, 63, 216, 50, 125, 120, 17, 216,+ 22, 228, 156, 253, 7, 180, 15, 130, 180, 72, 71, 169, 3, 236, 247, 11, 170,+ 32, 76, 236, 225, 133, 250, 20, 235, 200, 143, 89, 25, 158, 49, 158, 164,+ 213, 221, 81, 120, 241, 150, 210, 19, 79, 165, 24, 35, 170, 182, 242, 255,+ 143, 171, 148, 140, 41, 207, 186, 98, 224, 16, 152, 224, 38, 110, 175, 169,+ 111, 132, 201, 178, 114, 25, 196, 50, 149, 158, 193, 180, 101, 183, 92, 109,+ 131, 102, 119, 123, 78, 107, 223, 4, 1, 206, 140, 130, 237, 205, 36, 18,+ 180, 197, 154, 26, 236, 140, 173, 230, 101, 35, 189, 121, 104, 21, 75, 81,+ 224, 186, 212, 81, 107, 66, 244, 235, 64, 90, 206, 39, 44, 43, 162, 187, 63,+ 229, 217, 154, 185, 157, 24, 125, 252, 91, 136, 59, 47, 182, 200, 73, 19,+ 137, 132, 81, 16, 234, 227, 210, 32, 16, 160, 188, 250, 27, 190, 164, 53,+ 244, 219, 199, 177, 146, 117, 50, 99, 72, 235, 37, 154, 72, 51, 203, 61, 39,+ 230, 34, 132, 117, 217, 167, 201, 42, 17, 76, 72, 103, 172, 93, 169, 29, 76,+ 88, 178, 226, 32, 53, 190, 60, 210, 132, 113, 198, 26, 70, 179, 47, 34, 184,+ 88, 178, 208, 1, 196, 89, 136, 167, 33, 38, 9, 255, 89, 202, 27, 93, 229,+ 100, 192, 24, 234, 200, 186, 125, 231, 212, 188, 11, 29, 51, 189, 70, 147,+ 176, 231, 81, 16, 114, 152, 159, 21, 124, 185, 208, 50, 74, 211, 113, 207,+ 35, 54, 173, 205, 133, 52, 167, 199, 87, 158, 120, 33, 204, 163, 146, 233,+ 21, 61, 28, 102, 48, 232, 184, 15, 219, 238, 240, 215, 222, 239, 3, 110,+ 180, 95, 103, 147, 236, 10, 57, 195, 159, 231, 50, 92, 145, 165, 44, 204,+ 121, 187, 9, 210, 80, 86, 251, 169, 132, 236, 248, 23, 207, 222, 227, 13,+ 53, 1, 88, 69, 105, 13, 238, 202, 251, 194, 245, 14, 38, 1, 245, 157, 212,+ 162, 182, 217, 230, 115, 139, 175, 219, 199, 74, 124, 186, 158, 3, 220, 87,+ 220, 177, 85, 13, 58, 168, 223, 6, 238, 156, 80, 121, 44, 166, 176, 0, 48,+ 98, 70, 93, 78, 50, 192, 16, 186, 2, 233, 105, 105, 120, 195, 17, 100, 141,+ 214, 158, 144, 63, 4, 88, 190, 101, 209, 55, 119, 46, 128, 117, 225, 121,+ 204, 195, 19, 61, 170, 116, 251, 225, 230, 28, 27, 249, 84, 195, 224, 190,+ 60, 212, 83, 3, 148, 204, 4, 103, 50, 233, 175, 207, 47, 51, 216, 79, 251,+ 150, 81, 171, 7, 145, 55, 188, 187, 217, 200, 155, 246, 85, 42, 123, 18,+ 112, 192, 116, 163, 40, 187, 132, 192, 210, 188, 106, 117, 217, 185, 183,+ 202, 33, 11, 205, 10, 61, 52, 15, 66, 131, 121, 112, 26, 96, 166, 241, 1,+ 68, 206, 80, 92, 132, 83, 89, 126, 135, 157, 4, 202, 16, 5, 131, 112, 62,+ 56, 234, 176, 213, 119, 205, 203, 17, 106, 156, 117, 251, 135, 21, 73, 219,+ 238, 3, 88, 21, 71, 136, 118, 0, 7, 106, 151, 200, 221, 179, 206, 50, 198,+ 27, 118, 181, 27, 85, 35, 248, 44, 57, 15, 221, 97, 121, 4, 167, 111, 182,+ 207, 195, 52, 134, 195, 128, 173, 111, 98, 152, 29, 138, 197, 175, 171, 247,+ 194, 20, 134, 209, 232, 94, 17, 203, 139, 30, 237, 187, 243, 16, 180, 43,+ 105, 236, 66, 175, 170, 139, 24, 99, 28, 225, 141, 96, 250, 119, 0, 111,+ 212, 34, 217, 42, 134, 88, 78, 76, 126, 169, 168, 59, 154, 93, 54, 43, 161,+ 29, 111, 124, 59, 225, 52, 86, 147, 38, 151, 161, 36, 119, 204, 164, 121,+ 46, 186, 65, 84, 70, 38, 15, 203, 48, 168, 235, 231, 30, 55, 95, 36, 10, 20,+ 166, 109, 8, 18, 109, 251, 213, 82, 142, 240, 49, 249, 180, 78, 69,+ ]),+ 'ML-DSA-65': new Uint8Array([+ 48, 130, 7, 178, 48, 11, 6, 9, 96, 134, 72, 1, 101, 3, 4, 3, 18, 3, 130, 7,+ 161, 0, 216, 177, 233, 60, 151, 24, 246, 66, 175, 161, 192, 118, 9, 177, 87,+ 232, 5, 216, 49, 254, 251, 160, 51, 216, 250, 171, 229, 104, 149, 117, 135,+ 107, 5, 239, 244, 167, 83, 57, 49, 153, 29, 135, 108, 138, 117, 236, 120,+ 65, 89, 65, 17, 201, 127, 147, 246, 103, 238, 204, 25, 83, 240, 29, 173,+ 127, 140, 1, 88, 40, 43, 134, 51, 19, 125, 131, 224, 50, 167, 82, 20, 217,+ 215, 162, 41, 95, 215, 56, 130, 226, 177, 216, 20, 169, 133, 85, 140, 9,+ 105, 172, 54, 121, 0, 87, 202, 18, 93, 96, 147, 103, 127, 164, 63, 197, 97,+ 49, 230, 125, 53, 80, 64, 20, 239, 29, 90, 118, 102, 221, 177, 6, 220, 220,+ 170, 107, 107, 18, 138, 125, 138, 70, 66, 60, 185, 232, 209, 4, 100, 17,+ 118, 24, 181, 110, 241, 50, 250, 138, 209, 19, 84, 220, 61, 96, 80, 128, 81,+ 101, 160, 9, 5, 53, 33, 112, 60, 59, 195, 79, 115, 190, 101, 93, 56, 171,+ 146, 51, 82, 233, 66, 225, 226, 211, 72, 58, 9, 74, 222, 185, 175, 211, 156,+ 164, 68, 188, 119, 46, 14, 64, 160, 13, 207, 60, 81, 68, 108, 148, 59, 88,+ 88, 92, 88, 171, 249, 204, 160, 137, 222, 234, 168, 233, 3, 86, 224, 174,+ 105, 224, 1, 177, 184, 230, 236, 30, 85, 249, 56, 105, 211, 50, 83, 168,+ 139, 28, 175, 181, 22, 89, 166, 215, 152, 218, 184, 111, 65, 24, 82, 71,+ 185, 100, 172, 66, 178, 6, 215, 164, 252, 56, 40, 198, 207, 152, 110, 186,+ 207, 39, 235, 179, 38, 215, 88, 105, 109, 177, 130, 91, 5, 223, 164, 78,+ 241, 176, 125, 197, 94, 100, 40, 214, 251, 239, 253, 88, 154, 14, 75, 254,+ 94, 210, 86, 244, 51, 95, 168, 139, 213, 73, 87, 151, 209, 150, 126, 88, 69,+ 251, 116, 157, 122, 96, 212, 206, 42, 218, 38, 85, 184, 50, 246, 188, 35,+ 72, 60, 226, 155, 246, 86, 209, 110, 133, 161, 129, 126, 80, 154, 238, 64,+ 64, 170, 156, 177, 225, 52, 87, 42, 88, 154, 174, 246, 30, 84, 143, 221, 51,+ 27, 65, 60, 40, 22, 120, 42, 145, 34, 82, 235, 79, 20, 215, 211, 231, 151,+ 108, 119, 53, 116, 190, 13, 139, 199, 189, 84, 54, 186, 222, 90, 116, 253,+ 227, 207, 104, 209, 118, 42, 144, 94, 22, 219, 198, 211, 216, 171, 75, 245,+ 61, 240, 157, 108, 81, 19, 238, 39, 120, 210, 242, 63, 126, 6, 15, 18, 97,+ 232, 207, 184, 84, 239, 72, 115, 90, 95, 112, 78, 45, 201, 13, 102, 208,+ 151, 146, 253, 153, 177, 115, 14, 194, 184, 107, 118, 120, 63, 105, 89, 144,+ 60, 242, 80, 106, 32, 11, 204, 170, 165, 221, 182, 31, 187, 159, 216, 118,+ 218, 207, 182, 107, 136, 211, 162, 231, 196, 128, 83, 251, 192, 189, 149, 1,+ 245, 36, 146, 159, 11, 116, 30, 191, 141, 182, 157, 227, 91, 88, 72, 224,+ 55, 195, 96, 245, 135, 249, 142, 16, 229, 237, 27, 60, 2, 91, 138, 82, 197,+ 210, 40, 8, 123, 172, 202, 207, 119, 199, 190, 102, 40, 141, 174, 93, 211,+ 219, 134, 105, 26, 103, 100, 102, 62, 130, 224, 135, 173, 82, 224, 200, 213,+ 76, 211, 38, 181, 16, 97, 99, 75, 14, 42, 162, 223, 237, 141, 1, 29, 140,+ 191, 146, 49, 236, 179, 88, 202, 220, 124, 239, 231, 131, 101, 134, 111, 28,+ 54, 151, 172, 67, 167, 113, 96, 204, 63, 76, 169, 95, 14, 175, 149, 189,+ 173, 39, 177, 102, 23, 158, 102, 236, 224, 70, 203, 190, 132, 230, 136, 3,+ 28, 201, 131, 148, 164, 219, 181, 208, 26, 239, 111, 86, 35, 102, 133, 114,+ 113, 180, 184, 82, 180, 106, 124, 248, 126, 87, 177, 165, 176, 204, 128,+ 141, 179, 141, 34, 119, 160, 57, 206, 168, 95, 197, 110, 79, 60, 48, 170,+ 125, 206, 147, 137, 156, 85, 46, 7, 193, 228, 150, 22, 46, 147, 51, 153,+ 157, 248, 151, 253, 114, 58, 126, 38, 127, 19, 225, 99, 183, 235, 175, 90,+ 166, 8, 233, 141, 10, 85, 232, 147, 7, 20, 137, 240, 84, 231, 86, 134, 50,+ 212, 201, 6, 253, 18, 150, 114, 160, 140, 2, 254, 189, 152, 14, 68, 110, 50,+ 134, 199, 73, 237, 56, 116, 110, 135, 36, 40, 14, 167, 50, 71, 81, 9, 178,+ 54, 182, 247, 64, 32, 204, 116, 92, 131, 40, 30, 246, 188, 236, 182, 187,+ 132, 239, 124, 136, 238, 146, 137, 247, 87, 52, 15, 78, 108, 135, 178, 101,+ 70, 199, 193, 192, 144, 196, 106, 186, 141, 42, 101, 214, 196, 67, 175, 38,+ 8, 189, 148, 166, 253, 221, 144, 119, 81, 1, 232, 175, 81, 237, 13, 188,+ 220, 230, 47, 115, 184, 179, 0, 51, 118, 39, 22, 114, 232, 88, 15, 121, 216,+ 130, 107, 173, 108, 175, 225, 113, 40, 223, 185, 6, 244, 227, 73, 38, 64,+ 84, 10, 200, 53, 81, 179, 217, 106, 172, 59, 161, 70, 180, 70, 48, 56, 46,+ 233, 133, 245, 57, 120, 154, 167, 49, 109, 188, 152, 245, 181, 1, 159, 247,+ 44, 167, 152, 6, 191, 246, 38, 120, 141, 57, 241, 168, 60, 38, 6, 82, 248,+ 87, 85, 0, 10, 22, 19, 44, 178, 63, 38, 78, 1, 210, 166, 140, 3, 199, 112,+ 135, 155, 36, 13, 204, 124, 47, 5, 190, 103, 91, 205, 147, 248, 115, 177,+ 196, 180, 234, 85, 35, 24, 182, 16, 207, 107, 167, 10, 54, 193, 146, 71, 95,+ 45, 109, 184, 43, 101, 155, 184, 55, 171, 196, 136, 89, 227, 84, 183, 31, 0,+ 137, 230, 146, 250, 6, 27, 225, 241, 11, 95, 124, 248, 133, 171, 149, 67,+ 73, 19, 110, 104, 173, 86, 6, 246, 195, 196, 200, 175, 53, 18, 198, 223,+ 140, 85, 208, 253, 204, 220, 255, 232, 88, 238, 20, 97, 24, 52, 13, 3, 179,+ 62, 151, 101, 67, 33, 79, 253, 157, 253, 233, 197, 109, 130, 78, 11, 165,+ 214, 200, 41, 157, 63, 46, 175, 251, 246, 225, 227, 199, 92, 107, 216, 58,+ 124, 226, 202, 153, 92, 31, 250, 182, 92, 99, 0, 110, 18, 78, 228, 166, 190,+ 67, 88, 245, 155, 139, 82, 152, 39, 204, 74, 140, 95, 82, 82, 160, 147, 144,+ 33, 0, 242, 200, 22, 102, 160, 233, 102, 224, 42, 205, 240, 56, 95, 197,+ 226, 175, 235, 240, 125, 10, 51, 12, 246, 150, 234, 173, 95, 132, 173, 174,+ 1, 161, 23, 39, 52, 168, 87, 54, 4, 66, 201, 34, 155, 82, 133, 170, 76, 52,+ 226, 109, 163, 19, 34, 184, 226, 39, 20, 75, 72, 201, 70, 188, 71, 182, 230,+ 6, 19, 255, 8, 145, 193, 63, 81, 150, 24, 72, 89, 168, 74, 98, 173, 133, 67,+ 227, 44, 252, 252, 227, 192, 125, 20, 227, 144, 24, 31, 48, 67, 67, 48, 94,+ 163, 52, 219, 163, 225, 214, 214, 109, 211, 122, 213, 198, 90, 204, 40, 97,+ 211, 121, 17, 28, 132, 246, 110, 230, 51, 197, 42, 162, 143, 199, 158, 215,+ 210, 133, 60, 65, 127, 1, 153, 193, 22, 171, 250, 114, 204, 246, 255, 126,+ 25, 96, 44, 164, 102, 172, 211, 23, 245, 122, 48, 221, 249, 138, 148, 134,+ 206, 135, 246, 42, 235, 198, 89, 189, 45, 125, 204, 69, 193, 48, 29, 144,+ 125, 224, 127, 66, 1, 134, 141, 224, 211, 193, 141, 69, 128, 75, 167, 244,+ 160, 120, 54, 191, 214, 29, 40, 249, 15, 46, 68, 141, 91, 242, 91, 80, 252,+ 109, 122, 154, 64, 153, 56, 65, 254, 106, 18, 4, 172, 171, 136, 80, 98, 79,+ 133, 255, 4, 100, 191, 144, 171, 219, 46, 132, 181, 130, 228, 107, 68, 32,+ 123, 201, 17, 67, 35, 144, 180, 160, 30, 125, 9, 55, 184, 172, 0, 159, 250,+ 232, 83, 168, 162, 102, 158, 121, 208, 177, 116, 163, 160, 80, 241, 46, 156,+ 58, 203, 240, 67, 176, 244, 170, 160, 115, 122, 141, 154, 101, 218, 178,+ 119, 130, 195, 32, 207, 51, 149, 98, 51, 219, 57, 121, 216, 156, 101, 218,+ 184, 220, 204, 41, 181, 149, 63, 80, 194, 11, 143, 164, 219, 23, 123, 141,+ 119, 43, 94, 78, 175, 89, 165, 48, 167, 44, 45, 219, 197, 15, 202, 118, 116,+ 245, 151, 218, 14, 199, 96, 27, 102, 206, 198, 123, 222, 178, 210, 20, 200,+ 38, 25, 124, 58, 102, 92, 197, 107, 51, 5, 236, 125, 173, 198, 113, 144,+ 108, 177, 22, 104, 223, 165, 39, 9, 84, 87, 124, 80, 153, 8, 212, 76, 2, 28,+ 12, 90, 212, 129, 148, 212, 229, 63, 29, 200, 113, 171, 154, 107, 189, 202,+ 22, 147, 7, 32, 253, 70, 37, 224, 98, 199, 129, 21, 54, 49, 52, 124, 84, 40,+ 190, 194, 108, 73, 26, 15, 124, 87, 87, 198, 217, 122, 127, 82, 167, 131,+ 59, 8, 172, 49, 162, 61, 64, 79, 196, 205, 65, 110, 75, 130, 128, 197, 182,+ 251, 110, 141, 197, 184, 166, 244, 246, 217, 20, 105, 85, 42, 80, 251, 77,+ 59, 204, 247, 179, 218, 181, 124, 209, 4, 28, 118, 234, 145, 237, 140, 106,+ 54, 88, 82, 28, 235, 68, 221, 109, 139, 11, 166, 182, 63, 142, 194, 255,+ 213, 219, 116, 158, 31, 224, 119, 126, 232, 160, 144, 1, 177, 92, 219, 162,+ 49, 181, 116, 163, 104, 245, 193, 188, 26, 172, 15, 190, 135, 207, 106, 246,+ 13, 132, 76, 189, 160, 25, 123, 26, 20, 48, 203, 59, 209, 69, 235, 103, 253,+ 160, 108, 83, 206, 70, 98, 0, 2, 57, 162, 202, 63, 45, 89, 173, 201, 254,+ 254, 253, 143, 21, 77, 131, 184, 234, 37, 68, 206, 69, 186, 179, 145, 147,+ 135, 42, 137, 152, 253, 213, 240, 13, 122, 161, 218, 186, 180, 213, 162,+ 150, 231, 63, 112, 182, 233, 86, 12, 225, 195, 133, 37, 28, 22, 147, 201,+ 200, 197, 115, 3, 138, 194, 86, 79, 247, 27, 241, 149, 128, 197, 8, 11, 134,+ 53, 118, 175, 248, 253, 114, 91, 31, 192, 253, 209, 111, 31, 228, 244, 184,+ 179, 146, 145, 167, 137, 155, 184, 218, 38, 62, 187, 22, 181, 193, 93, 16,+ 9, 195, 42, 198, 225, 100, 144, 148, 223, 184, 40, 117, 32, 131, 94, 93, 83,+ 88, 125, 95, 220, 20, 206, 7, 228, 78, 54, 238, 178, 196, 38, 245, 95, 8,+ 235, 106, 17, 175, 142, 193, 60, 179, 53, 244, 92, 147, 244, 218, 95, 127,+ 251, 128, 42, 105, 82, 243, 224, 213, 25, 91, 151, 22, 201, 18, 25, 230,+ 165, 85, 25, 249, 170, 160, 171, 210, 209, 32, 154, 124, 245, 60, 30, 255,+ 138, 154, 29, 85, 156, 232, 177, 78, 14, 137, 52, 215, 247, 26, 211, 115,+ 72, 20, 133, 232, 1, 151, 251, 63, 45, 120, 69, 49, 209, 130, 255, 2, 218,+ 21, 251, 16, 86, 30, 62, 136, 92, 149, 60, 6, 125, 129, 145, 235, 102, 190,+ 144, 248, 1, 53, 135, 21, 158, 44, 158, 230, 246, 172, 249, 161, 105, 204,+ 49, 60, 70, 63, 127, 163, 231, 175, 174, 234, 147, 185, 62, 5, 244, 156, 4,+ 31, 39, 156, 176, 154, 251, 166, 143, 212, 43, 30, 97, 50, 37, 176, 155, 77,+ 149, 102,+ ]),+ 'ML-DSA-87': new Uint8Array([+ 48, 130, 10, 50, 48, 11, 6, 9, 96, 134, 72, 1, 101, 3, 4, 3, 19, 3, 130, 10,+ 33, 0, 146, 184, 67, 40, 172, 27, 204, 27, 135, 22, 109, 223, 127, 23, 97,+ 130, 198, 228, 199, 62, 178, 21, 173, 20, 88, 180, 205, 168, 17, 164, 135,+ 92, 85, 146, 76, 194, 152, 80, 239, 157, 33, 21, 239, 182, 176, 254, 124,+ 80, 135, 138, 87, 169, 103, 99, 87, 5, 91, 161, 239, 59, 18, 246, 148, 20,+ 32, 60, 117, 245, 182, 156, 196, 230, 82, 117, 228, 211, 81, 45, 115, 217,+ 23, 95, 138, 95, 103, 124, 32, 89, 187, 48, 251, 103, 81, 234, 76, 4, 57,+ 197, 71, 48, 125, 169, 195, 147, 183, 142, 166, 8, 147, 7, 77, 240, 111, 44,+ 168, 23, 89, 107, 95, 220, 75, 202, 44, 25, 244, 200, 160, 0, 174, 111, 107,+ 204, 22, 36, 122, 191, 101, 33, 52, 252, 14, 47, 25, 109, 135, 48, 131, 253,+ 195, 237, 60, 86, 14, 119, 85, 28, 182, 139, 136, 191, 59, 187, 90, 126,+ 207, 168, 238, 184, 83, 77, 254, 208, 21, 57, 104, 188, 228, 134, 82, 249,+ 190, 249, 163, 120, 111, 68, 225, 210, 131, 29, 151, 153, 146, 71, 163, 104,+ 225, 194, 33, 64, 213, 92, 145, 253, 42, 32, 233, 95, 224, 72, 184, 119,+ 192, 113, 253, 177, 153, 246, 240, 49, 103, 170, 229, 82, 69, 186, 36, 252,+ 29, 124, 255, 25, 148, 5, 160, 159, 105, 157, 185, 25, 158, 122, 145, 30,+ 245, 51, 205, 62, 56, 154, 23, 52, 0, 225, 177, 105, 195, 131, 177, 151,+ 197, 114, 110, 128, 227, 127, 176, 28, 252, 217, 56, 61, 136, 148, 190, 124,+ 108, 129, 62, 243, 235, 37, 70, 228, 233, 10, 67, 124, 120, 58, 164, 83, 57,+ 80, 39, 204, 98, 28, 199, 136, 75, 12, 51, 255, 24, 130, 127, 19, 239, 160,+ 94, 137, 75, 15, 82, 158, 252, 163, 43, 236, 193, 234, 27, 74, 69, 14, 179,+ 171, 10, 169, 27, 138, 172, 213, 189, 222, 167, 110, 24, 11, 118, 151, 223,+ 94, 154, 125, 9, 21, 137, 70, 128, 51, 102, 52, 105, 104, 157, 54, 186, 75,+ 217, 226, 169, 71, 125, 177, 253, 218, 85, 236, 242, 25, 215, 147, 181, 104,+ 242, 82, 75, 50, 165, 49, 102, 128, 82, 237, 170, 134, 162, 196, 56, 247,+ 199, 138, 102, 118, 37, 66, 114, 165, 177, 156, 251, 39, 199, 12, 167, 246,+ 169, 150, 108, 91, 192, 42, 68, 192, 244, 255, 107, 18, 191, 7, 73, 19, 174,+ 28, 116, 66, 131, 96, 173, 60, 131, 190, 249, 219, 246, 71, 182, 124, 183,+ 129, 101, 109, 95, 180, 78, 17, 140, 182, 62, 80, 195, 184, 253, 176, 169,+ 153, 1, 29, 83, 39, 252, 150, 41, 219, 176, 48, 151, 108, 60, 255, 239, 0,+ 85, 101, 193, 110, 204, 12, 254, 22, 136, 15, 154, 217, 88, 13, 28, 252,+ 232, 48, 32, 33, 41, 221, 103, 227, 228, 177, 54, 175, 195, 106, 174, 140,+ 54, 128, 108, 214, 228, 215, 118, 226, 206, 171, 21, 155, 162, 152, 135,+ 203, 16, 170, 130, 100, 173, 155, 243, 80, 40, 98, 157, 248, 7, 101, 88,+ 199, 218, 224, 141, 82, 238, 121, 92, 82, 97, 49, 31, 155, 61, 63, 84, 227,+ 90, 143, 164, 59, 216, 101, 19, 35, 134, 2, 20, 18, 197, 97, 215, 169, 85,+ 220, 75, 254, 91, 125, 144, 43, 65, 128, 29, 66, 77, 184, 172, 89, 123, 203,+ 231, 254, 59, 18, 249, 204, 249, 220, 153, 84, 166, 63, 23, 108, 120, 145,+ 216, 67, 223, 123, 248, 15, 253, 63, 191, 126, 84, 95, 98, 141, 66, 200,+ 129, 194, 174, 30, 80, 48, 75, 113, 14, 102, 101, 218, 249, 14, 203, 24, 6,+ 11, 89, 99, 56, 49, 17, 148, 160, 242, 101, 191, 102, 227, 115, 33, 107, 71,+ 235, 6, 141, 68, 161, 162, 165, 227, 159, 82, 253, 54, 157, 214, 255, 141,+ 151, 154, 134, 150, 93, 141, 97, 158, 244, 180, 135, 42, 10, 3, 148, 9, 152,+ 149, 20, 18, 237, 253, 180, 136, 165, 13, 80, 195, 220, 43, 3, 178, 10, 127,+ 144, 2, 207, 209, 246, 40, 110, 38, 133, 9, 22, 180, 11, 223, 116, 236, 205,+ 186, 25, 183, 155, 165, 77, 206, 101, 255, 106, 223, 70, 10, 22, 176, 119,+ 142, 163, 197, 178, 251, 216, 112, 237, 63, 201, 77, 219, 196, 2, 176, 48,+ 15, 207, 91, 74, 236, 21, 8, 205, 126, 77, 28, 13, 26, 28, 202, 250, 100,+ 79, 134, 209, 193, 78, 202, 58, 248, 124, 215, 64, 143, 244, 17, 23, 163,+ 162, 241, 249, 49, 210, 168, 203, 213, 135, 77, 14, 29, 35, 193, 234, 58,+ 12, 106, 165, 163, 251, 192, 115, 251, 7, 198, 189, 93, 207, 178, 246, 50,+ 189, 185, 51, 45, 84, 140, 194, 34, 46, 92, 90, 136, 81, 81, 53, 52, 253,+ 128, 247, 131, 243, 21, 207, 245, 141, 49, 178, 213, 214, 211, 8, 17, 234,+ 133, 225, 104, 197, 186, 224, 117, 1, 173, 104, 17, 177, 161, 223, 71, 195,+ 159, 194, 45, 177, 116, 26, 187, 193, 161, 213, 179, 158, 8, 122, 186, 122,+ 191, 158, 5, 12, 178, 235, 78, 132, 78, 189, 16, 86, 110, 73, 51, 129, 255,+ 242, 110, 63, 6, 53, 209, 110, 132, 236, 43, 239, 192, 221, 138, 1, 128,+ 176, 0, 113, 85, 119, 201, 36, 188, 202, 9, 223, 98, 196, 42, 130, 158, 149,+ 200, 150, 202, 132, 118, 153, 97, 54, 195, 154, 15, 45, 246, 129, 144, 255,+ 231, 75, 25, 56, 47, 178, 98, 10, 106, 84, 56, 113, 161, 227, 37, 246, 1,+ 245, 129, 173, 70, 186, 11, 28, 125, 198, 243, 225, 113, 130, 5, 138, 52,+ 251, 194, 152, 105, 48, 214, 13, 246, 228, 75, 236, 194, 223, 177, 64, 150,+ 97, 167, 20, 27, 74, 76, 166, 199, 239, 91, 240, 8, 22, 54, 41, 63, 35, 112,+ 255, 251, 88, 252, 147, 173, 185, 43, 98, 83, 155, 230, 176, 55, 161, 8, 83,+ 15, 110, 151, 241, 110, 168, 203, 190, 198, 218, 152, 144, 150, 58, 123, 11,+ 123, 250, 104, 113, 198, 93, 1, 152, 51, 172, 140, 246, 115, 113, 229, 218,+ 166, 200, 35, 123, 16, 133, 169, 191, 59, 103, 12, 114, 15, 60, 37, 4, 92,+ 208, 54, 31, 79, 56, 225, 6, 11, 74, 107, 79, 225, 239, 16, 73, 249, 234,+ 197, 129, 230, 97, 39, 115, 49, 96, 141, 41, 242, 225, 177, 214, 18, 103,+ 34, 229, 37, 176, 241, 99, 82, 227, 195, 77, 32, 64, 4, 120, 49, 199, 209,+ 139, 2, 4, 222, 233, 45, 151, 141, 142, 252, 41, 124, 231, 13, 144, 63, 212,+ 252, 145, 34, 142, 232, 152, 84, 135, 87, 175, 46, 53, 139, 60, 168, 135,+ 167, 101, 253, 127, 152, 138, 154, 31, 231, 198, 77, 89, 182, 9, 54, 103,+ 119, 100, 218, 245, 44, 191, 74, 30, 152, 84, 22, 62, 159, 131, 163, 223, 3,+ 51, 194, 241, 49, 9, 213, 43, 214, 201, 75, 158, 198, 22, 203, 209, 190,+ 199, 189, 75, 4, 6, 72, 60, 241, 113, 171, 30, 42, 143, 73, 51, 72, 206,+ 110, 175, 203, 195, 199, 15, 155, 208, 166, 121, 26, 132, 59, 44, 72, 155,+ 7, 48, 122, 132, 224, 142, 3, 7, 21, 207, 11, 30, 112, 18, 149, 146, 127,+ 41, 104, 197, 169, 86, 213, 108, 253, 111, 160, 5, 11, 202, 172, 233, 32, 5,+ 52, 92, 124, 152, 162, 11, 88, 28, 166, 248, 141, 251, 38, 161, 53, 49, 136,+ 246, 183, 85, 9, 165, 115, 108, 18, 208, 218, 129, 165, 163, 131, 34, 32,+ 94, 226, 121, 93, 24, 87, 226, 105, 25, 242, 128, 198, 78, 26, 237, 21, 92,+ 33, 121, 8, 119, 131, 140, 193, 14, 60, 139, 130, 19, 65, 96, 50, 5, 249,+ 12, 27, 51, 23, 195, 89, 255, 47, 23, 109, 62, 202, 190, 5, 131, 92, 91, 39,+ 27, 209, 132, 146, 95, 98, 66, 26, 230, 186, 236, 186, 162, 149, 81, 143,+ 221, 21, 79, 171, 236, 21, 161, 19, 135, 10, 213, 168, 200, 135, 19, 221,+ 177, 207, 106, 214, 194, 124, 220, 53, 45, 176, 245, 178, 189, 49, 242, 22,+ 230, 154, 241, 146, 230, 187, 180, 244, 158, 145, 197, 225, 51, 150, 140,+ 26, 175, 78, 142, 243, 232, 221, 137, 205, 130, 178, 54, 216, 136, 118, 212,+ 33, 90, 206, 18, 224, 158, 44, 23, 144, 204, 24, 184, 48, 81, 233, 124, 20,+ 222, 77, 119, 144, 22, 145, 241, 19, 206, 135, 252, 164, 114, 84, 37, 175,+ 107, 67, 243, 183, 137, 213, 53, 236, 41, 73, 50, 34, 146, 218, 204, 68,+ 235, 158, 150, 139, 133, 75, 248, 157, 7, 0, 53, 68, 44, 156, 110, 56, 197,+ 209, 201, 0, 155, 225, 85, 35, 169, 193, 231, 36, 31, 142, 101, 168, 29,+ 192, 31, 128, 81, 191, 253, 184, 153, 226, 214, 1, 27, 6, 0, 192, 36, 101,+ 72, 105, 150, 226, 3, 21, 12, 127, 72, 250, 223, 240, 136, 249, 157, 129,+ 247, 91, 178, 157, 208, 86, 146, 23, 176, 150, 35, 211, 155, 22, 207, 119,+ 168, 167, 122, 180, 183, 106, 97, 138, 87, 96, 34, 141, 110, 145, 231, 226,+ 35, 115, 232, 129, 54, 186, 128, 190, 238, 37, 169, 194, 37, 24, 237, 211,+ 164, 111, 54, 88, 245, 125, 67, 78, 194, 11, 194, 235, 217, 87, 203, 14,+ 220, 189, 107, 68, 94, 139, 66, 230, 5, 54, 64, 28, 246, 143, 75, 127, 239,+ 243, 20, 251, 189, 246, 246, 151, 90, 219, 227, 242, 223, 205, 40, 124, 245,+ 4, 189, 72, 39, 145, 110, 96, 120, 164, 27, 117, 146, 177, 30, 76, 173, 106,+ 130, 228, 192, 189, 59, 167, 30, 127, 178, 164, 5, 133, 80, 199, 207, 216,+ 189, 156, 93, 222, 150, 129, 81, 193, 180, 38, 59, 8, 214, 210, 95, 150,+ 182, 175, 148, 43, 153, 169, 66, 62, 135, 140, 159, 89, 195, 253, 3, 132,+ 180, 164, 244, 243, 232, 71, 196, 200, 158, 194, 114, 115, 193, 88, 161,+ 185, 235, 247, 14, 126, 225, 176, 111, 17, 79, 77, 245, 80, 229, 174, 6,+ 180, 156, 217, 85, 174, 201, 255, 237, 85, 83, 53, 188, 153, 98, 91, 193,+ 21, 211, 49, 145, 196, 252, 52, 66, 226, 131, 203, 214, 130, 237, 194, 208,+ 174, 102, 133, 220, 235, 222, 79, 232, 36, 21, 161, 248, 51, 185, 164, 156,+ 95, 121, 65, 57, 233, 183, 29, 199, 105, 104, 12, 90, 195, 186, 81, 199,+ 176, 1, 87, 16, 226, 192, 206, 185, 197, 46, 34, 75, 174, 153, 238, 15, 50,+ 87, 226, 96, 26, 197, 202, 73, 235, 19, 140, 9, 79, 12, 52, 83, 76, 85, 146,+ 234, 24, 151, 179, 178, 118, 58, 162, 223, 103, 69, 244, 231, 135, 167, 204,+ 117, 166, 60, 237, 82, 63, 11, 4, 207, 10, 146, 54, 126, 191, 79, 133, 60,+ 128, 34, 136, 170, 23, 84, 81, 38, 94, 9, 130, 245, 100, 115, 209, 34, 228,+ 158, 101, 216, 135, 208, 207, 191, 169, 115, 252, 144, 139, 226, 252, 6, 44,+ 221, 134, 170, 87, 11, 46, 124, 58, 219, 179, 238, 6, 98, 216, 18, 174, 42,+ 12, 97, 126, 85, 245, 81, 220, 232, 135, 114, 21, 125, 135, 225, 182, 245,+ 228, 223, 242, 62, 158, 35, 76, 6, 110, 25, 184, 206, 124, 237, 54, 252,+ 199, 44, 78, 89, 0, 135, 44, 176, 57, 168, 36, 221, 173, 77, 214, 209, 60,+ 1, 202, 238, 237, 61, 90, 47, 114, 230, 92, 238, 235, 18, 151, 220, 243,+ 225, 163, 159, 139, 189, 253, 62, 225, 182, 202, 59, 7, 83, 99, 129, 118,+ 175, 37, 246, 85, 119, 251, 246, 69, 180, 247, 37, 24, 194, 89, 158, 97,+ 230, 247, 254, 145, 102, 89, 77, 68, 245, 3, 103, 83, 28, 45, 168, 30, 189,+ 151, 112, 120, 215, 84, 90, 198, 85, 85, 129, 55, 127, 124, 28, 137, 229,+ 139, 54, 88, 229, 105, 81, 212, 83, 28, 107, 250, 82, 164, 43, 24, 15, 57,+ 206, 156, 19, 145, 95, 57, 169, 8, 128, 211, 29, 213, 195, 148, 27, 73, 186,+ 221, 242, 11, 167, 78, 246, 133, 18, 118, 67, 236, 59, 19, 112, 254, 93,+ 168, 157, 118, 0, 107, 248, 57, 149, 67, 222, 123, 225, 207, 251, 69, 218,+ 56, 110, 162, 19, 25, 209, 209, 213, 200, 158, 70, 9, 100, 208, 77, 48, 255,+ 151, 200, 0, 68, 230, 70, 120, 209, 29, 86, 225, 188, 189, 226, 101, 42,+ 176, 32, 147, 121, 72, 151, 130, 217, 13, 66, 148, 84, 129, 215, 249, 164,+ 174, 187, 80, 85, 185, 245, 108, 169, 119, 59, 178, 144, 229, 63, 194, 132,+ 250, 131, 82, 161, 125, 126, 255, 252, 220, 204, 104, 231, 201, 136, 246,+ 116, 43, 88, 233, 0, 43, 128, 214, 40, 59, 81, 147, 139, 132, 69, 24, 233,+ 21, 14, 91, 230, 241, 19, 138, 163, 55, 13, 221, 47, 64, 140, 248, 6, 38,+ 164, 16, 219, 63, 33, 180, 71, 151, 0, 234, 103, 58, 213, 222, 163, 95, 132,+ 1, 178, 146, 66, 124, 242, 223, 102, 129, 192, 214, 194, 117, 162, 252, 246,+ 143, 42, 70, 139, 97, 168, 64, 141, 190, 115, 126, 93, 175, 59, 49, 9, 184,+ 88, 201, 100, 182, 142, 145, 244, 72, 128, 203, 49, 196, 5, 5, 18, 46, 34,+ 87, 171, 132, 158, 128, 75, 194, 8, 242, 52, 156, 229, 245, 56, 245, 88, 14,+ 195, 110, 166, 51, 158, 245, 195, 120, 17, 166, 66, 100, 212, 188, 243, 2,+ 236, 90, 8, 16, 35, 151, 122, 175, 115, 168, 186, 191, 60, 71, 23, 81, 217,+ 79, 203, 239, 61, 146, 247, 168, 112, 83, 102, 146, 222, 178, 45, 247, 63,+ 23, 181, 3, 136, 208, 62, 154, 203, 35, 250, 238, 61, 98, 207, 90, 169, 175,+ 36, 227, 9, 182, 78, 226, 99, 89, 67, 105, 185, 35, 242, 162, 54, 99, 60,+ 148, 14, 118, 1, 26, 120, 62, 82, 62, 222, 34, 99, 58, 174, 145, 199, 190,+ 21, 182, 117, 238, 13, 170, 29, 67, 149, 44, 90, 94, 181, 125, 182, 186, 82,+ 55, 105, 253, 29, 212, 67, 134, 204, 227, 94, 255, 127, 72, 157, 140, 142,+ 224, 77, 149, 29, 170, 45, 163, 214, 209, 46, 28, 125, 177, 111, 2, 92, 121,+ 252, 166, 204, 227, 173, 51, 60, 162, 243, 202, 207, 103, 30, 153, 182, 116,+ 182, 130, 98, 59, 25, 141, 239, 49, 224, 176, 27, 237, 218, 76, 68, 189,+ 108, 185, 136, 255, 105, 150, 11, 153, 44, 248, 139, 199, 178, 235, 85, 115,+ 121, 144, 87, 221, 50, 222, 238, 16, 20, 51, 190, 93, 248, 228, 84, 228,+ 115, 31, 229, 227, 137, 180, 44, 115, 224, 119, 129, 181, 134, 224, 144,+ 186, 123, 208, 118, 96, 101, 177, 191, 232, 171, 6, 17, 247, 187, 173, 84,+ 70, 249, 19, 191, 116, 172, 126, 131, 216, 123, 225, 151, 55, 205, 177, 93,+ 139, 117,+ ]),+ };++ return { pkcs8, spki };+}diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/derive_bits_keys/cfrg_curves_bits_curve448.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/derive_bits_keys/cfrg_curves_bits_curve448.https.any.htmlnew file mode 100644index 00000000000..0816976d109--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/derive_bits_keys/cfrg_curves_bits_curve448.https.any.html@@ -0,0 +1,19 @@+<!doctype html>+<meta charset=utf-8>+<title>WebCryptoAPI: deriveKey() Using ECDH with CFRG Elliptic Curves</title>+<script>+self.GLOBAL = {+ isWindow: function() { return true; },+ isWorker: function() { return false; },+ isShadowRealm: function() { return false; },+};+</script>+<script src="../../../resources/testharness.js"></script>+<script src="../../../resources/testharnessreport.js"></script>+<script src="../../util/helpers.js"></script>+<script src="../../derive_bits_keys/cfrg_curves_bits_fixtures.js"></script>+<script src="../../derive_bits_keys/derive.js"></script>+<script src="../../derive_bits_keys/cfrg_curves.js"></script>+<script src="../../derive_bits_keys/cfrg_curves_bits.js"></script>+<div id=log></div>+<script src="../../../WebCryptoAPI/secure-curves/derive_bits_keys/cfrg_curves_bits_curve448.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/derive_bits_keys/cfrg_curves_bits_curve448.tentative.https.any.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/derive_bits_keys/cfrg_curves_bits_curve448.https.any.jssimilarity index 63%rename from Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/derive_bits_keys/cfrg_curves_bits_curve448.tentative.https.any.jsrename to Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/derive_bits_keys/cfrg_curves_bits_curve448.https.any.jsindex 5e482ef0b9d..35fc0210362 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/derive_bits_keys/cfrg_curves_bits_curve448.tentative.https.any.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/derive_bits_keys/cfrg_curves_bits_curve448.https.any.js@@ -1,7 +1,9 @@// META: title=WebCryptoAPI: deriveKey() Using ECDH with CFRG Elliptic Curves-// META: script=../util/helpers.js-// META: script=cfrg_curves_bits_fixtures.js-// META: script=cfrg_curves_bits.js+// META: script=../../util/helpers.js+// META: script=../../derive_bits_keys/cfrg_curves_bits_fixtures.js+// META: script=../../derive_bits_keys/derive.js+// META: script=../../derive_bits_keys/cfrg_curves.js+// META: script=../../derive_bits_keys/cfrg_curves_bits.js// Define subtests from a `promise_test` to ensure the harness does not// complete before the subtests are available. `explicit_done` cannot be useddiff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/generateKey/failures_Ed448.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/generateKey/failures_Ed448.https.any.htmlnew file mode 100644index 00000000000..c05ec995242--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/generateKey/failures_Ed448.https.any.html@@ -0,0 +1,18 @@+<!doctype html>+<meta charset=utf-8>+<title>WebCryptoAPI: generateKey() for Failures</title>+<meta name="timeout" content="long">+<script>+self.GLOBAL = {+ isWindow: function() { return true; },+ isWorker: function() { return false; },+ isShadowRealm: function() { return false; },+};+</script>+<script src="../../../resources/testharness.js"></script>+<script src="../../../resources/testharnessreport.js"></script>+<script src="../../util/helpers.js"></script>+<script src="../../generateKey/algorithm_registry.js"></script>+<script src="../../generateKey/failures.js"></script>+<div id=log></div>+<script src="../../../WebCryptoAPI/secure-curves/generateKey/failures_Ed448.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/generateKey/failures_Ed448.https.any.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/generateKey/failures_Ed448.https.any.jsnew file mode 100644index 00000000000..b129b88289a--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/generateKey/failures_Ed448.https.any.js@@ -0,0 +1,6 @@+// META: title=WebCryptoAPI: generateKey() for Failures+// META: timeout=long+// META: script=../../util/helpers.js+// META: script=../../generateKey/algorithm_registry.js+// META: script=../../generateKey/failures.js+run_test(["Ed448"]);diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/generateKey/failures_X448.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/generateKey/failures_X448.https.any.htmlnew file mode 100644index 00000000000..ca29a6a0762--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/generateKey/failures_X448.https.any.html@@ -0,0 +1,18 @@+<!doctype html>+<meta charset=utf-8>+<title>WebCryptoAPI: generateKey() for Failures</title>+<meta name="timeout" content="long">+<script>+self.GLOBAL = {+ isWindow: function() { return true; },+ isWorker: function() { return false; },+ isShadowRealm: function() { return false; },+};+</script>+<script src="../../../resources/testharness.js"></script>+<script src="../../../resources/testharnessreport.js"></script>+<script src="../../util/helpers.js"></script>+<script src="../../generateKey/algorithm_registry.js"></script>+<script src="../../generateKey/failures.js"></script>+<div id=log></div>+<script src="../../../WebCryptoAPI/secure-curves/generateKey/failures_X448.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/generateKey/failures_X448.https.any.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/generateKey/failures_X448.https.any.jsnew file mode 100644index 00000000000..8293786cc30--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/generateKey/failures_X448.https.any.js@@ -0,0 +1,6 @@+// META: title=WebCryptoAPI: generateKey() for Failures+// META: timeout=long+// META: script=../../util/helpers.js+// META: script=../../generateKey/algorithm_registry.js+// META: script=../../generateKey/failures.js+run_test(["X448"]);diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/generateKey/successes_Ed448.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/generateKey/successes_Ed448.https.any.htmlnew file mode 100644index 00000000000..b1856d8bb84--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/generateKey/successes_Ed448.https.any.html@@ -0,0 +1,19 @@+<!doctype html>+<meta charset=utf-8>+<title>WebCryptoAPI: generateKey() Successful Calls</title>+<meta name="timeout" content="long">+<script>+self.GLOBAL = {+ isWindow: function() { return true; },+ isWorker: function() { return false; },+ isShadowRealm: function() { return false; },+};+</script>+<script src="../../../resources/testharness.js"></script>+<script src="../../../resources/testharnessreport.js"></script>+<script src="../../util/helpers.js"></script>+<script src="../../../common/subset-tests.js"></script>+<script src="../../generateKey/algorithm_registry.js"></script>+<script src="../../generateKey/successes.js"></script>+<div id=log></div>+<script src="../../../WebCryptoAPI/secure-curves/generateKey/successes_Ed448.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/successes_Ed448.tentative.https.any.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/generateKey/successes_Ed448.https.any.jssimilarity index 50%rename from Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/successes_Ed448.tentative.https.any.jsrename to Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/generateKey/successes_Ed448.https.any.jsindex 8e37f57b244..c274ffc6b3e 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/successes_Ed448.tentative.https.any.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/generateKey/successes_Ed448.https.any.js@@ -1,6 +1,7 @@// META: title=WebCryptoAPI: generateKey() Successful Calls// META: timeout=long-// META: script=../util/helpers.js+// META: script=../../util/helpers.js// META: script=/common/subset-tests.js-// META: script=successes.js+// META: script=../../generateKey/algorithm_registry.js+// META: script=../../generateKey/successes.jsrun_test(["Ed448"]);diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/generateKey/successes_X448.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/generateKey/successes_X448.https.any.htmlnew file mode 100644index 00000000000..98a722aafa3--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/generateKey/successes_X448.https.any.html@@ -0,0 +1,19 @@+<!doctype html>+<meta charset=utf-8>+<title>WebCryptoAPI: generateKey() Successful Calls</title>+<meta name="timeout" content="long">+<script>+self.GLOBAL = {+ isWindow: function() { return true; },+ isWorker: function() { return false; },+ isShadowRealm: function() { return false; },+};+</script>+<script src="../../../resources/testharness.js"></script>+<script src="../../../resources/testharnessreport.js"></script>+<script src="../../util/helpers.js"></script>+<script src="../../../common/subset-tests.js"></script>+<script src="../../generateKey/algorithm_registry.js"></script>+<script src="../../generateKey/successes.js"></script>+<div id=log></div>+<script src="../../../WebCryptoAPI/secure-curves/generateKey/successes_X448.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/successes_X448.tentative.https.any.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/generateKey/successes_X448.https.any.jssimilarity index 50%rename from Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/successes_X448.tentative.https.any.jsrename to Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/generateKey/successes_X448.https.any.jsindex e7dbe32696d..c5ca8f3c968 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/generateKey/successes_X448.tentative.https.any.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/generateKey/successes_X448.https.any.js@@ -1,6 +1,7 @@// META: title=WebCryptoAPI: generateKey() Successful Calls// META: timeout=long-// META: script=../util/helpers.js+// META: script=../../util/helpers.js// META: script=/common/subset-tests.js-// META: script=successes.js+// META: script=../../generateKey/algorithm_registry.js+// META: script=../../generateKey/successes.jsrun_test(["X448"]);diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/import_export/okp_importKey_Ed448.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/import_export/okp_importKey_Ed448.https.any.htmlnew file mode 100644index 00000000000..aa43edd133b--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/import_export/okp_importKey_Ed448.https.any.html@@ -0,0 +1,19 @@+<!doctype html>+<meta charset=utf-8>+<title>WebCryptoAPI: importKey() for OKP keys</title>+<meta name="timeout" content="long">+<script>+self.GLOBAL = {+ isWindow: function() { return true; },+ isWorker: function() { return false; },+ isShadowRealm: function() { return false; },+};+</script>+<script src="../../../resources/testharness.js"></script>+<script src="../../../resources/testharnessreport.js"></script>+<script src="../../util/helpers.js"></script>+<script src="../../util/okp_key_fixtures.js"></script>+<script src="../../import_export/okp_importKey_fixtures.js"></script>+<script src="../../import_export/okp_importKey.js"></script>+<div id=log></div>+<script src="../../../WebCryptoAPI/secure-curves/import_export/okp_importKey_Ed448.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/import_export/okp_importKey_Ed448.https.any.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/import_export/okp_importKey_Ed448.https.any.jsnew file mode 100644index 00000000000..d35b341d132--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/import_export/okp_importKey_Ed448.https.any.js@@ -0,0 +1,10 @@+// META: title=WebCryptoAPI: importKey() for OKP keys+// META: timeout=long+// META: script=../../util/helpers.js+// META: script=../../util/okp_key_fixtures.js+// META: script=../../import_export/okp_importKey_fixtures.js+// META: script=../../import_export/okp_importKey.js+++// Test importKey and exportKey for OKP algorithms.+runTests("Ed448");diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/import_export/okp_importKey_X448.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/import_export/okp_importKey_X448.https.any.htmlnew file mode 100644index 00000000000..ad4ece4136e--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/import_export/okp_importKey_X448.https.any.html@@ -0,0 +1,19 @@+<!doctype html>+<meta charset=utf-8>+<title>WebCryptoAPI: importKey() for OKP keys</title>+<meta name="timeout" content="long">+<script>+self.GLOBAL = {+ isWindow: function() { return true; },+ isWorker: function() { return false; },+ isShadowRealm: function() { return false; },+};+</script>+<script src="../../../resources/testharness.js"></script>+<script src="../../../resources/testharnessreport.js"></script>+<script src="../../util/helpers.js"></script>+<script src="../../util/okp_key_fixtures.js"></script>+<script src="../../import_export/okp_importKey_fixtures.js"></script>+<script src="../../import_export/okp_importKey.js"></script>+<div id=log></div>+<script src="../../../WebCryptoAPI/secure-curves/import_export/okp_importKey_X448.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/import_export/okp_importKey_X448.https.any.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/import_export/okp_importKey_X448.https.any.jsnew file mode 100644index 00000000000..c2319535a40--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/import_export/okp_importKey_X448.https.any.js@@ -0,0 +1,10 @@+// META: title=WebCryptoAPI: importKey() for OKP keys+// META: timeout=long+// META: script=../../util/helpers.js+// META: script=../../util/okp_key_fixtures.js+// META: script=../../import_export/okp_importKey_fixtures.js+// META: script=../../import_export/okp_importKey.js+++// Test importKey and exportKey for OKP algorithms.+runTests("X448");diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/import_export/okp_importKey_failures_Ed448.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/import_export/okp_importKey_failures_Ed448.https.any.htmlnew file mode 100644index 00000000000..51f644f1cbf--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/import_export/okp_importKey_failures_Ed448.https.any.html@@ -0,0 +1,19 @@+<!doctype html>+<meta charset=utf-8>+<title>WebCryptoAPI: importKey() for Failures</title>+<meta name="timeout" content="long">+<script>+self.GLOBAL = {+ isWindow: function() { return true; },+ isWorker: function() { return false; },+ isShadowRealm: function() { return false; },+};+</script>+<script src="../../../resources/testharness.js"></script>+<script src="../../../resources/testharnessreport.js"></script>+<script src="../../util/helpers.js"></script>+<script src="../../util/okp_key_fixtures.js"></script>+<script src="../../import_export/okp_importKey_failures_fixtures.js"></script>+<script src="../../import_export/importKey_failures.js"></script>+<div id=log></div>+<script src="../../../WebCryptoAPI/secure-curves/import_export/okp_importKey_failures_Ed448.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/import_export/okp_importKey_failures_Ed448.https.any.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/import_export/okp_importKey_failures_Ed448.https.any.jsnew file mode 100644index 00000000000..2d33034e9ba--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/import_export/okp_importKey_failures_Ed448.https.any.js@@ -0,0 +1,9 @@+// META: title=WebCryptoAPI: importKey() for Failures+// META: timeout=long+// META: script=../../util/helpers.js+// META: script=../../util/okp_key_fixtures.js+// META: script=../../import_export/okp_importKey_failures_fixtures.js+// META: script=../../import_export/importKey_failures.js+++run_test(["Ed448"]);diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/import_export/okp_importKey_failures_X448.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/import_export/okp_importKey_failures_X448.https.any.htmlnew file mode 100644index 00000000000..9358610e06c--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/import_export/okp_importKey_failures_X448.https.any.html@@ -0,0 +1,19 @@+<!doctype html>+<meta charset=utf-8>+<title>WebCryptoAPI: importKey() for Failures</title>+<meta name="timeout" content="long">+<script>+self.GLOBAL = {+ isWindow: function() { return true; },+ isWorker: function() { return false; },+ isShadowRealm: function() { return false; },+};+</script>+<script src="../../../resources/testharness.js"></script>+<script src="../../../resources/testharnessreport.js"></script>+<script src="../../util/helpers.js"></script>+<script src="../../util/okp_key_fixtures.js"></script>+<script src="../../import_export/okp_importKey_failures_fixtures.js"></script>+<script src="../../import_export/importKey_failures.js"></script>+<div id=log></div>+<script src="../../../WebCryptoAPI/secure-curves/import_export/okp_importKey_failures_X448.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/import_export/okp_importKey_failures_X448.https.any.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/import_export/okp_importKey_failures_X448.https.any.jsnew file mode 100644index 00000000000..1cd1753380f--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/import_export/okp_importKey_failures_X448.https.any.js@@ -0,0 +1,9 @@+// META: title=WebCryptoAPI: importKey() for Failures+// META: timeout=long+// META: script=../../util/helpers.js+// META: script=../../util/okp_key_fixtures.js+// META: script=../../import_export/okp_importKey_failures_fixtures.js+// META: script=../../import_export/importKey_failures.js+++run_test(["X448"]);diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/serialization/ed448.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/serialization/ed448.https.any.htmlnew file mode 100644index 00000000000..33ec16e3e41--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/serialization/ed448.https.any.html@@ -0,0 +1,16 @@+<!doctype html>+<meta charset=utf-8>+<title>WebCryptoAPI: CryptoKey serialization</title>+<script>+self.GLOBAL = {+ isWindow: function() { return true; },+ isWorker: function() { return false; },+ isShadowRealm: function() { return false; },+};+</script>+<script src="../../../resources/testharness.js"></script>+<script src="../../../resources/testharnessreport.js"></script>+<script src="../../util/helpers.js"></script>+<script src="../../serialization/serialization.js"></script>+<div id=log></div>+<script src="../../../WebCryptoAPI/secure-curves/serialization/ed448.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/serialization/ed448.tentative.https.any.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/serialization/ed448.https.any.jssimilarity index 70%rename from Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/serialization/ed448.tentative.https.any.jsrename to Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/serialization/ed448.https.any.jsindex 4abe5628568..f1fdf785ce4 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/serialization/ed448.tentative.https.any.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/serialization/ed448.https.any.js@@ -1,6 +1,6 @@// META: title=WebCryptoAPI: CryptoKey serialization-// META: script=../util/helpers.js-// META: script=serialization.js+// META: script=../../util/helpers.js+// META: script=../../serialization/serialization.jsrun_test([{name: 'Ed448',diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/serialization/x448.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/serialization/x448.https.any.htmlnew file mode 100644index 00000000000..1e3dad8a370--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/serialization/x448.https.any.html@@ -0,0 +1,16 @@+<!doctype html>+<meta charset=utf-8>+<title>WebCryptoAPI: CryptoKey serialization</title>+<script>+self.GLOBAL = {+ isWindow: function() { return true; },+ isWorker: function() { return false; },+ isShadowRealm: function() { return false; },+};+</script>+<script src="../../../resources/testharness.js"></script>+<script src="../../../resources/testharnessreport.js"></script>+<script src="../../util/helpers.js"></script>+<script src="../../serialization/serialization.js"></script>+<div id=log></div>+<script src="../../../WebCryptoAPI/secure-curves/serialization/x448.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/serialization/x448.tentative.https.any.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/serialization/x448.https.any.jssimilarity index 70%rename from Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/serialization/x448.tentative.https.any.jsrename to Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/serialization/x448.https.any.jsindex cafc00144a3..05c2e17b63f 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/serialization/x448.tentative.https.any.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/serialization/x448.https.any.js@@ -1,6 +1,6 @@// META: title=WebCryptoAPI: CryptoKey serialization-// META: script=../util/helpers.js-// META: script=serialization.js+// META: script=../../util/helpers.js+// META: script=../../serialization/serialization.jsrun_test([{name: 'X448',diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/sign_verify/eddsa_curve448.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/sign_verify/eddsa_curve448.https.any.htmlnew file mode 100644index 00000000000..ca32a32802a--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/sign_verify/eddsa_curve448.https.any.html@@ -0,0 +1,19 @@+<!doctype html>+<meta charset=utf-8>+<title>WebCryptoAPI: sign() and verify() Using EdDSA</title>+<meta name="timeout" content="long">+<script>+self.GLOBAL = {+ isWindow: function() { return true; },+ isWorker: function() { return false; },+ isShadowRealm: function() { return false; },+};+</script>+<script src="../../../resources/testharness.js"></script>+<script src="../../../resources/testharnessreport.js"></script>+<script src="../../util/helpers.js"></script>+<script src="../../sign_verify/eddsa_vectors.js"></script>+<script src="../../sign_verify/signature.js"></script>+<script src="../../sign_verify/eddsa.js"></script>+<div id=log></div>+<script src="../../../WebCryptoAPI/secure-curves/sign_verify/eddsa_curve448.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/sign_verify/eddsa_curve448.https.any.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/sign_verify/eddsa_curve448.https.any.jsnew file mode 100644index 00000000000..b7e6b832251--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/secure-curves/sign_verify/eddsa_curve448.https.any.js@@ -0,0 +1,8 @@+// META: title=WebCryptoAPI: sign() and verify() Using EdDSA+// META: script=../../util/helpers.js+// META: script=../../sign_verify/eddsa_vectors.js+// META: script=../../sign_verify/signature.js+// META: script=../../sign_verify/eddsa.js+// META: timeout=long++run_test("Ed448");diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/serialization/aes-ocb.tentative.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/serialization/aes-ocb.tentative.https.any.htmldeleted file mode 100644index afdc3c8380c..00000000000--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/serialization/aes-ocb.tentative.https.any.html+++ /dev/null@@ -1,16 +0,0 @@-<!doctype html>-<meta charset=utf-8>-<title>WebCryptoAPI: CryptoKey serialization</title>-<script>-self.GLOBAL = {- isWindow: function() { return true; },- isWorker: function() { return false; },- isShadowRealm: function() { return false; },-};-</script>-<script src="../../resources/testharness.js"></script>-<script src="../../resources/testharnessreport.js"></script>-<script src="../util/helpers.js"></script>-<script src="serialization.js"></script>-<div id=log></div>-<script src="../../WebCryptoAPI/serialization/aes-ocb.tentative.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/serialization/chacha20-poly1305.tentative.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/serialization/chacha20-poly1305.tentative.https.any.htmldeleted file mode 100644index 6be5871cba4..00000000000--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/serialization/chacha20-poly1305.tentative.https.any.html+++ /dev/null@@ -1,16 +0,0 @@-<!doctype html>-<meta charset=utf-8>-<title>WebCryptoAPI: CryptoKey serialization</title>-<script>-self.GLOBAL = {- isWindow: function() { return true; },- isWorker: function() { return false; },- isShadowRealm: function() { return false; },-};-</script>-<script src="../../resources/testharness.js"></script>-<script src="../../resources/testharnessreport.js"></script>-<script src="../util/helpers.js"></script>-<script src="serialization.js"></script>-<div id=log></div>-<script src="../../WebCryptoAPI/serialization/chacha20-poly1305.tentative.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/serialization/ed448.tentative.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/serialization/ed448.tentative.https.any.htmldeleted file mode 100644index 68776253650..00000000000--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/serialization/ed448.tentative.https.any.html+++ /dev/null@@ -1,16 +0,0 @@-<!doctype html>-<meta charset=utf-8>-<title>WebCryptoAPI: CryptoKey serialization</title>-<script>-self.GLOBAL = {- isWindow: function() { return true; },- isWorker: function() { return false; },- isShadowRealm: function() { return false; },-};-</script>-<script src="../../resources/testharness.js"></script>-<script src="../../resources/testharnessreport.js"></script>-<script src="../util/helpers.js"></script>-<script src="serialization.js"></script>-<div id=log></div>-<script src="../../WebCryptoAPI/serialization/ed448.tentative.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/serialization/kmac.tentative.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/serialization/kmac.tentative.https.any.htmldeleted file mode 100644index 67087bdc060..00000000000--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/serialization/kmac.tentative.https.any.html+++ /dev/null@@ -1,16 +0,0 @@-<!doctype html>-<meta charset=utf-8>-<title>WebCryptoAPI: CryptoKey serialization</title>-<script>-self.GLOBAL = {- isWindow: function() { return true; },- isWorker: function() { return false; },- isShadowRealm: function() { return false; },-};-</script>-<script src="../../resources/testharness.js"></script>-<script src="../../resources/testharnessreport.js"></script>-<script src="../util/helpers.js"></script>-<script src="serialization.js"></script>-<div id=log></div>-<script src="../../WebCryptoAPI/serialization/kmac.tentative.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/serialization/mldsa.tentative.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/serialization/mldsa.tentative.https.any.htmldeleted file mode 100644index c5a6f474a22..00000000000--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/serialization/mldsa.tentative.https.any.html+++ /dev/null@@ -1,16 +0,0 @@-<!doctype html>-<meta charset=utf-8>-<title>WebCryptoAPI: CryptoKey serialization</title>-<script>-self.GLOBAL = {- isWindow: function() { return true; },- isWorker: function() { return false; },- isShadowRealm: function() { return false; },-};-</script>-<script src="../../resources/testharness.js"></script>-<script src="../../resources/testharnessreport.js"></script>-<script src="../util/helpers.js"></script>-<script src="serialization.js"></script>-<div id=log></div>-<script src="../../WebCryptoAPI/serialization/mldsa.tentative.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/serialization/mlkem.tentative.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/serialization/mlkem.tentative.https.any.htmldeleted file mode 100644index 1d66b11893d..00000000000--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/serialization/mlkem.tentative.https.any.html+++ /dev/null@@ -1,16 +0,0 @@-<!doctype html>-<meta charset=utf-8>-<title>WebCryptoAPI: CryptoKey serialization</title>-<script>-self.GLOBAL = {- isWindow: function() { return true; },- isWorker: function() { return false; },- isShadowRealm: function() { return false; },-};-</script>-<script src="../../resources/testharness.js"></script>-<script src="../../resources/testharnessreport.js"></script>-<script src="../util/helpers.js"></script>-<script src="serialization.js"></script>-<div id=log></div>-<script src="../../WebCryptoAPI/serialization/mlkem.tentative.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/serialization/x448.tentative.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/serialization/x448.tentative.https.any.htmldeleted file mode 100644index 4a3eae49be6..00000000000--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/serialization/x448.tentative.https.any.html+++ /dev/null@@ -1,16 +0,0 @@-<!doctype html>-<meta charset=utf-8>-<title>WebCryptoAPI: CryptoKey serialization</title>-<script>-self.GLOBAL = {- isWindow: function() { return true; },- isWorker: function() { return false; },- isShadowRealm: function() { return false; },-};-</script>-<script src="../../resources/testharness.js"></script>-<script src="../../resources/testharnessreport.js"></script>-<script src="../util/helpers.js"></script>-<script src="serialization.js"></script>-<div id=log></div>-<script src="../../WebCryptoAPI/serialization/x448.tentative.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/ecdsa.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/ecdsa.https.any.htmlindex e18ade77ef0..d4cc7b90446 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/ecdsa.https.any.html+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/ecdsa.https.any.html@@ -13,6 +13,7 @@ self.GLOBAL = {<script src="../../resources/testharnessreport.js"></script><script src="../util/helpers.js"></script><script src="ecdsa_vectors.js"></script>+<script src="signature.js"></script><script src="ecdsa.js"></script><div id=log></div><script src="../../WebCryptoAPI/sign_verify/ecdsa.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/ecdsa.https.any.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/ecdsa.https.any.jsindex 3f1e2e5ea9d..2af5e05048e 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/ecdsa.https.any.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/ecdsa.https.any.js@@ -1,6 +1,7 @@// META: title=WebCryptoAPI: sign() and verify() Using ECDSA// META: script=../util/helpers.js// META: script=ecdsa_vectors.js+// META: script=signature.js// META: script=ecdsa.js// META: timeout=longdiff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/ecdsa.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/ecdsa.jsindex e69de29bb2d..a1a744aaa82 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/ecdsa.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/ecdsa.js@@ -0,0 +1,71 @@+function run_test() {+ const subtle = self.crypto.subtle;+ const normalize = vector => ({...vector, data: vector.plaintext});+ const testVectors = getTestVectors().map(normalize);+ const invalidTestVectors = getInvalidTestVectors().map(normalize);+ const algorithmIdentifier = vector => ({+ name: vector.algorithmName,+ hash: vector.hashName,+ });+ const importAlgorithm = vector => ({+ name: vector.algorithmName,+ namedCurve: vector.namedCurve,+ });++ runSignatureTests({+ vectors: testVectors,+ invalidVectors: invalidTestVectors,+ algorithmIdentifier,+ importAlgorithm,+ dataLabel: "plaintext",+ });++ testVectors.forEach(function(vector) {+ promise_test(async function() {+ const key = await subtle.importKey(+ vector.publicKeyFormat,+ vector.publicKeyBuffer,+ importAlgorithm(vector),+ false,+ ["verify"]+ );+ const hash = vector.hashName === "SHA-1" ? "SHA-256" : "SHA-1";+ const isVerified = await subtle.verify(+ {name: vector.algorithmName, hash},+ key,+ vector.signature,+ vector.data+ );+ assert_false(isVerified, "Signature NOT verified");+ }, vector.name + " verification failure due to wrong hash");++ promise_test(async function() {+ const key = await subtle.importKey(+ vector.publicKeyFormat,+ vector.publicKeyBuffer,+ importAlgorithm(vector),+ false,+ ["verify"]+ );+ const hash = vector.hashName.substring(0, 3) ++ vector.hashName.substring(4);+ let error;+ try {+ await subtle.verify(+ {name: vector.algorithmName, hash},+ key,+ vector.signature,+ vector.data+ );+ } catch (caught) {+ error = caught;+ }+ assert_not_equals(error, undefined, "Verification should throw");+ assert_equals(+ error.name,+ "NotSupportedError",+ "Correctly throws NotSupportedError for illegal hash name"+ );+ }, vector.name + " verification failure due to bad hash name");+ });+}diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/eddsa.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/eddsa.jsindex 77961566d9a..a60ceda96a6 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/eddsa.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/eddsa.js@@ -1,337 +1,10 @@-function run_test(algorithmName) {- var subtle = self.crypto.subtle; // Change to test prefixed implementations-- // Source file [algorithm_name]_vectors.js provides the getTestVectors method- // for the algorithm that drives these tests.- var testVectors = getTestVectors(algorithmName);-- testVectors.forEach(function(vector) {- var algorithm = {name: vector.algorithmName};-- // Test verification first, because signing tests rely on that working- promise_test(async() => {- let isVerified = false;- let key;- try {- key = await subtle.importKey("spki", vector.publicKeyBuffer, algorithm, false, ["verify"]);- isVerified = await subtle.verify(algorithm, key, vector.signature, vector.data)- } catch (err) {- assert_false(key === undefined, "importKey failed for " + vector.name + ". Message: ''" + err.message + "''");- assert_unreached("Verification should not throw error " + vector.name + ": '" + err.message + "'");- };- assert_true(isVerified, "Signature verified");- }, vector.name + " verification");-- // Test verification with an altered buffer during call- promise_test(async() => {- let isVerified = false;- let key;- try {- key = await subtle.importKey("spki", vector.publicKeyBuffer, algorithm, false, ["verify"]);- var signature = copyBuffer(vector.signature);- signature[0] = 255 - signature[0];- isVerified = await subtle.verify({- get name() {- signature[0] = vector.signature[0];- return vector.algorithmName;- }- }, key, signature, vector.data);- } catch (err) {- assert_false(key === undefined, "importKey failed for " + vector.name + ". Message: ''" + err.message + "''");- assert_unreached("Verification should not throw error " + vector.name + ": '" + err.message + "'");- };- assert_true(isVerified, "Signature verified");- }, vector.name + " verification with altered signature during call");-- // Test verification with an altered buffer after call- promise_test(async() => {- let isVerified = false;- let key;- try {- key = await subtle.importKey("spki", vector.publicKeyBuffer, algorithm, false, ["verify"]);- var signature = copyBuffer(vector.signature);- [isVerified] = await Promise.all([- subtle.verify(algorithm, key, signature, vector.data),- signature[0] = 255 - signature[0]- ]);- } catch (err) {- assert_false(key === undefined, "importKey failed for " + vector.name + ". Message: ''" + err.message + "''");- assert_unreached("Verification should not throw error " + vector.name + ": '" + err.message + "'");- };- assert_true(isVerified, "Signature verified");- }, vector.name + " verification with altered signature after call");-- // Test verification with a transferred buffer during call- promise_test(async() => {- let isVerified = false;- let key;- try {- key = await subtle.importKey("spki", vector.publicKeyBuffer, algorithm, false, ["verify"]);- var signature = copyBuffer(vector.signature);- isVerified = await subtle.verify({- get name() {- signature.buffer.transfer();- return vector.algorithmName;- }- }, key, signature, vector.data);- } catch (err) {- assert_false(key === undefined, "importKey failed for " + vector.name + ". Message: ''" + err.message + "''");- assert_unreached("Verification should not throw error " + vector.name + ": '" + err.message + "'");- };- assert_false(isVerified, "Signature is NOT verified");- }, vector.name + " verification with transferred signature during call");-- // Test verification with a transferred buffer after call- promise_test(async() => {- let isVerified = false;- let key;- try {- key = await subtle.importKey("spki", vector.publicKeyBuffer, algorithm, false, ["verify"]);- var signature = copyBuffer(vector.signature);- var operation = subtle.verify(algorithm, key, signature, vector.data);- signature.buffer.transfer();- isVerified = await operation;- } catch (err) {- assert_false(key === undefined, "importKey failed for " + vector.name + ". Message: ''" + err.message + "''");- assert_unreached("Verification should not throw error " + vector.name + ": '" + err.message + "'");- };- assert_true(isVerified, "Signature verified");- }, vector.name + " verification with transferred signature after call");-- // Check for successful verification even if data is altered during call.- promise_test(async() => {- let isVerified = false;- let key;- try {- key = await subtle.importKey("spki", vector.publicKeyBuffer, algorithm, false, ["verify"]);- var data = copyBuffer(vector.data);- data[0] = 255 - data[0];- isVerified = await subtle.verify({- get name() {- data[0] = vector.data[0];- return vector.algorithmName;- }- }, key, vector.signature, data);- } catch (err) {- assert_false(key === undefined, "importKey failed for " + vector.name + ". Message: ''" + err.message + "''");- assert_unreached("Verification should not throw error " + vector.name + ": '" + err.message + "'");- };- assert_true(isVerified, "Signature verified");- }, vector.name + " with altered data during call");-- // Check for successful verification even if data is altered after call.- promise_test(async() => {- let isVerified = false;- let key;- try {- key = await subtle.importKey("spki", vector.publicKeyBuffer, algorithm, false, ["verify"]);- var data = copyBuffer(vector.data);- [isVerified] = await Promise.all([- subtle.verify(algorithm, key, vector.signature, data),- data[0] = 255 - data[0]- ]);- } catch (err) {- assert_false(key === undefined, "importKey failed for " + vector.name + ". Message: ''" + err.message + "''");- assert_unreached("Verification should not throw error " + vector.name + ": '" + err.message + "'");- };- assert_true(isVerified, "Signature verified");- }, vector.name + " with altered data after call");-- // Check for failed verification if data is transferred during call.- promise_test(async() => {- let isVerified = false;- let key;- try {- key = await subtle.importKey("spki", vector.publicKeyBuffer, algorithm, false, ["verify"]);- var data = copyBuffer(vector.data);- isVerified = await subtle.verify({- get name() {- data.buffer.transfer();- return vector.algorithmName;- }- }, key, vector.signature, data);- } catch (err) {- assert_false(key === undefined, "importKey failed for " + vector.name + ". Message: ''" + err.message + "''");- assert_unreached("Verification should not throw error " + vector.name + ": '" + err.message + "'");- };- assert_false(isVerified, "Signature is NOT verified");- }, vector.name + " with transferred data during call");-- // Check for successful verification even if data is transferred after call.- promise_test(async() => {- let isVerified = false;- let key;- try {- key = await subtle.importKey("spki", vector.publicKeyBuffer, algorithm, false, ["verify"]);- var data = copyBuffer(vector.data);- var operation = subtle.verify(algorithm, key, vector.signature, data);- data.buffer.transfer();- isVerified = await operation;- } catch (err) {- assert_false(key === undefined, "importKey failed for " + vector.name + ". Message: ''" + err.message + "''");- assert_unreached("Verification should not throw error " + vector.name + ": '" + err.message + "'");- };- assert_true(isVerified, "Signature verified");- }, vector.name + " with transferred data after call");-- // Check for failures due to using privateKey to verify.- promise_test(async() => {- let isVerified = false;- let key;- try {- key = await subtle.importKey("pkcs8", vector.privateKeyBuffer, algorithm, false, ["sign"]);- isVerified = await subtle.verify(algorithm, key, vector.signature, vector.data)- assert_unreached("Should have thrown error for using privateKey to verify in " + vector.name);- } catch (err) {- if (err instanceof AssertionError)- throw err;- assert_false(key === undefined, "importKey failed for " + vector.name + ". Message: ''" + err.message + "''");- assert_equals(err.name, "InvalidAccessError", "Should throw InvalidAccessError instead of '" + err.message + "'");- };- assert_false(isVerified, "Signature verified");- }, vector.name + " using privateKey to verify");-- // Check for failures due to using publicKey to sign.- promise_test(async() => {- let isVerified = false;- let key;- try {- key = await subtle.importKey("spki", vector.publicKeyBuffer, algorithm, false, ["verify"]);- let signature = await subtle.sign(algorithm, key, vector.data);- assert_unreached("Should have thrown error for using publicKey to sign in " + vector.name);- } catch (err) {- if (err instanceof AssertionError)- throw err;- assert_false(key === undefined, "importKey failed for " + vector.name + ". Message: ''" + err.message + "''");- assert_equals(err.name, "InvalidAccessError", "Should throw InvalidAccessError instead of '" + err.message + "'");- };- }, vector.name + " using publicKey to sign");-- // Check for failures due to no "verify" usage.- promise_test(async() => {- let isVerified = false;- let key;- try {- key = await subtle.importKey("spki", vector.publicKeyBuffer, algorithm, false, []);- isVerified = await subtle.verify(algorithm, key, vector.signature, vector.data)- assert_unreached("Should have thrown error for no verify usage in " + vector.name);- } catch (err) {- if (err instanceof AssertionError)- throw err;- assert_false(key === undefined, "importKey failed for " + vector.name + ". Message: ''" + err.message + "''");- assert_equals(err.name, "InvalidAccessError", "Should throw InvalidAccessError instead of '" + err.message + "'");- };- assert_false(isVerified, "Signature verified");- }, vector.name + " no verify usage");-- // Check for successful signing and verification.- var algorithm = {name: vector.algorithmName};- promise_test(async() => {- let isVerified = false;- let privateKey, publicKey;- let signature;- try {- privateKey = await subtle.importKey("pkcs8", vector.privateKeyBuffer, algorithm, false, ["sign"]);- publicKey = await subtle.importKey("spki", vector.publicKeyBuffer, algorithm, false, ["verify"]);- signature = await subtle.sign(algorithm, privateKey, vector.data);- isVerified = await subtle.verify(algorithm, publicKey, vector.signature, vector.data)- } catch (err) {- assert_false(publicKey === undefined || privateKey === undefined, "importKey failed for " + vector.name + ". Message: ''" + err.message + "''");- assert_false(signature === undefined, "sign error for test " + vector.name + ": '" + err.message + "'");- assert_unreached("verify error for test " + vector.name + ": '" + err.message + "'");- };- assert_true(isVerified, "Round trip verification works");- }, vector.name + " round trip");-- // Test signing with the wrong algorithm- var algorithm = {name: vector.algorithmName};- promise_test(async() => {- let wrongKey;- try {- wrongKey = await subtle.generateKey({name: "HMAC", hash: "SHA-1"}, false, ["sign", "verify"])- let signature = await subtle.sign(algorithm, wrongKey, vector.data);- assert_unreached("Signing should not have succeeded for " + vector.name);- } catch (err) {- if (err instanceof AssertionError)- throw err;- assert_false(wrongKey === undefined, "Generate wrong key for test " + vector.name + " failed: '" + err.message + "'");- assert_equals(err.name, "InvalidAccessError", "Should have thrown InvalidAccessError instead of '" + err.message + "'");- };- }, vector.name + " signing with wrong algorithm name");-- // Test verification with the wrong algorithm- var algorithm = {name: vector.algorithmName};- promise_test(async() => {- let wrongKey;- try {- wrongKey = await subtle.generateKey({name: "HMAC", hash: "SHA-1"}, false, ["sign", "verify"])- let isVerified = await subtle.verify(algorithm, wrongKey, vector.signature, vector.data)- assert_unreached("Verifying should not have succeeded for " + vector.name);- } catch (err) {- if (err instanceof AssertionError)- throw err;- assert_false(wrongKey === undefined, "Generate wrong key for test " + vector.name + " failed: '" + err.message + "'");- assert_equals(err.name, "InvalidAccessError", "Should have thrown InvalidAccessError instead of '" + err.message + "'");- };- }, vector.name + " verifying with wrong algorithm name");-- // Test verification fails with wrong signature- var algorithm = {name: vector.algorithmName};- promise_test(async() => {- let key;- let isVerified = true;- var signature = copyBuffer(vector.signature);- signature[0] = 255 - signature[0];- try {- key = await subtle.importKey("spki", vector.publicKeyBuffer, algorithm, false, ["verify"]);- isVerified = await subtle.verify(algorithm, key, signature, vector.data)- } catch (err) {- assert_false(key === undefined, "importKey failed for " + vector.name + ". Message: ''" + err.message + "''");- assert_unreached("Verification should not throw error " + vector.name + ": '" + err.message + "'");- };- assert_false(isVerified, "Signature verified");- }, vector.name + " verification failure due to altered signature");-- // Test verification fails with short (odd length) signature- promise_test(async() => {- let key;- let isVerified = true;- var signature = vector.signature.slice(1); // Skip the first byte- try {- key = await subtle.importKey("spki", vector.publicKeyBuffer, algorithm, false, ["verify"]);- isVerified = await subtle.verify(algorithm, key, signature, vector.data)- } catch (err) {- assert_false(key === undefined, "importKey failed for " + vector.name + ". Message: ''" + err.message + "''");- assert_unreached("Verification should not throw error " + vector.name + ": '" + err.message + "'");- };- assert_false(isVerified, "Signature verified");- }, vector.name + " verification failure due to shortened signature");-- // Test verification fails with wrong data- promise_test(async() => {- let key;- let isVerified = true;- var data = copyBuffer(vector.data);- data[0] = 255 - data[0];- try {- key = await subtle.importKey("spki", vector.publicKeyBuffer, algorithm, false, ["verify"]);- isVerified = await subtle.verify(algorithm, key, vector.signature, data)- } catch (err) {- assert_false(key === undefined, "importKey failed for " + vector.name + ". Message: ''" + err.message + "''");- assert_unreached("Verification should not throw error " + vector.name + ": '" + err.message + "'");- };- assert_false(isVerified, "Signature verified");- }, vector.name + " verification failure due to altered data");-- // Test that generated keys are valid for signing and verifying.- promise_test(async() => {- let key = await subtle.generateKey(algorithm, false, ["sign", "verify"]);- let signature = await subtle.sign(algorithm, key.privateKey, vector.data);- let isVerified = await subtle.verify(algorithm, key.publicKey, signature, vector.data);- assert_true(isVerified, "Verificaton failed.");- }, "Sign and verify using generated " + vector.algorithmName + " keys.");+ runSignatureTests({+ vectors: getTestVectors(algorithmName),+ algorithmIdentifier(vector) {+ return {name: vector.algorithmName};+ },+ katFirst: true,+ generatedKeys: true,});-- return;}diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/eddsa_curve448.tentative.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/eddsa_curve448.tentative.https.any.htmldeleted file mode 100644index 830dd178c5a..00000000000--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/eddsa_curve448.tentative.https.any.html+++ /dev/null@@ -1,18 +0,0 @@-<!doctype html>-<meta charset=utf-8>-<title>WebCryptoAPI: sign() and verify() Using EdDSA</title>-<meta name="timeout" content="long">-<script>-self.GLOBAL = {- isWindow: function() { return true; },- isWorker: function() { return false; },- isShadowRealm: function() { return false; },-};-</script>-<script src="../../resources/testharness.js"></script>-<script src="../../resources/testharnessreport.js"></script>-<script src="../util/helpers.js"></script>-<script src="eddsa_vectors.js"></script>-<script src="eddsa.js"></script>-<div id=log></div>-<script src="../../WebCryptoAPI/sign_verify/eddsa_curve448.tentative.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/eddsa_curve448.tentative.https.any.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/eddsa_curve448.tentative.https.any.jsdeleted file mode 100644index 281bb63ad65..00000000000--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/eddsa_curve448.tentative.https.any.js+++ /dev/null@@ -1,7 +0,0 @@-// META: title=WebCryptoAPI: sign() and verify() Using EdDSA-// META: script=../util/helpers.js-// META: script=eddsa_vectors.js-// META: script=eddsa.js-// META: timeout=long--run_test("Ed448");diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/hmac.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/hmac.https.any.htmlindex b64998babb0..afe52cfd8aa 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/hmac.https.any.html+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/hmac.https.any.html@@ -13,6 +13,7 @@ self.GLOBAL = {<script src="../../resources/testharnessreport.js"></script><script src="../util/helpers.js"></script><script src="hmac_vectors.js"></script>+<script src="mac.js"></script><script src="hmac.js"></script><div id=log></div><script src="../../WebCryptoAPI/sign_verify/hmac.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/hmac.https.any.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/hmac.https.any.jsindex a6c88f80ed9..070611181e5 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/hmac.https.any.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/hmac.https.any.js@@ -1,6 +1,7 @@// META: title=WebCryptoAPI: sign() and verify() Using HMAC// META: script=../util/helpers.js// META: script=hmac_vectors.js+// META: script=mac.js// META: script=hmac.js// META: timeout=longdiff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/hmac.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/hmac.jsindex 929d9464e17..05b9cedfb94 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/hmac.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/hmac.js@@ -1,494 +1,11 @@-function run_test() {- setup({explicit_done: true});-- var subtle = self.crypto.subtle; // Change to test prefixed implementations-- // When are all these tests really done? When all the promises they use have resolved.- var all_promises = [];-- // Source file hmac_vectors.js provides the getTestVectors method- // for the algorithm that drives these tests.- var testVectors = getTestVectors();-- // Test verification first, because signing tests rely on that working- testVectors.forEach(function(vector) {- var promise = importVectorKeys(vector, ["verify", "sign"])- .then(function(vector) {- promise_test(function(test) {- var operation = subtle.verify({name: "HMAC", hash: vector.hash}, vector.key, vector.signature, vector.plaintext)- .then(function(is_verified) {- assert_true(is_verified, "Signature verified");- }, function(err) {- assert_unreached("Verification should not throw error " + vector.name + ": '" + err.message + "'");- });-- return operation;- }, vector.name + " verification");-- }, function(err) {- // We need a failed test if the importVectorKey operation fails, so- // we know we never tested verification.- promise_test(function(test) {- assert_unreached("importVectorKeys failed for " + vector.name + ". Message: ''" + err.message + "''");- }, "importVectorKeys step: " + vector.name + " verification");- });-- all_promises.push(promise);- });-- // Test verification with an altered buffer during call- testVectors.forEach(function(vector) {- var promise = importVectorKeys(vector, ["verify", "sign"])- .then(function(vector) {- promise_test(function(test) {- var signature = copyBuffer(vector.signature);- signature[0] = 255 - signature[0];- var operation = subtle.verify({- get name() {- signature[0] = vector.signature[0];- return "HMAC";- },- hash: vector.hash- }, vector.key, signature, vector.plaintext)- .then(function(is_verified) {- assert_true(is_verified, "Signature is not verified");- }, function(err) {- assert_unreached("Verification should not throw error " + vector.name + ": '" + err.message + "'");- });-- return operation;- }, vector.name + " verification with altered signature during call");- }, function(err) {- promise_test(function(test) {- assert_unreached("importVectorKeys failed for " + vector.name + ". Message: ''" + err.message + "''");- }, "importVectorKeys step: " + vector.name + " verification with altered signature during call");- });-- all_promises.push(promise);- });-- // Test verification with an altered buffer after call- testVectors.forEach(function(vector) {- var promise = importVectorKeys(vector, ["verify", "sign"])- .then(function(vector) {- promise_test(function(test) {- var signature = copyBuffer(vector.signature);- var operation = subtle.verify({name: "HMAC", hash: vector.hash}, vector.key, signature, vector.plaintext)- .then(function(is_verified) {- assert_true(is_verified, "Signature is not verified");- }, function(err) {- assert_unreached("Verification should not throw error " + vector.name + ": '" + err.message + "'");- });-- signature[0] = 255 - signature[0];- return operation;- }, vector.name + " verification with altered signature after call");- }, function(err) {- promise_test(function(test) {- assert_unreached("importVectorKeys failed for " + vector.name + ". Message: ''" + err.message + "''");- }, "importVectorKeys step: " + vector.name + " verification with altered signature after call");- });-- all_promises.push(promise);- });-- // Test verification with a transferred buffer during call- testVectors.forEach(function(vector) {- var promise = importVectorKeys(vector, ["verify", "sign"])- .then(function(vector) {- promise_test(function(test) {- var signature = copyBuffer(vector.signature);- var operation = subtle.verify({- get name() {- signature.buffer.transfer();- return "HMAC";- },- hash: vector.hash- }, vector.key, signature, vector.plaintext)- .then(function(is_verified) {- assert_false(is_verified, "Signature is NOT verified");- }, function(err) {- assert_unreached("Verification should not throw error " + vector.name + ": '" + err.message + "'");- });-- return operation;- }, vector.name + " verification with transferred signature during call");- }, function(err) {- promise_test(function(test) {- assert_unreached("importVectorKeys failed for " + vector.name + ". Message: ''" + err.message + "''");- }, "importVectorKeys step: " + vector.name + " verification with transferred signature during call");- });-- all_promises.push(promise);- });-- // Test verification with a transferred buffer after call- testVectors.forEach(function(vector) {- var promise = importVectorKeys(vector, ["verify", "sign"])- .then(function(vector) {- promise_test(function(test) {- var signature = copyBuffer(vector.signature);- var operation = subtle.verify({name: "HMAC", hash: vector.hash}, vector.key, signature, vector.plaintext)- .then(function(is_verified) {- assert_true(is_verified, "Signature is not verified");- }, function(err) {- assert_unreached("Verification should not throw error " + vector.name + ": '" + err.message + "'");- });-- signature.buffer.transfer();- return operation;- }, vector.name + " verification with transferred signature after call");- }, function(err) {- promise_test(function(test) {- assert_unreached("importVectorKeys failed for " + vector.name + ". Message: ''" + err.message + "''");- }, "importVectorKeys step: " + vector.name + " verification with transferred signature after call");- });-- all_promises.push(promise);- });-- // Check for successful verification even if plaintext is altered during call.- testVectors.forEach(function(vector) {- var promise = importVectorKeys(vector, ["verify", "sign"])- .then(function(vector) {- promise_test(function(test) {- var plaintext = copyBuffer(vector.plaintext);- plaintext[0] = 255 - plaintext[0];- var operation = subtle.verify({- hash: vector.hash,- get name() {- plaintext[0] = vector.plaintext[0];- return "HMAC";- }- }, vector.key, vector.signature, plaintext)- .then(function(is_verified) {- assert_true(is_verified, "Signature verified");- }, function(err) {- assert_unreached("Verification should not throw error " + vector.name + ": '" + err.message + "'");- });-- return operation;- }, vector.name + " with altered plaintext during call");- }, function(err) {- promise_test(function(test) {- assert_unreached("importVectorKeys failed for " + vector.name + ". Message: ''" + err.message + "''");- }, "importVectorKeys step: " + vector.name + " with altered plaintext during call");- });-- all_promises.push(promise);- });-- // Check for successful verification even if plaintext is altered after call.- testVectors.forEach(function(vector) {- var promise = importVectorKeys(vector, ["verify", "sign"])- .then(function(vector) {- promise_test(function(test) {- var plaintext = copyBuffer(vector.plaintext);- var operation = subtle.verify({name: "HMAC", hash: vector.hash}, vector.key, vector.signature, plaintext)- .then(function(is_verified) {- assert_true(is_verified, "Signature verified");- }, function(err) {- assert_unreached("Verification should not throw error " + vector.name + ": '" + err.message + "'");- });-- plaintext[0] = 255 - plaintext[0];- return operation;- }, vector.name + " with altered plaintext after call");- }, function(err) {- promise_test(function(test) {- assert_unreached("importVectorKeys failed for " + vector.name + ". Message: ''" + err.message + "''");- }, "importVectorKeys step: " + vector.name + " with altered plaintext after call");- });-- all_promises.push(promise);- });-- // Check for failed verification if plaintext is transferred during call.- testVectors.forEach(function(vector) {- var promise = importVectorKeys(vector, ["verify", "sign"])- .then(function(vector) {- promise_test(function(test) {- var plaintext = copyBuffer(vector.plaintext);- var operation = subtle.verify({- get name() {- plaintext.buffer.transfer();- return "HMAC";- },- hash: vector.hash- }, vector.key, vector.signature, plaintext)- .then(function(is_verified) {- assert_false(is_verified, "Signature is NOT verified");- }, function(err) {- assert_unreached("Verification should not throw error " + vector.name + ": '" + err.message + "'");- });-- return operation;- }, vector.name + " with transferred plaintext during call");- }, function(err) {- promise_test(function(test) {- assert_unreached("importVectorKeys failed for " + vector.name + ". Message: ''" + err.message + "''");- }, "importVectorKeys step: " + vector.name + " with transferred plaintext during call");- });-- all_promises.push(promise);- });-- // Check for successful verification even if plaintext is transferred after call.- testVectors.forEach(function(vector) {- var promise = importVectorKeys(vector, ["verify", "sign"])- .then(function(vector) {- promise_test(function(test) {- var plaintext = copyBuffer(vector.plaintext);- var operation = subtle.verify({name: "HMAC", hash: vector.hash}, vector.key, vector.signature, plaintext)- .then(function(is_verified) {- assert_true(is_verified, "Signature verified");- }, function(err) {- assert_unreached("Verification should not throw error " + vector.name + ": '" + err.message + "'");- });-- plaintext.buffer.transfer();- return operation;- }, vector.name + " with transferred plaintext after call");- }, function(err) {- promise_test(function(test) {- assert_unreached("importVectorKeys failed for " + vector.name + ". Message: ''" + err.message + "''");- }, "importVectorKeys step: " + vector.name + " with transferred plaintext after call");- });-- all_promises.push(promise);- });-- // Check for failures due to no "verify" usage.- testVectors.forEach(function(originalVector) {- var vector = Object.assign({}, originalVector);-- var promise = importVectorKeys(vector, ["sign"])- .then(function(vector) {- promise_test(function(test) {- return subtle.verify({name: "HMAC", hash: vector.hash}, vector.key, vector.signature, vector.plaintext)- .then(function(plaintext) {- assert_unreached("Should have thrown error for no verify usage in " + vector.name + ": '" + err.message + "'");- }, function(err) {- assert_equals(err.name, "InvalidAccessError", "Should throw InvalidAccessError instead of '" + err.message + "'");- });- }, vector.name + " no verify usage");- }, function(err) {- promise_test(function(test) {- assert_unreached("importVectorKeys failed for " + vector.name + ". Message: ''" + err.message + "''");- }, "importVectorKeys step: " + vector.name + " no verify usage");- });-- all_promises.push(promise);- });-- // Check for successful signing and verification.- testVectors.forEach(function(vector) {- var promise = importVectorKeys(vector, ["verify", "sign"])- .then(function(vectors) {- promise_test(function(test) {- return subtle.sign({name: "HMAC", hash: vector.hash}, vector.key, vector.plaintext)- .then(function(signature) {- assert_true(equalBuffers(signature, vector.signature), "Signing did not give the expected output");- // Can we get the verify the new signature?- return subtle.verify({name: "HMAC", hash: vector.hash}, vector.key, signature, vector.plaintext)- .then(function(is_verified) {- assert_true(is_verified, "Round trip verifies");- return signature;- }, function(err) {- assert_unreached("verify error for test " + vector.name + ": '" + err.message + "'");- });- });- }, vector.name + " round trip");-- }, function(err) {- // We need a failed test if the importVectorKey operation fails, so- // we know we never tested signing or verifying- promise_test(function(test) {- assert_unreached("importVectorKeys failed for " + vector.name + ". Message: ''" + err.message + "''");- }, "importVectorKeys step: " + vector.name + " round trip");- });-- all_promises.push(promise);- });-- // Test signing with the wrong algorithm- testVectors.forEach(function(vector) {- // Want to get the key for the wrong algorithm- var promise = subtle.generateKey({name: "ECDSA", namedCurve: "P-256", hash: "SHA-256"}, false, ["sign", "verify"])- .then(function(wrongKey) {- return importVectorKeys(vector, ["verify", "sign"])- .then(function(vectors) {- promise_test(function(test) {- var operation = subtle.sign({name: "HMAC", hash: vector.hash}, wrongKey.privateKey, vector.plaintext)- .then(function(signature) {- assert_unreached("Signing should not have succeeded for " + vector.name);- }, function(err) {- assert_equals(err.name, "InvalidAccessError", "Should have thrown InvalidAccessError instead of '" + err.message + "'");- });-- return operation;- }, vector.name + " signing with wrong algorithm name");-- }, function(err) {- // We need a failed test if the importVectorKey operation fails, so- // we know we never tested verification.- promise_test(function(test) {- assert_unreached("importVectorKeys failed for " + vector.name + ". Message: ''" + err.message + "''");- }, "importVectorKeys step: " + vector.name + " signing with wrong algorithm name");- });- }, function(err) {- promise_test(function(test) {- assert_unreached("Generate wrong key for test " + vector.name + " failed: '" + err.message + "'");- }, "generate wrong key step: " + vector.name + " signing with wrong algorithm name");- });-- all_promises.push(promise);- });-- // Test verification with the wrong algorithm- testVectors.forEach(function(vector) {- // Want to get the key for the wrong algorithm- var promise = subtle.generateKey({name: "ECDSA", namedCurve: "P-256", hash: "SHA-256"}, false, ["sign", "verify"])- .then(function(wrongKey) {- return importVectorKeys(vector, ["verify", "sign"])- .then(function(vector) {- promise_test(function(test) {- var operation = subtle.verify({name: "HMAC", hash: vector.hash}, wrongKey.publicKey, vector.signature, vector.plaintext)- .then(function(signature) {- assert_unreached("Verifying should not have succeeded for " + vector.name);- }, function(err) {- assert_equals(err.name, "InvalidAccessError", "Should have thrown InvalidAccessError instead of '" + err.message + "'");- });-- return operation;- }, vector.name + " verifying with wrong algorithm name");-- }, function(err) {- // We need a failed test if the importVectorKey operation fails, so- // we know we never tested verification.- promise_test(function(test) {- assert_unreached("importVectorKeys failed for " + vector.name + ". Message: ''" + err.message + "''");- }, "importVectorKeys step: " + vector.name + " verifying with wrong algorithm name");- });- }, function(err) {- promise_test(function(test) {- assert_unreached("Generate wrong key for test " + vector.name + " failed: '" + err.message + "'");- }, "generate wrong key step: " + vector.name + " verifying with wrong algorithm name");- });-- all_promises.push(promise);- });-- // Verification should fail if the plaintext is changed- testVectors.forEach(function(vector) {- var promise = importVectorKeys(vector, ["verify", "sign"])- .then(function(vector) {- var plaintext = copyBuffer(vector.plaintext);- plaintext[0] = 255 - plaintext[0];- promise_test(function(test) {- var operation = subtle.verify({name: "HMAC", hash: vector.hash}, vector.key, vector.signature, plaintext)- .then(function(is_verified) {- assert_false(is_verified, "Signature is NOT verified");- }, function(err) {- assert_unreached("Verification should not throw error " + vector.name + ": '" + err.message + "'");- });-- return operation;- }, vector.name + " verification failure due to wrong plaintext");-- }, function(err) {- // We need a failed test if the importVectorKey operation fails, so- // we know we never tested verification.- promise_test(function(test) {- assert_unreached("importVectorKeys failed for " + vector.name + ". Message: ''" + err.message + "''");- }, "importVectorKeys step: " + vector.name + " verification failure due to wrong plaintext");- });-- all_promises.push(promise);- });-- // Verification should fail if the signature is changed- testVectors.forEach(function(vector) {- var promise = importVectorKeys(vector, ["verify", "sign"])- .then(function(vector) {- var signature = copyBuffer(vector.signature);- signature[0] = 255 - signature[0];- promise_test(function(test) {- var operation = subtle.verify({name: "HMAC", hash: vector.hash}, vector.key, signature, vector.plaintext)- .then(function(is_verified) {- assert_false(is_verified, "Signature is NOT verified");- }, function(err) {- assert_unreached("Verification should not throw error " + vector.name + ": '" + err.message + "'");- });-- return operation;- }, vector.name + " verification failure due to wrong signature");-- }, function(err) {- // We need a failed test if the importVectorKey operation fails, so- // we know we never tested verification.- promise_test(function(test) {- assert_unreached("importVectorKeys failed for " + vector.name + ". Message: ''" + err.message + "''");- }, "importVectorKeys step: " + vector.name + " verification failure due to wrong signature");- });-- all_promises.push(promise);- });-- // Verification should fail if the signature is wrong length- testVectors.forEach(function(vector) {- var promise = importVectorKeys(vector, ["verify", "sign"])- .then(function(vector) {- var signature = vector.signature.slice(1); // Drop first byte- promise_test(function(test) {- var operation = subtle.verify({name: "HMAC", hash: vector.hash}, vector.key, signature, vector.plaintext)- .then(function(is_verified) {- assert_false(is_verified, "Signature is NOT verified");- }, function(err) {- assert_unreached("Verification should not throw error " + vector.name + ": '" + err.message + "'");- });-- return operation;- }, vector.name + " verification failure due to short signature");-- }, function(err) {- // We need a failed test if the importVectorKey operation fails, so- // we know we never tested verification.- promise_test(function(test) {- assert_unreached("importVectorKeys failed for " + vector.name + ". Message: ''" + err.message + "''");- }, "importVectorKeys step: " + vector.name + " verification failure due to short signature");- });-- all_promises.push(promise);- });---- promise_test(function() {- return Promise.all(all_promises)- .then(function() {done();})- .catch(function() {done();})- }, "setup");-- // A test vector has all needed fields for signing and verifying, EXCEPT that the- // key field may be null. This function replaces that null with the Correct- // CryptoKey object.- //- // Returns a Promise that yields an updated vector on success.- function importVectorKeys(vector, keyUsages) {- if (vector.key !== null) {- return new Promise(function(resolve, reject) {- resolve(vector);- });- } else {- return subtle.importKey("raw", vector.keyBuffer, {name: "HMAC", hash: vector.hash}, false, keyUsages)- .then(function(key) {- vector.key = key;- return vector;- });+ runMacTests({+ importFormat: "raw",+ importAlgorithm: function(vector) {+ return {name: "HMAC", hash: vector.hash};+ },+ operationAlgorithm: function(vector) {+ return {name: "HMAC", hash: vector.hash};}- }-- return;+ });}diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/kmac.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/mac.jssimilarity index 70%rename from Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/kmac.jsrename to Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/mac.jsindex d9d82d150b3..fd92e0c4949 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/kmac.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/mac.js@@ -1,4 +1,5 @@-function run_test() {++function runMacTests(options) {setup({explicit_done: true});var subtle = self.crypto.subtle; // Change to test prefixed implementations@@ -6,20 +7,26 @@ function run_test() {// When are all these tests really done? When all the promises they use have resolved.var all_promises = [];- // Source file kmac_vectors.js provides the getTestVectors method- // for the algorithm that drives these tests.+ // The algorithm-specific vector source provides getTestVectors().var testVectors = getTestVectors();+ function operationAlgorithm(vector, nameGetter) {+ var algorithm = options.operationAlgorithm(vector);+ if (nameGetter !== undefined) {+ Object.defineProperty(algorithm, "name", {+ enumerable: true,+ get: nameGetter+ });+ }+ return algorithm;+ }+// Test verification first, because signing tests rely on that workingtestVectors.forEach(function(vector) {var promise = importVectorKeys(vector, ["verify", "sign"]).then(function(vector) {promise_test(function(test) {- var algorithmParams = {name: vector.algorithm, outputLength: vector.outputLength};- if (vector.customization !== undefined) {- algorithmParams.customization = vector.customization;- }- var operation = subtle.verify(algorithmParams, vector.key, vector.signature, vector.plaintext)+ var operation = subtle.verify(operationAlgorithm(vector), vector.key, vector.signature, vector.plaintext).then(function(is_verified) {assert_true(is_verified, "Signature verified");}, function(err) {@@ -47,17 +54,10 @@ function run_test() {promise_test(function(test) {var signature = copyBuffer(vector.signature);signature[0] = 255 - signature[0];- var algorithmParams = {- outputLength: vector.outputLength,- get name() {+ var operation = subtle.verify(operationAlgorithm(vector, function() {signature[0] = vector.signature[0];- return vector.algorithm;- }- };- if (vector.customization !== undefined) {- algorithmParams.customization = vector.customization;- }- var operation = subtle.verify(algorithmParams, vector.key, signature, vector.plaintext)+ return options.operationAlgorithm(vector).name;+ }), vector.key, signature, vector.plaintext).then(function(is_verified) {assert_true(is_verified, "Signature is not verified");}, function(err) {@@ -81,11 +81,7 @@ function run_test() {.then(function(vector) {promise_test(function(test) {var signature = copyBuffer(vector.signature);- var algorithmParams = {name: vector.algorithm, outputLength: vector.outputLength};- if (vector.customization !== undefined) {- algorithmParams.customization = vector.customization;- }- var operation = subtle.verify(algorithmParams, vector.key, signature, vector.plaintext)+ var operation = subtle.verify(operationAlgorithm(vector), vector.key, signature, vector.plaintext).then(function(is_verified) {assert_true(is_verified, "Signature is not verified");}, function(err) {@@ -110,17 +106,12 @@ function run_test() {.then(function(vector) {promise_test(function(test) {var signature = copyBuffer(vector.signature);- var algorithmParams = {- get name() {- signature.buffer.transfer();- return vector.algorithm;- },- outputLength: vector.outputLength- };- if (vector.customization !== undefined) {- algorithmParams.customization = vector.customization;- }- var operation = subtle.verify(algorithmParams, vector.key, signature, vector.plaintext)+ var operation = subtle.verify(operationAlgorithm(vector, function() {+ if (!signature.buffer.detached) {+ signature.buffer.transfer();+ }+ return options.operationAlgorithm(vector).name;+ }), vector.key, signature, vector.plaintext).then(function(is_verified) {assert_false(is_verified, "Signature is NOT verified");}, function(err) {@@ -144,11 +135,7 @@ function run_test() {.then(function(vector) {promise_test(function(test) {var signature = copyBuffer(vector.signature);- var algorithmParams = {name: vector.algorithm, outputLength: vector.outputLength};- if (vector.customization !== undefined) {- algorithmParams.customization = vector.customization;- }- var operation = subtle.verify(algorithmParams, vector.key, signature, vector.plaintext)+ var operation = subtle.verify(operationAlgorithm(vector), vector.key, signature, vector.plaintext).then(function(is_verified) {assert_true(is_verified, "Signature is not verified");}, function(err) {@@ -174,17 +161,10 @@ function run_test() {promise_test(function(test) {var plaintext = copyBuffer(vector.plaintext);plaintext[0] = 255 - plaintext[0];- var algorithmParams = {- outputLength: vector.outputLength,- get name() {+ var operation = subtle.verify(operationAlgorithm(vector, function() {plaintext[0] = vector.plaintext[0];- return vector.algorithm;- }- };- if (vector.customization !== undefined) {- algorithmParams.customization = vector.customization;- }- var operation = subtle.verify(algorithmParams, vector.key, vector.signature, plaintext)+ return options.operationAlgorithm(vector).name;+ }), vector.key, vector.signature, plaintext).then(function(is_verified) {assert_true(is_verified, "Signature verified");}, function(err) {@@ -208,11 +188,7 @@ function run_test() {.then(function(vector) {promise_test(function(test) {var plaintext = copyBuffer(vector.plaintext);- var algorithmParams = {name: vector.algorithm, outputLength: vector.outputLength};- if (vector.customization !== undefined) {- algorithmParams.customization = vector.customization;- }- var operation = subtle.verify(algorithmParams, vector.key, vector.signature, plaintext)+ var operation = subtle.verify(operationAlgorithm(vector), vector.key, vector.signature, plaintext).then(function(is_verified) {assert_true(is_verified, "Signature verified");}, function(err) {@@ -237,17 +213,12 @@ function run_test() {.then(function(vector) {promise_test(function(test) {var plaintext = copyBuffer(vector.plaintext);- var algorithmParams = {- get name() {- plaintext.buffer.transfer();- return vector.algorithm;- },- outputLength: vector.outputLength- };- if (vector.customization !== undefined) {- algorithmParams.customization = vector.customization;- }- var operation = subtle.verify(algorithmParams, vector.key, vector.signature, plaintext)+ var operation = subtle.verify(operationAlgorithm(vector, function() {+ if (!plaintext.buffer.detached) {+ plaintext.buffer.transfer();+ }+ return options.operationAlgorithm(vector).name;+ }), vector.key, vector.signature, plaintext).then(function(is_verified) {assert_false(is_verified, "Signature is NOT verified");}, function(err) {@@ -271,11 +242,7 @@ function run_test() {.then(function(vector) {promise_test(function(test) {var plaintext = copyBuffer(vector.plaintext);- var algorithmParams = {name: vector.algorithm, outputLength: vector.outputLength};- if (vector.customization !== undefined) {- algorithmParams.customization = vector.customization;- }- var operation = subtle.verify(algorithmParams, vector.key, vector.signature, plaintext)+ var operation = subtle.verify(operationAlgorithm(vector), vector.key, vector.signature, plaintext).then(function(is_verified) {assert_true(is_verified, "Signature verified");}, function(err) {@@ -301,11 +268,7 @@ function run_test() {var promise = importVectorKeys(vector, ["sign"]).then(function(vector) {promise_test(function(test) {- var algorithmParams = {name: vector.algorithm, outputLength: vector.outputLength};- if (vector.customization !== undefined) {- algorithmParams.customization = vector.customization;- }- return subtle.verify(algorithmParams, vector.key, vector.signature, vector.plaintext)+ return subtle.verify(operationAlgorithm(vector), vector.key, vector.signature, vector.plaintext).then(function(plaintext) {assert_unreached("Should have thrown error for no verify usage in " + vector.name + ": '" + err.message + "'");}, function(err) {@@ -326,15 +289,11 @@ function run_test() {var promise = importVectorKeys(vector, ["verify", "sign"]).then(function(vectors) {promise_test(function(test) {- var algorithmParams = {name: vector.algorithm, outputLength: vector.outputLength};- if (vector.customization !== undefined) {- algorithmParams.customization = vector.customization;- }- return subtle.sign(algorithmParams, vector.key, vector.plaintext)+ return subtle.sign(operationAlgorithm(vector), vector.key, vector.plaintext).then(function(signature) {assert_true(equalBuffers(signature, vector.signature), "Signing did not give the expected output");// Can we get the verify the new signature?- return subtle.verify(algorithmParams, vector.key, signature, vector.plaintext)+ return subtle.verify(operationAlgorithm(vector), vector.key, signature, vector.plaintext).then(function(is_verified) {assert_true(is_verified, "Round trip verifies");return signature;@@ -363,11 +322,7 @@ function run_test() {return importVectorKeys(vector, ["verify", "sign"]).then(function(vectors) {promise_test(function(test) {- var algorithmParams = {name: vector.algorithm, outputLength: vector.outputLength};- if (vector.customization !== undefined) {- algorithmParams.customization = vector.customization;- }- var operation = subtle.sign(algorithmParams, wrongKey.privateKey, vector.plaintext)+ var operation = subtle.sign(operationAlgorithm(vector), wrongKey.privateKey, vector.plaintext).then(function(signature) {assert_unreached("Signing should not have succeeded for " + vector.name);}, function(err) {@@ -401,11 +356,7 @@ function run_test() {return importVectorKeys(vector, ["verify", "sign"]).then(function(vector) {promise_test(function(test) {- var algorithmParams = {name: vector.algorithm, outputLength: vector.outputLength};- if (vector.customization !== undefined) {- algorithmParams.customization = vector.customization;- }- var operation = subtle.verify(algorithmParams, wrongKey.publicKey, vector.signature, vector.plaintext)+ var operation = subtle.verify(operationAlgorithm(vector), wrongKey.publicKey, vector.signature, vector.plaintext).then(function(signature) {assert_unreached("Verifying should not have succeeded for " + vector.name);}, function(err) {@@ -438,11 +389,7 @@ function run_test() {var plaintext = copyBuffer(vector.plaintext);plaintext[0] = 255 - plaintext[0];promise_test(function(test) {- var algorithmParams = {name: vector.algorithm, outputLength: vector.outputLength};- if (vector.customization !== undefined) {- algorithmParams.customization = vector.customization;- }- var operation = subtle.verify(algorithmParams, vector.key, vector.signature, plaintext)+ var operation = subtle.verify(operationAlgorithm(vector), vector.key, vector.signature, plaintext).then(function(is_verified) {assert_false(is_verified, "Signature is NOT verified");}, function(err) {@@ -470,11 +417,7 @@ function run_test() {var signature = copyBuffer(vector.signature);signature[0] = 255 - signature[0];promise_test(function(test) {- var algorithmParams = {name: vector.algorithm, outputLength: vector.outputLength};- if (vector.customization !== undefined) {- algorithmParams.customization = vector.customization;- }- var operation = subtle.verify(algorithmParams, vector.key, signature, vector.plaintext)+ var operation = subtle.verify(operationAlgorithm(vector), vector.key, signature, vector.plaintext).then(function(is_verified) {assert_false(is_verified, "Signature is NOT verified");}, function(err) {@@ -501,11 +444,7 @@ function run_test() {.then(function(vector) {var signature = vector.signature.slice(1); // Drop first bytepromise_test(function(test) {- var algorithmParams = {name: vector.algorithm, outputLength: vector.outputLength};- if (vector.customization !== undefined) {- algorithmParams.customization = vector.customization;- }- var operation = subtle.verify(algorithmParams, vector.key, signature, vector.plaintext)+ var operation = subtle.verify(operationAlgorithm(vector), vector.key, signature, vector.plaintext).then(function(is_verified) {assert_false(is_verified, "Signature is NOT verified");}, function(err) {@@ -526,41 +465,36 @@ function run_test() {all_promises.push(promise);});- // Test verification failure due to wrong length parameter- testVectors.forEach(function(vector) {- var promise = importVectorKeys(vector, ["verify", "sign"])- .then(function(vector) {- promise_test(function(test) {- var differentLength = vector.outputLength === 256 ? 512 : 256;- var algorithmParams = {name: vector.algorithm, outputLength: differentLength};- if (vector.customization !== undefined) {- algorithmParams.customization = vector.customization;- }- var operation = subtle.verify(algorithmParams, vector.key, vector.signature, vector.plaintext)- .then(function(is_verified) {- assert_false(is_verified, "Signature is NOT verified with wrong length");- }, function(err) {- assert_unreached("Verification should not throw error " + vector.name + ": '" + err.message + "'");- });+ if (options.wrongVerificationAlgorithm !== undefined) {+ // Test verification failure due to algorithm-specific parameters.+ testVectors.forEach(function(vector) {+ var promise = importVectorKeys(vector, ["verify", "sign"])+ .then(function(vector) {+ promise_test(function(test) {+ var operation = subtle.verify(options.wrongVerificationAlgorithm(vector), vector.key, vector.signature, vector.plaintext)+ .then(function(is_verified) {+ assert_false(is_verified, "Signature is NOT verified with wrong length");+ }, function(err) {+ assert_unreached("Verification should not throw error " + vector.name + ": '" + err.message + "'");+ });- return operation;- }, vector.name + " verification failure due to wrong length parameter");+ return operation;+ }, vector.name + " verification failure due to wrong length parameter");- }, function(err) {- // We need a failed test if the importVectorKey operation fails, so- // we know we never tested verification.- promise_test(function(test) {- assert_unreached("importVectorKeys failed for " + vector.name + ". Message: ''" + err.message + "''");- }, "importVectorKeys step: " + vector.name + " verification failure due to wrong length parameter");+ }, function(err) {+ promise_test(function(test) {+ assert_unreached("importVectorKeys failed for " + vector.name + ". Message: ''" + err.message + "''");+ }, "importVectorKeys step: " + vector.name + " verification failure due to wrong length parameter");+ });++ all_promises.push(promise);});+ }+- all_promises.push(promise);- });promise_test(function() {- return Promise.all(all_promises)- .then(function() {done();})- .catch(function() {done();})+ return Promise.all(all_promises).finally(done);}, "setup");// A test vector has all needed fields for signing and verifying, EXCEPT that the@@ -570,11 +504,9 @@ function run_test() {// Returns a Promise that yields an updated vector on success.function importVectorKeys(vector, keyUsages) {if (vector.key !== null) {- return new Promise(function(resolve, reject) {- resolve(vector);- });+ return Promise.resolve(vector);} else {- return subtle.importKey("raw-secret", vector.keyBuffer, {name: vector.algorithm}, false, keyUsages)+ return subtle.importKey(options.importFormat, vector.keyBuffer, options.importAlgorithm(vector), false, keyUsages).then(function(key) {vector.key = key;return vector;diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/mldsa.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/mldsa.jsdeleted file mode 100644index 10879273c1c..00000000000--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/mldsa.js+++ /dev/null@@ -1,1038 +0,0 @@-function run_test() {- setup({ explicit_done: true });-- var subtle = self.crypto.subtle; // Change to test prefixed implementations-- // When are all these tests really done? When all the promises they use have resolved.- var all_promises = [];-- // Source file [algorithm_name]_vectors.js provides the getTestVectors method- // for the algorithm that drives these tests.- var testVectors = getTestVectors();- var invalidTestVectors = getInvalidTestVectors();-- // Test verification first, because signing tests rely on that working- testVectors.forEach(function (vector) {- var promise = importVectorKeys(vector, ['verify'], ['sign']).then(- function (vectors) {- var algorithm = vector.algorithmName;- promise_test(function (test) {- var operation = subtle- .verify(algorithm, vector.publicKey, vector.signature, vector.data)- .then(- function (is_verified) {- assert_true(is_verified, 'Signature verified');- },- function (err) {- assert_unreached(- 'Verification should not throw error ' +- vector.name +- ': ' +- err.message +- "'"- );- }- );-- return operation;- }, vector.name + ' verification');- },- function (err) {- // We need a failed test if the importVectorKey operation fails, so- // we know we never tested verification.- promise_test(function (test) {- assert_unreached(- 'importVectorKeys failed for ' +- vector.name +- ". Message: ''" +- err.message +- "''"- );- }, 'importVectorKeys step: ' + vector.name + ' verification');- }- );-- all_promises.push(promise);- });-- // Test verification with an altered buffer during call- testVectors.forEach(function (vector) {- var promise = importVectorKeys(vector, ['verify'], ['sign']).then(- function (vectors) {- promise_test(function (test) {- var signature = copyBuffer(vector.signature);- signature[0] = 255 - signature[0];- var operation = subtle- .verify(- {- get name() {- signature[0] = vector.signature[0];- return vector.algorithmName;- },- },- vector.publicKey,- signature,- vector.data- )- .then(- function (is_verified) {- assert_true(is_verified, 'Signature verified');- },- function (err) {- assert_unreached(- 'Verification should not throw error ' +- vector.name +- ': ' +- err.message +- "'"- );- }- );-- return operation;- }, vector.name + ' verification with altered signature during call');- },- function (err) {- promise_test(function (test) {- assert_unreached(- 'importVectorKeys failed for ' +- vector.name +- ". Message: ''" +- err.message +- "''"- );- }, 'importVectorKeys step: ' +- vector.name +- ' verification with altered signature during call');- }- );-- all_promises.push(promise);- });-- // Test verification with an altered buffer after call- testVectors.forEach(function (vector) {- var promise = importVectorKeys(vector, ['verify'], ['sign']).then(- function (vectors) {- var algorithm = vector.algorithmName;- promise_test(function (test) {- var signature = copyBuffer(vector.signature);- var operation = subtle- .verify(algorithm, vector.publicKey, signature, vector.data)- .then(- function (is_verified) {- assert_true(is_verified, 'Signature verified');- },- function (err) {- assert_unreached(- 'Verification should not throw error ' +- vector.name +- ': ' +- err.message +- "'"- );- }- );-- signature[0] = 255 - signature[0];- return operation;- }, vector.name + ' verification with altered signature after call');- },- function (err) {- promise_test(function (test) {- assert_unreached(- 'importVectorKeys failed for ' +- vector.name +- ". Message: ''" +- err.message +- "''"- );- }, 'importVectorKeys step: ' +- vector.name +- ' verification with altered signature after call');- }- );-- all_promises.push(promise);- });-- // Test verification with a transferred buffer during call- testVectors.forEach(function (vector) {- var promise = importVectorKeys(vector, ['verify'], ['sign']).then(- function (vectors) {- promise_test(function (test) {- var signature = copyBuffer(vector.signature);- var operation = subtle- .verify(- {- get name() {- signature.buffer.transfer();- return vector.algorithmName;- },- },- vector.publicKey,- signature,- vector.data- )- .then(- function (is_verified) {- assert_false(is_verified, 'Signature is NOT verified');- },- function (err) {- assert_unreached(- 'Verification should not throw error ' +- vector.name +- ': ' +- err.message +- "'"- );- }- );-- return operation;- }, vector.name + ' verification with transferred signature during call');- },- function (err) {- promise_test(function (test) {- assert_unreached(- 'importVectorKeys failed for ' +- vector.name +- ". Message: ''" +- err.message +- "''"- );- }, 'importVectorKeys step: ' +- vector.name +- ' verification with transferred signature during call');- }- );-- all_promises.push(promise);- });-- // Test verification with a transferred buffer after call- testVectors.forEach(function (vector) {- var promise = importVectorKeys(vector, ['verify'], ['sign']).then(- function (vectors) {- var algorithm = vector.algorithmName;- promise_test(function (test) {- var signature = copyBuffer(vector.signature);- var operation = subtle- .verify(algorithm, vector.publicKey, signature, vector.data)- .then(- function (is_verified) {- assert_true(is_verified, 'Signature verified');- },- function (err) {- assert_unreached(- 'Verification should not throw error ' +- vector.name +- ': ' +- err.message +- "'"- );- }- );-- signature.buffer.transfer();- return operation;- }, vector.name + ' verification with transferred signature after call');- },- function (err) {- promise_test(function (test) {- assert_unreached(- 'importVectorKeys failed for ' +- vector.name +- ". Message: ''" +- err.message +- "''"- );- }, 'importVectorKeys step: ' +- vector.name +- ' verification with transferred signature after call');- }- );-- all_promises.push(promise);- });-- // Check for successful verification even if plaintext is altered during call.- testVectors.forEach(function (vector) {- var promise = importVectorKeys(vector, ['verify'], ['sign']).then(- function (vectors) {- promise_test(function (test) {- var plaintext = copyBuffer(vector.data);- plaintext[0] = 255 - plaintext[0];- var operation = subtle- .verify(- {- get name() {- plaintext[0] = vector.data[0];- return vector.algorithmName;- },- },- vector.publicKey,- vector.signature,- plaintext- )- .then(- function (is_verified) {- assert_true(is_verified, 'Signature verified');- },- function (err) {- assert_unreached(- 'Verification should not throw error ' +- vector.name +- ': ' +- err.message +- "'"- );- }- );-- return operation;- }, vector.name + ' with altered plaintext during call');- },- function (err) {- promise_test(function (test) {- assert_unreached(- 'importVectorKeys failed for ' +- vector.name +- ". Message: ''" +- err.message +- "''"- );- }, 'importVectorKeys step: ' +- vector.name +- ' with altered plaintext during call');- }- );-- all_promises.push(promise);- });-- // Check for successful verification even if plaintext is altered after call.- testVectors.forEach(function (vector) {- var promise = importVectorKeys(vector, ['verify'], ['sign']).then(- function (vectors) {- var algorithm = vector.algorithmName;- promise_test(function (test) {- var plaintext = copyBuffer(vector.data);- var operation = subtle- .verify(algorithm, vector.publicKey, vector.signature, plaintext)- .then(- function (is_verified) {- assert_true(is_verified, 'Signature verified');- },- function (err) {- assert_unreached(- 'Verification should not throw error ' +- vector.name +- ': ' +- err.message +- "'"- );- }- );-- plaintext[0] = 255 - plaintext[0];- return operation;- }, vector.name + ' with altered plaintext after call');- },- function (err) {- promise_test(function (test) {- assert_unreached(- 'importVectorKeys failed for ' +- vector.name +- ". Message: ''" +- err.message +- "''"- );- }, 'importVectorKeys step: ' +- vector.name +- ' with altered plaintext after call');- }- );-- all_promises.push(promise);- });-- // Check for failed verification if plaintext is transferred during call.- testVectors.forEach(function (vector) {- var promise = importVectorKeys(vector, ['verify'], ['sign']).then(- function (vectors) {- promise_test(function (test) {- var plaintext = copyBuffer(vector.data);- var operation = subtle- .verify(- {- get name() {- plaintext.buffer.transfer();- return vector.algorithmName;- },- },- vector.publicKey,- vector.signature,- plaintext- )- .then(- function (is_verified) {- assert_false(is_verified, 'Signature is NOT verified');- },- function (err) {- assert_unreached(- 'Verification should not throw error ' +- vector.name +- ': ' +- err.message +- "'"- );- }- );-- return operation;- }, vector.name + ' with transferred plaintext during call');- },- function (err) {- promise_test(function (test) {- assert_unreached(- 'importVectorKeys failed for ' +- vector.name +- ". Message: ''" +- err.message +- "''"- );- }, 'importVectorKeys step: ' +- vector.name +- ' with transferred plaintext during call');- }- );-- all_promises.push(promise);- });-- // Check for successful verification even if plaintext is transferred after call.- testVectors.forEach(function (vector) {- var promise = importVectorKeys(vector, ['verify'], ['sign']).then(- function (vectors) {- var algorithm = vector.algorithmName;- promise_test(function (test) {- var plaintext = copyBuffer(vector.data);- var operation = subtle- .verify(algorithm, vector.publicKey, vector.signature, plaintext)- .then(- function (is_verified) {- assert_true(is_verified, 'Signature verified');- },- function (err) {- assert_unreached(- 'Verification should not throw error ' +- vector.name +- ': ' +- err.message +- "'"- );- }- );-- plaintext.buffer.transfer();- return operation;- }, vector.name + ' with transferred plaintext after call');- },- function (err) {- promise_test(function (test) {- assert_unreached(- 'importVectorKeys failed for ' +- vector.name +- ". Message: ''" +- err.message +- "''"- );- }, 'importVectorKeys step: ' +- vector.name +- ' with transferred plaintext after call');- }- );-- all_promises.push(promise);- });-- // Check for failures due to using privateKey to verify.- testVectors.forEach(function (vector) {- var promise = importVectorKeys(vector, ['verify'], ['sign']).then(- function (vectors) {- var algorithm = vector.algorithmName;- promise_test(function (test) {- return subtle- .verify(algorithm, vector.privateKey, vector.signature, vector.data)- .then(- function (plaintext) {- assert_unreached(- 'Should have thrown error for using privateKey to verify in ' +- vector.name +- ': ' +- err.message +- "'"- );- },- function (err) {- assert_equals(- err.name,- 'InvalidAccessError',- "Should throw InvalidAccessError instead of '" +- err.message +- "'"- );- }- );- }, vector.name + ' using privateKey to verify');- },- function (err) {- promise_test(function (test) {- assert_unreached(- 'importVectorKeys failed for ' +- vector.name +- ". Message: ''" +- err.message +- "''"- );- }, 'importVectorKeys step: ' +- vector.name +- ' using privateKey to verify');- }- );-- all_promises.push(promise);- });-- // Check for failures due to using publicKey to sign.- testVectors.forEach(function (vector) {- var promise = importVectorKeys(vector, ['verify'], ['sign']).then(- function (vectors) {- var algorithm = vector.algorithmName;- promise_test(function (test) {- return subtle.sign(algorithm, vector.publicKey, vector.data).then(- function (signature) {- assert_unreached(- 'Should have thrown error for using publicKey to sign in ' +- vector.name +- ': ' +- err.message +- "'"- );- },- function (err) {- assert_equals(- err.name,- 'InvalidAccessError',- "Should throw InvalidAccessError instead of '" +- err.message +- "'"- );- }- );- }, vector.name + ' using publicKey to sign');- },- function (err) {- promise_test(function (test) {- assert_unreached(- 'importVectorKeys failed for ' +- vector.name +- ". Message: ''" +- err.message +- "''"- );- }, 'importVectorKeys step: ' +- vector.name +- ' using publicKey to sign');- }- );-- all_promises.push(promise);- });-- // Check for failures due to no "verify" usage.- testVectors.forEach(function (originalVector) {- var vector = Object.assign({}, originalVector);-- var promise = importVectorKeys(vector, [], ['sign']).then(- function (vectors) {- var algorithm = vector.algorithmName;- promise_test(function (test) {- return subtle- .verify(algorithm, vector.publicKey, vector.signature, vector.data)- .then(- function (plaintext) {- assert_unreached(- 'Should have thrown error for no verify usage in ' +- vector.name +- ': ' +- err.message +- "'"- );- },- function (err) {- assert_equals(- err.name,- 'InvalidAccessError',- "Should throw InvalidAccessError instead of '" +- err.message +- "'"- );- }- );- }, vector.name + ' no verify usage');- },- function (err) {- promise_test(function (test) {- assert_unreached(- 'importVectorKeys failed for ' +- vector.name +- ". Message: ''" +- err.message +- "''"- );- }, 'importVectorKeys step: ' + vector.name + ' no verify usage');- }- );-- all_promises.push(promise);- });-- // Check for successful signing and verification.- testVectors.forEach(function (vector) {- var promise = importVectorKeys(vector, ['verify'], ['sign']).then(- function (vectors) {- var algorithm = vector.algorithmName;- promise_test(function (test) {- return subtle.sign(algorithm, vector.privateKey, vector.data).then(- function (signature) {- // Can we verify the signature?- return subtle- .verify(algorithm, vector.publicKey, signature, vector.data)- .then(- function (is_verified) {- assert_true(is_verified, 'Round trip verification works');- return signature;- },- function (err) {- assert_unreached(- 'verify error for test ' +- vector.name +- ': ' +- err.message +- "'"- );- }- );- },- function (err) {- assert_unreached(- 'sign error for test ' + vector.name + ": '" + err.message + "'"- );- }- );- }, vector.name + ' round trip');- },- function (err) {- // We need a failed test if the importVectorKey operation fails, so- // we know we never tested signing or verifying- promise_test(function (test) {- assert_unreached(- 'importVectorKeys failed for ' +- vector.name +- ". Message: ''" +- err.message +- "''"- );- }, 'importVectorKeys step: ' + vector.name + ' round trip');- }- );-- all_promises.push(promise);- });-- // Test signing with the wrong algorithm- testVectors.forEach(function (vector) {- // Want to get the key for the wrong algorithm- var promise = subtle- .generateKey({ name: 'HMAC', hash: 'SHA-1' }, false, ['sign', 'verify'])- .then(- function (wrongKey) {- var algorithm = vector.algorithmName;- return importVectorKeys(vector, ['verify'], ['sign']).then(- function (vectors) {- promise_test(function (test) {- var operation = subtle- .sign(algorithm, wrongKey, vector.data)- .then(- function (signature) {- assert_unreached(- 'Signing should not have succeeded for ' + vector.name- );- },- function (err) {- assert_equals(- err.name,- 'InvalidAccessError',- "Should have thrown InvalidAccessError instead of '" +- err.message +- "'"- );- }- );-- return operation;- }, vector.name + ' signing with wrong algorithm name');- },- function (err) {- // We need a failed test if the importVectorKey operation fails, so- // we know we never tested verification.- promise_test(function (test) {- assert_unreached(- 'importVectorKeys failed for ' +- vector.name +- ". Message: ''" +- err.message +- "''"- );- }, 'importVectorKeys step: ' +- vector.name +- ' signing with wrong algorithm name');- }- );- },- function (err) {- promise_test(function (test) {- assert_unreached(- 'Generate wrong key for test ' +- vector.name +- " failed: '" +- err.message +- "'"- );- }, 'generate wrong key step: ' +- vector.name +- ' signing with wrong algorithm name');- }- );-- all_promises.push(promise);- });-- // Test verification with the wrong algorithm- testVectors.forEach(function (vector) {- // Want to get the key for the wrong algorithm- var promise = subtle- .generateKey({ name: 'HMAC', hash: 'SHA-1' }, false, ['sign', 'verify'])- .then(- function (wrongKey) {- return importVectorKeys(vector, ['verify'], ['sign']).then(- function (vectors) {- var algorithm = vector.algorithmName;- promise_test(function (test) {- var operation = subtle- .verify(algorithm, wrongKey, vector.signature, vector.data)- .then(- function (signature) {- assert_unreached(- 'Verifying should not have succeeded for ' + vector.name- );- },- function (err) {- assert_equals(- err.name,- 'InvalidAccessError',- "Should have thrown InvalidAccessError instead of '" +- err.message +- "'"- );- }- );-- return operation;- }, vector.name + ' verifying with wrong algorithm name');- },- function (err) {- // We need a failed test if the importVectorKey operation fails, so- // we know we never tested verification.- promise_test(function (test) {- assert_unreached(- 'importVectorKeys failed for ' +- vector.name +- ". Message: ''" +- err.message +- "''"- );- }, 'importVectorKeys step: ' +- vector.name +- ' verifying with wrong algorithm name');- }- );- },- function (err) {- promise_test(function (test) {- assert_unreached(- 'Generate wrong key for test ' +- vector.name +- " failed: '" +- err.message +- "'"- );- }, 'generate wrong key step: ' +- vector.name +- ' verifying with wrong algorithm name');- }- );-- all_promises.push(promise);- });-- // Test verification fails with wrong signature- testVectors.forEach(function (vector) {- var promise = importVectorKeys(vector, ['verify'], ['sign']).then(- function (vectors) {- var algorithm = vector.algorithmName;- var signature = copyBuffer(vector.signature);- signature[0] = 255 - signature[0];- promise_test(function (test) {- var operation = subtle- .verify(algorithm, vector.publicKey, signature, vector.data)- .then(- function (is_verified) {- assert_false(is_verified, 'Signature NOT verified');- },- function (err) {- assert_unreached(- 'Verification should not throw error ' +- vector.name +- ': ' +- err.message +- "'"- );- }- );-- return operation;- }, vector.name + ' verification failure due to altered signature');- },- function (err) {- // We need a failed test if the importVectorKey operation fails, so- // we know we never tested verification.- promise_test(function (test) {- assert_unreached(- 'importVectorKeys failed for ' +- vector.name +- ". Message: ''" +- err.message +- "''"- );- }, 'importVectorKeys step: ' +- vector.name +- ' verification failure due to altered signature');- }- );-- all_promises.push(promise);- });-- // Test verification fails with short (odd length) signature- testVectors.forEach(function (vector) {- var promise = importVectorKeys(vector, ['verify'], ['sign']).then(- function (vectors) {- var algorithm = vector.algorithmName;- var signature = vector.signature.slice(1); // Skip the first byte- promise_test(function (test) {- var operation = subtle- .verify(algorithm, vector.publicKey, signature, vector.data)- .then(- function (is_verified) {- assert_false(is_verified, 'Signature NOT verified');- },- function (err) {- assert_unreached(- 'Verification should not throw error ' +- vector.name +- ': ' +- err.message +- "'"- );- }- );-- return operation;- }, vector.name + ' verification failure due to shortened signature');- },- function (err) {- // We need a failed test if the importVectorKey operation fails, so- // we know we never tested verification.- promise_test(function (test) {- assert_unreached(- 'importVectorKeys failed for ' +- vector.name +- ". Message: ''" +- err.message +- "''"- );- }, 'importVectorKeys step: ' +- vector.name +- ' verification failure due to shortened signature');- }- );-- all_promises.push(promise);- });-- // Test verification fails with wrong plaintext- testVectors.forEach(function (vector) {- var promise = importVectorKeys(vector, ['verify'], ['sign']).then(- function (vectors) {- var algorithm = vector.algorithmName;- var plaintext = copyBuffer(vector.data);- plaintext[0] = 255 - plaintext[0];- promise_test(function (test) {- var operation = subtle- .verify(algorithm, vector.publicKey, vector.signature, plaintext)- .then(- function (is_verified) {- assert_false(is_verified, 'Signature NOT verified');- },- function (err) {- assert_unreached(- 'Verification should not throw error ' +- vector.name +- ': ' +- err.message +- "'"- );- }- );-- return operation;- }, vector.name + ' verification failure due to altered plaintext');- },- function (err) {- // We need a failed test if the importVectorKey operation fails, so- // we know we never tested verification.- promise_test(function (test) {- assert_unreached(- 'importVectorKeys failed for ' +- vector.name +- ". Message: ''" +- err.message +- "''"- );- }, 'importVectorKeys step: ' +- vector.name +- ' verification failure due to altered plaintext');- }- );-- all_promises.push(promise);- });-- // Test invalid signatures- invalidTestVectors.forEach(function (vector) {- var promise = importVectorKeys(vector, ['verify'], ['sign']).then(- function (vectors) {- var algorithm = vector.algorithmName;- promise_test(function (test) {- var operation = subtle- .verify(algorithm, vector.publicKey, vector.signature, vector.data)- .then(- function (is_verified) {- assert_false(is_verified, 'Signature unexpectedly verified');- },- function (err) {- assert_unreached(- 'Verification should not throw error ' +- vector.name +- ': ' +- err.message +- "'"- );- }- );-- return operation;- }, vector.name + ' verification');- },- function (err) {- // We need a failed test if the importVectorKey operation fails, so- // we know we never tested verification.- promise_test(function (test) {- assert_unreached(- 'importVectorKeys failed for ' +- vector.name +- ". Message: ''" +- err.message +- "''"- );- }, 'importVectorKeys step: ' + vector.name + ' verification');- }- );-- all_promises.push(promise);- });-- promise_test(function () {- return Promise.all(all_promises)- .then(function () {- done();- })- .catch(function () {- done();- });- }, 'setup');-- // A test vector has all needed fields for signing and verifying, EXCEPT that the- // key field may be null. This function replaces that null with the Correct- // CryptoKey object.- //- // Returns a Promise that yields an updated vector on success.- function importVectorKeys(vector, publicKeyUsages, privateKeyUsages) {- var publicPromise, privatePromise;-- if (vector.publicKey !== null) {- publicPromise = new Promise(function (resolve, reject) {- resolve(vector);- });- } else {- publicPromise = subtle- .importKey(- vector.publicKeyFormat,- vector.publicKeyBuffer,- { name: vector.algorithmName },- false,- publicKeyUsages- )- .then(function (key) {- vector.publicKey = key;- return vector;- }); // Returns a copy of the sourceBuffer it is sent.- }-- if (vector.privateKey !== null) {- privatePromise = new Promise(function (resolve, reject) {- resolve(vector);- });- } else {- privatePromise = subtle- .importKey(- vector.privateKeyFormat,- vector.privateKeyBuffer,- { name: vector.algorithmName },- false,- privateKeyUsages- )- .then(function (key) {- vector.privateKey = key;- return vector;- });- }-- return Promise.all([publicPromise, privatePromise]);- }-- return;-}diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/rsa.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/rsa.jsindex 667f5d2793e..8a87ba88cb4 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/rsa.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/rsa.js@@ -1,581 +1,106 @@-function run_test() {- setup({explicit_done: true});-- var subtle = self.crypto.subtle; // Change to test prefixed implementations-- // When are all these tests really done? When all the promises they use have resolved.- var all_promises = [];-- // Source file [algorithm_name]_vectors.js provides the getTestVectors method- // for the algorithm that drives these tests.- var testVectors = getTestVectors();-- // Test verification first, because signing tests rely on that working- testVectors.forEach(function(vector) {- var promise = importVectorKeys(vector, ["verify"], ["sign"])- .then(function(vectors) {- promise_test(function(test) {- var operation = subtle.verify(vector.algorithm, vector.publicKey, vector.signature, vector.plaintext)- .then(function(is_verified) {- assert_true(is_verified, "Signature verified");- }, function(err) {- assert_unreached("Verification should not throw error " + vector.name + ": '" + err.message + "'");- });-- return operation;- }, vector.name + " verification");-- }, function(err) {- // We need a failed test if the importVectorKey operation fails, so- // we know we never tested verification.- promise_test(function(test) {- assert_unreached("importVectorKeys failed for " + vector.name + ". Message: ''" + err.message + "''");- }, "importVectorKeys step: " + vector.name + " verification");- });-- all_promises.push(promise);- });-- // Test verification with an altered buffer during call- testVectors.forEach(function(vector) {- var promise = importVectorKeys(vector, ["verify"], ["sign"])- .then(function(vectors) {- promise_test(function(test) {- var signature = copyBuffer(vector.signature);- signature[0] = 255 - signature[0];- var operation = subtle.verify({- ...vector.algorithm,- get name() {- signature[0] = vector.signature[0];- return vector.algorithm.name;- }- }, vector.publicKey, signature, vector.plaintext)- .then(function(is_verified) {- assert_true(is_verified, "Signature verified");- }, function(err) {- assert_unreached("Verification should not throw error " + vector.name + ": '" + err.message + "'");- });-- return operation;- }, vector.name + " verification with altered signature during call");- }, function(err) {- promise_test(function(test) {- assert_unreached("importVectorKeys failed for " + vector.name + ". Message: ''" + err.message + "''");- }, "importVectorKeys step: " + vector.name + " verification with altered signature during call");- });-- all_promises.push(promise);- });-- // Test verification with an altered buffer after call- testVectors.forEach(function(vector) {- var promise = importVectorKeys(vector, ["verify"], ["sign"])- .then(function(vectors) {- promise_test(function(test) {- var signature = copyBuffer(vector.signature);- var operation = subtle.verify(vector.algorithm, vector.publicKey, signature, vector.plaintext)- .then(function(is_verified) {- assert_true(is_verified, "Signature verified");- }, function(err) {- assert_unreached("Verification should not throw error " + vector.name + ": '" + err.message + "'");- });-- signature[0] = 255 - signature[0];- return operation;- }, vector.name + " verification with altered signature after call");- }, function(err) {- promise_test(function(test) {- assert_unreached("importVectorKeys failed for " + vector.name + ". Message: ''" + err.message + "''");- }, "importVectorKeys step: " + vector.name + " verification with altered signature after call");- });-- all_promises.push(promise);- });-- // Test verification with a transferred buffer during call- testVectors.forEach(function(vector) {- var promise = importVectorKeys(vector, ["verify"], ["sign"])- .then(function(vectors) {- promise_test(function(test) {- var signature = copyBuffer(vector.signature);- var operation = subtle.verify({- ...vector.algorithm,- get name() {- signature.buffer.transfer();- return vector.algorithm.name;- }- }, vector.publicKey, signature, vector.plaintext)- .then(function(is_verified) {- assert_false(is_verified, "Signature is NOT verified");- }, function(err) {- assert_unreached("Verification should not throw error " + vector.name + ": '" + err.message + "'");- });-- return operation;- }, vector.name + " verification with transferred signature during call");- }, function(err) {- promise_test(function(test) {- assert_unreached("importVectorKeys failed for " + vector.name + ". Message: ''" + err.message + "''");- }, "importVectorKeys step: " + vector.name + " verification with transferred signature during call");- });-- all_promises.push(promise);- });-- // Test verification with a transferred buffer after call- testVectors.forEach(function(vector) {- var promise = importVectorKeys(vector, ["verify"], ["sign"])- .then(function(vectors) {- promise_test(function(test) {- var signature = copyBuffer(vector.signature);- var operation = subtle.verify(vector.algorithm, vector.publicKey, signature, vector.plaintext)- .then(function(is_verified) {- assert_true(is_verified, "Signature verified");- }, function(err) {- assert_unreached("Verification should not throw error " + vector.name + ": '" + err.message + "'");- });-- signature.buffer.transfer();- return operation;- }, vector.name + " verification with transferred signature after call");- }, function(err) {- promise_test(function(test) {- assert_unreached("importVectorKeys failed for " + vector.name + ". Message: ''" + err.message + "''");- }, "importVectorKeys step: " + vector.name + " verification with transferred signature after call");- });-- all_promises.push(promise);- });-- // Check for successful verification even if plaintext is altered during call.- testVectors.forEach(function(vector) {- var promise = importVectorKeys(vector, ["verify"], ["sign"])- .then(function(vectors) {- promise_test(function(test) {- var plaintext = copyBuffer(vector.plaintext);- plaintext[0] = 255 - plaintext[0];- var operation = subtle.verify({- ...vector.algorithm,- get name() {- plaintext[0] = vector.plaintext[0];- return vector.algorithm.name;- }- }, vector.publicKey, vector.signature, plaintext)- .then(function(is_verified) {- assert_true(is_verified, "Signature verified");- }, function(err) {- assert_unreached("Verification should not throw error " + vector.name + ": '" + err.message + "'");- });-- return operation;- }, vector.name + " with altered plaintext during call");- }, function(err) {- promise_test(function(test) {- assert_unreached("importVectorKeys failed for " + vector.name + ". Message: ''" + err.message + "''");- }, "importVectorKeys step: " + vector.name + " with altered plaintext during call");- });-- all_promises.push(promise);- });-- // Check for successful verification even if plaintext is altered after call.- testVectors.forEach(function(vector) {- var promise = importVectorKeys(vector, ["verify"], ["sign"])- .then(function(vectors) {- promise_test(function(test) {- var plaintext = copyBuffer(vector.plaintext);- var operation = subtle.verify(vector.algorithm, vector.publicKey, vector.signature, plaintext)- .then(function(is_verified) {- assert_true(is_verified, "Signature verified");- }, function(err) {- assert_unreached("Verification should not throw error " + vector.name + ": '" + err.message + "'");- });-- plaintext[0] = 255 - plaintext[0];- return operation;- }, vector.name + " with altered plaintext after call");- }, function(err) {- promise_test(function(test) {- assert_unreached("importVectorKeys failed for " + vector.name + ". Message: ''" + err.message + "''");- }, "importVectorKeys step: " + vector.name + " with altered plaintext after call");- });-- all_promises.push(promise);- });-- // Check for failed verification if plaintext is transferred during call.- testVectors.forEach(function(vector) {- var promise = importVectorKeys(vector, ["verify"], ["sign"])- .then(function(vectors) {- promise_test(function(test) {- var plaintext = copyBuffer(vector.plaintext);- var operation = subtle.verify({- ...vector.algorithm,- get name() {- plaintext.buffer.transfer();- return vector.algorithm.name;- }- }, vector.publicKey, vector.signature, plaintext)- .then(function(is_verified) {- assert_false(is_verified, "Signature is NOT verified");- }, function(err) {- assert_unreached("Verification should not throw error " + vector.name + ": '" + err.message + "'");- });-- return operation;- }, vector.name + " with transferred plaintext during call");- }, function(err) {- promise_test(function(test) {- assert_unreached("importVectorKeys failed for " + vector.name + ". Message: ''" + err.message + "''");- }, "importVectorKeys step: " + vector.name + " with transferred plaintext during call");- });-- all_promises.push(promise);- });-- // Check for successful verification even if plaintext is transferred after call.- testVectors.forEach(function(vector) {- var promise = importVectorKeys(vector, ["verify"], ["sign"])- .then(function(vectors) {- promise_test(function(test) {- var plaintext = copyBuffer(vector.plaintext);- var operation = subtle.verify(vector.algorithm, vector.publicKey, vector.signature, plaintext)- .then(function(is_verified) {- assert_true(is_verified, "Signature verified");- }, function(err) {- assert_unreached("Verification should not throw error " + vector.name + ": '" + err.message + "'");- });-- plaintext.buffer.transfer();- return operation;- }, vector.name + " with transferred plaintext after call");- }, function(err) {- promise_test(function(test) {- assert_unreached("importVectorKeys failed for " + vector.name + ". Message: ''" + err.message + "''");- }, "importVectorKeys step: " + vector.name + " with transferred plaintext after call");- });-- all_promises.push(promise);- });-- // Check for failures due to using privateKey to verify.- testVectors.forEach(function(vector) {- var promise = importVectorKeys(vector, ["verify"], ["sign"])- .then(function(vectors) {- promise_test(function(test) {- return subtle.verify(vector.algorithm, vector.privateKey, vector.signature, vector.plaintext)- .then(function(plaintext) {- assert_unreached("Should have thrown error for using privateKey to verify in " + vector.name + ": '" + err.message + "'");- }, function(err) {- assert_equals(err.name, "InvalidAccessError", "Should throw InvalidAccessError instead of '" + err.message + "'");- });- }, vector.name + " using privateKey to verify");-- }, function(err) {- promise_test(function(test) {- assert_unreached("importVectorKeys failed for " + vector.name + ". Message: ''" + err.message + "''");- }, "importVectorKeys step: " + vector.name + " using privateKey to verify");- });-- all_promises.push(promise);- });-- // Check for failures due to using publicKey to sign.- testVectors.forEach(function(vector) {- var promise = importVectorKeys(vector, ["verify"], ["sign"])- .then(function(vectors) {- promise_test(function(test) {- return subtle.sign(vector.algorithm, vector.publicKey, vector.plaintext)- .then(function(signature) {- assert_unreached("Should have thrown error for using publicKey to sign in " + vector.name + ": '" + err.message + "'");- }, function(err) {- assert_equals(err.name, "InvalidAccessError", "Should throw InvalidAccessError instead of '" + err.message + "'");- });- }, vector.name + " using publicKey to sign");- }, function(err) {- promise_test(function(test) {- assert_unreached("importVectorKeys failed for " + vector.name + ". Message: ''" + err.message + "''");- }, "importVectorKeys step: " + vector.name + " using publicKey to sign");- });-- all_promises.push(promise);- });-- // Check for failures due to no "verify" usage.- testVectors.forEach(function(originalVector) {- var vector = Object.assign({}, originalVector);-- var promise = importVectorKeys(vector, [], ["sign"])- .then(function(vectors) {- promise_test(function(test) {- return subtle.verify(vector.algorithm, vector.publicKey, vector.signature, vector.plaintext)- .then(function(plaintext) {- assert_unreached("Should have thrown error for no verify usage in " + vector.name + ": '" + err.message + "'");- }, function(err) {- assert_equals(err.name, "InvalidAccessError", "Should throw InvalidAccessError instead of '" + err.message + "'");- });- }, vector.name + " no verify usage");- }, function(err) {- promise_test(function(test) {- assert_unreached("importVectorKeys failed for " + vector.name + ". Message: ''" + err.message + "''");- }, "importVectorKeys step: " + vector.name + " no verify usage");- });-- all_promises.push(promise);- });-- // Check for successful signing and verification.- testVectors.forEach(function(vector) {- // RSA signing is deterministic with PKCS#1 v1.5, or PSS with zero-length salts.- const isDeterministic = !("saltLength" in vector.algorithm) || vector.algorithm.saltLength == 0;- var promise = importVectorKeys(vector, ["verify"], ["sign"])- .then(function(vectors) {- promise_test(function(test) {- return subtle.sign(vector.algorithm, vector.privateKey, vector.plaintext)- .then(function(signature) {- if (isDeterministic) {- // If deterministic, we can check the output matches. Otherwise, we can only check it verifies.- assert_true(equalBuffers(signature, vector.signature), "Signing did not give the expected output");- }- // Can we verify the new signature?- return subtle.verify(vector.algorithm, vector.publicKey, signature, vector.plaintext)- .then(function(is_verified) {- assert_true(is_verified, "Round trip verifies");- return signature;- }, function(err) {- assert_unreached("verify error for test " + vector.name + ": '" + err.message + "'");- });- })- .then(function(priorSignature) {- // Will a second signing give us different signature? It should for PSS with non-empty salt- return subtle.sign(vector.algorithm, vector.privateKey, vector.plaintext)- .then(function(signature) {- if (isDeterministic) {- assert_true(equalBuffers(priorSignature, signature), "Two signings with empty salt give same signature")- } else {- assert_false(equalBuffers(priorSignature, signature), "Two signings with a salt give different signatures")- }- }, function(err) {- assert_unreached("second time verify error for test " + vector.name + ": '" + err.message + "'");- });- }, function(err) {- assert_unreached("sign error for test " + vector.name + ": '" + err.message + "'");- });- }, vector.name + " round trip");-- }, function(err) {- // We need a failed test if the importVectorKey operation fails, so- // we know we never tested signing or verifying- promise_test(function(test) {- assert_unreached("importVectorKeys failed for " + vector.name + ". Message: ''" + err.message + "''");- }, "importVectorKeys step: " + vector.name + " round trip");- });-- all_promises.push(promise);- });--- // Test signing with the wrong algorithm- testVectors.forEach(function(vector) {- // Want to get the key for the wrong algorithm- var alteredVector = Object.assign({}, vector);- alteredVector.algorithm = Object.assign({}, vector.algorithm);- if (vector.algorithm.name === "RSA-PSS") {- alteredVector.algorithm.name = "RSASSA-PKCS1-v1_5";- } else {- alteredVector.algorithm.name = "RSA-PSS";- }-- var promise = importVectorKeys(alteredVector, ["verify"], ["sign"])- .then(function(vectors) {- promise_test(function(test) {- var operation = subtle.sign(vector.algorithm, alteredVector.privateKey, vector.plaintext)- .then(function(signature) {- assert_unreached("Signing should not have succeeded for " + vector.name);- }, function(err) {- assert_equals(err.name, "InvalidAccessError", "Should have thrown InvalidAccessError instead of '" + err.message + "'");- });-- return operation;- }, vector.name + " signing with wrong algorithm name");-- }, function(err) {- // We need a failed test if the importVectorKey operation fails, so- // we know we never tested verification.- promise_test(function(test) {- assert_unreached("importVectorKeys failed for " + vector.name + ". Message: ''" + err.message + "''");- }, "importVectorKeys step: " + vector.name + " signing with wrong algorithm name");- });-- all_promises.push(promise);- });-- // Test verification with the wrong algorithm- testVectors.forEach(function(vector) {- // Want to get the key for the wrong algorithm- var alteredVector = Object.assign({}, vector);- alteredVector.algorithm = Object.assign({}, vector.algorithm);- if (vector.algorithm.name === "RSA-PSS") {- alteredVector.algorithm.name = "RSASSA-PKCS1-v1_5";- } else {- alteredVector.algorithm.name = "RSA-PSS";- }-- var promise = importVectorKeys(alteredVector, ["verify"], ["sign"])- .then(function(vectors) {- // Some tests are sign only- if (!("signature" in vector)) {- return;+ const subtle = self.crypto.subtle;+ const testVectors = getTestVectors().map(+ vector => ({...vector, data: vector.plaintext})+ );+ const importAlgorithm = vector => ({+ name: vector.algorithm.name,+ hash: vector.hash,+ });++ runSignatureTests({+ vectors: testVectors,+ algorithmIdentifier(vector) {+ return vector.algorithm;+ },+ importAlgorithm,+ dataLabel: "plaintext",+ shortSignature: false,+ wrongVerifyLabel: " verification with wrong algorithm name",+ alteredSignatureLabel: " verification failure with altered signature",+ alteredDataLabel: " verification failure with altered plaintext",+ async wrongKey(vector, operation) {+ const name = vector.algorithm.name === "RSA-PSS"+ ? "RSASSA-PKCS1-v1_5"+ : "RSA-PSS";+ const isSign = operation === "sign";+ return subtle.importKey(+ isSign ? vector.privateKeyFormat : vector.publicKeyFormat,+ isSign ? vector.privateKeyBuffer : vector.publicKeyBuffer,+ {name, hash: vector.hash},+ false,+ [operation]+ );+ },+ async roundTrip({+ vector,+ algorithm,+ verificationKey,+ signingKey,+ }) {+ const isDeterministic = !("saltLength" in algorithm) ||+ algorithm.saltLength === 0;+ const signature = await subtle.sign(+ algorithm,+ signingKey,+ vector.data+ );++ if (isDeterministic) {+ assert_true(+ equalBuffers(signature, vector.signature),+ "Signing did not give the expected output"+ );}- promise_test(function(test) {- var operation = subtle.verify(vector.algorithm, alteredVector.publicKey, vector.signature, vector.plaintext)- .then(function(is_verified) {- assert_unreached("Verification should not have succeeded for " + vector.name);- }, function(err) {- assert_equals(err.name, "InvalidAccessError", "Should have thrown InvalidAccessError instead of '" + err.message + "'");- });- return operation;- }, vector.name + " verification with wrong algorithm name");-- }, function(err) {- // We need a failed test if the importVectorKey operation fails, so- // we know we never tested verification.- promise_test(function(test) {- assert_unreached("importVectorKeys failed for " + vector.name + ". Message: ''" + err.message + "''");- }, "importVectorKeys step: " + vector.name + " verification with wrong algorithm name");- });-- all_promises.push(promise);- });-- // Verification should fail with wrong signature- testVectors.forEach(function(vector) {- var promise = importVectorKeys(vector, ["verify"], ["sign"])- .then(function(vectors) {- promise_test(function(test) {- var signature = copyBuffer(vector.signature);- signature[0] = 255 - signature[0];- var operation = subtle.verify(vector.algorithm, vector.publicKey, signature, vector.plaintext)- .then(function(is_verified) {- assert_false(is_verified, "Signature NOT verified");- }, function(err) {- assert_unreached("Verification should not throw error " + vector.name + ": '" + err.message + "'");- });-- return operation;- }, vector.name + " verification failure with altered signature");-- }, function(err) {- // We need a failed test if the importVectorKey operation fails, so- // we know we never tested verification.- promise_test(function(test) {- assert_unreached("importVectorKeys failed for " + vector.name + ". Message: ''" + err.message + "''");- }, "importVectorKeys step: " + vector.name + " verification failure with altered signature");- });-- all_promises.push(promise);+ const isVerified = await subtle.verify(+ algorithm,+ verificationKey,+ signature,+ vector.data+ );+ assert_true(isVerified, "Round trip verifies");++ const secondSignature = await subtle.sign(+ algorithm,+ signingKey,+ vector.data+ );+ if (isDeterministic) {+ assert_true(+ equalBuffers(signature, secondSignature),+ "Two signings with empty salt give same signature"+ );+ } else {+ assert_false(+ equalBuffers(signature, secondSignature),+ "Two signings with a salt give different signatures"+ );+ }+ },});- // [RSA-PSS] Verification should fail with wrong saltLengthtestVectors.forEach(function(vector) {- if (vector.algorithm.name === "RSA-PSS") {- var promise = importVectorKeys(vector, ["verify"], ["sign"])- .then(function(vectors) {- promise_test(function(test) {- const saltLength = vector.algorithm.saltLength === 32 ? 48 : 32;- var operation = subtle.verify({ ...vector.algorithm, saltLength }, vector.publicKey, vector.signature, vector.plaintext)- .then(function(is_verified) {- assert_false(is_verified, "Signature NOT verified");- }, function(err) {- assert_unreached("Verification should not throw error " + vector.name + ": '" + err.message + "'");- });-- return operation;- }, vector.name + " verification failure with wrong saltLength");-- }, function(err) {- // We need a failed test if the importVectorKey operation fails, so- // we know we never tested verification.- promise_test(function(test) {- assert_unreached("importVectorKeys failed for " + vector.name + ". Message: ''" + err.message + "''");- }, "importVectorKeys step: " + vector.name + " verification failure with wrong saltLength");- });-- all_promises.push(promise);+ if (vector.algorithm.name !== "RSA-PSS") {+ return;}- });- // Verification should fail with wrong plaintext- testVectors.forEach(function(vector) {- var promise = importVectorKeys(vector, ["verify"], ["sign"])- .then(function(vectors) {- promise_test(function(test) {- var plaintext = copyBuffer(vector.plaintext);- plaintext[0] = 255 - plaintext[0];- var operation = subtle.verify(vector.algorithm, vector.publicKey, vector.signature, plaintext)- .then(function(is_verified) {- assert_false(is_verified, "Signature NOT verified");- }, function(err) {- assert_unreached("Verification should not throw error " + vector.name + ": '" + err.message + "'");- });-- return operation;- }, vector.name + " verification failure with altered plaintext");-- }, function(err) {- // We need a failed test if the importVectorKey operation fails, so- // we know we never tested verification.- promise_test(function(test) {- assert_unreached("importVectorKeys failed for " + vector.name + ". Message: ''" + err.message + "''");- }, "importVectorKeys step: " + vector.name + " verification failure with altered plaintext");- });-- all_promises.push(promise);+ promise_test(async function() {+ const key = await subtle.importKey(+ vector.publicKeyFormat,+ vector.publicKeyBuffer,+ importAlgorithm(vector),+ false,+ ["verify"]+ );+ const saltLength = vector.algorithm.saltLength === 32 ? 48 : 32;+ const isVerified = await subtle.verify(+ {...vector.algorithm, saltLength},+ key,+ vector.signature,+ vector.data+ );+ assert_false(isVerified, "Signature NOT verified");+ }, vector.name + " verification failure with wrong saltLength");});--- promise_test(function() {- return Promise.all(all_promises)- .then(function() {done();})- .catch(function() {done();})- }, "setup");-- // A test vector has all needed fields for signing and verifying, EXCEPT that the- // key field may be null. This function replaces that null with the Correct- // CryptoKey object.- //- // Returns a Promise that yields an updated vector on success.- function importVectorKeys(vector, publicKeyUsages, privateKeyUsages) {- var publicPromise, privatePromise;-- if (vector.publicKey !== null) {- publicPromise = new Promise(function(resolve, reject) {- resolve(vector);- });- } else {- publicPromise = subtle.importKey(vector.publicKeyFormat, vector.publicKeyBuffer, {name: vector.algorithm.name, hash: vector.hash}, false, publicKeyUsages)- .then(function(key) {- vector.publicKey = key;- return vector;- }); // Returns a copy of the sourceBuffer it is sent.- }-- if (vector.privateKey !== null) {- privatePromise = new Promise(function(resolve, reject) {- resolve(vector);- });- } else {- privatePromise = subtle.importKey(vector.privateKeyFormat, vector.privateKeyBuffer, {name: vector.algorithm.name, hash: vector.hash}, false, privateKeyUsages)- .then(function(key) {- vector.privateKey = key;- return vector;- });- }-- return Promise.all([publicPromise, privatePromise]);- }-- return;}diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/rsa_pkcs.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/rsa_pkcs.https.any.htmlindex 604715082a8..266578235be 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/rsa_pkcs.https.any.html+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/rsa_pkcs.https.any.html@@ -12,7 +12,9 @@ self.GLOBAL = {<script src="../../resources/testharness.js"></script><script src="../../resources/testharnessreport.js"></script><script src="../util/helpers.js"></script>+<script src="../util/rsa_key_fixtures.js"></script><script src="rsa_pkcs_vectors.js"></script>+<script src="signature.js"></script><script src="rsa.js"></script><div id=log></div><script src="../../WebCryptoAPI/sign_verify/rsa_pkcs.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/rsa_pkcs.https.any.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/rsa_pkcs.https.any.jsindex 3e3a8c23bf5..43b87658d21 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/rsa_pkcs.https.any.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/rsa_pkcs.https.any.js@@ -1,6 +1,8 @@// META: title=WebCryptoAPI: sign() and verify() Using RSASSA-PKCS1-v1_5// META: script=../util/helpers.js+// META: script=../util/rsa_key_fixtures.js// META: script=rsa_pkcs_vectors.js+// META: script=signature.js// META: script=rsa.js// META: timeout=longdiff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/rsa_pkcs_vectors.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/rsa_pkcs_vectors.jsindex 71e5d8571bc..f1eca448a98 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/rsa_pkcs_vectors.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/rsa_pkcs_vectors.js@@ -18,8 +18,9 @@// plaintext - the text to encrypt// signature - the expected signaturefunction getTestVectors() {- var pkcs8 = new Uint8Array([48, 130, 4, 191, 2, 1, 0, 48, 13, 6, 9, 42, 134, 72, 134, 247, 13, 1, 1, 1, 5, 0, 4, 130, 4, 169, 48, 130, 4, 165, 2, 1, 0, 2, 130, 1, 1, 0, 211, 87, 96, 146, 230, 41, 87, 54, 69, 68, 231, 228, 35, 59, 123, 219, 41, 61, 178, 8, 81, 34, 196, 121, 50, 133, 70, 249, 240, 247, 18, 246, 87, 196, 177, 120, 104, 201, 48, 144, 140, 197, 148, 247, 237, 0, 192, 20, 66, 193, 175, 4, 194, 246, 120, 164, 139, 162, 200, 15, 209, 113, 62, 48, 181, 172, 80, 120, 122, 195, 81, 101, 137, 241, 113, 150, 127, 99, 134, 173, 163, 73, 0, 166, 187, 4, 238, 206, 164, 43, 240, 67, 206, 217, 160, 249, 77, 12, 192, 158, 145, 155, 157, 113, 102, 192, 138, 182, 206, 32, 70, 64, 174, 164, 196, 146, 13, 182, 216, 110, 185, 22, 208, 220, 192, 244, 52, 26, 16, 56, 4, 41, 231, 225, 3, 33, 68, 234, 148, 157, 232, 246, 192, 204, 191, 149, 250, 142, 146, 141, 112, 216, 163, 140, 225, 104, 219, 69, 246, 241, 52, 102, 61, 111, 101, 111, 92, 234, 188, 114, 93, 168, 192, 42, 171, 234, 170, 19, 172, 54, 167, 92, 192, 186, 225, 53, 223, 49, 20, 182, 101, 137, 199, 237, 60, 182, 21, 89, 174, 90, 56, 79, 22, 43, 250, 128, 219, 228, 97, 127, 134, 195, 241, 208, 16, 201, 79, 226, 201, 191, 1, 154, 110, 99, 179, 239, 192, 40, 212, 60, 238, 97, 28, 133, 236, 38, 60, 144, 108, 70, 55, 114, 198, 145, 27, 25, 238, 192, 150, 202, 118, 236, 94, 49, 225, 227, 2, 3, 1, 0, 1, 2, 130, 1, 1, 0, 139, 55, 92, 203, 135, 200, 37, 197, 255, 61, 83, 208, 9, 145, 110, 150, 65, 5, 126, 24, 82, 114, 39, 160, 122, 178, 38, 190, 16, 136, 129, 58, 59, 56, 187, 123, 72, 243, 119, 5, 81, 101, 250, 42, 147, 57, 210, 77, 198, 103, 213, 197, 186, 52, 39, 230, 164, 129, 23, 110, 172, 21, 255, 212, 144, 104, 49, 30, 28, 40, 59, 159, 58, 142, 12, 184, 9, 180, 99, 12, 80, 170, 143, 62, 69, 166, 11, 53, 158, 25, 191, 140, 187, 94, 202, 214, 78, 118, 31, 16, 149, 116, 63, 243, 106, 175, 92, 240, 236, 185, 127, 237, 173, 221, 166, 11, 91, 243, 93, 129, 26, 117, 184, 34, 35, 12, 250, 160, 25, 47, 173, 64, 84, 126, 39, 84, 72, 170, 51, 22, 191, 142, 43, 76, 224, 133, 79, 199, 112, 139, 83, 123, 162, 45, 19, 33, 11, 9, 174, 195, 122, 39, 89, 239, 192, 130, 161, 83, 27, 35, 169, 23, 48, 3, 125, 222, 78, 242, 107, 95, 150, 239, 220, 195, 159, 211, 76, 52, 90, 213, 28, 187, 228, 79, 229, 139, 138, 59, 78, 201, 151, 134, 108, 8, 109, 255, 27, 136, 49, 239, 10, 31, 234, 38, 60, 247, 218, 205, 3, 192, 76, 188, 194, 178, 121, 229, 127, 165, 185, 83, 153, 107, 251, 29, 214, 136, 23, 175, 127, 180, 44, 222, 247, 165, 41, 74, 87, 250, 194, 184, 173, 115, 159, 27, 2, 153, 2, 129, 129, 0, 251, 248, 51, 194, 198, 49, 201, 112, 36, 12, 142, 116, 133, 240, 106, 62, 162, 168, 72, 34, 81, 26, 134, 39, 221, 70, 78, 248, 175, 175, 113, 72, 209, 164, 37, 182, 184, 101, 125, 221, 82, 70, 131, 43, 142, 83, 48, 32, 197, 187, 181, 104, 133, 90, 106, 236, 62, 66, 33, 215, 147, 241, 220, 91, 47, 37, 132, 226, 65, 94, 72, 233, 162, 189, 41, 43, 19, 64, 49, 249, 156, 142, 180, 47, 192, 188, 208, 68, 155, 242, 44, 230, 222, 201, 112, 20, 239, 229, 172, 147, 235, 232, 53, 135, 118, 86, 37, 44, 187, 177, 108, 65, 91, 103, 177, 132, 210, 40, 69, 104, 162, 119, 213, 147, 53, 88, 92, 253, 2, 129, 129, 0, 214, 184, 206, 39, 199, 41, 93, 93, 22, 252, 53, 112, 237, 100, 200, 218, 147, 3, 250, 210, 148, 136, 193, 166, 94, 154, 215, 17, 249, 3, 112, 24, 125, 187, 253, 129, 49, 109, 105, 100, 139, 200, 140, 197, 200, 53, 81, 175, 255, 69, 222, 186, 207, 182, 17, 5, 247, 9, 228, 195, 8, 9, 185, 0, 49, 235, 214, 134, 36, 68, 150, 198, 246, 158, 105, 46, 189, 200, 20, 246, 66, 57, 244, 173, 21, 117, 110, 203, 120, 197, 165, 176, 153, 49, 219, 24, 48, 119, 197, 70, 163, 140, 76, 116, 56, 137, 173, 61, 62, 208, 121, 181, 98, 46, 208, 18, 15, 160, 225, 249, 59, 89, 61, 183, 216, 82, 224, 95, 2, 129, 128, 56, 135, 75, 157, 131, 247, 129, 120, 206, 45, 158, 252, 23, 92, 131, 137, 127, 214, 127, 48, 107, 191, 166, 159, 100, 238, 52, 35, 104, 206, 212, 124, 128, 195, 241, 206, 23, 122, 117, 141, 100, 186, 251, 12, 151, 134, 164, 66, 133, 250, 1, 205, 236, 53, 7, 205, 238, 125, 201, 183, 226, 178, 29, 60, 187, 204, 16, 14, 238, 153, 103, 132, 59, 5, 115, 41, 253, 204, 166, 41, 152, 237, 15, 17, 179, 140, 232, 176, 171, 199, 222, 57, 1, 124, 113, 207, 208, 174, 87, 84, 108, 85, 145, 68, 205, 208, 175, 208, 100, 95, 126, 168, 255, 7, 185, 116, 209, 237, 68, 253, 31, 142, 0, 245, 96, 191, 109, 69, 2, 129, 129, 0, 133, 41, 239, 144, 115, 207, 143, 123, 95, 249, 226, 26, 186, 223, 58, 65, 115, 211, 144, 6, 112, 223, 175, 89, 66, 106, 188, 223, 4, 147, 193, 61, 47, 29, 27, 70, 184, 36, 166, 172, 24, 148, 179, 217, 37, 37, 12, 24, 30, 52, 114, 193, 96, 120, 5, 110, 177, 154, 141, 40, 247, 31, 48, 128, 146, 117, 52, 129, 212, 148, 68, 253, 247, 140, 158, 166, 194, 68, 7, 220, 1, 142, 119, 211, 175, 239, 56, 91, 47, 247, 67, 158, 150, 35, 121, 65, 51, 45, 212, 70, 206, 190, 255, 219, 68, 4, 254, 79, 113, 89, 81, 97, 208, 22, 64, 44, 51, 77, 15, 87, 198, 26, 190, 79, 249, 244, 203, 249, 2, 129, 129, 0, 135, 216, 119, 8, 212, 103, 99, 228, 204, 190, 178, 209, 233, 113, 46, 91, 240, 33, 109, 112, 222, 148, 32, 165, 178, 6, 155, 116, 89, 185, 159, 93, 159, 127, 47, 173, 124, 215, 154, 174, 230, 122, 127, 154, 52, 67, 126, 60, 121, 168, 74, 240, 205, 141, 233, 223, 242, 104, 235, 12, 71, 147, 245, 1, 249, 136, 213, 64, 246, 211, 71, 92, 32, 121, 184, 34, 122, 35, 217, 104, 222, 196, 227, 198, 101, 3, 24, 113, 147, 69, 150, 48, 71, 43, 253, 182, 186, 29, 231, 134, 199, 151, 250, 111, 78, 166, 90, 42, 132, 25, 38, 47, 41, 103, 136, 86, 203, 115, 201, 189, 75, 200, 155, 94, 4, 27, 34, 119]);- var spki = new Uint8Array([48, 130, 1, 34, 48, 13, 6, 9, 42, 134, 72, 134, 247, 13, 1, 1, 1, 5, 0, 3, 130, 1, 15, 0, 48, 130, 1, 10, 2, 130, 1, 1, 0, 211, 87, 96, 146, 230, 41, 87, 54, 69, 68, 231, 228, 35, 59, 123, 219, 41, 61, 178, 8, 81, 34, 196, 121, 50, 133, 70, 249, 240, 247, 18, 246, 87, 196, 177, 120, 104, 201, 48, 144, 140, 197, 148, 247, 237, 0, 192, 20, 66, 193, 175, 4, 194, 246, 120, 164, 139, 162, 200, 15, 209, 113, 62, 48, 181, 172, 80, 120, 122, 195, 81, 101, 137, 241, 113, 150, 127, 99, 134, 173, 163, 73, 0, 166, 187, 4, 238, 206, 164, 43, 240, 67, 206, 217, 160, 249, 77, 12, 192, 158, 145, 155, 157, 113, 102, 192, 138, 182, 206, 32, 70, 64, 174, 164, 196, 146, 13, 182, 216, 110, 185, 22, 208, 220, 192, 244, 52, 26, 16, 56, 4, 41, 231, 225, 3, 33, 68, 234, 148, 157, 232, 246, 192, 204, 191, 149, 250, 142, 146, 141, 112, 216, 163, 140, 225, 104, 219, 69, 246, 241, 52, 102, 61, 111, 101, 111, 92, 234, 188, 114, 93, 168, 192, 42, 171, 234, 170, 19, 172, 54, 167, 92, 192, 186, 225, 53, 223, 49, 20, 182, 101, 137, 199, 237, 60, 182, 21, 89, 174, 90, 56, 79, 22, 43, 250, 128, 219, 228, 97, 127, 134, 195, 241, 208, 16, 201, 79, 226, 201, 191, 1, 154, 110, 99, 179, 239, 192, 40, 212, 60, 238, 97, 28, 133, 236, 38, 60, 144, 108, 70, 55, 114, 198, 145, 27, 25, 238, 192, 150, 202, 118, 236, 94, 49, 225, 227, 2, 3, 1, 0, 1]);+ var keyFixtures = getRsaKeyFixtures();+ var pkcs8 = keyFixtures.pkcs8;+ var spki = keyFixtures.spki;// plaintextvar plaintext = new Uint8Array([95, 77, 186, 79, 50, 12, 12, 232, 118, 114, 90, 252, 229, 251, 210, 91, 248, 62, 90, 113, 37, 160, 140, 175, 231, 60, 62, 186, 196, 33, 119, 157, 249, 213, 93, 24, 12, 58, 233, 148, 38, 69, 225, 216, 47, 238, 140, 157, 41, 75, 60, 177, 160, 138, 153, 49, 32, 27, 60, 14, 129, 252, 71, 202, 207, 131, 21, 162, 175, 102, 50, 65, 19, 195, 182, 98, 48, 195, 70, 8, 196, 244, 89, 54, 52, 206, 2, 178, 103, 54, 34, 119, 240, 168, 64, 202, 116, 188, 61, 26, 98, 54, 149, 44, 94, 215, 170, 248, 168, 254, 203, 221, 250, 117, 132, 230, 151, 140, 234, 93, 42, 91, 159, 183, 241, 180, 140, 139, 11, 229, 138, 48, 82, 2, 117, 77, 131, 118, 16, 115, 116, 121, 60, 240, 38, 170, 238, 83, 0, 114, 125, 131, 108, 215, 30, 113, 179, 69, 221, 178, 228, 68, 70, 255, 197, 185, 1, 99, 84, 19, 137, 13, 145, 14, 163, 128, 152, 74, 144, 25, 16, 49, 50, 63, 22, 219, 204, 157, 107, 225, 104, 184, 72, 133, 56, 76, 160, 62, 18, 96, 10, 193, 194, 72, 2, 138, 243, 114, 108, 201, 52, 99, 136, 46, 168, 192, 42, 171]);diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/rsa_pss.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/rsa_pss.https.any.htmlindex 6e6d8f08a65..066a40f567a 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/rsa_pss.https.any.html+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/rsa_pss.https.any.html@@ -12,7 +12,9 @@ self.GLOBAL = {<script src="../../resources/testharness.js"></script><script src="../../resources/testharnessreport.js"></script><script src="../util/helpers.js"></script>+<script src="../util/rsa_key_fixtures.js"></script><script src="rsa_pss_vectors.js"></script>+<script src="signature.js"></script><script src="rsa.js"></script><div id=log></div><script src="../../WebCryptoAPI/sign_verify/rsa_pss.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/rsa_pss.https.any.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/rsa_pss.https.any.jsindex 399baba7846..c3ed8355f3f 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/rsa_pss.https.any.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/rsa_pss.https.any.js@@ -1,6 +1,8 @@// META: title=WebCryptoAPI: sign() and verify() Using RSA-PSS// META: script=../util/helpers.js+// META: script=../util/rsa_key_fixtures.js// META: script=rsa_pss_vectors.js+// META: script=signature.js// META: script=rsa.js// META: timeout=longdiff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/rsa_pss_vectors.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/rsa_pss_vectors.jsindex c3ce7796062..224bacc3d1b 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/rsa_pss_vectors.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/rsa_pss_vectors.js@@ -18,8 +18,9 @@// plaintext - the text to encrypt// signature - the expected signaturefunction getTestVectors() {- var pkcs8 = new Uint8Array([48, 130, 4, 191, 2, 1, 0, 48, 13, 6, 9, 42, 134, 72, 134, 247, 13, 1, 1, 1, 5, 0, 4, 130, 4, 169, 48, 130, 4, 165, 2, 1, 0, 2, 130, 1, 1, 0, 211, 87, 96, 146, 230, 41, 87, 54, 69, 68, 231, 228, 35, 59, 123, 219, 41, 61, 178, 8, 81, 34, 196, 121, 50, 133, 70, 249, 240, 247, 18, 246, 87, 196, 177, 120, 104, 201, 48, 144, 140, 197, 148, 247, 237, 0, 192, 20, 66, 193, 175, 4, 194, 246, 120, 164, 139, 162, 200, 15, 209, 113, 62, 48, 181, 172, 80, 120, 122, 195, 81, 101, 137, 241, 113, 150, 127, 99, 134, 173, 163, 73, 0, 166, 187, 4, 238, 206, 164, 43, 240, 67, 206, 217, 160, 249, 77, 12, 192, 158, 145, 155, 157, 113, 102, 192, 138, 182, 206, 32, 70, 64, 174, 164, 196, 146, 13, 182, 216, 110, 185, 22, 208, 220, 192, 244, 52, 26, 16, 56, 4, 41, 231, 225, 3, 33, 68, 234, 148, 157, 232, 246, 192, 204, 191, 149, 250, 142, 146, 141, 112, 216, 163, 140, 225, 104, 219, 69, 246, 241, 52, 102, 61, 111, 101, 111, 92, 234, 188, 114, 93, 168, 192, 42, 171, 234, 170, 19, 172, 54, 167, 92, 192, 186, 225, 53, 223, 49, 20, 182, 101, 137, 199, 237, 60, 182, 21, 89, 174, 90, 56, 79, 22, 43, 250, 128, 219, 228, 97, 127, 134, 195, 241, 208, 16, 201, 79, 226, 201, 191, 1, 154, 110, 99, 179, 239, 192, 40, 212, 60, 238, 97, 28, 133, 236, 38, 60, 144, 108, 70, 55, 114, 198, 145, 27, 25, 238, 192, 150, 202, 118, 236, 94, 49, 225, 227, 2, 3, 1, 0, 1, 2, 130, 1, 1, 0, 139, 55, 92, 203, 135, 200, 37, 197, 255, 61, 83, 208, 9, 145, 110, 150, 65, 5, 126, 24, 82, 114, 39, 160, 122, 178, 38, 190, 16, 136, 129, 58, 59, 56, 187, 123, 72, 243, 119, 5, 81, 101, 250, 42, 147, 57, 210, 77, 198, 103, 213, 197, 186, 52, 39, 230, 164, 129, 23, 110, 172, 21, 255, 212, 144, 104, 49, 30, 28, 40, 59, 159, 58, 142, 12, 184, 9, 180, 99, 12, 80, 170, 143, 62, 69, 166, 11, 53, 158, 25, 191, 140, 187, 94, 202, 214, 78, 118, 31, 16, 149, 116, 63, 243, 106, 175, 92, 240, 236, 185, 127, 237, 173, 221, 166, 11, 91, 243, 93, 129, 26, 117, 184, 34, 35, 12, 250, 160, 25, 47, 173, 64, 84, 126, 39, 84, 72, 170, 51, 22, 191, 142, 43, 76, 224, 133, 79, 199, 112, 139, 83, 123, 162, 45, 19, 33, 11, 9, 174, 195, 122, 39, 89, 239, 192, 130, 161, 83, 27, 35, 169, 23, 48, 3, 125, 222, 78, 242, 107, 95, 150, 239, 220, 195, 159, 211, 76, 52, 90, 213, 28, 187, 228, 79, 229, 139, 138, 59, 78, 201, 151, 134, 108, 8, 109, 255, 27, 136, 49, 239, 10, 31, 234, 38, 60, 247, 218, 205, 3, 192, 76, 188, 194, 178, 121, 229, 127, 165, 185, 83, 153, 107, 251, 29, 214, 136, 23, 175, 127, 180, 44, 222, 247, 165, 41, 74, 87, 250, 194, 184, 173, 115, 159, 27, 2, 153, 2, 129, 129, 0, 251, 248, 51, 194, 198, 49, 201, 112, 36, 12, 142, 116, 133, 240, 106, 62, 162, 168, 72, 34, 81, 26, 134, 39, 221, 70, 78, 248, 175, 175, 113, 72, 209, 164, 37, 182, 184, 101, 125, 221, 82, 70, 131, 43, 142, 83, 48, 32, 197, 187, 181, 104, 133, 90, 106, 236, 62, 66, 33, 215, 147, 241, 220, 91, 47, 37, 132, 226, 65, 94, 72, 233, 162, 189, 41, 43, 19, 64, 49, 249, 156, 142, 180, 47, 192, 188, 208, 68, 155, 242, 44, 230, 222, 201, 112, 20, 239, 229, 172, 147, 235, 232, 53, 135, 118, 86, 37, 44, 187, 177, 108, 65, 91, 103, 177, 132, 210, 40, 69, 104, 162, 119, 213, 147, 53, 88, 92, 253, 2, 129, 129, 0, 214, 184, 206, 39, 199, 41, 93, 93, 22, 252, 53, 112, 237, 100, 200, 218, 147, 3, 250, 210, 148, 136, 193, 166, 94, 154, 215, 17, 249, 3, 112, 24, 125, 187, 253, 129, 49, 109, 105, 100, 139, 200, 140, 197, 200, 53, 81, 175, 255, 69, 222, 186, 207, 182, 17, 5, 247, 9, 228, 195, 8, 9, 185, 0, 49, 235, 214, 134, 36, 68, 150, 198, 246, 158, 105, 46, 189, 200, 20, 246, 66, 57, 244, 173, 21, 117, 110, 203, 120, 197, 165, 176, 153, 49, 219, 24, 48, 119, 197, 70, 163, 140, 76, 116, 56, 137, 173, 61, 62, 208, 121, 181, 98, 46, 208, 18, 15, 160, 225, 249, 59, 89, 61, 183, 216, 82, 224, 95, 2, 129, 128, 56, 135, 75, 157, 131, 247, 129, 120, 206, 45, 158, 252, 23, 92, 131, 137, 127, 214, 127, 48, 107, 191, 166, 159, 100, 238, 52, 35, 104, 206, 212, 124, 128, 195, 241, 206, 23, 122, 117, 141, 100, 186, 251, 12, 151, 134, 164, 66, 133, 250, 1, 205, 236, 53, 7, 205, 238, 125, 201, 183, 226, 178, 29, 60, 187, 204, 16, 14, 238, 153, 103, 132, 59, 5, 115, 41, 253, 204, 166, 41, 152, 237, 15, 17, 179, 140, 232, 176, 171, 199, 222, 57, 1, 124, 113, 207, 208, 174, 87, 84, 108, 85, 145, 68, 205, 208, 175, 208, 100, 95, 126, 168, 255, 7, 185, 116, 209, 237, 68, 253, 31, 142, 0, 245, 96, 191, 109, 69, 2, 129, 129, 0, 133, 41, 239, 144, 115, 207, 143, 123, 95, 249, 226, 26, 186, 223, 58, 65, 115, 211, 144, 6, 112, 223, 175, 89, 66, 106, 188, 223, 4, 147, 193, 61, 47, 29, 27, 70, 184, 36, 166, 172, 24, 148, 179, 217, 37, 37, 12, 24, 30, 52, 114, 193, 96, 120, 5, 110, 177, 154, 141, 40, 247, 31, 48, 128, 146, 117, 52, 129, 212, 148, 68, 253, 247, 140, 158, 166, 194, 68, 7, 220, 1, 142, 119, 211, 175, 239, 56, 91, 47, 247, 67, 158, 150, 35, 121, 65, 51, 45, 212, 70, 206, 190, 255, 219, 68, 4, 254, 79, 113, 89, 81, 97, 208, 22, 64, 44, 51, 77, 15, 87, 198, 26, 190, 79, 249, 244, 203, 249, 2, 129, 129, 0, 135, 216, 119, 8, 212, 103, 99, 228, 204, 190, 178, 209, 233, 113, 46, 91, 240, 33, 109, 112, 222, 148, 32, 165, 178, 6, 155, 116, 89, 185, 159, 93, 159, 127, 47, 173, 124, 215, 154, 174, 230, 122, 127, 154, 52, 67, 126, 60, 121, 168, 74, 240, 205, 141, 233, 223, 242, 104, 235, 12, 71, 147, 245, 1, 249, 136, 213, 64, 246, 211, 71, 92, 32, 121, 184, 34, 122, 35, 217, 104, 222, 196, 227, 198, 101, 3, 24, 113, 147, 69, 150, 48, 71, 43, 253, 182, 186, 29, 231, 134, 199, 151, 250, 111, 78, 166, 90, 42, 132, 25, 38, 47, 41, 103, 136, 86, 203, 115, 201, 189, 75, 200, 155, 94, 4, 27, 34, 119]);- var spki = new Uint8Array([48, 130, 1, 34, 48, 13, 6, 9, 42, 134, 72, 134, 247, 13, 1, 1, 1, 5, 0, 3, 130, 1, 15, 0, 48, 130, 1, 10, 2, 130, 1, 1, 0, 211, 87, 96, 146, 230, 41, 87, 54, 69, 68, 231, 228, 35, 59, 123, 219, 41, 61, 178, 8, 81, 34, 196, 121, 50, 133, 70, 249, 240, 247, 18, 246, 87, 196, 177, 120, 104, 201, 48, 144, 140, 197, 148, 247, 237, 0, 192, 20, 66, 193, 175, 4, 194, 246, 120, 164, 139, 162, 200, 15, 209, 113, 62, 48, 181, 172, 80, 120, 122, 195, 81, 101, 137, 241, 113, 150, 127, 99, 134, 173, 163, 73, 0, 166, 187, 4, 238, 206, 164, 43, 240, 67, 206, 217, 160, 249, 77, 12, 192, 158, 145, 155, 157, 113, 102, 192, 138, 182, 206, 32, 70, 64, 174, 164, 196, 146, 13, 182, 216, 110, 185, 22, 208, 220, 192, 244, 52, 26, 16, 56, 4, 41, 231, 225, 3, 33, 68, 234, 148, 157, 232, 246, 192, 204, 191, 149, 250, 142, 146, 141, 112, 216, 163, 140, 225, 104, 219, 69, 246, 241, 52, 102, 61, 111, 101, 111, 92, 234, 188, 114, 93, 168, 192, 42, 171, 234, 170, 19, 172, 54, 167, 92, 192, 186, 225, 53, 223, 49, 20, 182, 101, 137, 199, 237, 60, 182, 21, 89, 174, 90, 56, 79, 22, 43, 250, 128, 219, 228, 97, 127, 134, 195, 241, 208, 16, 201, 79, 226, 201, 191, 1, 154, 110, 99, 179, 239, 192, 40, 212, 60, 238, 97, 28, 133, 236, 38, 60, 144, 108, 70, 55, 114, 198, 145, 27, 25, 238, 192, 150, 202, 118, 236, 94, 49, 225, 227, 2, 3, 1, 0, 1]);+ var keyFixtures = getRsaKeyFixtures();+ var pkcs8 = keyFixtures.pkcs8;+ var spki = keyFixtures.spki;// plaintext for RSA-PSSvar plaintext = new Uint8Array([95, 77, 186, 79, 50, 12, 12, 232, 118, 114, 90, 252, 229, 251, 210, 91, 248, 62, 90, 113, 37, 160, 140, 175, 231, 60, 62, 186, 196, 33, 119, 157, 249, 213, 93, 24, 12, 58, 233, 148, 38, 69, 225, 216, 47, 238, 140, 157, 41, 75, 60, 177, 160, 138, 153, 49, 32, 27, 60, 14, 129, 252, 71, 202, 207, 131, 21, 162, 175, 102, 50, 65, 19, 195, 182, 98, 48, 195, 70, 8, 196, 244, 89, 54, 52, 206, 2, 178, 103, 54, 34, 119, 240, 168, 64, 202, 116, 188, 61, 26, 98, 54, 149, 44, 94, 215, 170, 248, 168, 254, 203, 221, 250, 117, 132, 230, 151, 140, 234, 93, 42, 91, 159, 183, 241, 180, 140, 139, 11, 229, 138, 48, 82, 2, 117, 77, 131, 118, 16, 115, 116, 121, 60, 240, 38, 170, 238, 83, 0, 114, 125, 131, 108, 215, 30, 113, 179, 69, 221, 178, 228, 68, 70, 255, 197, 185, 1, 99, 84, 19, 137, 13, 145, 14, 163, 128, 152, 74, 144, 25, 16, 49, 50, 63, 22, 219, 204, 157, 107, 225, 104, 184, 72, 133, 56, 76, 160, 62, 18, 96, 10, 193, 194, 72, 2, 138, 243, 114, 108, 201, 52, 99, 136, 46, 168, 192, 42, 171]);diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/signature.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/signature.jsnew file mode 100644index 00000000000..1c6efa0bd22--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/sign_verify/signature.js@@ -0,0 +1,372 @@+function runSignatureTests(options) {+ const subtle = self.crypto.subtle;+ const publicKeyCache = new WeakMap();+ const privateKeyCache = new WeakMap();+ const dataLabel = options.dataLabel || 'data';++ function algorithmIdentifier(vector) {+ return options.algorithmIdentifier(vector);+ }++ function algorithmName(vector) {+ const algorithm = algorithmIdentifier(vector);+ return typeof algorithm === 'string' ? algorithm : algorithm.name;+ }++ function algorithmWithNameGetter(vector, getter) {+ const algorithm = algorithmIdentifier(vector);+ const result = typeof algorithm === 'string' ? {} : { ...algorithm };+ Object.defineProperty(result, 'name', {+ enumerable: true,+ get: getter,+ });+ return result;+ }++ function importAlgorithm(vector) {+ return options.importAlgorithm+ ? options.importAlgorithm(vector)+ : {name: algorithmName(vector)};+ }++ function cachedKey(cache, vector, usages, importer) {+ let keys = cache.get(vector);+ if (keys === undefined) {+ keys = new Map();+ cache.set(vector, keys);+ }++ const cacheKey = usages.join(',');+ if (!keys.has(cacheKey)) {+ keys.set(cacheKey, importer());+ }+ return keys.get(cacheKey);+ }++ function publicKey(vector, usages = ['verify']) {+ return cachedKey(publicKeyCache, vector, usages, function () {+ return subtle.importKey(+ vector.publicKeyFormat || 'spki',+ vector.publicKeyBuffer,+ importAlgorithm(vector),+ false,+ usages+ );+ });+ }++ function privateKey(vector, usages = ['sign']) {+ return cachedKey(privateKeyCache, vector, usages, function () {+ return subtle.importKey(+ vector.privateKeyFormat || 'pkcs8',+ vector.privateKeyBuffer,+ importAlgorithm(vector),+ false,+ usages+ );+ });+ }++ async function assertInvalidAccess(operation, message) {+ let error;+ try {+ await operation();+ } catch (caught) {+ error = caught;+ }+ assert_not_equals(error, undefined, message);+ assert_equals(+ error.name,+ 'InvalidAccessError',+ "Should have thrown InvalidAccessError instead of '" + error.message + "'"+ );+ }++ options.vectors.forEach(function (vector) {+ const algorithm = algorithmIdentifier(vector);++ promise_test(async function () {+ const key = await publicKey(vector);+ const isVerified = await subtle.verify(+ algorithm,+ key,+ vector.signature,+ vector.data+ );+ assert_true(isVerified, 'Signature verified');+ }, vector.name + ' verification');++ promise_test(async function () {+ const key = await publicKey(vector);+ const signature = copyBuffer(vector.signature);+ signature[0] = 255 - signature[0];+ const duringCallAlgorithm = algorithmWithNameGetter(vector, function () {+ signature[0] = vector.signature[0];+ return algorithmName(vector);+ });+ const isVerified = await subtle.verify(+ duringCallAlgorithm,+ key,+ signature,+ vector.data+ );+ assert_true(isVerified, 'Signature verified');+ }, vector.name + ' verification with altered signature during call');++ promise_test(async function () {+ const key = await publicKey(vector);+ const signature = copyBuffer(vector.signature);+ const operation = subtle.verify(algorithm, key, signature, vector.data);+ signature[0] = 255 - signature[0];+ assert_true(await operation, 'Signature verified');+ }, vector.name + ' verification with altered signature after call');++ promise_test(async function () {+ const key = await publicKey(vector);+ const signature = copyBuffer(vector.signature);+ const duringCallAlgorithm = algorithmWithNameGetter(vector, function () {+ if (!signature.buffer.detached) {+ signature.buffer.transfer();+ }+ return algorithmName(vector);+ });+ const isVerified = await subtle.verify(+ duringCallAlgorithm,+ key,+ signature,+ vector.data+ );+ assert_false(isVerified, 'Signature is NOT verified');+ }, vector.name + ' verification with transferred signature during call');++ promise_test(async function () {+ const key = await publicKey(vector);+ const signature = copyBuffer(vector.signature);+ const operation = subtle.verify(algorithm, key, signature, vector.data);+ signature.buffer.transfer();+ assert_true(await operation, 'Signature verified');+ }, vector.name + ' verification with transferred signature after call');++ promise_test(async function () {+ const key = await publicKey(vector);+ const data = copyBuffer(vector.data);+ data[0] = 255 - data[0];+ const duringCallAlgorithm = algorithmWithNameGetter(vector, function () {+ data[0] = vector.data[0];+ return algorithmName(vector);+ });+ const isVerified = await subtle.verify(+ duringCallAlgorithm,+ key,+ vector.signature,+ data+ );+ assert_true(isVerified, 'Signature verified');+ }, vector.name + ' with altered ' + dataLabel + ' during call');++ promise_test(async function () {+ const key = await publicKey(vector);+ const data = copyBuffer(vector.data);+ const operation = subtle.verify(algorithm, key, vector.signature, data);+ data[0] = 255 - data[0];+ assert_true(await operation, 'Signature verified');+ }, vector.name + ' with altered ' + dataLabel + ' after call');++ promise_test(async function () {+ const key = await publicKey(vector);+ const data = copyBuffer(vector.data);+ const duringCallAlgorithm = algorithmWithNameGetter(vector, function () {+ if (!data.buffer.detached) {+ data.buffer.transfer();+ }+ return algorithmName(vector);+ });+ const isVerified = await subtle.verify(+ duringCallAlgorithm,+ key,+ vector.signature,+ data+ );+ assert_false(isVerified, 'Signature is NOT verified');+ }, vector.name + ' with transferred ' + dataLabel + ' during call');++ promise_test(async function () {+ const key = await publicKey(vector);+ const data = copyBuffer(vector.data);+ const operation = subtle.verify(algorithm, key, vector.signature, data);+ data.buffer.transfer();+ assert_true(await operation, 'Signature verified');+ }, vector.name + ' with transferred ' + dataLabel + ' after call');++ promise_test(async function () {+ const key = await privateKey(vector);+ await assertInvalidAccess(+ () => subtle.verify(algorithm, key, vector.signature, vector.data),+ 'Using a private key to verify should fail'+ );+ }, vector.name + ' using privateKey to verify');++ promise_test(async function () {+ const key = await publicKey(vector);+ await assertInvalidAccess(+ () => subtle.sign(algorithm, key, vector.data),+ 'Using a public key to sign should fail'+ );+ }, vector.name + ' using publicKey to sign');++ promise_test(async function () {+ const key = await publicKey(vector, []);+ await assertInvalidAccess(+ () => subtle.verify(algorithm, key, vector.signature, vector.data),+ 'Verifying without the verify usage should fail'+ );+ }, vector.name + ' no verify usage');++ promise_test(async function () {+ const verificationKey = await publicKey(vector);+ const signingKey = await privateKey(vector);++ if (options.roundTrip) {+ await options.roundTrip({+ subtle,+ vector,+ algorithm,+ verificationKey,+ signingKey,+ });+ return;+ }++ if (options.katFirst) {+ const vectorSignatureIsVerified = await subtle.verify(+ algorithm,+ verificationKey,+ vector.signature,+ vector.data+ );+ assert_true(+ vectorSignatureIsVerified,+ 'Known-answer signature verified'+ );+ }++ const signature = await subtle.sign(algorithm, signingKey, vector.data);++ if (!options.katFirst || !equalBuffers(signature, vector.signature)) {+ const generatedSignatureIsVerified = await subtle.verify(+ algorithm,+ verificationKey,+ signature,+ vector.data+ );+ assert_true(+ generatedSignatureIsVerified,+ 'Generated signature verified'+ );+ }+ }, vector.name + ' round trip');++ promise_test(async function () {+ const wrongKey = options.wrongKey+ ? await options.wrongKey(vector, 'sign')+ : await subtle.generateKey(+ {name: 'HMAC', hash: 'SHA-1'},+ false,+ ['sign', 'verify']+ );+ await assertInvalidAccess(+ () => subtle.sign(algorithm, wrongKey, vector.data),+ 'Signing with a key for another algorithm should fail'+ );+ }, vector.name + ' signing with wrong algorithm name');++ promise_test(async function () {+ const wrongKey = options.wrongKey+ ? await options.wrongKey(vector, 'verify')+ : await subtle.generateKey(+ {name: 'HMAC', hash: 'SHA-1'},+ false,+ ['sign', 'verify']+ );+ await assertInvalidAccess(+ () => subtle.verify(algorithm, wrongKey, vector.signature, vector.data),+ 'Verifying with a key for another algorithm should fail'+ );+ }, vector.name ++ (options.wrongVerifyLabel || ' verifying with wrong algorithm name'));++ promise_test(async function () {+ const key = await publicKey(vector);+ const signature = copyBuffer(vector.signature);+ signature[0] = 255 - signature[0];+ const isVerified = await subtle.verify(+ algorithm,+ key,+ signature,+ vector.data+ );+ assert_false(isVerified, 'Signature NOT verified');+ }, vector.name ++ (options.alteredSignatureLabel ||+ ' verification failure due to altered signature'));++ if (options.shortSignature !== false) {+ promise_test(async function () {+ const key = await publicKey(vector);+ const signature = vector.signature.slice(1);+ const isVerified = await subtle.verify(+ algorithm,+ key,+ signature,+ vector.data+ );+ assert_false(isVerified, 'Signature NOT verified');+ }, vector.name + ' verification failure due to shortened signature');+ }++ promise_test(async function () {+ const key = await publicKey(vector);+ const data = copyBuffer(vector.data);+ data[0] = 255 - data[0];+ const isVerified = await subtle.verify(+ algorithm,+ key,+ vector.signature,+ data+ );+ assert_false(isVerified, 'Signature NOT verified');+ }, vector.name ++ (options.alteredDataLabel ||+ ' verification failure due to altered ' + dataLabel));++ if (options.generatedKeys) {+ promise_test(async function () {+ const key = await subtle.generateKey(algorithm, false, ['sign', 'verify']);+ const signature = await subtle.sign(+ algorithm,+ key.privateKey,+ vector.data+ );+ const isVerified = await subtle.verify(+ algorithm,+ key.publicKey,+ signature,+ vector.data+ );+ assert_true(isVerified, 'Verification failed.');+ }, 'Sign and verify using generated ' + algorithmName(vector) + ' keys.');+ }+ });++ (options.invalidVectors || []).forEach(function (vector) {+ promise_test(async function () {+ const isVerified = await subtle.verify(+ algorithmIdentifier(vector),+ await publicKey(vector),+ vector.signature,+ vector.data+ );+ assert_false(isVerified, 'Signature unexpectedly verified');+ }, vector.name + ' verification');+ });+}diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/util/ec_key_fixtures.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/util/ec_key_fixtures.jsnew file mode 100644index 00000000000..e298fa8f9eb--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/util/ec_key_fixtures.js@@ -0,0 +1,50 @@+var ecKeyData = {+ "P-521": {+ spki: new Uint8Array([48, 129, 155, 48, 16, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 5, 43, 129, 4, 0, 35, 3, 129, 134, 0, 4, 1, 86, 244, 121, 248, 223, 30, 32, 167, 255, 192, 76, 228, 32, 195, 225, 84, 174, 37, 25, 150, 190, 228, 47, 3, 75, 132, 212, 27, 116, 63, 52, 228, 95, 49, 27, 129, 58, 156, 222, 200, 205, 165, 155, 187, 189, 49, 212, 96, 179, 41, 37, 33, 231, 193, 183, 34, 229, 102, 124, 3, 219, 47, 174, 117, 63, 1, 80, 23, 54, 207, 226, 71, 57, 67, 32, 216, 228, 175, 194, 253, 57, 181, 169, 51, 16, 97, 184, 30, 34, 65, 40, 43, 158, 23, 137, 24, 34, 181, 183, 158, 5, 47, 69, 151, 181, 150, 67, 253, 57, 55, 156, 81, 189, 81, 37, 196, 244, 139, 195, 240, 37, 206, 60, 211, 105, 83, 40, 108, 203, 56, 251]),+ spki_compressed: new Uint8Array([48, 88, 48, 16, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 5, 43, 129, 4, 0, 35, 3, 68, 0, 3, 1, 86, 244, 121, 248, 223, 30, 32, 167, 255, 192, 76, 228, 32, 195, 225, 84, 174, 37, 25, 150, 190, 228, 47, 3, 75, 132, 212, 27, 116, 63, 52, 228, 95, 49, 27, 129, 58, 156, 222, 200, 205, 165, 155, 187, 189, 49, 212, 96, 179, 41, 37, 33, 231, 193, 183, 34, 229, 102, 124, 3, 219, 47, 174, 117, 63]),+ raw: new Uint8Array([4, 1, 86, 244, 121, 248, 223, 30, 32, 167, 255, 192, 76, 228, 32, 195, 225, 84, 174, 37, 25, 150, 190, 228, 47, 3, 75, 132, 212, 27, 116, 63, 52, 228, 95, 49, 27, 129, 58, 156, 222, 200, 205, 165, 155, 187, 189, 49, 212, 96, 179, 41, 37, 33, 231, 193, 183, 34, 229, 102, 124, 3, 219, 47, 174, 117, 63, 1, 80, 23, 54, 207, 226, 71, 57, 67, 32, 216, 228, 175, 194, 253, 57, 181, 169, 51, 16, 97, 184, 30, 34, 65, 40, 43, 158, 23, 137, 24, 34, 181, 183, 158, 5, 47, 69, 151, 181, 150, 67, 253, 57, 55, 156, 81, 189, 81, 37, 196, 244, 139, 195, 240, 37, 206, 60, 211, 105, 83, 40, 108, 203, 56, 251]),+ raw_compressed: new Uint8Array([3, 1, 86, 244, 121, 248, 223, 30, 32, 167, 255, 192, 76, 228, 32, 195, 225, 84, 174, 37, 25, 150, 190, 228, 47, 3, 75, 132, 212, 27, 116, 63, 52, 228, 95, 49, 27, 129, 58, 156, 222, 200, 205, 165, 155, 187, 189, 49, 212, 96, 179, 41, 37, 33, 231, 193, 183, 34, 229, 102, 124, 3, 219, 47, 174, 117, 63]),+ pkcs8: new Uint8Array([48, 129, 238, 2, 1, 0, 48, 16, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 5, 43, 129, 4, 0, 35, 4, 129, 214, 48, 129, 211, 2, 1, 1, 4, 66, 0, 244, 8, 117, 131, 104, 186, 147, 15, 48, 247, 106, 224, 84, 254, 92, 210, 206, 127, 218, 44, 159, 118, 166, 212, 54, 207, 117, 214, 108, 68, 11, 254, 99, 49, 199, 193, 114, 161, 36, 120, 25, 60, 130, 81, 72, 123, 201, 18, 99, 250, 80, 33, 127, 133, 255, 99, 111, 89, 205, 84, 110, 58, 180, 131, 180, 161, 129, 137, 3, 129, 134, 0, 4, 1, 86, 244, 121, 248, 223, 30, 32, 167, 255, 192, 76, 228, 32, 195, 225, 84, 174, 37, 25, 150, 190, 228, 47, 3, 75, 132, 212, 27, 116, 63, 52, 228, 95, 49, 27, 129, 58, 156, 222, 200, 205, 165, 155, 187, 189, 49, 212, 96, 179, 41, 37, 33, 231, 193, 183, 34, 229, 102, 124, 3, 219, 47, 174, 117, 63, 1, 80, 23, 54, 207, 226, 71, 57, 67, 32, 216, 228, 175, 194, 253, 57, 181, 169, 51, 16, 97, 184, 30, 34, 65, 40, 43, 158, 23, 137, 24, 34, 181, 183, 158, 5, 47, 69, 151, 181, 150, 67, 253, 57, 55, 156, 81, 189, 81, 37, 196, 244, 139, 195, 240, 37, 206, 60, 211, 105, 83, 40, 108, 203, 56, 251]),+ pkcs8_private_only: new Uint8Array([48, 96, 2, 1, 0, 48, 16, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 5, 43, 129, 4, 0, 35, 4, 73, 48, 71, 2, 1, 1, 4, 66, 0, 244, 8, 117, 131, 104, 186, 147, 15, 48, 247, 106, 224, 84, 254, 92, 210, 206, 127, 218, 44, 159, 118, 166, 212, 54, 207, 117, 214, 108, 68, 11, 254, 99, 49, 199, 193, 114, 161, 36, 120, 25, 60, 130, 81, 72, 123, 201, 18, 99, 250, 80, 33, 127, 133, 255, 99, 111, 89, 205, 84, 110, 58, 180, 131, 180]),+ jwk: {+ kty: "EC",+ crv: "P-521",+ x: "AVb0efjfHiCn_8BM5CDD4VSuJRmWvuQvA0uE1Bt0PzTkXzEbgTqc3sjNpZu7vTHUYLMpJSHnwbci5WZ8A9svrnU_",+ y: "AVAXNs_iRzlDINjkr8L9ObWpMxBhuB4iQSgrnheJGCK1t54FL0WXtZZD_Tk3nFG9USXE9IvD8CXOPNNpUyhsyzj7",+ d: "APQIdYNoupMPMPdq4FT-XNLOf9osn3am1DbPddZsRAv-YzHHwXKhJHgZPIJRSHvJEmP6UCF_hf9jb1nNVG46tIO0"+ }+ },++ "P-256": {+ spki: new Uint8Array([48, 89, 48, 19, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 8, 42, 134, 72, 206, 61, 3, 1, 7, 3, 66, 0, 4, 210, 16, 176, 166, 249, 217, 240, 18, 134, 128, 88, 180, 63, 164, 244, 113, 1, 133, 67, 187, 160, 12, 146, 80, 223, 146, 87, 194, 172, 174, 93, 209, 206, 3, 117, 82, 212, 129, 69, 12, 227, 155, 77, 16, 149, 112, 27, 23, 91, 250, 179, 75, 142, 108, 9, 158, 24, 241, 193, 152, 53, 131, 97, 232]),+ spki_compressed: new Uint8Array([48, 57, 48, 19, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 8, 42, 134, 72, 206, 61, 3, 1, 7, 3, 34, 0, 2, 210, 16, 176, 166, 249, 217, 240, 18, 134, 128, 88, 180, 63, 164, 244, 113, 1, 133, 67, 187, 160, 12, 146, 80, 223, 146, 87, 194, 172, 174, 93, 209]),+ raw: new Uint8Array([4, 210, 16, 176, 166, 249, 217, 240, 18, 134, 128, 88, 180, 63, 164, 244, 113, 1, 133, 67, 187, 160, 12, 146, 80, 223, 146, 87, 194, 172, 174, 93, 209, 206, 3, 117, 82, 212, 129, 69, 12, 227, 155, 77, 16, 149, 112, 27, 23, 91, 250, 179, 75, 142, 108, 9, 158, 24, 241, 193, 152, 53, 131, 97, 232]),+ raw_compressed: new Uint8Array([2, 210, 16, 176, 166, 249, 217, 240, 18, 134, 128, 88, 180, 63, 164, 244, 113, 1, 133, 67, 187, 160, 12, 146, 80, 223, 146, 87, 194, 172, 174, 93, 209]),+ pkcs8: new Uint8Array([48, 129, 135, 2, 1, 0, 48, 19, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 8, 42, 134, 72, 206, 61, 3, 1, 7, 4, 109, 48, 107, 2, 1, 1, 4, 32, 19, 211, 58, 45, 90, 191, 156, 249, 235, 178, 31, 248, 96, 212, 174, 254, 110, 86, 231, 119, 144, 244, 222, 233, 180, 8, 132, 235, 211, 53, 68, 234, 161, 68, 3, 66, 0, 4, 210, 16, 176, 166, 249, 217, 240, 18, 134, 128, 88, 180, 63, 164, 244, 113, 1, 133, 67, 187, 160, 12, 146, 80, 223, 146, 87, 194, 172, 174, 93, 209, 206, 3, 117, 82, 212, 129, 69, 12, 227, 155, 77, 16, 149, 112, 27, 23, 91, 250, 179, 75, 142, 108, 9, 158, 24, 241, 193, 152, 53, 131, 97, 232]),+ pkcs8_private_only: new Uint8Array([48, 65, 2, 1, 0, 48, 19, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 8, 42, 134, 72, 206, 61, 3, 1, 7, 4, 39, 48, 37, 2, 1, 1, 4, 32, 19, 211, 58, 45, 90, 191, 156, 249, 235, 178, 31, 248, 96, 212, 174, 254, 110, 86, 231, 119, 144, 244, 222, 233, 180, 8, 132, 235, 211, 53, 68, 234]),+ jwk: {+ kty: "EC",+ crv: "P-256",+ x: "0hCwpvnZ8BKGgFi0P6T0cQGFQ7ugDJJQ35JXwqyuXdE",+ y: "zgN1UtSBRQzjm00QlXAbF1v6s0uObAmeGPHBmDWDYeg",+ d: "E9M6LVq_nPnrsh_4YNSu_m5W53eQ9N7ptAiE69M1ROo"+ }+ },++ "P-384": {+ spki: new Uint8Array([48, 118, 48, 16, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 5, 43, 129, 4, 0, 34, 3, 98, 0, 4, 33, 156, 20, 214, 102, 23, 179, 110, 198, 216, 133, 107, 56, 91, 115, 167, 77, 52, 79, 216, 174, 117, 239, 4, 100, 53, 221, 165, 78, 59, 68, 189, 95, 189, 235, 209, 208, 141, 214, 158, 45, 125, 193, 220, 33, 140, 180, 53, 189, 40, 19, 140, 199, 120, 51, 122, 132, 47, 107, 214, 27, 36, 14, 116, 36, 159, 36, 102, 124, 42, 88, 16, 167, 107, 252, 40, 224, 51, 95, 136, 166, 80, 29, 236, 1, 151, 109, 168, 90, 251, 0, 134, 156, 182, 172, 232]),+ spki_compressed: new Uint8Array([48, 70, 48, 16, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 5, 43, 129, 4, 0, 34, 3, 50, 0, 2, 33, 156, 20, 214, 102, 23, 179, 110, 198, 216, 133, 107, 56, 91, 115, 167, 77, 52, 79, 216, 174, 117, 239, 4, 100, 53, 221, 165, 78, 59, 68, 189, 95, 189, 235, 209, 208, 141, 214, 158, 45, 125, 193, 220, 33, 140, 180, 53]),+ raw: new Uint8Array([4, 33, 156, 20, 214, 102, 23, 179, 110, 198, 216, 133, 107, 56, 91, 115, 167, 77, 52, 79, 216, 174, 117, 239, 4, 100, 53, 221, 165, 78, 59, 68, 189, 95, 189, 235, 209, 208, 141, 214, 158, 45, 125, 193, 220, 33, 140, 180, 53, 189, 40, 19, 140, 199, 120, 51, 122, 132, 47, 107, 214, 27, 36, 14, 116, 36, 159, 36, 102, 124, 42, 88, 16, 167, 107, 252, 40, 224, 51, 95, 136, 166, 80, 29, 236, 1, 151, 109, 168, 90, 251, 0, 134, 156, 182, 172, 232]),+ raw_compressed: new Uint8Array([2, 33, 156, 20, 214, 102, 23, 179, 110, 198, 216, 133, 107, 56, 91, 115, 167, 77, 52, 79, 216, 174, 117, 239, 4, 100, 53, 221, 165, 78, 59, 68, 189, 95, 189, 235, 209, 208, 141, 214, 158, 45, 125, 193, 220, 33, 140, 180, 53]),+ pkcs8: new Uint8Array([48, 129, 182, 2, 1, 0, 48, 16, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 5, 43, 129, 4, 0, 34, 4, 129, 158, 48, 129, 155, 2, 1, 1, 4, 48, 69, 55, 181, 153, 7, 132, 211, 194, 210, 46, 150, 168, 249, 47, 161, 170, 73, 46, 232, 115, 229, 118, 164, 21, 130, 225, 68, 24, 60, 152, 136, 209, 14, 107, 158, 180, 206, 212, 178, 204, 64, 18, 228, 172, 94, 168, 64, 115, 161, 100, 3, 98, 0, 4, 33, 156, 20, 214, 102, 23, 179, 110, 198, 216, 133, 107, 56, 91, 115, 167, 77, 52, 79, 216, 174, 117, 239, 4, 100, 53, 221, 165, 78, 59, 68, 189, 95, 189, 235, 209, 208, 141, 214, 158, 45, 125, 193, 220, 33, 140, 180, 53, 189, 40, 19, 140, 199, 120, 51, 122, 132, 47, 107, 214, 27, 36, 14, 116, 36, 159, 36, 102, 124, 42, 88, 16, 167, 107, 252, 40, 224, 51, 95, 136, 166, 80, 29, 236, 1, 151, 109, 168, 90, 251, 0, 134, 156, 182, 172, 232]),+ pkcs8_private_only: new Uint8Array([48, 78, 2, 1, 0, 48, 16, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 5, 43, 129, 4, 0, 34, 4, 55, 48, 53, 2, 1, 1, 4, 48, 69, 55, 181, 153, 7, 132, 211, 194, 210, 46, 150, 168, 249, 47, 161, 170, 73, 46, 232, 115, 229, 118, 164, 21, 130, 225, 68, 24, 60, 152, 136, 209, 14, 107, 158, 180, 206, 212, 178, 204, 64, 18, 228, 172, 94, 168, 64, 115]),+ jwk: {+ kty: "EC",+ crv: "P-384",+ x: "IZwU1mYXs27G2IVrOFtzp000T9iude8EZDXdpU47RL1fvevR0I3Wni19wdwhjLQ1",+ y: "vSgTjMd4M3qEL2vWGyQOdCSfJGZ8KlgQp2v8KOAzX4imUB3sAZdtqFr7AIactqzo",+ d: "RTe1mQeE08LSLpao-S-hqkku6HPldqQVguFEGDyYiNEOa560ztSyzEAS5KxeqEBz"+ }+ },++};diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/util/helpers.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/util/helpers.jsindex 3d44b7a7550..86a4a79f0b9 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/util/helpers.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/util/helpers.js@@ -31,6 +31,9 @@ var registeredAlgorithmNames = ["ML-KEM-512","ML-KEM-768","ML-KEM-1024",+ "MLKEM768-P256",+ "MLKEM768-X25519",+ "MLKEM1024-P384","ChaCha20-Poly1305","Argon2i","Argon2d",@@ -40,6 +43,21 @@ var registeredAlgorithmNames = ["KMAC256",];+var allKeyUsages = [+ "encrypt",+ "decrypt",+ "sign",+ "verify",+ "wrapKey",+ "unwrapKey",+ "deriveKey",+ "deriveBits",+ "encapsulateKey",+ "encapsulateBits",+ "decapsulateKey",+ "decapsulateBits",+];+// Treats an array as a set, and generates an array of all non-empty// subsets (which are themselves arrays).@@ -86,6 +104,35 @@ function objectToString(obj) {}}+function mismatchedCryptoKeyAlgorithmMembers(keyAlgorithm, algorithm, registeredAlgorithmName) {+ const mismatches = [];++ if (["HMAC", "RSASSA-PKCS1-v1_5", "RSA-PSS", "RSA-OAEP"].includes(registeredAlgorithmName)) {+ const expectedHash = typeof algorithm.hash === "string" ?+ algorithm.hash : algorithm.hash.name;+ if (keyAlgorithm.hash.name.toUpperCase() !== expectedHash.toUpperCase()) {+ mismatches.push("hash");+ }+ }++ if (algorithm.namedCurve !== undefined &&+ keyAlgorithm.namedCurve !== algorithm.namedCurve) {+ mismatches.push("namedCurve");+ }++ if (algorithm.modulusLength !== undefined &&+ keyAlgorithm.modulusLength !== algorithm.modulusLength) {+ mismatches.push("modulusLength");+ }++ if (algorithm.publicExponent !== undefined &&+ !equalBuffers(keyAlgorithm.publicExponent, algorithm.publicExponent)) {+ mismatches.push("publicExponent");+ }++ return mismatches;+}+// Is key a CryptoKey object with correct algorithm, extractable, and usages?// Is it a secret, private, or public kind of key?function assert_goodCryptoKey(key, algorithm, extractable, usages, kind) {@@ -132,9 +179,13 @@ function assert_goodCryptoKey(key, algorithm, extractable, usages, kind) {} else {assert_equals(key.algorithm.length, algorithm.length, "Correct length");}- if (["HMAC", "RSASSA-PKCS1-v1_5", "RSA-PSS"].includes(registeredAlgorithmName)) {- assert_equals(key.algorithm.hash.name.toUpperCase(), algorithm.hash.toUpperCase(), "Correct hash function");- }+ assert_array_equals(+ mismatchedCryptoKeyAlgorithmMembers(+ key.algorithm,+ algorithm,+ registeredAlgorithmName),+ [],+ "Algorithm members are correct");if (/^(?:Ed|X)(?:25519|448)$/.test(key.algorithm.name)) {assert_false('namedCurve' in key.algorithm, "Does not have a namedCurve property");@@ -164,12 +215,9 @@ function assert_goodCryptoKey(key, algorithm, extractable, usages, kind) {// The usages parameter could have repeats, but the usages// property of the result should not.- var usageCount = 0;- key.usages.forEach(function(usage) {- usageCount += 1;- assert_in_array(usage, correctUsages, "Has " + usage + " usage");- });- assert_equals(key.usages.length, usageCount, "usages property is correct");+ const expectedUsages = unique(correctUsages).sort();+ const actualUsages = [...key.usages].sort();+ assert_array_equals(actualUsages, expectedUsages, "usages property is correct");assert_equals(key[Symbol.toStringTag], 'CryptoKey', "has the expected Symbol.toStringTag");}@@ -287,7 +335,7 @@ function bytesToHexString(bytes)if (!bytes)return null;- bytes = new Uint8Array(bytes);+ bytes = byteView(bytes);var hexBytes = [];for (var i = 0; i < bytes.length; ++i) {@@ -302,18 +350,25 @@ function bytesToHexString(bytes)function hexStringToUint8Array(hexString){- if (hexString.length % 2 != 0)- throw "Invalid hexString";- var arrayBuffer = new Uint8Array(hexString.length / 2);-- for (var i = 0; i < hexString.length; i += 2) {- var byteValue = parseInt(hexString.substr(i, 2), 16);- if (byteValue == NaN)- throw "Invalid hexString";- arrayBuffer[i/2] = byteValue;+ if (hexString.length % 2 !== 0 || !/^[0-9a-f]*$/i.test(hexString)) {+ throw new TypeError("Invalid hexadecimal string");}- return arrayBuffer;+ const result = new Uint8Array(hexString.length / 2);++ for (let i = 0; i < hexString.length; i += 2) {+ result[i / 2] = parseInt(hexString.slice(i, i + 2), 16);+ }++ return result;+}++function byteView(source) {+ if (ArrayBuffer.isView(source)) {+ return new Uint8Array(source.buffer, source.byteOffset, source.byteLength);+ }++ return new Uint8Array(source);}// Compares two ArrayBuffer or ArrayBufferView objects. If bitCount is@@ -321,44 +376,39 @@ function hexStringToUint8Array(hexString)// in every byte. If bitCount is included, only that leading number of bits// have to match.function equalBuffers(a, b, bitCount) {- var remainder;+ const aBytes = byteView(a);+ const bBytes = byteView(b);- if (typeof bitCount === "undefined" && a.byteLength !== b.byteLength) {+ if (typeof bitCount === "undefined") {+ if (aBytes.byteLength !== bBytes.byteLength) {+ return false;+ }+ bitCount = aBytes.byteLength * 8;+ } else if (!Number.isInteger(bitCount) || bitCount < 0 ||+ bitCount > aBytes.byteLength * 8 ||+ bitCount > bBytes.byteLength * 8) {return false;}- var aBytes = new Uint8Array(a);- var bBytes = new Uint8Array(b);-- var length = a.byteLength;- if (typeof bitCount !== "undefined") {- length = Math.floor(bitCount / 8);- }-- for (var i=0; i<length; i++) {+ const length = Math.floor(bitCount / 8);+ for (let i = 0; i < length; i++) {if (aBytes[i] !== bBytes[i]) {return false;}}- if (typeof bitCount !== "undefined") {- remainder = bitCount % 8;- return aBytes[length] >> (8 - remainder) === bBytes[length] >> (8 - remainder);+ const remainder = bitCount % 8;+ if (remainder === 0) {+ return true;}- return true;+ const mask = 0xff << (8 - remainder);+ return (aBytes[length] & mask) === (bBytes[length] & mask);}// Returns a copy of the sourceBuffer it is sent.function copyBuffer(sourceBuffer) {- var source = new Uint8Array(sourceBuffer);- var copy = new Uint8Array(sourceBuffer.byteLength)-- for (var i=0; i<source.byteLength; i++) {- copy[i] = source[i];- }-- return copy;+ return new Uint8Array(byteView(sourceBuffer));}// Are two Jwk objects "the same"? That is, does the object returned includediff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/util/okp_key_fixtures.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/util/okp_key_fixtures.jsnew file mode 100644index 00000000000..569e7c7215a--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/util/okp_key_fixtures.js@@ -0,0 +1,58 @@+var okpKeyData = {+ "Ed25519": {+ privateUsages: ["sign"],+ publicUsages: ["verify"],+ spki: new Uint8Array([48, 42, 48, 5, 6, 3, 43, 101, 112, 3, 33, 0, 216, 225, 137, 99, 216, 9, 212, 135, 217, 84, 154, 204, 174, 198, 116, 46, 126, 235, 162, 77, 138, 13, 59, 20, 183, 227, 202, 234, 6, 137, 61, 204]),+ raw: new Uint8Array([216, 225, 137, 99, 216, 9, 212, 135, 217, 84, 154, 204, 174, 198, 116, 46, 126, 235, 162, 77, 138, 13, 59, 20, 183, 227, 202, 234, 6, 137, 61, 204]),+ pkcs8: new Uint8Array([48, 46, 2, 1, 0, 48, 5, 6, 3, 43, 101, 112, 4, 34, 4, 32, 243, 200, 244, 196, 141, 248, 120, 20, 110, 140, 211, 191, 109, 244, 229, 14, 56, 155, 167, 7, 78, 21, 194, 53, 45, 205, 93, 48, 141, 76, 168, 31]),+ jwk: {+ crv: "Ed25519",+ d: "88j0xI34eBRujNO_bfTlDjibpwdOFcI1Lc1dMI1MqB8",+ x: "2OGJY9gJ1IfZVJrMrsZ0Ln7rok2KDTsUt-PK6gaJPcw",+ kty: "OKP"+ }+ },++ "Ed448": {+ privateUsages: ["sign"],+ publicUsages: ["verify"],+ spki: new Uint8Array([48, 67, 48, 5, 6, 3, 43, 101, 113, 3, 58, 0, 171, 75, 184, 133, 253, 125, 44, 90, 242, 78, 131, 113, 12, 255, 160, 199, 74, 87, 226, 116, 128, 29, 178, 5, 123, 11, 220, 94, 160, 50, 182, 254, 107, 199, 139, 128, 69, 54, 90, 235, 38, 232, 110, 31, 20, 253, 52, 157, 7, 196, 132, 149, 245, 164, 106, 90, 128]),+ raw: new Uint8Array([171, 75, 184, 133, 253, 125, 44, 90, 242, 78, 131, 113, 12, 255, 160, 199, 74, 87, 226, 116, 128, 29, 178, 5, 123, 11, 220, 94, 160, 50, 182, 254, 107, 199, 139, 128, 69, 54, 90, 235, 38, 232, 110, 31, 20, 253, 52, 157, 7, 196, 132, 149, 245, 164, 106, 90, 128]),+ pkcs8: new Uint8Array([48, 71, 2, 1, 0, 48, 5, 6, 3, 43, 101, 113, 4, 59, 4, 57, 14, 255, 3, 69, 140, 40, 224, 23, 156, 82, 29, 227, 18, 201, 105, 183, 131, 67, 72, 236, 171, 153, 26, 96, 227, 178, 233, 167, 158, 76, 217, 228, 128, 239, 41, 23, 18, 210, 200, 61, 4, 114, 114, 213, 201, 244, 40, 102, 79, 105, 109, 38, 112, 69, 143, 29, 46]),+ jwk: {+ crv: "Ed448",+ d: "Dv8DRYwo4BecUh3jEslpt4NDSOyrmRpg47Lpp55M2eSA7ykXEtLIPQRyctXJ9ChmT2ltJnBFjx0u",+ x: "q0u4hf19LFryToNxDP-gx0pX4nSAHbIFewvcXqAytv5rx4uARTZa6ybobh8U_TSdB8SElfWkalqA",+ kty: "OKP"+ }+ },++ "X25519": {+ privateUsages: ["deriveKey", "deriveBits"],+ publicUsages: [],+ spki: new Uint8Array([48, 42, 48, 5, 6, 3, 43, 101, 110, 3, 33, 0, 28, 242, 177, 230, 2, 46, 197, 55, 55, 30, 215, 245, 62, 84, 250, 17, 84, 216, 62, 152, 235, 100, 234, 81, 250, 229, 179, 48, 124, 254, 151, 6]),+ raw: new Uint8Array([28, 242, 177, 230, 2, 46, 197, 55, 55, 30, 215, 245, 62, 84, 250, 17, 84, 216, 62, 152, 235, 100, 234, 81, 250, 229, 179, 48, 124, 254, 151, 6]),+ pkcs8: new Uint8Array([48, 46, 2, 1, 0, 48, 5, 6, 3, 43, 101, 110, 4, 34, 4, 32, 200, 131, 142, 118, 208, 87, 223, 183, 216, 201, 90, 105, 225, 56, 22, 10, 221, 99, 115, 253, 113, 164, 210, 118, 187, 86, 227, 168, 27, 100, 255, 97]),+ jwk: {+ crv: "X25519",+ d: "yIOOdtBX37fYyVpp4TgWCt1jc_1xpNJ2u1bjqBtk_2E",+ x: "HPKx5gIuxTc3Htf1PlT6EVTYPpjrZOpR-uWzMHz-lwY",+ kty: "OKP"+ }+ },++ "X448": {+ privateUsages: ["deriveKey", "deriveBits"],+ publicUsages: [],+ spki: new Uint8Array([48, 66, 48, 5, 6, 3, 43, 101, 111, 3, 57, 0, 182, 4, 161, 209, 165, 205, 29, 148, 38, 213, 97, 239, 99, 10, 158, 177, 108, 190, 105, 213, 185, 202, 97, 94, 220, 83, 99, 62, 251, 82, 234, 49, 230, 230, 160, 161, 219, 172, 198, 231, 108, 188, 230, 72, 45, 126, 75, 163, 213, 93, 158, 128, 39, 101, 206, 111]),+ raw: new Uint8Array([182, 4, 161, 209, 165, 205, 29, 148, 38, 213, 97, 239, 99, 10, 158, 177, 108, 190, 105, 213, 185, 202, 97, 94, 220, 83, 99, 62, 251, 82, 234, 49, 230, 230, 160, 161, 219, 172, 198, 231, 108, 188, 230, 72, 45, 126, 75, 163, 213, 93, 158, 128, 39, 101, 206, 111]),+ pkcs8: new Uint8Array([48, 70, 2, 1, 0, 48, 5, 6, 3, 43, 101, 111, 4, 58, 4, 56, 88, 199, 210, 154, 62, 181, 25, 178, 157, 0, 207, 177, 145, 187, 100, 252, 109, 138, 66, 216, 241, 113, 118, 39, 43, 137, 242, 39, 45, 24, 25, 41, 92, 101, 37, 192, 130, 150, 113, 176, 82, 239, 7, 39, 83, 15, 24, 142, 49, 208, 204, 83, 191, 38, 146, 158]),+ jwk: {+ crv: "X448",+ d: "WMfSmj61GbKdAM-xkbtk_G2KQtjxcXYnK4nyJy0YGSlcZSXAgpZxsFLvBydTDxiOMdDMU78mkp4",+ x: "tgSh0aXNHZQm1WHvYwqesWy-adW5ymFe3FNjPvtS6jHm5qCh26zG52y85kgtfkuj1V2egCdlzm8",+ kty: "OKP"+ }+ },++};diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/util/rsa_key_fixtures.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/util/rsa_key_fixtures.jsnew file mode 100644index 00000000000..13adb1a133e--- /dev/null+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/util/rsa_key_fixtures.js@@ -0,0 +1,6 @@+function getRsaKeyFixtures() {+ return {+ pkcs8: new Uint8Array([48, 130, 4, 191, 2, 1, 0, 48, 13, 6, 9, 42, 134, 72, 134, 247, 13, 1, 1, 1, 5, 0, 4, 130, 4, 169, 48, 130, 4, 165, 2, 1, 0, 2, 130, 1, 1, 0, 211, 87, 96, 146, 230, 41, 87, 54, 69, 68, 231, 228, 35, 59, 123, 219, 41, 61, 178, 8, 81, 34, 196, 121, 50, 133, 70, 249, 240, 247, 18, 246, 87, 196, 177, 120, 104, 201, 48, 144, 140, 197, 148, 247, 237, 0, 192, 20, 66, 193, 175, 4, 194, 246, 120, 164, 139, 162, 200, 15, 209, 113, 62, 48, 181, 172, 80, 120, 122, 195, 81, 101, 137, 241, 113, 150, 127, 99, 134, 173, 163, 73, 0, 166, 187, 4, 238, 206, 164, 43, 240, 67, 206, 217, 160, 249, 77, 12, 192, 158, 145, 155, 157, 113, 102, 192, 138, 182, 206, 32, 70, 64, 174, 164, 196, 146, 13, 182, 216, 110, 185, 22, 208, 220, 192, 244, 52, 26, 16, 56, 4, 41, 231, 225, 3, 33, 68, 234, 148, 157, 232, 246, 192, 204, 191, 149, 250, 142, 146, 141, 112, 216, 163, 140, 225, 104, 219, 69, 246, 241, 52, 102, 61, 111, 101, 111, 92, 234, 188, 114, 93, 168, 192, 42, 171, 234, 170, 19, 172, 54, 167, 92, 192, 186, 225, 53, 223, 49, 20, 182, 101, 137, 199, 237, 60, 182, 21, 89, 174, 90, 56, 79, 22, 43, 250, 128, 219, 228, 97, 127, 134, 195, 241, 208, 16, 201, 79, 226, 201, 191, 1, 154, 110, 99, 179, 239, 192, 40, 212, 60, 238, 97, 28, 133, 236, 38, 60, 144, 108, 70, 55, 114, 198, 145, 27, 25, 238, 192, 150, 202, 118, 236, 94, 49, 225, 227, 2, 3, 1, 0, 1, 2, 130, 1, 1, 0, 139, 55, 92, 203, 135, 200, 37, 197, 255, 61, 83, 208, 9, 145, 110, 150, 65, 5, 126, 24, 82, 114, 39, 160, 122, 178, 38, 190, 16, 136, 129, 58, 59, 56, 187, 123, 72, 243, 119, 5, 81, 101, 250, 42, 147, 57, 210, 77, 198, 103, 213, 197, 186, 52, 39, 230, 164, 129, 23, 110, 172, 21, 255, 212, 144, 104, 49, 30, 28, 40, 59, 159, 58, 142, 12, 184, 9, 180, 99, 12, 80, 170, 143, 62, 69, 166, 11, 53, 158, 25, 191, 140, 187, 94, 202, 214, 78, 118, 31, 16, 149, 116, 63, 243, 106, 175, 92, 240, 236, 185, 127, 237, 173, 221, 166, 11, 91, 243, 93, 129, 26, 117, 184, 34, 35, 12, 250, 160, 25, 47, 173, 64, 84, 126, 39, 84, 72, 170, 51, 22, 191, 142, 43, 76, 224, 133, 79, 199, 112, 139, 83, 123, 162, 45, 19, 33, 11, 9, 174, 195, 122, 39, 89, 239, 192, 130, 161, 83, 27, 35, 169, 23, 48, 3, 125, 222, 78, 242, 107, 95, 150, 239, 220, 195, 159, 211, 76, 52, 90, 213, 28, 187, 228, 79, 229, 139, 138, 59, 78, 201, 151, 134, 108, 8, 109, 255, 27, 136, 49, 239, 10, 31, 234, 38, 60, 247, 218, 205, 3, 192, 76, 188, 194, 178, 121, 229, 127, 165, 185, 83, 153, 107, 251, 29, 214, 136, 23, 175, 127, 180, 44, 222, 247, 165, 41, 74, 87, 250, 194, 184, 173, 115, 159, 27, 2, 153, 2, 129, 129, 0, 251, 248, 51, 194, 198, 49, 201, 112, 36, 12, 142, 116, 133, 240, 106, 62, 162, 168, 72, 34, 81, 26, 134, 39, 221, 70, 78, 248, 175, 175, 113, 72, 209, 164, 37, 182, 184, 101, 125, 221, 82, 70, 131, 43, 142, 83, 48, 32, 197, 187, 181, 104, 133, 90, 106, 236, 62, 66, 33, 215, 147, 241, 220, 91, 47, 37, 132, 226, 65, 94, 72, 233, 162, 189, 41, 43, 19, 64, 49, 249, 156, 142, 180, 47, 192, 188, 208, 68, 155, 242, 44, 230, 222, 201, 112, 20, 239, 229, 172, 147, 235, 232, 53, 135, 118, 86, 37, 44, 187, 177, 108, 65, 91, 103, 177, 132, 210, 40, 69, 104, 162, 119, 213, 147, 53, 88, 92, 253, 2, 129, 129, 0, 214, 184, 206, 39, 199, 41, 93, 93, 22, 252, 53, 112, 237, 100, 200, 218, 147, 3, 250, 210, 148, 136, 193, 166, 94, 154, 215, 17, 249, 3, 112, 24, 125, 187, 253, 129, 49, 109, 105, 100, 139, 200, 140, 197, 200, 53, 81, 175, 255, 69, 222, 186, 207, 182, 17, 5, 247, 9, 228, 195, 8, 9, 185, 0, 49, 235, 214, 134, 36, 68, 150, 198, 246, 158, 105, 46, 189, 200, 20, 246, 66, 57, 244, 173, 21, 117, 110, 203, 120, 197, 165, 176, 153, 49, 219, 24, 48, 119, 197, 70, 163, 140, 76, 116, 56, 137, 173, 61, 62, 208, 121, 181, 98, 46, 208, 18, 15, 160, 225, 249, 59, 89, 61, 183, 216, 82, 224, 95, 2, 129, 128, 56, 135, 75, 157, 131, 247, 129, 120, 206, 45, 158, 252, 23, 92, 131, 137, 127, 214, 127, 48, 107, 191, 166, 159, 100, 238, 52, 35, 104, 206, 212, 124, 128, 195, 241, 206, 23, 122, 117, 141, 100, 186, 251, 12, 151, 134, 164, 66, 133, 250, 1, 205, 236, 53, 7, 205, 238, 125, 201, 183, 226, 178, 29, 60, 187, 204, 16, 14, 238, 153, 103, 132, 59, 5, 115, 41, 253, 204, 166, 41, 152, 237, 15, 17, 179, 140, 232, 176, 171, 199, 222, 57, 1, 124, 113, 207, 208, 174, 87, 84, 108, 85, 145, 68, 205, 208, 175, 208, 100, 95, 126, 168, 255, 7, 185, 116, 209, 237, 68, 253, 31, 142, 0, 245, 96, 191, 109, 69, 2, 129, 129, 0, 133, 41, 239, 144, 115, 207, 143, 123, 95, 249, 226, 26, 186, 223, 58, 65, 115, 211, 144, 6, 112, 223, 175, 89, 66, 106, 188, 223, 4, 147, 193, 61, 47, 29, 27, 70, 184, 36, 166, 172, 24, 148, 179, 217, 37, 37, 12, 24, 30, 52, 114, 193, 96, 120, 5, 110, 177, 154, 141, 40, 247, 31, 48, 128, 146, 117, 52, 129, 212, 148, 68, 253, 247, 140, 158, 166, 194, 68, 7, 220, 1, 142, 119, 211, 175, 239, 56, 91, 47, 247, 67, 158, 150, 35, 121, 65, 51, 45, 212, 70, 206, 190, 255, 219, 68, 4, 254, 79, 113, 89, 81, 97, 208, 22, 64, 44, 51, 77, 15, 87, 198, 26, 190, 79, 249, 244, 203, 249, 2, 129, 129, 0, 135, 216, 119, 8, 212, 103, 99, 228, 204, 190, 178, 209, 233, 113, 46, 91, 240, 33, 109, 112, 222, 148, 32, 165, 178, 6, 155, 116, 89, 185, 159, 93, 159, 127, 47, 173, 124, 215, 154, 174, 230, 122, 127, 154, 52, 67, 126, 60, 121, 168, 74, 240, 205, 141, 233, 223, 242, 104, 235, 12, 71, 147, 245, 1, 249, 136, 213, 64, 246, 211, 71, 92, 32, 121, 184, 34, 122, 35, 217, 104, 222, 196, 227, 198, 101, 3, 24, 113, 147, 69, 150, 48, 71, 43, 253, 182, 186, 29, 231, 134, 199, 151, 250, 111, 78, 166, 90, 42, 132, 25, 38, 47, 41, 103, 136, 86, 203, 115, 201, 189, 75, 200, 155, 94, 4, 27, 34, 119]),+ spki: new Uint8Array([48, 130, 1, 34, 48, 13, 6, 9, 42, 134, 72, 134, 247, 13, 1, 1, 1, 5, 0, 3, 130, 1, 15, 0, 48, 130, 1, 10, 2, 130, 1, 1, 0, 211, 87, 96, 146, 230, 41, 87, 54, 69, 68, 231, 228, 35, 59, 123, 219, 41, 61, 178, 8, 81, 34, 196, 121, 50, 133, 70, 249, 240, 247, 18, 246, 87, 196, 177, 120, 104, 201, 48, 144, 140, 197, 148, 247, 237, 0, 192, 20, 66, 193, 175, 4, 194, 246, 120, 164, 139, 162, 200, 15, 209, 113, 62, 48, 181, 172, 80, 120, 122, 195, 81, 101, 137, 241, 113, 150, 127, 99, 134, 173, 163, 73, 0, 166, 187, 4, 238, 206, 164, 43, 240, 67, 206, 217, 160, 249, 77, 12, 192, 158, 145, 155, 157, 113, 102, 192, 138, 182, 206, 32, 70, 64, 174, 164, 196, 146, 13, 182, 216, 110, 185, 22, 208, 220, 192, 244, 52, 26, 16, 56, 4, 41, 231, 225, 3, 33, 68, 234, 148, 157, 232, 246, 192, 204, 191, 149, 250, 142, 146, 141, 112, 216, 163, 140, 225, 104, 219, 69, 246, 241, 52, 102, 61, 111, 101, 111, 92, 234, 188, 114, 93, 168, 192, 42, 171, 234, 170, 19, 172, 54, 167, 92, 192, 186, 225, 53, 223, 49, 20, 182, 101, 137, 199, 237, 60, 182, 21, 89, 174, 90, 56, 79, 22, 43, 250, 128, 219, 228, 97, 127, 134, 195, 241, 208, 16, 201, 79, 226, 201, 191, 1, 154, 110, 99, 179, 239, 192, 40, 212, 60, 238, 97, 28, 133, 236, 38, 60, 144, 108, 70, 55, 114, 198, 145, 27, 25, 238, 192, 150, 202, 118, 236, 94, 49, 225, 227, 2, 3, 1, 0, 1])+ };+}diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/wrapKey_unwrapKey/wrapKey_unwrapKey.https.any.html b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/wrapKey_unwrapKey/wrapKey_unwrapKey.https.any.htmlindex 326148ab908..648a0cff90e 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/wrapKey_unwrapKey/wrapKey_unwrapKey.https.any.html+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/wrapKey_unwrapKey/wrapKey_unwrapKey.https.any.html@@ -12,6 +12,7 @@ self.GLOBAL = {<script src="../../resources/testharness.js"></script><script src="../../resources/testharnessreport.js"></script><script src="../util/helpers.js"></script>+<script src="../util/okp_key_fixtures.js"></script><script src="wrapKey_unwrapKey_vectors.js"></script><div id=log></div><script src="../../WebCryptoAPI/wrapKey_unwrapKey/wrapKey_unwrapKey.https.any.js"></script>diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/wrapKey_unwrapKey/wrapKey_unwrapKey.https.any.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/wrapKey_unwrapKey/wrapKey_unwrapKey.https.any.jsindex 9fa3bb775d4..d7a04403082 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/wrapKey_unwrapKey/wrapKey_unwrapKey.https.any.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/wrapKey_unwrapKey/wrapKey_unwrapKey.https.any.js@@ -1,6 +1,7 @@// META: title=WebCryptoAPI: wrapKey() and unwrapKey()// META: timeout=long// META: script=../util/helpers.js+// META: script=../util/okp_key_fixtures.js// META: script=wrapKey_unwrapKey_vectors.js// Tests for wrapKey and unwrapKey round tripping@@ -285,7 +286,7 @@}if ("kty" in exportedKey && algorithmName === "AES-KW") {- return JSON.stringify(exportedKey).length % 8 == 0;+ return JSON.stringify(exportedKey).length % 8 === 0;}if ("kty" in exportedKey && algorithmName === "RSA-OAEP") {@@ -478,4 +479,3 @@function str2ab(str) { return Uint8Array.from( str.split(''), function(s){return s.charCodeAt(0)} ); }function ab2str(ab) { return String.fromCharCode.apply(null, new Uint8Array(ab)); }-diff --git a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/wrapKey_unwrapKey/wrapKey_unwrapKey_vectors.js b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/wrapKey_unwrapKey/wrapKey_unwrapKey_vectors.jsindex cf799a8a8ce..36500e4f27b 100644--- a/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/wrapKey_unwrapKey/wrapKey_unwrapKey_vectors.js+++ b/Tests/LibWeb/Text/input/wpt-import/WebCryptoAPI/wrapKey_unwrapKey/wrapKey_unwrapKey_vectors.js@@ -49,46 +49,10 @@ let toWrapKeyData = {d: "E9M6LVq_nPnrsh_4YNSu_m5W53eQ9N7ptAiE69M1ROo"}},- "ED25519": {- spki: new Uint8Array([48, 42, 48, 5, 6, 3, 43, 101, 112, 3, 33, 0, 216, 225, 137, 99, 216, 9, 212, 135, 217, 84, 154, 204, 174, 198, 116, 46, 126, 235, 162, 77, 138, 13, 59, 20, 183, 227, 202, 234, 6, 137, 61, 204]),- pkcs8: new Uint8Array([48, 46, 2, 1, 0, 48, 5, 6, 3, 43, 101, 112, 4, 34, 4, 32, 243, 200, 244, 196, 141, 248, 120, 20, 110, 140, 211, 191, 109, 244, 229, 14, 56, 155, 167, 7, 78, 21, 194, 53, 45, 205, 93, 48, 141, 76, 168, 31]),- jwk: {- crv: "Ed25519",- d: "88j0xI34eBRujNO_bfTlDjibpwdOFcI1Lc1dMI1MqB8",- x: "2OGJY9gJ1IfZVJrMrsZ0Ln7rok2KDTsUt-PK6gaJPcw",- kty: "OKP"- }- },- "ED448": {- spki: new Uint8Array([48, 67, 48, 5, 6, 3, 43, 101, 113, 3, 58, 0, 171, 75, 184, 133, 253, 125, 44, 90, 242, 78, 131, 113, 12, 255, 160, 199, 74, 87, 226, 116, 128, 29, 178, 5, 123, 11, 220, 94, 160, 50, 182, 254, 107, 199, 139, 128, 69, 54, 90, 235, 38, 232, 110, 31, 20, 253, 52, 157, 7, 196, 132, 149, 245, 164, 106, 90, 128]),- pkcs8: new Uint8Array([48, 71, 2, 1, 0, 48, 5, 6, 3, 43, 101, 113, 4, 59, 4, 57, 14, 255, 3, 69, 140, 40, 224, 23, 156, 82, 29, 227, 18, 201, 105, 183, 131, 67, 72, 236, 171, 153, 26, 96, 227, 178, 233, 167, 158, 76, 217, 228, 128, 239, 41, 23, 18, 210, 200, 61, 4, 114, 114, 213, 201, 244, 40, 102, 79, 105, 109, 38, 112, 69, 143, 29, 46]),- jwk: {- crv: "Ed448",- d: "Dv8DRYwo4BecUh3jEslpt4NDSOyrmRpg47Lpp55M2eSA7ykXEtLIPQRyctXJ9ChmT2ltJnBFjx0u",- x: "q0u4hf19LFryToNxDP-gx0pX4nSAHbIFewvcXqAytv5rx4uARTZa6ybobh8U_TSdB8SElfWkalqA",- kty: "OKP"- }- },- "X25519": {- spki: new Uint8Array([48, 42, 48, 5, 6, 3, 43, 101, 110, 3, 33, 0, 28, 242, 177, 230, 2, 46, 197, 55, 55, 30, 215, 245, 62, 84, 250, 17, 84, 216, 62, 152, 235, 100, 234, 81, 250, 229, 179, 48, 124, 254, 151, 6]),- pkcs8: new Uint8Array([48, 46, 2, 1, 0, 48, 5, 6, 3, 43, 101, 110, 4, 34, 4, 32, 200, 131, 142, 118, 208, 87, 223, 183, 216, 201, 90, 105, 225, 56, 22, 10, 221, 99, 115, 253, 113, 164, 210, 118, 187, 86, 227, 168, 27, 100, 255, 97]),- jwk: {- crv: "X25519",- d: "yIOOdtBX37fYyVpp4TgWCt1jc_1xpNJ2u1bjqBtk_2E",- x: "HPKx5gIuxTc3Htf1PlT6EVTYPpjrZOpR-uWzMHz-lwY",- kty: "OKP"- }- },- "X448": {- spki: new Uint8Array([48, 66, 48, 5, 6, 3, 43, 101, 111, 3, 57, 0, 182, 4, 161, 209, 165, 205, 29, 148, 38, 213, 97, 239, 99, 10, 158, 177, 108, 190, 105, 213, 185, 202, 97, 94, 220, 83, 99, 62, 251, 82, 234, 49, 230, 230, 160, 161, 219, 172, 198, 231, 108, 188, 230, 72, 45, 126, 75, 163, 213, 93, 158, 128, 39, 101, 206, 111]),- pkcs8: new Uint8Array([48, 70, 2, 1, 0, 48, 5, 6, 3, 43, 101, 111, 4, 58, 4, 56, 88, 199, 210, 154, 62, 181, 25, 178, 157, 0, 207, 177, 145, 187, 100, 252, 109, 138, 66, 216, 241, 113, 118, 39, 43, 137, 242, 39, 45, 24, 25, 41, 92, 101, 37, 192, 130, 150, 113, 176, 82, 239, 7, 39, 83, 15, 24, 142, 49, 208, 204, 83, 191, 38, 146, 158]),- jwk: {- crv: "X448",- d: "WMfSmj61GbKdAM-xkbtk_G2KQtjxcXYnK4nyJy0YGSlcZSXAgpZxsFLvBydTDxiOMdDMU78mkp4",- x: "tgSh0aXNHZQm1WHvYwqesWy-adW5ymFe3FNjPvtS6jHm5qCh26zG52y85kgtfkuj1V2egCdlzm8",- kty: "OKP"- }- },+ "ED25519": okpKeyData.Ed25519,+ "ED448": okpKeyData.Ed448,+ "X25519": okpKeyData.X25519,+ "X448": okpKeyData.X448,"SYMMETRIC128": {raw: new Uint8Array([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16]),},