From cee5be45394c77863dacbf8f1d0f0b90188d2cca Mon Sep 17 00:00:00 2001 From: Luca Casonato Date: Tue, 31 Aug 2021 11:25:44 +0200 Subject: [PATCH] feat(ext/crypto): AES key generation (#11869) Support AES-CTR, AES-CBC, AES-GCM, and AES-KW in SubtleCrypto#generateKey. --- ext/crypto/00_crypto.js | 78 +- ext/crypto/01_webidl.js | 13 + ext/crypto/lib.rs | 12 + tools/wpt/expectation.json | 1418 +----------------------------------- 4 files changed, 107 insertions(+), 1414 deletions(-) diff --git a/ext/crypto/00_crypto.js b/ext/crypto/00_crypto.js index ab6347d41b..3546540771 100644 --- a/ext/crypto/00_crypto.js +++ b/ext/crypto/00_crypto.js @@ -77,6 +77,10 @@ "RSA-PSS": "RsaHashedKeyGenParams", "RSA-OAEP": "RsaHashedKeyGenParams", "ECDSA": "EcKeyGenParams", + "AES-CTR": "AesKeyGenParams", + "AES-CBC": "AesKeyGenParams", + "AES-GCM": "AesKeyGenParams", + "AES-KW": "AesKeyGenParams", "HMAC": "HmacKeyGenParams", }, "sign": { @@ -1415,10 +1419,40 @@ return { publicKey, privateKey }; } // TODO(lucacasonato): ECDH - // TODO(lucacasonato): AES-CTR - // TODO(lucacasonato): AES-CBC - // TODO(lucacasonato): AES-GCM - // TODO(lucacasonato): AES-KW + case "AES-CTR": + case "AES-CBC": + case "AES-GCM": { + // 1. + if ( + ArrayPrototypeFind( + usages, + (u) => + !ArrayPrototypeIncludes([ + "encrypt", + "decrypt", + "wrapKey", + "unwrapKey", + ], u), + ) !== undefined + ) { + throw new DOMException("Invalid key usages", "SyntaxError"); + } + + return generateKeyAES(normalizedAlgorithm, extractable, usages); + } + case "AES-KW": { + // 1. + if ( + ArrayPrototypeFind( + usages, + (u) => !ArrayPrototypeIncludes(["wrapKey", "unwrapKey"], u), + ) !== undefined + ) { + throw new DOMException("Invalid key usages", "SyntaxError"); + } + + return generateKeyAES(normalizedAlgorithm, extractable, usages); + } case "HMAC": { // 1. if ( @@ -1473,6 +1507,42 @@ } } + async function generateKeyAES(normalizedAlgorithm, extractable, usages) { + // 2. + if (!ArrayPrototypeIncludes([128, 192, 256], normalizedAlgorithm.length)) { + throw new DOMException("Invalid key length", "OperationError"); + } + + // 3. + const keyData = await core.opAsync("op_crypto_generate_key", { + name: normalizedAlgorithm.name, + length: normalizedAlgorithm.length, + }); + const handle = {}; + WeakMapPrototypeSet(KEY_STORE, handle, { + type: "raw", + data: keyData, + }); + + // 6-8. + const algorithm = { + name: normalizedAlgorithm.name, + length: normalizedAlgorithm.length, + }; + + // 9-11. + const key = constructKey( + "secret", + extractable, + usages, + algorithm, + handle, + ); + + // 12. + return key; + } + async function deriveBits(normalizedAlgorithm, baseKey, length) { switch (normalizedAlgorithm.name) { case "PBKDF2": { diff --git a/ext/crypto/01_webidl.js b/ext/crypto/01_webidl.js index e781e43347..3ef3eb175c 100644 --- a/ext/crypto/01_webidl.js +++ b/ext/crypto/01_webidl.js @@ -117,6 +117,19 @@ webidl.converters.EcKeyGenParams = webidl .createDictionaryConverter("EcKeyGenParams", dictEcKeyGenParams); + const dictAesKeyGenParams = [ + ...dictAlgorithm, + { + key: "length", + converter: (V, opts) => + webidl.converters["unsigned short"](V, { ...opts, enforceRange: true }), + required: true, + }, + ]; + + webidl.converters.AesKeyGenParams = webidl + .createDictionaryConverter("AesKeyGenParams", dictAesKeyGenParams); + const dictHmacKeyGenParams = [ ...dictAlgorithm, { diff --git a/ext/crypto/lib.rs b/ext/crypto/lib.rs index b68bd78874..7c4010f53d 100644 --- a/ext/crypto/lib.rs +++ b/ext/crypto/lib.rs @@ -180,6 +180,18 @@ pub async fn op_crypto_generate_key( private_key } + Algorithm::AesCtr + | Algorithm::AesCbc + | Algorithm::AesGcm + | Algorithm::AesKw => { + let length = args.length.ok_or_else(not_supported)?; + let mut key_data = vec![0u8; length]; + let rng = RingRand::SystemRandom::new(); + rng.fill(&mut key_data).map_err(|_| { + custom_error("DOMExceptionOperationError", "Key generation failed") + })?; + key_data + } Algorithm::Hmac => { let hash: HmacAlgorithm = args.hash.ok_or_else(not_supported)?.into(); diff --git a/tools/wpt/expectation.json b/tools/wpt/expectation.json index 39786ff8e7..5b2baaecb8 100644 --- a/tools/wpt/expectation.json +++ b/tools/wpt/expectation.json @@ -12307,1412 +12307,10 @@ ] }, "generateKey": { - "failures_AES-CBC.https.any.html": [ - "Bad usages: generateKey({length: 128, name: AES-CBC}, true, [sign])", - "Bad usages: generateKey({length: 128, name: AES-CBC}, true, [encrypt, sign])", - "Bad usages: generateKey({length: 128, name: AES-CBC}, true, [decrypt, encrypt, sign])", - "Bad usages: generateKey({length: 128, name: AES-CBC}, true, [wrapKey, decrypt, encrypt, sign])", - "Bad usages: generateKey({length: 128, name: AES-CBC}, true, [unwrapKey, wrapKey, decrypt, encrypt, sign])", - "Bad usages: generateKey({length: 128, name: AES-CBC}, true, [unwrapKey, decrypt, encrypt, sign])", - "Bad usages: generateKey({length: 128, name: AES-CBC}, true, [wrapKey, encrypt, sign])", - "Bad usages: generateKey({length: 128, name: AES-CBC}, true, [unwrapKey, wrapKey, encrypt, sign])", - "Bad usages: generateKey({length: 128, name: AES-CBC}, true, [unwrapKey, encrypt, sign])", - "Bad usages: generateKey({length: 128, name: AES-CBC}, true, [decrypt, sign])", - "Bad usages: generateKey({length: 128, name: AES-CBC}, true, [wrapKey, decrypt, sign])", - "Bad usages: generateKey({length: 128, name: AES-CBC}, true, [unwrapKey, wrapKey, decrypt, sign])", - "Bad usages: generateKey({length: 128, name: AES-CBC}, true, [unwrapKey, decrypt, sign])", - "Bad usages: generateKey({length: 128, name: AES-CBC}, true, [wrapKey, sign])", - "Bad usages: generateKey({length: 128, name: AES-CBC}, true, [unwrapKey, wrapKey, sign])", - "Bad usages: generateKey({length: 128, name: AES-CBC}, true, [unwrapKey, sign])", - "Bad usages: generateKey({length: 128, name: AES-CBC}, true, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey, sign])", - "Bad usages: generateKey({length: 128, name: AES-CBC}, true, [verify])", - "Bad usages: generateKey({length: 128, name: AES-CBC}, true, [encrypt, verify])", - "Bad usages: generateKey({length: 128, name: AES-CBC}, true, [decrypt, encrypt, verify])", - "Bad usages: generateKey({length: 128, name: AES-CBC}, true, [wrapKey, decrypt, encrypt, verify])", - "Bad usages: generateKey({length: 128, name: AES-CBC}, true, [unwrapKey, wrapKey, decrypt, encrypt, verify])", - "Bad usages: generateKey({length: 128, name: AES-CBC}, true, [unwrapKey, decrypt, encrypt, verify])", - "Bad usages: generateKey({length: 128, name: AES-CBC}, true, [wrapKey, encrypt, verify])", - "Bad usages: generateKey({length: 128, name: AES-CBC}, true, [unwrapKey, wrapKey, encrypt, verify])", - "Bad usages: generateKey({length: 128, name: AES-CBC}, true, [unwrapKey, encrypt, verify])", - "Bad usages: generateKey({length: 128, name: AES-CBC}, true, [decrypt, verify])", - "Bad usages: generateKey({length: 128, name: AES-CBC}, true, [wrapKey, decrypt, verify])", - "Bad usages: generateKey({length: 128, name: AES-CBC}, true, [unwrapKey, wrapKey, decrypt, verify])", - "Bad usages: generateKey({length: 128, name: AES-CBC}, true, [unwrapKey, decrypt, verify])", - "Bad usages: generateKey({length: 128, name: AES-CBC}, true, [wrapKey, verify])", - "Bad usages: generateKey({length: 128, name: AES-CBC}, true, [unwrapKey, wrapKey, verify])", - "Bad usages: generateKey({length: 128, name: AES-CBC}, true, [unwrapKey, verify])", - "Bad usages: generateKey({length: 128, name: AES-CBC}, true, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey, verify])", - "Bad usages: generateKey({length: 128, name: AES-CBC}, true, [deriveKey])", - "Bad usages: generateKey({length: 128, name: AES-CBC}, true, [encrypt, deriveKey])", - "Bad usages: generateKey({length: 128, name: AES-CBC}, true, [decrypt, encrypt, deriveKey])", - "Bad usages: generateKey({length: 128, name: AES-CBC}, true, [wrapKey, decrypt, encrypt, deriveKey])", - "Bad usages: generateKey({length: 128, name: AES-CBC}, true, [unwrapKey, wrapKey, decrypt, encrypt, deriveKey])", - "Bad usages: generateKey({length: 128, name: AES-CBC}, true, [unwrapKey, decrypt, encrypt, deriveKey])", - "Bad usages: generateKey({length: 128, name: AES-CBC}, true, [wrapKey, encrypt, deriveKey])", - "Bad usages: generateKey({length: 128, name: AES-CBC}, true, [unwrapKey, wrapKey, encrypt, deriveKey])", - "Bad usages: generateKey({length: 128, name: AES-CBC}, true, [unwrapKey, encrypt, deriveKey])", - "Bad usages: generateKey({length: 128, name: AES-CBC}, true, [decrypt, deriveKey])", - "Bad usages: generateKey({length: 128, name: AES-CBC}, true, [wrapKey, decrypt, deriveKey])", - "Bad usages: generateKey({length: 128, name: AES-CBC}, true, [unwrapKey, wrapKey, decrypt, deriveKey])", - "Bad usages: generateKey({length: 128, name: AES-CBC}, true, [unwrapKey, decrypt, deriveKey])", - "Bad usages: generateKey({length: 128, name: AES-CBC}, true, [wrapKey, deriveKey])", - "Bad usages: generateKey({length: 128, name: AES-CBC}, true, [unwrapKey, wrapKey, deriveKey])", - "Bad usages: generateKey({length: 128, name: AES-CBC}, true, [unwrapKey, deriveKey])", - "Bad usages: generateKey({length: 128, name: AES-CBC}, true, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey, deriveKey])", - "Bad usages: generateKey({length: 128, name: AES-CBC}, true, [deriveBits])", - "Bad usages: generateKey({length: 128, name: AES-CBC}, true, [encrypt, deriveBits])", - "Bad usages: generateKey({length: 128, name: AES-CBC}, true, [decrypt, encrypt, deriveBits])", - "Bad usages: generateKey({length: 128, name: AES-CBC}, true, [wrapKey, decrypt, encrypt, deriveBits])", - "Bad usages: generateKey({length: 128, name: AES-CBC}, true, [unwrapKey, wrapKey, decrypt, encrypt, deriveBits])", - "Bad usages: generateKey({length: 128, name: AES-CBC}, true, [unwrapKey, decrypt, encrypt, deriveBits])", - "Bad usages: generateKey({length: 128, name: AES-CBC}, true, [wrapKey, encrypt, deriveBits])", - "Bad usages: generateKey({length: 128, name: AES-CBC}, true, [unwrapKey, wrapKey, encrypt, deriveBits])", - "Bad usages: generateKey({length: 128, name: AES-CBC}, true, [unwrapKey, encrypt, deriveBits])", - "Bad usages: generateKey({length: 128, name: AES-CBC}, true, [decrypt, deriveBits])", - "Bad usages: generateKey({length: 128, name: AES-CBC}, true, [wrapKey, decrypt, deriveBits])", - "Bad usages: generateKey({length: 128, name: AES-CBC}, true, [unwrapKey, wrapKey, decrypt, deriveBits])", - "Bad usages: generateKey({length: 128, name: AES-CBC}, true, [unwrapKey, decrypt, deriveBits])", - "Bad usages: generateKey({length: 128, name: AES-CBC}, true, [wrapKey, deriveBits])", - "Bad usages: generateKey({length: 128, name: AES-CBC}, true, [unwrapKey, wrapKey, deriveBits])", - "Bad usages: generateKey({length: 128, name: AES-CBC}, true, [unwrapKey, deriveBits])", - "Bad usages: generateKey({length: 128, name: AES-CBC}, true, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey, deriveBits])", - "Bad usages: generateKey({length: 192, name: AES-CBC}, true, [sign])", - "Bad usages: generateKey({length: 192, name: AES-CBC}, true, [encrypt, sign])", - "Bad usages: generateKey({length: 192, name: AES-CBC}, true, [decrypt, encrypt, sign])", - "Bad usages: generateKey({length: 192, name: AES-CBC}, true, [wrapKey, decrypt, encrypt, sign])", - "Bad usages: generateKey({length: 192, name: AES-CBC}, true, [unwrapKey, wrapKey, decrypt, encrypt, sign])", - "Bad usages: generateKey({length: 192, name: AES-CBC}, true, [unwrapKey, decrypt, encrypt, sign])", - "Bad usages: generateKey({length: 192, name: AES-CBC}, true, [wrapKey, encrypt, sign])", - "Bad usages: generateKey({length: 192, name: AES-CBC}, true, [unwrapKey, wrapKey, encrypt, sign])", - "Bad usages: generateKey({length: 192, name: AES-CBC}, true, [unwrapKey, encrypt, sign])", - "Bad usages: generateKey({length: 192, name: AES-CBC}, true, [decrypt, sign])", - "Bad usages: generateKey({length: 192, name: AES-CBC}, true, [wrapKey, decrypt, sign])", - "Bad usages: generateKey({length: 192, name: AES-CBC}, true, [unwrapKey, wrapKey, decrypt, sign])", - "Bad usages: generateKey({length: 192, name: AES-CBC}, true, [unwrapKey, decrypt, sign])", - "Bad usages: generateKey({length: 192, name: AES-CBC}, true, [wrapKey, sign])", - "Bad usages: generateKey({length: 192, name: AES-CBC}, true, [unwrapKey, wrapKey, sign])", - "Bad usages: generateKey({length: 192, name: AES-CBC}, true, [unwrapKey, sign])", - "Bad usages: generateKey({length: 192, name: AES-CBC}, true, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey, sign])", - "Bad usages: generateKey({length: 192, name: AES-CBC}, true, [verify])", - "Bad usages: generateKey({length: 192, name: AES-CBC}, true, [encrypt, verify])", - "Bad usages: generateKey({length: 192, name: AES-CBC}, true, [decrypt, encrypt, verify])", - "Bad usages: generateKey({length: 192, name: AES-CBC}, true, [wrapKey, decrypt, encrypt, verify])", - "Bad usages: generateKey({length: 192, name: AES-CBC}, true, [unwrapKey, wrapKey, decrypt, encrypt, verify])", - "Bad usages: generateKey({length: 192, name: AES-CBC}, true, [unwrapKey, decrypt, encrypt, verify])", - "Bad usages: generateKey({length: 192, name: AES-CBC}, true, [wrapKey, encrypt, verify])", - "Bad usages: generateKey({length: 192, name: AES-CBC}, true, [unwrapKey, wrapKey, encrypt, verify])", - "Bad usages: generateKey({length: 192, name: AES-CBC}, true, [unwrapKey, encrypt, verify])", - "Bad usages: generateKey({length: 192, name: AES-CBC}, true, [decrypt, verify])", - "Bad usages: generateKey({length: 192, name: AES-CBC}, true, [wrapKey, decrypt, verify])", - "Bad usages: generateKey({length: 192, name: AES-CBC}, true, [unwrapKey, wrapKey, decrypt, verify])", - "Bad usages: generateKey({length: 192, name: AES-CBC}, true, [unwrapKey, decrypt, verify])", - "Bad usages: generateKey({length: 192, name: AES-CBC}, true, [wrapKey, verify])", - "Bad usages: generateKey({length: 192, name: AES-CBC}, true, [unwrapKey, wrapKey, verify])", - "Bad usages: generateKey({length: 192, name: AES-CBC}, true, [unwrapKey, verify])", - "Bad usages: generateKey({length: 192, name: AES-CBC}, true, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey, verify])", - "Bad usages: generateKey({length: 192, name: AES-CBC}, true, [deriveKey])", - "Bad usages: generateKey({length: 192, name: AES-CBC}, true, [encrypt, deriveKey])", - "Bad usages: generateKey({length: 192, name: AES-CBC}, true, [decrypt, encrypt, deriveKey])", - "Bad usages: generateKey({length: 192, name: AES-CBC}, true, [wrapKey, decrypt, encrypt, deriveKey])", - "Bad usages: generateKey({length: 192, name: AES-CBC}, true, [unwrapKey, wrapKey, decrypt, encrypt, deriveKey])", - "Bad usages: generateKey({length: 192, name: AES-CBC}, true, [unwrapKey, decrypt, encrypt, deriveKey])", - "Bad usages: generateKey({length: 192, name: AES-CBC}, true, [wrapKey, encrypt, deriveKey])", - "Bad usages: generateKey({length: 192, name: AES-CBC}, true, [unwrapKey, wrapKey, encrypt, deriveKey])", - "Bad usages: generateKey({length: 192, name: AES-CBC}, true, [unwrapKey, encrypt, deriveKey])", - "Bad usages: generateKey({length: 192, name: AES-CBC}, true, [decrypt, deriveKey])", - "Bad usages: generateKey({length: 192, name: AES-CBC}, true, [wrapKey, decrypt, deriveKey])", - "Bad usages: generateKey({length: 192, name: AES-CBC}, true, [unwrapKey, wrapKey, decrypt, deriveKey])", - "Bad usages: generateKey({length: 192, name: AES-CBC}, true, [unwrapKey, decrypt, deriveKey])", - "Bad usages: generateKey({length: 192, name: AES-CBC}, true, [wrapKey, deriveKey])", - "Bad usages: generateKey({length: 192, name: AES-CBC}, true, [unwrapKey, wrapKey, deriveKey])", - "Bad usages: generateKey({length: 192, name: AES-CBC}, true, [unwrapKey, deriveKey])", - "Bad usages: generateKey({length: 192, name: AES-CBC}, true, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey, deriveKey])", - "Bad usages: generateKey({length: 192, name: AES-CBC}, true, [deriveBits])", - "Bad usages: generateKey({length: 192, name: AES-CBC}, true, [encrypt, deriveBits])", - "Bad usages: generateKey({length: 192, name: AES-CBC}, true, [decrypt, encrypt, deriveBits])", - "Bad usages: generateKey({length: 192, name: AES-CBC}, true, [wrapKey, decrypt, encrypt, deriveBits])", - "Bad usages: generateKey({length: 192, name: AES-CBC}, true, [unwrapKey, wrapKey, decrypt, encrypt, deriveBits])", - "Bad usages: generateKey({length: 192, name: AES-CBC}, true, [unwrapKey, decrypt, encrypt, deriveBits])", - "Bad usages: generateKey({length: 192, name: AES-CBC}, true, [wrapKey, encrypt, deriveBits])", - "Bad usages: generateKey({length: 192, name: AES-CBC}, true, [unwrapKey, wrapKey, encrypt, deriveBits])", - "Bad usages: generateKey({length: 192, name: AES-CBC}, true, [unwrapKey, encrypt, deriveBits])", - "Bad usages: generateKey({length: 192, name: AES-CBC}, true, [decrypt, deriveBits])", - "Bad usages: generateKey({length: 192, name: AES-CBC}, true, [wrapKey, decrypt, deriveBits])", - "Bad usages: generateKey({length: 192, name: AES-CBC}, true, [unwrapKey, wrapKey, decrypt, deriveBits])", - "Bad usages: generateKey({length: 192, name: AES-CBC}, true, [unwrapKey, decrypt, deriveBits])", - "Bad usages: generateKey({length: 192, name: AES-CBC}, true, [wrapKey, deriveBits])", - "Bad usages: generateKey({length: 192, name: AES-CBC}, true, [unwrapKey, wrapKey, deriveBits])", - "Bad usages: generateKey({length: 192, name: AES-CBC}, true, [unwrapKey, deriveBits])", - "Bad usages: generateKey({length: 192, name: AES-CBC}, true, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey, deriveBits])", - "Bad usages: generateKey({length: 256, name: AES-CBC}, true, [sign])", - "Bad usages: generateKey({length: 256, name: AES-CBC}, true, [encrypt, sign])", - "Bad usages: generateKey({length: 256, name: AES-CBC}, true, [decrypt, encrypt, sign])", - "Bad usages: generateKey({length: 256, name: AES-CBC}, true, [wrapKey, decrypt, encrypt, sign])", - "Bad usages: generateKey({length: 256, name: AES-CBC}, true, [unwrapKey, wrapKey, decrypt, encrypt, sign])", - "Bad usages: generateKey({length: 256, name: AES-CBC}, true, [unwrapKey, decrypt, encrypt, sign])", - "Bad usages: generateKey({length: 256, name: AES-CBC}, true, [wrapKey, encrypt, sign])", - "Bad usages: generateKey({length: 256, name: AES-CBC}, true, [unwrapKey, wrapKey, encrypt, sign])", - "Bad usages: generateKey({length: 256, name: AES-CBC}, true, [unwrapKey, encrypt, sign])", - "Bad usages: generateKey({length: 256, name: AES-CBC}, true, [decrypt, sign])", - "Bad usages: generateKey({length: 256, name: AES-CBC}, true, [wrapKey, decrypt, sign])", - "Bad usages: generateKey({length: 256, name: AES-CBC}, true, [unwrapKey, wrapKey, decrypt, sign])", - "Bad usages: generateKey({length: 256, name: AES-CBC}, true, [unwrapKey, decrypt, sign])", - "Bad usages: generateKey({length: 256, name: AES-CBC}, true, [wrapKey, sign])", - "Bad usages: generateKey({length: 256, name: AES-CBC}, true, [unwrapKey, wrapKey, sign])", - "Bad usages: generateKey({length: 256, name: AES-CBC}, true, [unwrapKey, sign])", - "Bad usages: generateKey({length: 256, name: AES-CBC}, true, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey, sign])", - "Bad usages: generateKey({length: 256, name: AES-CBC}, true, [verify])", - "Bad usages: generateKey({length: 256, name: AES-CBC}, true, [encrypt, verify])", - "Bad usages: generateKey({length: 256, name: AES-CBC}, true, [decrypt, encrypt, verify])", - "Bad usages: generateKey({length: 256, name: AES-CBC}, true, [wrapKey, decrypt, encrypt, verify])", - "Bad usages: generateKey({length: 256, name: AES-CBC}, true, [unwrapKey, wrapKey, decrypt, encrypt, verify])", - "Bad usages: generateKey({length: 256, name: AES-CBC}, true, [unwrapKey, decrypt, encrypt, verify])", - "Bad usages: generateKey({length: 256, name: AES-CBC}, true, [wrapKey, encrypt, verify])", - "Bad usages: generateKey({length: 256, name: AES-CBC}, true, [unwrapKey, wrapKey, encrypt, verify])", - "Bad usages: generateKey({length: 256, name: AES-CBC}, true, [unwrapKey, encrypt, verify])", - "Bad usages: generateKey({length: 256, name: AES-CBC}, true, [decrypt, verify])", - "Bad usages: generateKey({length: 256, name: AES-CBC}, true, [wrapKey, decrypt, verify])", - "Bad usages: generateKey({length: 256, name: AES-CBC}, true, [unwrapKey, wrapKey, decrypt, verify])", - "Bad usages: generateKey({length: 256, name: AES-CBC}, true, [unwrapKey, decrypt, verify])", - "Bad usages: generateKey({length: 256, name: AES-CBC}, true, [wrapKey, verify])", - "Bad usages: generateKey({length: 256, name: AES-CBC}, true, [unwrapKey, wrapKey, verify])", - "Bad usages: generateKey({length: 256, name: AES-CBC}, true, [unwrapKey, verify])", - "Bad usages: generateKey({length: 256, name: AES-CBC}, true, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey, verify])", - "Bad usages: generateKey({length: 256, name: AES-CBC}, true, [deriveKey])", - "Bad usages: generateKey({length: 256, name: AES-CBC}, true, [encrypt, deriveKey])", - "Bad usages: generateKey({length: 256, name: AES-CBC}, true, [decrypt, encrypt, deriveKey])", - "Bad usages: generateKey({length: 256, name: AES-CBC}, true, [wrapKey, decrypt, encrypt, deriveKey])", - "Bad usages: generateKey({length: 256, name: AES-CBC}, true, [unwrapKey, wrapKey, decrypt, encrypt, deriveKey])", - "Bad usages: generateKey({length: 256, name: AES-CBC}, true, [unwrapKey, decrypt, encrypt, deriveKey])", - "Bad usages: generateKey({length: 256, name: AES-CBC}, true, [wrapKey, encrypt, deriveKey])", - "Bad usages: generateKey({length: 256, name: AES-CBC}, true, [unwrapKey, wrapKey, encrypt, deriveKey])", - "Bad usages: generateKey({length: 256, name: AES-CBC}, true, [unwrapKey, encrypt, deriveKey])", - "Bad usages: generateKey({length: 256, name: AES-CBC}, true, [decrypt, deriveKey])", - "Bad usages: generateKey({length: 256, name: AES-CBC}, true, [wrapKey, decrypt, deriveKey])", - "Bad usages: generateKey({length: 256, name: AES-CBC}, true, [unwrapKey, wrapKey, decrypt, deriveKey])", - "Bad usages: generateKey({length: 256, name: AES-CBC}, true, [unwrapKey, decrypt, deriveKey])", - "Bad usages: generateKey({length: 256, name: AES-CBC}, true, [wrapKey, deriveKey])", - "Bad usages: generateKey({length: 256, name: AES-CBC}, true, [unwrapKey, wrapKey, deriveKey])", - "Bad usages: generateKey({length: 256, name: AES-CBC}, true, [unwrapKey, deriveKey])", - "Bad usages: generateKey({length: 256, name: AES-CBC}, true, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey, deriveKey])", - "Bad usages: generateKey({length: 256, name: AES-CBC}, true, [deriveBits])", - "Bad usages: generateKey({length: 256, name: AES-CBC}, true, [encrypt, deriveBits])", - "Bad usages: generateKey({length: 256, name: AES-CBC}, true, [decrypt, encrypt, deriveBits])", - "Bad usages: generateKey({length: 256, name: AES-CBC}, true, [wrapKey, decrypt, encrypt, deriveBits])", - "Bad usages: generateKey({length: 256, name: AES-CBC}, true, [unwrapKey, wrapKey, decrypt, encrypt, deriveBits])", - "Bad usages: generateKey({length: 256, name: AES-CBC}, true, [unwrapKey, decrypt, encrypt, deriveBits])", - "Bad usages: generateKey({length: 256, name: AES-CBC}, true, [wrapKey, encrypt, deriveBits])", - "Bad usages: generateKey({length: 256, name: AES-CBC}, true, [unwrapKey, wrapKey, encrypt, deriveBits])", - "Bad usages: generateKey({length: 256, name: AES-CBC}, true, [unwrapKey, encrypt, deriveBits])", - "Bad usages: generateKey({length: 256, name: AES-CBC}, true, [decrypt, deriveBits])", - "Bad usages: generateKey({length: 256, name: AES-CBC}, true, [wrapKey, decrypt, deriveBits])", - "Bad usages: generateKey({length: 256, name: AES-CBC}, true, [unwrapKey, wrapKey, decrypt, deriveBits])", - "Bad usages: generateKey({length: 256, name: AES-CBC}, true, [unwrapKey, decrypt, deriveBits])", - "Bad usages: generateKey({length: 256, name: AES-CBC}, true, [wrapKey, deriveBits])", - "Bad usages: generateKey({length: 256, name: AES-CBC}, true, [unwrapKey, wrapKey, deriveBits])", - "Bad usages: generateKey({length: 256, name: AES-CBC}, true, [unwrapKey, deriveBits])", - "Bad usages: generateKey({length: 256, name: AES-CBC}, true, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey, deriveBits])", - "Bad algorithm property: generateKey({length: 64, name: AES-CBC}, false, [encrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-CBC}, true, [encrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-CBC}, false, [decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-CBC}, true, [decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-CBC}, false, [wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-CBC}, true, [wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-CBC}, false, [unwrapKey, wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-CBC}, true, [unwrapKey, wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-CBC}, false, [unwrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-CBC}, true, [unwrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-CBC}, false, [wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-CBC}, true, [wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-CBC}, false, [unwrapKey, wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-CBC}, true, [unwrapKey, wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-CBC}, false, [unwrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-CBC}, true, [unwrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-CBC}, false, [decrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-CBC}, true, [decrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-CBC}, false, [wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-CBC}, true, [wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-CBC}, false, [unwrapKey, wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-CBC}, true, [unwrapKey, wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-CBC}, false, [unwrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-CBC}, true, [unwrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-CBC}, false, [wrapKey])", - "Bad algorithm property: generateKey({length: 64, name: AES-CBC}, true, [wrapKey])", - "Bad algorithm property: generateKey({length: 64, name: AES-CBC}, false, [unwrapKey, wrapKey])", - "Bad algorithm property: generateKey({length: 64, name: AES-CBC}, true, [unwrapKey, wrapKey])", - "Bad algorithm property: generateKey({length: 64, name: AES-CBC}, false, [unwrapKey])", - "Bad algorithm property: generateKey({length: 64, name: AES-CBC}, true, [unwrapKey])", - "Bad algorithm property: generateKey({length: 64, name: AES-CBC}, false, [])", - "Bad algorithm property: generateKey({length: 64, name: AES-CBC}, true, [])", - "Bad algorithm property: generateKey({length: 64, name: AES-CBC}, false, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey])", - "Bad algorithm property: generateKey({length: 64, name: AES-CBC}, true, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey])", - "Bad algorithm property: generateKey({length: 127, name: AES-CBC}, false, [encrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-CBC}, true, [encrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-CBC}, false, [decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-CBC}, true, [decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-CBC}, false, [wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-CBC}, true, [wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-CBC}, false, [unwrapKey, wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-CBC}, true, [unwrapKey, wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-CBC}, false, [unwrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-CBC}, true, [unwrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-CBC}, false, [wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-CBC}, true, [wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-CBC}, false, [unwrapKey, wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-CBC}, true, [unwrapKey, wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-CBC}, false, [unwrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-CBC}, true, [unwrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-CBC}, false, [decrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-CBC}, true, [decrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-CBC}, false, [wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-CBC}, true, [wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-CBC}, false, [unwrapKey, wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-CBC}, true, [unwrapKey, wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-CBC}, false, [unwrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-CBC}, true, [unwrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-CBC}, false, [wrapKey])", - "Bad algorithm property: generateKey({length: 127, name: AES-CBC}, true, [wrapKey])", - "Bad algorithm property: generateKey({length: 127, name: AES-CBC}, false, [unwrapKey, wrapKey])", - "Bad algorithm property: generateKey({length: 127, name: AES-CBC}, true, [unwrapKey, wrapKey])", - "Bad algorithm property: generateKey({length: 127, name: AES-CBC}, false, [unwrapKey])", - "Bad algorithm property: generateKey({length: 127, name: AES-CBC}, true, [unwrapKey])", - "Bad algorithm property: generateKey({length: 127, name: AES-CBC}, false, [])", - "Bad algorithm property: generateKey({length: 127, name: AES-CBC}, true, [])", - "Bad algorithm property: generateKey({length: 127, name: AES-CBC}, false, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey])", - "Bad algorithm property: generateKey({length: 127, name: AES-CBC}, true, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey])", - "Bad algorithm property: generateKey({length: 129, name: AES-CBC}, false, [encrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-CBC}, true, [encrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-CBC}, false, [decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-CBC}, true, [decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-CBC}, false, [wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-CBC}, true, [wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-CBC}, false, [unwrapKey, wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-CBC}, true, [unwrapKey, wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-CBC}, false, [unwrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-CBC}, true, [unwrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-CBC}, false, [wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-CBC}, true, [wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-CBC}, false, [unwrapKey, wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-CBC}, true, [unwrapKey, wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-CBC}, false, [unwrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-CBC}, true, [unwrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-CBC}, false, [decrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-CBC}, true, [decrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-CBC}, false, [wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-CBC}, true, [wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-CBC}, false, [unwrapKey, wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-CBC}, true, [unwrapKey, wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-CBC}, false, [unwrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-CBC}, true, [unwrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-CBC}, false, [wrapKey])", - "Bad algorithm property: generateKey({length: 129, name: AES-CBC}, true, [wrapKey])", - "Bad algorithm property: generateKey({length: 129, name: AES-CBC}, false, [unwrapKey, wrapKey])", - "Bad algorithm property: generateKey({length: 129, name: AES-CBC}, true, [unwrapKey, wrapKey])", - "Bad algorithm property: generateKey({length: 129, name: AES-CBC}, false, [unwrapKey])", - "Bad algorithm property: generateKey({length: 129, name: AES-CBC}, true, [unwrapKey])", - "Bad algorithm property: generateKey({length: 129, name: AES-CBC}, false, [])", - "Bad algorithm property: generateKey({length: 129, name: AES-CBC}, true, [])", - "Bad algorithm property: generateKey({length: 129, name: AES-CBC}, false, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey])", - "Bad algorithm property: generateKey({length: 129, name: AES-CBC}, true, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey])", - "Bad algorithm property: generateKey({length: 255, name: AES-CBC}, false, [encrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-CBC}, true, [encrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-CBC}, false, [decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-CBC}, true, [decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-CBC}, false, [wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-CBC}, true, [wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-CBC}, false, [unwrapKey, wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-CBC}, true, [unwrapKey, wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-CBC}, false, [unwrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-CBC}, true, [unwrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-CBC}, false, [wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-CBC}, true, [wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-CBC}, false, [unwrapKey, wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-CBC}, true, [unwrapKey, wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-CBC}, false, [unwrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-CBC}, true, [unwrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-CBC}, false, [decrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-CBC}, true, [decrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-CBC}, false, [wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-CBC}, true, [wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-CBC}, false, [unwrapKey, wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-CBC}, true, [unwrapKey, wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-CBC}, false, [unwrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-CBC}, true, [unwrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-CBC}, false, [wrapKey])", - "Bad algorithm property: generateKey({length: 255, name: AES-CBC}, true, [wrapKey])", - "Bad algorithm property: generateKey({length: 255, name: AES-CBC}, false, [unwrapKey, wrapKey])", - "Bad algorithm property: generateKey({length: 255, name: AES-CBC}, true, [unwrapKey, wrapKey])", - "Bad algorithm property: generateKey({length: 255, name: AES-CBC}, false, [unwrapKey])", - "Bad algorithm property: generateKey({length: 255, name: AES-CBC}, true, [unwrapKey])", - "Bad algorithm property: generateKey({length: 255, name: AES-CBC}, false, [])", - "Bad algorithm property: generateKey({length: 255, name: AES-CBC}, true, [])", - "Bad algorithm property: generateKey({length: 255, name: AES-CBC}, false, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey])", - "Bad algorithm property: generateKey({length: 255, name: AES-CBC}, true, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey])", - "Bad algorithm property: generateKey({length: 257, name: AES-CBC}, false, [encrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-CBC}, true, [encrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-CBC}, false, [decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-CBC}, true, [decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-CBC}, false, [wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-CBC}, true, [wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-CBC}, false, [unwrapKey, wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-CBC}, true, [unwrapKey, wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-CBC}, false, [unwrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-CBC}, true, [unwrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-CBC}, false, [wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-CBC}, true, [wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-CBC}, false, [unwrapKey, wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-CBC}, true, [unwrapKey, wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-CBC}, false, [unwrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-CBC}, true, [unwrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-CBC}, false, [decrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-CBC}, true, [decrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-CBC}, false, [wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-CBC}, true, [wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-CBC}, false, [unwrapKey, wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-CBC}, true, [unwrapKey, wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-CBC}, false, [unwrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-CBC}, true, [unwrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-CBC}, false, [wrapKey])", - "Bad algorithm property: generateKey({length: 257, name: AES-CBC}, true, [wrapKey])", - "Bad algorithm property: generateKey({length: 257, name: AES-CBC}, false, [unwrapKey, wrapKey])", - "Bad algorithm property: generateKey({length: 257, name: AES-CBC}, true, [unwrapKey, wrapKey])", - "Bad algorithm property: generateKey({length: 257, name: AES-CBC}, false, [unwrapKey])", - "Bad algorithm property: generateKey({length: 257, name: AES-CBC}, true, [unwrapKey])", - "Bad algorithm property: generateKey({length: 257, name: AES-CBC}, false, [])", - "Bad algorithm property: generateKey({length: 257, name: AES-CBC}, true, [])", - "Bad algorithm property: generateKey({length: 257, name: AES-CBC}, false, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey])", - "Bad algorithm property: generateKey({length: 257, name: AES-CBC}, true, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey])", - "Bad algorithm property: generateKey({length: 512, name: AES-CBC}, false, [encrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-CBC}, true, [encrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-CBC}, false, [decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-CBC}, true, [decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-CBC}, false, [wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-CBC}, true, [wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-CBC}, false, [unwrapKey, wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-CBC}, true, [unwrapKey, wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-CBC}, false, [unwrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-CBC}, true, [unwrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-CBC}, false, [wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-CBC}, true, [wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-CBC}, false, [unwrapKey, wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-CBC}, true, [unwrapKey, wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-CBC}, false, [unwrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-CBC}, true, [unwrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-CBC}, false, [decrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-CBC}, true, [decrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-CBC}, false, [wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-CBC}, true, [wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-CBC}, false, [unwrapKey, wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-CBC}, true, [unwrapKey, wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-CBC}, false, [unwrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-CBC}, true, [unwrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-CBC}, false, [wrapKey])", - "Bad algorithm property: generateKey({length: 512, name: AES-CBC}, true, [wrapKey])", - "Bad algorithm property: generateKey({length: 512, name: AES-CBC}, false, [unwrapKey, wrapKey])", - "Bad algorithm property: generateKey({length: 512, name: AES-CBC}, true, [unwrapKey, wrapKey])", - "Bad algorithm property: generateKey({length: 512, name: AES-CBC}, false, [unwrapKey])", - "Bad algorithm property: generateKey({length: 512, name: AES-CBC}, true, [unwrapKey])", - "Bad algorithm property: generateKey({length: 512, name: AES-CBC}, false, [])", - "Bad algorithm property: generateKey({length: 512, name: AES-CBC}, true, [])", - "Bad algorithm property: generateKey({length: 512, name: AES-CBC}, false, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey])", - "Bad algorithm property: generateKey({length: 512, name: AES-CBC}, true, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey])", - "Empty usages: generateKey({length: 128, name: AES-CBC}, false, [])", - "Empty usages: generateKey({length: 128, name: AES-CBC}, true, [])", - "Empty usages: generateKey({length: 192, name: AES-CBC}, false, [])", - "Empty usages: generateKey({length: 192, name: AES-CBC}, true, [])", - "Empty usages: generateKey({length: 256, name: AES-CBC}, false, [])", - "Empty usages: generateKey({length: 256, name: AES-CBC}, true, [])" - ], - "failures_AES-CTR.https.any.html": [ - "Bad usages: generateKey({length: 128, name: AES-CTR}, true, [sign])", - "Bad usages: generateKey({length: 128, name: AES-CTR}, true, [encrypt, sign])", - "Bad usages: generateKey({length: 128, name: AES-CTR}, true, [decrypt, encrypt, sign])", - "Bad usages: generateKey({length: 128, name: AES-CTR}, true, [wrapKey, decrypt, encrypt, sign])", - "Bad usages: generateKey({length: 128, name: AES-CTR}, true, [unwrapKey, wrapKey, decrypt, encrypt, sign])", - "Bad usages: generateKey({length: 128, name: AES-CTR}, true, [unwrapKey, decrypt, encrypt, sign])", - "Bad usages: generateKey({length: 128, name: AES-CTR}, true, [wrapKey, encrypt, sign])", - "Bad usages: generateKey({length: 128, name: AES-CTR}, true, [unwrapKey, wrapKey, encrypt, sign])", - "Bad usages: generateKey({length: 128, name: AES-CTR}, true, [unwrapKey, encrypt, sign])", - "Bad usages: generateKey({length: 128, name: AES-CTR}, true, [decrypt, sign])", - "Bad usages: generateKey({length: 128, name: AES-CTR}, true, [wrapKey, decrypt, sign])", - "Bad usages: generateKey({length: 128, name: AES-CTR}, true, [unwrapKey, wrapKey, decrypt, sign])", - "Bad usages: generateKey({length: 128, name: AES-CTR}, true, [unwrapKey, decrypt, sign])", - "Bad usages: generateKey({length: 128, name: AES-CTR}, true, [wrapKey, sign])", - "Bad usages: generateKey({length: 128, name: AES-CTR}, true, [unwrapKey, wrapKey, sign])", - "Bad usages: generateKey({length: 128, name: AES-CTR}, true, [unwrapKey, sign])", - "Bad usages: generateKey({length: 128, name: AES-CTR}, true, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey, sign])", - "Bad usages: generateKey({length: 128, name: AES-CTR}, true, [verify])", - "Bad usages: generateKey({length: 128, name: AES-CTR}, true, [encrypt, verify])", - "Bad usages: generateKey({length: 128, name: AES-CTR}, true, [decrypt, encrypt, verify])", - "Bad usages: generateKey({length: 128, name: AES-CTR}, true, [wrapKey, decrypt, encrypt, verify])", - "Bad usages: generateKey({length: 128, name: AES-CTR}, true, [unwrapKey, wrapKey, decrypt, encrypt, verify])", - "Bad usages: generateKey({length: 128, name: AES-CTR}, true, [unwrapKey, decrypt, encrypt, verify])", - "Bad usages: generateKey({length: 128, name: AES-CTR}, true, [wrapKey, encrypt, verify])", - "Bad usages: generateKey({length: 128, name: AES-CTR}, true, [unwrapKey, wrapKey, encrypt, verify])", - "Bad usages: generateKey({length: 128, name: AES-CTR}, true, [unwrapKey, encrypt, verify])", - "Bad usages: generateKey({length: 128, name: AES-CTR}, true, [decrypt, verify])", - "Bad usages: generateKey({length: 128, name: AES-CTR}, true, [wrapKey, decrypt, verify])", - "Bad usages: generateKey({length: 128, name: AES-CTR}, true, [unwrapKey, wrapKey, decrypt, verify])", - "Bad usages: generateKey({length: 128, name: AES-CTR}, true, [unwrapKey, decrypt, verify])", - "Bad usages: generateKey({length: 128, name: AES-CTR}, true, [wrapKey, verify])", - "Bad usages: generateKey({length: 128, name: AES-CTR}, true, [unwrapKey, wrapKey, verify])", - "Bad usages: generateKey({length: 128, name: AES-CTR}, true, [unwrapKey, verify])", - "Bad usages: generateKey({length: 128, name: AES-CTR}, true, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey, verify])", - "Bad usages: generateKey({length: 128, name: AES-CTR}, true, [deriveKey])", - "Bad usages: generateKey({length: 128, name: AES-CTR}, true, [encrypt, deriveKey])", - "Bad usages: generateKey({length: 128, name: AES-CTR}, true, [decrypt, encrypt, deriveKey])", - "Bad usages: generateKey({length: 128, name: AES-CTR}, true, [wrapKey, decrypt, encrypt, deriveKey])", - "Bad usages: generateKey({length: 128, name: AES-CTR}, true, [unwrapKey, wrapKey, decrypt, encrypt, deriveKey])", - "Bad usages: generateKey({length: 128, name: AES-CTR}, true, [unwrapKey, decrypt, encrypt, deriveKey])", - "Bad usages: generateKey({length: 128, name: AES-CTR}, true, [wrapKey, encrypt, deriveKey])", - "Bad usages: generateKey({length: 128, name: AES-CTR}, true, [unwrapKey, wrapKey, encrypt, deriveKey])", - "Bad usages: generateKey({length: 128, name: AES-CTR}, true, [unwrapKey, encrypt, deriveKey])", - "Bad usages: generateKey({length: 128, name: AES-CTR}, true, [decrypt, deriveKey])", - "Bad usages: generateKey({length: 128, name: AES-CTR}, true, [wrapKey, decrypt, deriveKey])", - "Bad usages: generateKey({length: 128, name: AES-CTR}, true, [unwrapKey, wrapKey, decrypt, deriveKey])", - "Bad usages: generateKey({length: 128, name: AES-CTR}, true, [unwrapKey, decrypt, deriveKey])", - "Bad usages: generateKey({length: 128, name: AES-CTR}, true, [wrapKey, deriveKey])", - "Bad usages: generateKey({length: 128, name: AES-CTR}, true, [unwrapKey, wrapKey, deriveKey])", - "Bad usages: generateKey({length: 128, name: AES-CTR}, true, [unwrapKey, deriveKey])", - "Bad usages: generateKey({length: 128, name: AES-CTR}, true, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey, deriveKey])", - "Bad usages: generateKey({length: 128, name: AES-CTR}, true, [deriveBits])", - "Bad usages: generateKey({length: 128, name: AES-CTR}, true, [encrypt, deriveBits])", - "Bad usages: generateKey({length: 128, name: AES-CTR}, true, [decrypt, encrypt, deriveBits])", - "Bad usages: generateKey({length: 128, name: AES-CTR}, true, [wrapKey, decrypt, encrypt, deriveBits])", - "Bad usages: generateKey({length: 128, name: AES-CTR}, true, [unwrapKey, wrapKey, decrypt, encrypt, deriveBits])", - "Bad usages: generateKey({length: 128, name: AES-CTR}, true, [unwrapKey, decrypt, encrypt, deriveBits])", - "Bad usages: generateKey({length: 128, name: AES-CTR}, true, [wrapKey, encrypt, deriveBits])", - "Bad usages: generateKey({length: 128, name: AES-CTR}, true, [unwrapKey, wrapKey, encrypt, deriveBits])", - "Bad usages: generateKey({length: 128, name: AES-CTR}, true, [unwrapKey, encrypt, deriveBits])", - "Bad usages: generateKey({length: 128, name: AES-CTR}, true, [decrypt, deriveBits])", - "Bad usages: generateKey({length: 128, name: AES-CTR}, true, [wrapKey, decrypt, deriveBits])", - "Bad usages: generateKey({length: 128, name: AES-CTR}, true, [unwrapKey, wrapKey, decrypt, deriveBits])", - "Bad usages: generateKey({length: 128, name: AES-CTR}, true, [unwrapKey, decrypt, deriveBits])", - "Bad usages: generateKey({length: 128, name: AES-CTR}, true, [wrapKey, deriveBits])", - "Bad usages: generateKey({length: 128, name: AES-CTR}, true, [unwrapKey, wrapKey, deriveBits])", - "Bad usages: generateKey({length: 128, name: AES-CTR}, true, [unwrapKey, deriveBits])", - "Bad usages: generateKey({length: 128, name: AES-CTR}, true, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey, deriveBits])", - "Bad usages: generateKey({length: 192, name: AES-CTR}, true, [sign])", - "Bad usages: generateKey({length: 192, name: AES-CTR}, true, [encrypt, sign])", - "Bad usages: generateKey({length: 192, name: AES-CTR}, true, [decrypt, encrypt, sign])", - "Bad usages: generateKey({length: 192, name: AES-CTR}, true, [wrapKey, decrypt, encrypt, sign])", - "Bad usages: generateKey({length: 192, name: AES-CTR}, true, [unwrapKey, wrapKey, decrypt, encrypt, sign])", - "Bad usages: generateKey({length: 192, name: AES-CTR}, true, [unwrapKey, decrypt, encrypt, sign])", - "Bad usages: generateKey({length: 192, name: AES-CTR}, true, [wrapKey, encrypt, sign])", - "Bad usages: generateKey({length: 192, name: AES-CTR}, true, [unwrapKey, wrapKey, encrypt, sign])", - "Bad usages: generateKey({length: 192, name: AES-CTR}, true, [unwrapKey, encrypt, sign])", - "Bad usages: generateKey({length: 192, name: AES-CTR}, true, [decrypt, sign])", - "Bad usages: generateKey({length: 192, name: AES-CTR}, true, [wrapKey, decrypt, sign])", - "Bad usages: generateKey({length: 192, name: AES-CTR}, true, [unwrapKey, wrapKey, decrypt, sign])", - "Bad usages: generateKey({length: 192, name: AES-CTR}, true, [unwrapKey, decrypt, sign])", - "Bad usages: generateKey({length: 192, name: AES-CTR}, true, [wrapKey, sign])", - "Bad usages: generateKey({length: 192, name: AES-CTR}, true, [unwrapKey, wrapKey, sign])", - "Bad usages: generateKey({length: 192, name: AES-CTR}, true, [unwrapKey, sign])", - "Bad usages: generateKey({length: 192, name: AES-CTR}, true, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey, sign])", - "Bad usages: generateKey({length: 192, name: AES-CTR}, true, [verify])", - "Bad usages: generateKey({length: 192, name: AES-CTR}, true, [encrypt, verify])", - "Bad usages: generateKey({length: 192, name: AES-CTR}, true, [decrypt, encrypt, verify])", - "Bad usages: generateKey({length: 192, name: AES-CTR}, true, [wrapKey, decrypt, encrypt, verify])", - "Bad usages: generateKey({length: 192, name: AES-CTR}, true, [unwrapKey, wrapKey, decrypt, encrypt, verify])", - "Bad usages: generateKey({length: 192, name: AES-CTR}, true, [unwrapKey, decrypt, encrypt, verify])", - "Bad usages: generateKey({length: 192, name: AES-CTR}, true, [wrapKey, encrypt, verify])", - "Bad usages: generateKey({length: 192, name: AES-CTR}, true, [unwrapKey, wrapKey, encrypt, verify])", - "Bad usages: generateKey({length: 192, name: AES-CTR}, true, [unwrapKey, encrypt, verify])", - "Bad usages: generateKey({length: 192, name: AES-CTR}, true, [decrypt, verify])", - "Bad usages: generateKey({length: 192, name: AES-CTR}, true, [wrapKey, decrypt, verify])", - "Bad usages: generateKey({length: 192, name: AES-CTR}, true, [unwrapKey, wrapKey, decrypt, verify])", - "Bad usages: generateKey({length: 192, name: AES-CTR}, true, [unwrapKey, decrypt, verify])", - "Bad usages: generateKey({length: 192, name: AES-CTR}, true, [wrapKey, verify])", - "Bad usages: generateKey({length: 192, name: AES-CTR}, true, [unwrapKey, wrapKey, verify])", - "Bad usages: generateKey({length: 192, name: AES-CTR}, true, [unwrapKey, verify])", - "Bad usages: generateKey({length: 192, name: AES-CTR}, true, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey, verify])", - "Bad usages: generateKey({length: 192, name: AES-CTR}, true, [deriveKey])", - "Bad usages: generateKey({length: 192, name: AES-CTR}, true, [encrypt, deriveKey])", - "Bad usages: generateKey({length: 192, name: AES-CTR}, true, [decrypt, encrypt, deriveKey])", - "Bad usages: generateKey({length: 192, name: AES-CTR}, true, [wrapKey, decrypt, encrypt, deriveKey])", - "Bad usages: generateKey({length: 192, name: AES-CTR}, true, [unwrapKey, wrapKey, decrypt, encrypt, deriveKey])", - "Bad usages: generateKey({length: 192, name: AES-CTR}, true, [unwrapKey, decrypt, encrypt, deriveKey])", - "Bad usages: generateKey({length: 192, name: AES-CTR}, true, [wrapKey, encrypt, deriveKey])", - "Bad usages: generateKey({length: 192, name: AES-CTR}, true, [unwrapKey, wrapKey, encrypt, deriveKey])", - "Bad usages: generateKey({length: 192, name: AES-CTR}, true, [unwrapKey, encrypt, deriveKey])", - "Bad usages: generateKey({length: 192, name: AES-CTR}, true, [decrypt, deriveKey])", - "Bad usages: generateKey({length: 192, name: AES-CTR}, true, [wrapKey, decrypt, deriveKey])", - "Bad usages: generateKey({length: 192, name: AES-CTR}, true, [unwrapKey, wrapKey, decrypt, deriveKey])", - "Bad usages: generateKey({length: 192, name: AES-CTR}, true, [unwrapKey, decrypt, deriveKey])", - "Bad usages: generateKey({length: 192, name: AES-CTR}, true, [wrapKey, deriveKey])", - "Bad usages: generateKey({length: 192, name: AES-CTR}, true, [unwrapKey, wrapKey, deriveKey])", - "Bad usages: generateKey({length: 192, name: AES-CTR}, true, [unwrapKey, deriveKey])", - "Bad usages: generateKey({length: 192, name: AES-CTR}, true, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey, deriveKey])", - "Bad usages: generateKey({length: 192, name: AES-CTR}, true, [deriveBits])", - "Bad usages: generateKey({length: 192, name: AES-CTR}, true, [encrypt, deriveBits])", - "Bad usages: generateKey({length: 192, name: AES-CTR}, true, [decrypt, encrypt, deriveBits])", - "Bad usages: generateKey({length: 192, name: AES-CTR}, true, [wrapKey, decrypt, encrypt, deriveBits])", - "Bad usages: generateKey({length: 192, name: AES-CTR}, true, [unwrapKey, wrapKey, decrypt, encrypt, deriveBits])", - "Bad usages: generateKey({length: 192, name: AES-CTR}, true, [unwrapKey, decrypt, encrypt, deriveBits])", - "Bad usages: generateKey({length: 192, name: AES-CTR}, true, [wrapKey, encrypt, deriveBits])", - "Bad usages: generateKey({length: 192, name: AES-CTR}, true, [unwrapKey, wrapKey, encrypt, deriveBits])", - "Bad usages: generateKey({length: 192, name: AES-CTR}, true, [unwrapKey, encrypt, deriveBits])", - "Bad usages: generateKey({length: 192, name: AES-CTR}, true, [decrypt, deriveBits])", - "Bad usages: generateKey({length: 192, name: AES-CTR}, true, [wrapKey, decrypt, deriveBits])", - "Bad usages: generateKey({length: 192, name: AES-CTR}, true, [unwrapKey, wrapKey, decrypt, deriveBits])", - "Bad usages: generateKey({length: 192, name: AES-CTR}, true, [unwrapKey, decrypt, deriveBits])", - "Bad usages: generateKey({length: 192, name: AES-CTR}, true, [wrapKey, deriveBits])", - "Bad usages: generateKey({length: 192, name: AES-CTR}, true, [unwrapKey, wrapKey, deriveBits])", - "Bad usages: generateKey({length: 192, name: AES-CTR}, true, [unwrapKey, deriveBits])", - "Bad usages: generateKey({length: 192, name: AES-CTR}, true, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey, deriveBits])", - "Bad usages: generateKey({length: 256, name: AES-CTR}, true, [sign])", - "Bad usages: generateKey({length: 256, name: AES-CTR}, true, [encrypt, sign])", - "Bad usages: generateKey({length: 256, name: AES-CTR}, true, [decrypt, encrypt, sign])", - "Bad usages: generateKey({length: 256, name: AES-CTR}, true, [wrapKey, decrypt, encrypt, sign])", - "Bad usages: generateKey({length: 256, name: AES-CTR}, true, [unwrapKey, wrapKey, decrypt, encrypt, sign])", - "Bad usages: generateKey({length: 256, name: AES-CTR}, true, [unwrapKey, decrypt, encrypt, sign])", - "Bad usages: generateKey({length: 256, name: AES-CTR}, true, [wrapKey, encrypt, sign])", - "Bad usages: generateKey({length: 256, name: AES-CTR}, true, [unwrapKey, wrapKey, encrypt, sign])", - "Bad usages: generateKey({length: 256, name: AES-CTR}, true, [unwrapKey, encrypt, sign])", - "Bad usages: generateKey({length: 256, name: AES-CTR}, true, [decrypt, sign])", - "Bad usages: generateKey({length: 256, name: AES-CTR}, true, [wrapKey, decrypt, sign])", - "Bad usages: generateKey({length: 256, name: AES-CTR}, true, [unwrapKey, wrapKey, decrypt, sign])", - "Bad usages: generateKey({length: 256, name: AES-CTR}, true, [unwrapKey, decrypt, sign])", - "Bad usages: generateKey({length: 256, name: AES-CTR}, true, [wrapKey, sign])", - "Bad usages: generateKey({length: 256, name: AES-CTR}, true, [unwrapKey, wrapKey, sign])", - "Bad usages: generateKey({length: 256, name: AES-CTR}, true, [unwrapKey, sign])", - "Bad usages: generateKey({length: 256, name: AES-CTR}, true, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey, sign])", - "Bad usages: generateKey({length: 256, name: AES-CTR}, true, [verify])", - "Bad usages: generateKey({length: 256, name: AES-CTR}, true, [encrypt, verify])", - "Bad usages: generateKey({length: 256, name: AES-CTR}, true, [decrypt, encrypt, verify])", - "Bad usages: generateKey({length: 256, name: AES-CTR}, true, [wrapKey, decrypt, encrypt, verify])", - "Bad usages: generateKey({length: 256, name: AES-CTR}, true, [unwrapKey, wrapKey, decrypt, encrypt, verify])", - "Bad usages: generateKey({length: 256, name: AES-CTR}, true, [unwrapKey, decrypt, encrypt, verify])", - "Bad usages: generateKey({length: 256, name: AES-CTR}, true, [wrapKey, encrypt, verify])", - "Bad usages: generateKey({length: 256, name: AES-CTR}, true, [unwrapKey, wrapKey, encrypt, verify])", - "Bad usages: generateKey({length: 256, name: AES-CTR}, true, [unwrapKey, encrypt, verify])", - "Bad usages: generateKey({length: 256, name: AES-CTR}, true, [decrypt, verify])", - "Bad usages: generateKey({length: 256, name: AES-CTR}, true, [wrapKey, decrypt, verify])", - "Bad usages: generateKey({length: 256, name: AES-CTR}, true, [unwrapKey, wrapKey, decrypt, verify])", - "Bad usages: generateKey({length: 256, name: AES-CTR}, true, [unwrapKey, decrypt, verify])", - "Bad usages: generateKey({length: 256, name: AES-CTR}, true, [wrapKey, verify])", - "Bad usages: generateKey({length: 256, name: AES-CTR}, true, [unwrapKey, wrapKey, verify])", - "Bad usages: generateKey({length: 256, name: AES-CTR}, true, [unwrapKey, verify])", - "Bad usages: generateKey({length: 256, name: AES-CTR}, true, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey, verify])", - "Bad usages: generateKey({length: 256, name: AES-CTR}, true, [deriveKey])", - "Bad usages: generateKey({length: 256, name: AES-CTR}, true, [encrypt, deriveKey])", - "Bad usages: generateKey({length: 256, name: AES-CTR}, true, [decrypt, encrypt, deriveKey])", - "Bad usages: generateKey({length: 256, name: AES-CTR}, true, [wrapKey, decrypt, encrypt, deriveKey])", - "Bad usages: generateKey({length: 256, name: AES-CTR}, true, [unwrapKey, wrapKey, decrypt, encrypt, deriveKey])", - "Bad usages: generateKey({length: 256, name: AES-CTR}, true, [unwrapKey, decrypt, encrypt, deriveKey])", - "Bad usages: generateKey({length: 256, name: AES-CTR}, true, [wrapKey, encrypt, deriveKey])", - "Bad usages: generateKey({length: 256, name: AES-CTR}, true, [unwrapKey, wrapKey, encrypt, deriveKey])", - "Bad usages: generateKey({length: 256, name: AES-CTR}, true, [unwrapKey, encrypt, deriveKey])", - "Bad usages: generateKey({length: 256, name: AES-CTR}, true, [decrypt, deriveKey])", - "Bad usages: generateKey({length: 256, name: AES-CTR}, true, [wrapKey, decrypt, deriveKey])", - "Bad usages: generateKey({length: 256, name: AES-CTR}, true, [unwrapKey, wrapKey, decrypt, deriveKey])", - "Bad usages: generateKey({length: 256, name: AES-CTR}, true, [unwrapKey, decrypt, deriveKey])", - "Bad usages: generateKey({length: 256, name: AES-CTR}, true, [wrapKey, deriveKey])", - "Bad usages: generateKey({length: 256, name: AES-CTR}, true, [unwrapKey, wrapKey, deriveKey])", - "Bad usages: generateKey({length: 256, name: AES-CTR}, true, [unwrapKey, deriveKey])", - "Bad usages: generateKey({length: 256, name: AES-CTR}, true, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey, deriveKey])", - "Bad usages: generateKey({length: 256, name: AES-CTR}, true, [deriveBits])", - "Bad usages: generateKey({length: 256, name: AES-CTR}, true, [encrypt, deriveBits])", - "Bad usages: generateKey({length: 256, name: AES-CTR}, true, [decrypt, encrypt, deriveBits])", - "Bad usages: generateKey({length: 256, name: AES-CTR}, true, [wrapKey, decrypt, encrypt, deriveBits])", - "Bad usages: generateKey({length: 256, name: AES-CTR}, true, [unwrapKey, wrapKey, decrypt, encrypt, deriveBits])", - "Bad usages: generateKey({length: 256, name: AES-CTR}, true, [unwrapKey, decrypt, encrypt, deriveBits])", - "Bad usages: generateKey({length: 256, name: AES-CTR}, true, [wrapKey, encrypt, deriveBits])", - "Bad usages: generateKey({length: 256, name: AES-CTR}, true, [unwrapKey, wrapKey, encrypt, deriveBits])", - "Bad usages: generateKey({length: 256, name: AES-CTR}, true, [unwrapKey, encrypt, deriveBits])", - "Bad usages: generateKey({length: 256, name: AES-CTR}, true, [decrypt, deriveBits])", - "Bad usages: generateKey({length: 256, name: AES-CTR}, true, [wrapKey, decrypt, deriveBits])", - "Bad usages: generateKey({length: 256, name: AES-CTR}, true, [unwrapKey, wrapKey, decrypt, deriveBits])", - "Bad usages: generateKey({length: 256, name: AES-CTR}, true, [unwrapKey, decrypt, deriveBits])", - "Bad usages: generateKey({length: 256, name: AES-CTR}, true, [wrapKey, deriveBits])", - "Bad usages: generateKey({length: 256, name: AES-CTR}, true, [unwrapKey, wrapKey, deriveBits])", - "Bad usages: generateKey({length: 256, name: AES-CTR}, true, [unwrapKey, deriveBits])", - "Bad usages: generateKey({length: 256, name: AES-CTR}, true, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey, deriveBits])", - "Bad algorithm property: generateKey({length: 64, name: AES-CTR}, false, [encrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-CTR}, true, [encrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-CTR}, false, [decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-CTR}, true, [decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-CTR}, false, [wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-CTR}, true, [wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-CTR}, false, [unwrapKey, wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-CTR}, true, [unwrapKey, wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-CTR}, false, [unwrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-CTR}, true, [unwrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-CTR}, false, [wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-CTR}, true, [wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-CTR}, false, [unwrapKey, wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-CTR}, true, [unwrapKey, wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-CTR}, false, [unwrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-CTR}, true, [unwrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-CTR}, false, [decrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-CTR}, true, [decrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-CTR}, false, [wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-CTR}, true, [wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-CTR}, false, [unwrapKey, wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-CTR}, true, [unwrapKey, wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-CTR}, false, [unwrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-CTR}, true, [unwrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-CTR}, false, [wrapKey])", - "Bad algorithm property: generateKey({length: 64, name: AES-CTR}, true, [wrapKey])", - "Bad algorithm property: generateKey({length: 64, name: AES-CTR}, false, [unwrapKey, wrapKey])", - "Bad algorithm property: generateKey({length: 64, name: AES-CTR}, true, [unwrapKey, wrapKey])", - "Bad algorithm property: generateKey({length: 64, name: AES-CTR}, false, [unwrapKey])", - "Bad algorithm property: generateKey({length: 64, name: AES-CTR}, true, [unwrapKey])", - "Bad algorithm property: generateKey({length: 64, name: AES-CTR}, false, [])", - "Bad algorithm property: generateKey({length: 64, name: AES-CTR}, true, [])", - "Bad algorithm property: generateKey({length: 64, name: AES-CTR}, false, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey])", - "Bad algorithm property: generateKey({length: 64, name: AES-CTR}, true, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey])", - "Bad algorithm property: generateKey({length: 127, name: AES-CTR}, false, [encrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-CTR}, true, [encrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-CTR}, false, [decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-CTR}, true, [decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-CTR}, false, [wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-CTR}, true, [wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-CTR}, false, [unwrapKey, wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-CTR}, true, [unwrapKey, wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-CTR}, false, [unwrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-CTR}, true, [unwrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-CTR}, false, [wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-CTR}, true, [wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-CTR}, false, [unwrapKey, wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-CTR}, true, [unwrapKey, wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-CTR}, false, [unwrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-CTR}, true, [unwrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-CTR}, false, [decrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-CTR}, true, [decrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-CTR}, false, [wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-CTR}, true, [wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-CTR}, false, [unwrapKey, wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-CTR}, true, [unwrapKey, wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-CTR}, false, [unwrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-CTR}, true, [unwrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-CTR}, false, [wrapKey])", - "Bad algorithm property: generateKey({length: 127, name: AES-CTR}, true, [wrapKey])", - "Bad algorithm property: generateKey({length: 127, name: AES-CTR}, false, [unwrapKey, wrapKey])", - "Bad algorithm property: generateKey({length: 127, name: AES-CTR}, true, [unwrapKey, wrapKey])", - "Bad algorithm property: generateKey({length: 127, name: AES-CTR}, false, [unwrapKey])", - "Bad algorithm property: generateKey({length: 127, name: AES-CTR}, true, [unwrapKey])", - "Bad algorithm property: generateKey({length: 127, name: AES-CTR}, false, [])", - "Bad algorithm property: generateKey({length: 127, name: AES-CTR}, true, [])", - "Bad algorithm property: generateKey({length: 127, name: AES-CTR}, false, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey])", - "Bad algorithm property: generateKey({length: 127, name: AES-CTR}, true, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey])", - "Bad algorithm property: generateKey({length: 129, name: AES-CTR}, false, [encrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-CTR}, true, [encrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-CTR}, false, [decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-CTR}, true, [decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-CTR}, false, [wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-CTR}, true, [wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-CTR}, false, [unwrapKey, wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-CTR}, true, [unwrapKey, wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-CTR}, false, [unwrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-CTR}, true, [unwrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-CTR}, false, [wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-CTR}, true, [wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-CTR}, false, [unwrapKey, wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-CTR}, true, [unwrapKey, wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-CTR}, false, [unwrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-CTR}, true, [unwrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-CTR}, false, [decrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-CTR}, true, [decrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-CTR}, false, [wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-CTR}, true, [wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-CTR}, false, [unwrapKey, wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-CTR}, true, [unwrapKey, wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-CTR}, false, [unwrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-CTR}, true, [unwrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-CTR}, false, [wrapKey])", - "Bad algorithm property: generateKey({length: 129, name: AES-CTR}, true, [wrapKey])", - "Bad algorithm property: generateKey({length: 129, name: AES-CTR}, false, [unwrapKey, wrapKey])", - "Bad algorithm property: generateKey({length: 129, name: AES-CTR}, true, [unwrapKey, wrapKey])", - "Bad algorithm property: generateKey({length: 129, name: AES-CTR}, false, [unwrapKey])", - "Bad algorithm property: generateKey({length: 129, name: AES-CTR}, true, [unwrapKey])", - "Bad algorithm property: generateKey({length: 129, name: AES-CTR}, false, [])", - "Bad algorithm property: generateKey({length: 129, name: AES-CTR}, true, [])", - "Bad algorithm property: generateKey({length: 129, name: AES-CTR}, false, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey])", - "Bad algorithm property: generateKey({length: 129, name: AES-CTR}, true, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey])", - "Bad algorithm property: generateKey({length: 255, name: AES-CTR}, false, [encrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-CTR}, true, [encrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-CTR}, false, [decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-CTR}, true, [decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-CTR}, false, [wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-CTR}, true, [wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-CTR}, false, [unwrapKey, wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-CTR}, true, [unwrapKey, wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-CTR}, false, [unwrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-CTR}, true, [unwrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-CTR}, false, [wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-CTR}, true, [wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-CTR}, false, [unwrapKey, wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-CTR}, true, [unwrapKey, wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-CTR}, false, [unwrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-CTR}, true, [unwrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-CTR}, false, [decrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-CTR}, true, [decrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-CTR}, false, [wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-CTR}, true, [wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-CTR}, false, [unwrapKey, wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-CTR}, true, [unwrapKey, wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-CTR}, false, [unwrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-CTR}, true, [unwrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-CTR}, false, [wrapKey])", - "Bad algorithm property: generateKey({length: 255, name: AES-CTR}, true, [wrapKey])", - "Bad algorithm property: generateKey({length: 255, name: AES-CTR}, false, [unwrapKey, wrapKey])", - "Bad algorithm property: generateKey({length: 255, name: AES-CTR}, true, [unwrapKey, wrapKey])", - "Bad algorithm property: generateKey({length: 255, name: AES-CTR}, false, [unwrapKey])", - "Bad algorithm property: generateKey({length: 255, name: AES-CTR}, true, [unwrapKey])", - "Bad algorithm property: generateKey({length: 255, name: AES-CTR}, false, [])", - "Bad algorithm property: generateKey({length: 255, name: AES-CTR}, true, [])", - "Bad algorithm property: generateKey({length: 255, name: AES-CTR}, false, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey])", - "Bad algorithm property: generateKey({length: 255, name: AES-CTR}, true, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey])", - "Bad algorithm property: generateKey({length: 257, name: AES-CTR}, false, [encrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-CTR}, true, [encrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-CTR}, false, [decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-CTR}, true, [decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-CTR}, false, [wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-CTR}, true, [wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-CTR}, false, [unwrapKey, wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-CTR}, true, [unwrapKey, wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-CTR}, false, [unwrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-CTR}, true, [unwrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-CTR}, false, [wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-CTR}, true, [wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-CTR}, false, [unwrapKey, wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-CTR}, true, [unwrapKey, wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-CTR}, false, [unwrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-CTR}, true, [unwrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-CTR}, false, [decrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-CTR}, true, [decrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-CTR}, false, [wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-CTR}, true, [wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-CTR}, false, [unwrapKey, wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-CTR}, true, [unwrapKey, wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-CTR}, false, [unwrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-CTR}, true, [unwrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-CTR}, false, [wrapKey])", - "Bad algorithm property: generateKey({length: 257, name: AES-CTR}, true, [wrapKey])", - "Bad algorithm property: generateKey({length: 257, name: AES-CTR}, false, [unwrapKey, wrapKey])", - "Bad algorithm property: generateKey({length: 257, name: AES-CTR}, true, [unwrapKey, wrapKey])", - "Bad algorithm property: generateKey({length: 257, name: AES-CTR}, false, [unwrapKey])", - "Bad algorithm property: generateKey({length: 257, name: AES-CTR}, true, [unwrapKey])", - "Bad algorithm property: generateKey({length: 257, name: AES-CTR}, false, [])", - "Bad algorithm property: generateKey({length: 257, name: AES-CTR}, true, [])", - "Bad algorithm property: generateKey({length: 257, name: AES-CTR}, false, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey])", - "Bad algorithm property: generateKey({length: 257, name: AES-CTR}, true, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey])", - "Bad algorithm property: generateKey({length: 512, name: AES-CTR}, false, [encrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-CTR}, true, [encrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-CTR}, false, [decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-CTR}, true, [decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-CTR}, false, [wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-CTR}, true, [wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-CTR}, false, [unwrapKey, wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-CTR}, true, [unwrapKey, wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-CTR}, false, [unwrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-CTR}, true, [unwrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-CTR}, false, [wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-CTR}, true, [wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-CTR}, false, [unwrapKey, wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-CTR}, true, [unwrapKey, wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-CTR}, false, [unwrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-CTR}, true, [unwrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-CTR}, false, [decrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-CTR}, true, [decrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-CTR}, false, [wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-CTR}, true, [wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-CTR}, false, [unwrapKey, wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-CTR}, true, [unwrapKey, wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-CTR}, false, [unwrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-CTR}, true, [unwrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-CTR}, false, [wrapKey])", - "Bad algorithm property: generateKey({length: 512, name: AES-CTR}, true, [wrapKey])", - "Bad algorithm property: generateKey({length: 512, name: AES-CTR}, false, [unwrapKey, wrapKey])", - "Bad algorithm property: generateKey({length: 512, name: AES-CTR}, true, [unwrapKey, wrapKey])", - "Bad algorithm property: generateKey({length: 512, name: AES-CTR}, false, [unwrapKey])", - "Bad algorithm property: generateKey({length: 512, name: AES-CTR}, true, [unwrapKey])", - "Bad algorithm property: generateKey({length: 512, name: AES-CTR}, false, [])", - "Bad algorithm property: generateKey({length: 512, name: AES-CTR}, true, [])", - "Bad algorithm property: generateKey({length: 512, name: AES-CTR}, false, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey])", - "Bad algorithm property: generateKey({length: 512, name: AES-CTR}, true, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey])", - "Empty usages: generateKey({length: 128, name: AES-CTR}, false, [])", - "Empty usages: generateKey({length: 128, name: AES-CTR}, true, [])", - "Empty usages: generateKey({length: 192, name: AES-CTR}, false, [])", - "Empty usages: generateKey({length: 192, name: AES-CTR}, true, [])", - "Empty usages: generateKey({length: 256, name: AES-CTR}, false, [])", - "Empty usages: generateKey({length: 256, name: AES-CTR}, true, [])" - ], - "failures_AES-GCM.https.any.html": [ - "Bad usages: generateKey({length: 128, name: AES-GCM}, true, [sign])", - "Bad usages: generateKey({length: 128, name: AES-GCM}, true, [encrypt, sign])", - "Bad usages: generateKey({length: 128, name: AES-GCM}, true, [decrypt, encrypt, sign])", - "Bad usages: generateKey({length: 128, name: AES-GCM}, true, [wrapKey, decrypt, encrypt, sign])", - "Bad usages: generateKey({length: 128, name: AES-GCM}, true, [unwrapKey, wrapKey, decrypt, encrypt, sign])", - "Bad usages: generateKey({length: 128, name: AES-GCM}, true, [unwrapKey, decrypt, encrypt, sign])", - "Bad usages: generateKey({length: 128, name: AES-GCM}, true, [wrapKey, encrypt, sign])", - "Bad usages: generateKey({length: 128, name: AES-GCM}, true, [unwrapKey, wrapKey, encrypt, sign])", - "Bad usages: generateKey({length: 128, name: AES-GCM}, true, [unwrapKey, encrypt, sign])", - "Bad usages: generateKey({length: 128, name: AES-GCM}, true, [decrypt, sign])", - "Bad usages: generateKey({length: 128, name: AES-GCM}, true, [wrapKey, decrypt, sign])", - "Bad usages: generateKey({length: 128, name: AES-GCM}, true, [unwrapKey, wrapKey, decrypt, sign])", - "Bad usages: generateKey({length: 128, name: AES-GCM}, true, [unwrapKey, decrypt, sign])", - "Bad usages: generateKey({length: 128, name: AES-GCM}, true, [wrapKey, sign])", - "Bad usages: generateKey({length: 128, name: AES-GCM}, true, [unwrapKey, wrapKey, sign])", - "Bad usages: generateKey({length: 128, name: AES-GCM}, true, [unwrapKey, sign])", - "Bad usages: generateKey({length: 128, name: AES-GCM}, true, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey, sign])", - "Bad usages: generateKey({length: 128, name: AES-GCM}, true, [verify])", - "Bad usages: generateKey({length: 128, name: AES-GCM}, true, [encrypt, verify])", - "Bad usages: generateKey({length: 128, name: AES-GCM}, true, [decrypt, encrypt, verify])", - "Bad usages: generateKey({length: 128, name: AES-GCM}, true, [wrapKey, decrypt, encrypt, verify])", - "Bad usages: generateKey({length: 128, name: AES-GCM}, true, [unwrapKey, wrapKey, decrypt, encrypt, verify])", - "Bad usages: generateKey({length: 128, name: AES-GCM}, true, [unwrapKey, decrypt, encrypt, verify])", - "Bad usages: generateKey({length: 128, name: AES-GCM}, true, [wrapKey, encrypt, verify])", - "Bad usages: generateKey({length: 128, name: AES-GCM}, true, [unwrapKey, wrapKey, encrypt, verify])", - "Bad usages: generateKey({length: 128, name: AES-GCM}, true, [unwrapKey, encrypt, verify])", - "Bad usages: generateKey({length: 128, name: AES-GCM}, true, [decrypt, verify])", - "Bad usages: generateKey({length: 128, name: AES-GCM}, true, [wrapKey, decrypt, verify])", - "Bad usages: generateKey({length: 128, name: AES-GCM}, true, [unwrapKey, wrapKey, decrypt, verify])", - "Bad usages: generateKey({length: 128, name: AES-GCM}, true, [unwrapKey, decrypt, verify])", - "Bad usages: generateKey({length: 128, name: AES-GCM}, true, [wrapKey, verify])", - "Bad usages: generateKey({length: 128, name: AES-GCM}, true, [unwrapKey, wrapKey, verify])", - "Bad usages: generateKey({length: 128, name: AES-GCM}, true, [unwrapKey, verify])", - "Bad usages: generateKey({length: 128, name: AES-GCM}, true, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey, verify])", - "Bad usages: generateKey({length: 128, name: AES-GCM}, true, [deriveKey])", - "Bad usages: generateKey({length: 128, name: AES-GCM}, true, [encrypt, deriveKey])", - "Bad usages: generateKey({length: 128, name: AES-GCM}, true, [decrypt, encrypt, deriveKey])", - "Bad usages: generateKey({length: 128, name: AES-GCM}, true, [wrapKey, decrypt, encrypt, deriveKey])", - "Bad usages: generateKey({length: 128, name: AES-GCM}, true, [unwrapKey, wrapKey, decrypt, encrypt, deriveKey])", - "Bad usages: generateKey({length: 128, name: AES-GCM}, true, [unwrapKey, decrypt, encrypt, deriveKey])", - "Bad usages: generateKey({length: 128, name: AES-GCM}, true, [wrapKey, encrypt, deriveKey])", - "Bad usages: generateKey({length: 128, name: AES-GCM}, true, [unwrapKey, wrapKey, encrypt, deriveKey])", - "Bad usages: generateKey({length: 128, name: AES-GCM}, true, [unwrapKey, encrypt, deriveKey])", - "Bad usages: generateKey({length: 128, name: AES-GCM}, true, [decrypt, deriveKey])", - "Bad usages: generateKey({length: 128, name: AES-GCM}, true, [wrapKey, decrypt, deriveKey])", - "Bad usages: generateKey({length: 128, name: AES-GCM}, true, [unwrapKey, wrapKey, decrypt, deriveKey])", - "Bad usages: generateKey({length: 128, name: AES-GCM}, true, [unwrapKey, decrypt, deriveKey])", - "Bad usages: generateKey({length: 128, name: AES-GCM}, true, [wrapKey, deriveKey])", - "Bad usages: generateKey({length: 128, name: AES-GCM}, true, [unwrapKey, wrapKey, deriveKey])", - "Bad usages: generateKey({length: 128, name: AES-GCM}, true, [unwrapKey, deriveKey])", - "Bad usages: generateKey({length: 128, name: AES-GCM}, true, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey, deriveKey])", - "Bad usages: generateKey({length: 128, name: AES-GCM}, true, [deriveBits])", - "Bad usages: generateKey({length: 128, name: AES-GCM}, true, [encrypt, deriveBits])", - "Bad usages: generateKey({length: 128, name: AES-GCM}, true, [decrypt, encrypt, deriveBits])", - "Bad usages: generateKey({length: 128, name: AES-GCM}, true, [wrapKey, decrypt, encrypt, deriveBits])", - "Bad usages: generateKey({length: 128, name: AES-GCM}, true, [unwrapKey, wrapKey, decrypt, encrypt, deriveBits])", - "Bad usages: generateKey({length: 128, name: AES-GCM}, true, [unwrapKey, decrypt, encrypt, deriveBits])", - "Bad usages: generateKey({length: 128, name: AES-GCM}, true, [wrapKey, encrypt, deriveBits])", - "Bad usages: generateKey({length: 128, name: AES-GCM}, true, [unwrapKey, wrapKey, encrypt, deriveBits])", - "Bad usages: generateKey({length: 128, name: AES-GCM}, true, [unwrapKey, encrypt, deriveBits])", - "Bad usages: generateKey({length: 128, name: AES-GCM}, true, [decrypt, deriveBits])", - "Bad usages: generateKey({length: 128, name: AES-GCM}, true, [wrapKey, decrypt, deriveBits])", - "Bad usages: generateKey({length: 128, name: AES-GCM}, true, [unwrapKey, wrapKey, decrypt, deriveBits])", - "Bad usages: generateKey({length: 128, name: AES-GCM}, true, [unwrapKey, decrypt, deriveBits])", - "Bad usages: generateKey({length: 128, name: AES-GCM}, true, [wrapKey, deriveBits])", - "Bad usages: generateKey({length: 128, name: AES-GCM}, true, [unwrapKey, wrapKey, deriveBits])", - "Bad usages: generateKey({length: 128, name: AES-GCM}, true, [unwrapKey, deriveBits])", - "Bad usages: generateKey({length: 128, name: AES-GCM}, true, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey, deriveBits])", - "Bad usages: generateKey({length: 192, name: AES-GCM}, true, [sign])", - "Bad usages: generateKey({length: 192, name: AES-GCM}, true, [encrypt, sign])", - "Bad usages: generateKey({length: 192, name: AES-GCM}, true, [decrypt, encrypt, sign])", - "Bad usages: generateKey({length: 192, name: AES-GCM}, true, [wrapKey, decrypt, encrypt, sign])", - "Bad usages: generateKey({length: 192, name: AES-GCM}, true, [unwrapKey, wrapKey, decrypt, encrypt, sign])", - "Bad usages: generateKey({length: 192, name: AES-GCM}, true, [unwrapKey, decrypt, encrypt, sign])", - "Bad usages: generateKey({length: 192, name: AES-GCM}, true, [wrapKey, encrypt, sign])", - "Bad usages: generateKey({length: 192, name: AES-GCM}, true, [unwrapKey, wrapKey, encrypt, sign])", - "Bad usages: generateKey({length: 192, name: AES-GCM}, true, [unwrapKey, encrypt, sign])", - "Bad usages: generateKey({length: 192, name: AES-GCM}, true, [decrypt, sign])", - "Bad usages: generateKey({length: 192, name: AES-GCM}, true, [wrapKey, decrypt, sign])", - "Bad usages: generateKey({length: 192, name: AES-GCM}, true, [unwrapKey, wrapKey, decrypt, sign])", - "Bad usages: generateKey({length: 192, name: AES-GCM}, true, [unwrapKey, decrypt, sign])", - "Bad usages: generateKey({length: 192, name: AES-GCM}, true, [wrapKey, sign])", - "Bad usages: generateKey({length: 192, name: AES-GCM}, true, [unwrapKey, wrapKey, sign])", - "Bad usages: generateKey({length: 192, name: AES-GCM}, true, [unwrapKey, sign])", - "Bad usages: generateKey({length: 192, name: AES-GCM}, true, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey, sign])", - "Bad usages: generateKey({length: 192, name: AES-GCM}, true, [verify])", - "Bad usages: generateKey({length: 192, name: AES-GCM}, true, [encrypt, verify])", - "Bad usages: generateKey({length: 192, name: AES-GCM}, true, [decrypt, encrypt, verify])", - "Bad usages: generateKey({length: 192, name: AES-GCM}, true, [wrapKey, decrypt, encrypt, verify])", - "Bad usages: generateKey({length: 192, name: AES-GCM}, true, [unwrapKey, wrapKey, decrypt, encrypt, verify])", - "Bad usages: generateKey({length: 192, name: AES-GCM}, true, [unwrapKey, decrypt, encrypt, verify])", - "Bad usages: generateKey({length: 192, name: AES-GCM}, true, [wrapKey, encrypt, verify])", - "Bad usages: generateKey({length: 192, name: AES-GCM}, true, [unwrapKey, wrapKey, encrypt, verify])", - "Bad usages: generateKey({length: 192, name: AES-GCM}, true, [unwrapKey, encrypt, verify])", - "Bad usages: generateKey({length: 192, name: AES-GCM}, true, [decrypt, verify])", - "Bad usages: generateKey({length: 192, name: AES-GCM}, true, [wrapKey, decrypt, verify])", - "Bad usages: generateKey({length: 192, name: AES-GCM}, true, [unwrapKey, wrapKey, decrypt, verify])", - "Bad usages: generateKey({length: 192, name: AES-GCM}, true, [unwrapKey, decrypt, verify])", - "Bad usages: generateKey({length: 192, name: AES-GCM}, true, [wrapKey, verify])", - "Bad usages: generateKey({length: 192, name: AES-GCM}, true, [unwrapKey, wrapKey, verify])", - "Bad usages: generateKey({length: 192, name: AES-GCM}, true, [unwrapKey, verify])", - "Bad usages: generateKey({length: 192, name: AES-GCM}, true, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey, verify])", - "Bad usages: generateKey({length: 192, name: AES-GCM}, true, [deriveKey])", - "Bad usages: generateKey({length: 192, name: AES-GCM}, true, [encrypt, deriveKey])", - "Bad usages: generateKey({length: 192, name: AES-GCM}, true, [decrypt, encrypt, deriveKey])", - "Bad usages: generateKey({length: 192, name: AES-GCM}, true, [wrapKey, decrypt, encrypt, deriveKey])", - "Bad usages: generateKey({length: 192, name: AES-GCM}, true, [unwrapKey, wrapKey, decrypt, encrypt, deriveKey])", - "Bad usages: generateKey({length: 192, name: AES-GCM}, true, [unwrapKey, decrypt, encrypt, deriveKey])", - "Bad usages: generateKey({length: 192, name: AES-GCM}, true, [wrapKey, encrypt, deriveKey])", - "Bad usages: generateKey({length: 192, name: AES-GCM}, true, [unwrapKey, wrapKey, encrypt, deriveKey])", - "Bad usages: generateKey({length: 192, name: AES-GCM}, true, [unwrapKey, encrypt, deriveKey])", - "Bad usages: generateKey({length: 192, name: AES-GCM}, true, [decrypt, deriveKey])", - "Bad usages: generateKey({length: 192, name: AES-GCM}, true, [wrapKey, decrypt, deriveKey])", - "Bad usages: generateKey({length: 192, name: AES-GCM}, true, [unwrapKey, wrapKey, decrypt, deriveKey])", - "Bad usages: generateKey({length: 192, name: AES-GCM}, true, [unwrapKey, decrypt, deriveKey])", - "Bad usages: generateKey({length: 192, name: AES-GCM}, true, [wrapKey, deriveKey])", - "Bad usages: generateKey({length: 192, name: AES-GCM}, true, [unwrapKey, wrapKey, deriveKey])", - "Bad usages: generateKey({length: 192, name: AES-GCM}, true, [unwrapKey, deriveKey])", - "Bad usages: generateKey({length: 192, name: AES-GCM}, true, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey, deriveKey])", - "Bad usages: generateKey({length: 192, name: AES-GCM}, true, [deriveBits])", - "Bad usages: generateKey({length: 192, name: AES-GCM}, true, [encrypt, deriveBits])", - "Bad usages: generateKey({length: 192, name: AES-GCM}, true, [decrypt, encrypt, deriveBits])", - "Bad usages: generateKey({length: 192, name: AES-GCM}, true, [wrapKey, decrypt, encrypt, deriveBits])", - "Bad usages: generateKey({length: 192, name: AES-GCM}, true, [unwrapKey, wrapKey, decrypt, encrypt, deriveBits])", - "Bad usages: generateKey({length: 192, name: AES-GCM}, true, [unwrapKey, decrypt, encrypt, deriveBits])", - "Bad usages: generateKey({length: 192, name: AES-GCM}, true, [wrapKey, encrypt, deriveBits])", - "Bad usages: generateKey({length: 192, name: AES-GCM}, true, [unwrapKey, wrapKey, encrypt, deriveBits])", - "Bad usages: generateKey({length: 192, name: AES-GCM}, true, [unwrapKey, encrypt, deriveBits])", - "Bad usages: generateKey({length: 192, name: AES-GCM}, true, [decrypt, deriveBits])", - "Bad usages: generateKey({length: 192, name: AES-GCM}, true, [wrapKey, decrypt, deriveBits])", - "Bad usages: generateKey({length: 192, name: AES-GCM}, true, [unwrapKey, wrapKey, decrypt, deriveBits])", - "Bad usages: generateKey({length: 192, name: AES-GCM}, true, [unwrapKey, decrypt, deriveBits])", - "Bad usages: generateKey({length: 192, name: AES-GCM}, true, [wrapKey, deriveBits])", - "Bad usages: generateKey({length: 192, name: AES-GCM}, true, [unwrapKey, wrapKey, deriveBits])", - "Bad usages: generateKey({length: 192, name: AES-GCM}, true, [unwrapKey, deriveBits])", - "Bad usages: generateKey({length: 192, name: AES-GCM}, true, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey, deriveBits])", - "Bad usages: generateKey({length: 256, name: AES-GCM}, true, [sign])", - "Bad usages: generateKey({length: 256, name: AES-GCM}, true, [encrypt, sign])", - "Bad usages: generateKey({length: 256, name: AES-GCM}, true, [decrypt, encrypt, sign])", - "Bad usages: generateKey({length: 256, name: AES-GCM}, true, [wrapKey, decrypt, encrypt, sign])", - "Bad usages: generateKey({length: 256, name: AES-GCM}, true, [unwrapKey, wrapKey, decrypt, encrypt, sign])", - "Bad usages: generateKey({length: 256, name: AES-GCM}, true, [unwrapKey, decrypt, encrypt, sign])", - "Bad usages: generateKey({length: 256, name: AES-GCM}, true, [wrapKey, encrypt, sign])", - "Bad usages: generateKey({length: 256, name: AES-GCM}, true, [unwrapKey, wrapKey, encrypt, sign])", - "Bad usages: generateKey({length: 256, name: AES-GCM}, true, [unwrapKey, encrypt, sign])", - "Bad usages: generateKey({length: 256, name: AES-GCM}, true, [decrypt, sign])", - "Bad usages: generateKey({length: 256, name: AES-GCM}, true, [wrapKey, decrypt, sign])", - "Bad usages: generateKey({length: 256, name: AES-GCM}, true, [unwrapKey, wrapKey, decrypt, sign])", - "Bad usages: generateKey({length: 256, name: AES-GCM}, true, [unwrapKey, decrypt, sign])", - "Bad usages: generateKey({length: 256, name: AES-GCM}, true, [wrapKey, sign])", - "Bad usages: generateKey({length: 256, name: AES-GCM}, true, [unwrapKey, wrapKey, sign])", - "Bad usages: generateKey({length: 256, name: AES-GCM}, true, [unwrapKey, sign])", - "Bad usages: generateKey({length: 256, name: AES-GCM}, true, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey, sign])", - "Bad usages: generateKey({length: 256, name: AES-GCM}, true, [verify])", - "Bad usages: generateKey({length: 256, name: AES-GCM}, true, [encrypt, verify])", - "Bad usages: generateKey({length: 256, name: AES-GCM}, true, [decrypt, encrypt, verify])", - "Bad usages: generateKey({length: 256, name: AES-GCM}, true, [wrapKey, decrypt, encrypt, verify])", - "Bad usages: generateKey({length: 256, name: AES-GCM}, true, [unwrapKey, wrapKey, decrypt, encrypt, verify])", - "Bad usages: generateKey({length: 256, name: AES-GCM}, true, [unwrapKey, decrypt, encrypt, verify])", - "Bad usages: generateKey({length: 256, name: AES-GCM}, true, [wrapKey, encrypt, verify])", - "Bad usages: generateKey({length: 256, name: AES-GCM}, true, [unwrapKey, wrapKey, encrypt, verify])", - "Bad usages: generateKey({length: 256, name: AES-GCM}, true, [unwrapKey, encrypt, verify])", - "Bad usages: generateKey({length: 256, name: AES-GCM}, true, [decrypt, verify])", - "Bad usages: generateKey({length: 256, name: AES-GCM}, true, [wrapKey, decrypt, verify])", - "Bad usages: generateKey({length: 256, name: AES-GCM}, true, [unwrapKey, wrapKey, decrypt, verify])", - "Bad usages: generateKey({length: 256, name: AES-GCM}, true, [unwrapKey, decrypt, verify])", - "Bad usages: generateKey({length: 256, name: AES-GCM}, true, [wrapKey, verify])", - "Bad usages: generateKey({length: 256, name: AES-GCM}, true, [unwrapKey, wrapKey, verify])", - "Bad usages: generateKey({length: 256, name: AES-GCM}, true, [unwrapKey, verify])", - "Bad usages: generateKey({length: 256, name: AES-GCM}, true, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey, verify])", - "Bad usages: generateKey({length: 256, name: AES-GCM}, true, [deriveKey])", - "Bad usages: generateKey({length: 256, name: AES-GCM}, true, [encrypt, deriveKey])", - "Bad usages: generateKey({length: 256, name: AES-GCM}, true, [decrypt, encrypt, deriveKey])", - "Bad usages: generateKey({length: 256, name: AES-GCM}, true, [wrapKey, decrypt, encrypt, deriveKey])", - "Bad usages: generateKey({length: 256, name: AES-GCM}, true, [unwrapKey, wrapKey, decrypt, encrypt, deriveKey])", - "Bad usages: generateKey({length: 256, name: AES-GCM}, true, [unwrapKey, decrypt, encrypt, deriveKey])", - "Bad usages: generateKey({length: 256, name: AES-GCM}, true, [wrapKey, encrypt, deriveKey])", - "Bad usages: generateKey({length: 256, name: AES-GCM}, true, [unwrapKey, wrapKey, encrypt, deriveKey])", - "Bad usages: generateKey({length: 256, name: AES-GCM}, true, [unwrapKey, encrypt, deriveKey])", - "Bad usages: generateKey({length: 256, name: AES-GCM}, true, [decrypt, deriveKey])", - "Bad usages: generateKey({length: 256, name: AES-GCM}, true, [wrapKey, decrypt, deriveKey])", - "Bad usages: generateKey({length: 256, name: AES-GCM}, true, [unwrapKey, wrapKey, decrypt, deriveKey])", - "Bad usages: generateKey({length: 256, name: AES-GCM}, true, [unwrapKey, decrypt, deriveKey])", - "Bad usages: generateKey({length: 256, name: AES-GCM}, true, [wrapKey, deriveKey])", - "Bad usages: generateKey({length: 256, name: AES-GCM}, true, [unwrapKey, wrapKey, deriveKey])", - "Bad usages: generateKey({length: 256, name: AES-GCM}, true, [unwrapKey, deriveKey])", - "Bad usages: generateKey({length: 256, name: AES-GCM}, true, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey, deriveKey])", - "Bad usages: generateKey({length: 256, name: AES-GCM}, true, [deriveBits])", - "Bad usages: generateKey({length: 256, name: AES-GCM}, true, [encrypt, deriveBits])", - "Bad usages: generateKey({length: 256, name: AES-GCM}, true, [decrypt, encrypt, deriveBits])", - "Bad usages: generateKey({length: 256, name: AES-GCM}, true, [wrapKey, decrypt, encrypt, deriveBits])", - "Bad usages: generateKey({length: 256, name: AES-GCM}, true, [unwrapKey, wrapKey, decrypt, encrypt, deriveBits])", - "Bad usages: generateKey({length: 256, name: AES-GCM}, true, [unwrapKey, decrypt, encrypt, deriveBits])", - "Bad usages: generateKey({length: 256, name: AES-GCM}, true, [wrapKey, encrypt, deriveBits])", - "Bad usages: generateKey({length: 256, name: AES-GCM}, true, [unwrapKey, wrapKey, encrypt, deriveBits])", - "Bad usages: generateKey({length: 256, name: AES-GCM}, true, [unwrapKey, encrypt, deriveBits])", - "Bad usages: generateKey({length: 256, name: AES-GCM}, true, [decrypt, deriveBits])", - "Bad usages: generateKey({length: 256, name: AES-GCM}, true, [wrapKey, decrypt, deriveBits])", - "Bad usages: generateKey({length: 256, name: AES-GCM}, true, [unwrapKey, wrapKey, decrypt, deriveBits])", - "Bad usages: generateKey({length: 256, name: AES-GCM}, true, [unwrapKey, decrypt, deriveBits])", - "Bad usages: generateKey({length: 256, name: AES-GCM}, true, [wrapKey, deriveBits])", - "Bad usages: generateKey({length: 256, name: AES-GCM}, true, [unwrapKey, wrapKey, deriveBits])", - "Bad usages: generateKey({length: 256, name: AES-GCM}, true, [unwrapKey, deriveBits])", - "Bad usages: generateKey({length: 256, name: AES-GCM}, true, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey, deriveBits])", - "Bad algorithm property: generateKey({length: 64, name: AES-GCM}, false, [encrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-GCM}, true, [encrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-GCM}, false, [decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-GCM}, true, [decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-GCM}, false, [wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-GCM}, true, [wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-GCM}, false, [unwrapKey, wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-GCM}, true, [unwrapKey, wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-GCM}, false, [unwrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-GCM}, true, [unwrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-GCM}, false, [wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-GCM}, true, [wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-GCM}, false, [unwrapKey, wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-GCM}, true, [unwrapKey, wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-GCM}, false, [unwrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-GCM}, true, [unwrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-GCM}, false, [decrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-GCM}, true, [decrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-GCM}, false, [wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-GCM}, true, [wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-GCM}, false, [unwrapKey, wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-GCM}, true, [unwrapKey, wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-GCM}, false, [unwrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-GCM}, true, [unwrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 64, name: AES-GCM}, false, [wrapKey])", - "Bad algorithm property: generateKey({length: 64, name: AES-GCM}, true, [wrapKey])", - "Bad algorithm property: generateKey({length: 64, name: AES-GCM}, false, [unwrapKey, wrapKey])", - "Bad algorithm property: generateKey({length: 64, name: AES-GCM}, true, [unwrapKey, wrapKey])", - "Bad algorithm property: generateKey({length: 64, name: AES-GCM}, false, [unwrapKey])", - "Bad algorithm property: generateKey({length: 64, name: AES-GCM}, true, [unwrapKey])", - "Bad algorithm property: generateKey({length: 64, name: AES-GCM}, false, [])", - "Bad algorithm property: generateKey({length: 64, name: AES-GCM}, true, [])", - "Bad algorithm property: generateKey({length: 64, name: AES-GCM}, false, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey])", - "Bad algorithm property: generateKey({length: 64, name: AES-GCM}, true, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey])", - "Bad algorithm property: generateKey({length: 127, name: AES-GCM}, false, [encrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-GCM}, true, [encrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-GCM}, false, [decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-GCM}, true, [decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-GCM}, false, [wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-GCM}, true, [wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-GCM}, false, [unwrapKey, wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-GCM}, true, [unwrapKey, wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-GCM}, false, [unwrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-GCM}, true, [unwrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-GCM}, false, [wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-GCM}, true, [wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-GCM}, false, [unwrapKey, wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-GCM}, true, [unwrapKey, wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-GCM}, false, [unwrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-GCM}, true, [unwrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-GCM}, false, [decrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-GCM}, true, [decrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-GCM}, false, [wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-GCM}, true, [wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-GCM}, false, [unwrapKey, wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-GCM}, true, [unwrapKey, wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-GCM}, false, [unwrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-GCM}, true, [unwrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 127, name: AES-GCM}, false, [wrapKey])", - "Bad algorithm property: generateKey({length: 127, name: AES-GCM}, true, [wrapKey])", - "Bad algorithm property: generateKey({length: 127, name: AES-GCM}, false, [unwrapKey, wrapKey])", - "Bad algorithm property: generateKey({length: 127, name: AES-GCM}, true, [unwrapKey, wrapKey])", - "Bad algorithm property: generateKey({length: 127, name: AES-GCM}, false, [unwrapKey])", - "Bad algorithm property: generateKey({length: 127, name: AES-GCM}, true, [unwrapKey])", - "Bad algorithm property: generateKey({length: 127, name: AES-GCM}, false, [])", - "Bad algorithm property: generateKey({length: 127, name: AES-GCM}, true, [])", - "Bad algorithm property: generateKey({length: 127, name: AES-GCM}, false, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey])", - "Bad algorithm property: generateKey({length: 127, name: AES-GCM}, true, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey])", - "Bad algorithm property: generateKey({length: 129, name: AES-GCM}, false, [encrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-GCM}, true, [encrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-GCM}, false, [decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-GCM}, true, [decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-GCM}, false, [wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-GCM}, true, [wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-GCM}, false, [unwrapKey, wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-GCM}, true, [unwrapKey, wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-GCM}, false, [unwrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-GCM}, true, [unwrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-GCM}, false, [wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-GCM}, true, [wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-GCM}, false, [unwrapKey, wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-GCM}, true, [unwrapKey, wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-GCM}, false, [unwrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-GCM}, true, [unwrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-GCM}, false, [decrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-GCM}, true, [decrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-GCM}, false, [wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-GCM}, true, [wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-GCM}, false, [unwrapKey, wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-GCM}, true, [unwrapKey, wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-GCM}, false, [unwrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-GCM}, true, [unwrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 129, name: AES-GCM}, false, [wrapKey])", - "Bad algorithm property: generateKey({length: 129, name: AES-GCM}, true, [wrapKey])", - "Bad algorithm property: generateKey({length: 129, name: AES-GCM}, false, [unwrapKey, wrapKey])", - "Bad algorithm property: generateKey({length: 129, name: AES-GCM}, true, [unwrapKey, wrapKey])", - "Bad algorithm property: generateKey({length: 129, name: AES-GCM}, false, [unwrapKey])", - "Bad algorithm property: generateKey({length: 129, name: AES-GCM}, true, [unwrapKey])", - "Bad algorithm property: generateKey({length: 129, name: AES-GCM}, false, [])", - "Bad algorithm property: generateKey({length: 129, name: AES-GCM}, true, [])", - "Bad algorithm property: generateKey({length: 129, name: AES-GCM}, false, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey])", - "Bad algorithm property: generateKey({length: 129, name: AES-GCM}, true, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey])", - "Bad algorithm property: generateKey({length: 255, name: AES-GCM}, false, [encrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-GCM}, true, [encrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-GCM}, false, [decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-GCM}, true, [decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-GCM}, false, [wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-GCM}, true, [wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-GCM}, false, [unwrapKey, wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-GCM}, true, [unwrapKey, wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-GCM}, false, [unwrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-GCM}, true, [unwrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-GCM}, false, [wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-GCM}, true, [wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-GCM}, false, [unwrapKey, wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-GCM}, true, [unwrapKey, wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-GCM}, false, [unwrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-GCM}, true, [unwrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-GCM}, false, [decrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-GCM}, true, [decrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-GCM}, false, [wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-GCM}, true, [wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-GCM}, false, [unwrapKey, wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-GCM}, true, [unwrapKey, wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-GCM}, false, [unwrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-GCM}, true, [unwrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 255, name: AES-GCM}, false, [wrapKey])", - "Bad algorithm property: generateKey({length: 255, name: AES-GCM}, true, [wrapKey])", - "Bad algorithm property: generateKey({length: 255, name: AES-GCM}, false, [unwrapKey, wrapKey])", - "Bad algorithm property: generateKey({length: 255, name: AES-GCM}, true, [unwrapKey, wrapKey])", - "Bad algorithm property: generateKey({length: 255, name: AES-GCM}, false, [unwrapKey])", - "Bad algorithm property: generateKey({length: 255, name: AES-GCM}, true, [unwrapKey])", - "Bad algorithm property: generateKey({length: 255, name: AES-GCM}, false, [])", - "Bad algorithm property: generateKey({length: 255, name: AES-GCM}, true, [])", - "Bad algorithm property: generateKey({length: 255, name: AES-GCM}, false, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey])", - "Bad algorithm property: generateKey({length: 255, name: AES-GCM}, true, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey])", - "Bad algorithm property: generateKey({length: 257, name: AES-GCM}, false, [encrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-GCM}, true, [encrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-GCM}, false, [decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-GCM}, true, [decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-GCM}, false, [wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-GCM}, true, [wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-GCM}, false, [unwrapKey, wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-GCM}, true, [unwrapKey, wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-GCM}, false, [unwrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-GCM}, true, [unwrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-GCM}, false, [wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-GCM}, true, [wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-GCM}, false, [unwrapKey, wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-GCM}, true, [unwrapKey, wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-GCM}, false, [unwrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-GCM}, true, [unwrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-GCM}, false, [decrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-GCM}, true, [decrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-GCM}, false, [wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-GCM}, true, [wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-GCM}, false, [unwrapKey, wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-GCM}, true, [unwrapKey, wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-GCM}, false, [unwrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-GCM}, true, [unwrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 257, name: AES-GCM}, false, [wrapKey])", - "Bad algorithm property: generateKey({length: 257, name: AES-GCM}, true, [wrapKey])", - "Bad algorithm property: generateKey({length: 257, name: AES-GCM}, false, [unwrapKey, wrapKey])", - "Bad algorithm property: generateKey({length: 257, name: AES-GCM}, true, [unwrapKey, wrapKey])", - "Bad algorithm property: generateKey({length: 257, name: AES-GCM}, false, [unwrapKey])", - "Bad algorithm property: generateKey({length: 257, name: AES-GCM}, true, [unwrapKey])", - "Bad algorithm property: generateKey({length: 257, name: AES-GCM}, false, [])", - "Bad algorithm property: generateKey({length: 257, name: AES-GCM}, true, [])", - "Bad algorithm property: generateKey({length: 257, name: AES-GCM}, false, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey])", - "Bad algorithm property: generateKey({length: 257, name: AES-GCM}, true, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey])", - "Bad algorithm property: generateKey({length: 512, name: AES-GCM}, false, [encrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-GCM}, true, [encrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-GCM}, false, [decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-GCM}, true, [decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-GCM}, false, [wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-GCM}, true, [wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-GCM}, false, [unwrapKey, wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-GCM}, true, [unwrapKey, wrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-GCM}, false, [unwrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-GCM}, true, [unwrapKey, decrypt, encrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-GCM}, false, [wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-GCM}, true, [wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-GCM}, false, [unwrapKey, wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-GCM}, true, [unwrapKey, wrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-GCM}, false, [unwrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-GCM}, true, [unwrapKey, encrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-GCM}, false, [decrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-GCM}, true, [decrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-GCM}, false, [wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-GCM}, true, [wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-GCM}, false, [unwrapKey, wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-GCM}, true, [unwrapKey, wrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-GCM}, false, [unwrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-GCM}, true, [unwrapKey, decrypt])", - "Bad algorithm property: generateKey({length: 512, name: AES-GCM}, false, [wrapKey])", - "Bad algorithm property: generateKey({length: 512, name: AES-GCM}, true, [wrapKey])", - "Bad algorithm property: generateKey({length: 512, name: AES-GCM}, false, [unwrapKey, wrapKey])", - "Bad algorithm property: generateKey({length: 512, name: AES-GCM}, true, [unwrapKey, wrapKey])", - "Bad algorithm property: generateKey({length: 512, name: AES-GCM}, false, [unwrapKey])", - "Bad algorithm property: generateKey({length: 512, name: AES-GCM}, true, [unwrapKey])", - "Bad algorithm property: generateKey({length: 512, name: AES-GCM}, false, [])", - "Bad algorithm property: generateKey({length: 512, name: AES-GCM}, true, [])", - "Bad algorithm property: generateKey({length: 512, name: AES-GCM}, false, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey])", - "Bad algorithm property: generateKey({length: 512, name: AES-GCM}, true, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey])", - "Empty usages: generateKey({length: 128, name: AES-GCM}, false, [])", - "Empty usages: generateKey({length: 128, name: AES-GCM}, true, [])", - "Empty usages: generateKey({length: 192, name: AES-GCM}, false, [])", - "Empty usages: generateKey({length: 192, name: AES-GCM}, true, [])", - "Empty usages: generateKey({length: 256, name: AES-GCM}, false, [])", - "Empty usages: generateKey({length: 256, name: AES-GCM}, true, [])" - ], - "failures_AES-KW.https.any.html": [ - "Bad usages: generateKey({length: 128, name: AES-KW}, true, [encrypt])", - "Bad usages: generateKey({length: 128, name: AES-KW}, true, [wrapKey, encrypt])", - "Bad usages: generateKey({length: 128, name: AES-KW}, true, [unwrapKey, wrapKey, encrypt])", - "Bad usages: generateKey({length: 128, name: AES-KW}, true, [unwrapKey, encrypt])", - "Bad usages: generateKey({length: 128, name: AES-KW}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey, encrypt])", - "Bad usages: generateKey({length: 128, name: AES-KW}, true, [decrypt])", - "Bad usages: generateKey({length: 128, name: AES-KW}, true, [wrapKey, decrypt])", - "Bad usages: generateKey({length: 128, name: AES-KW}, true, [unwrapKey, wrapKey, decrypt])", - "Bad usages: generateKey({length: 128, name: AES-KW}, true, [unwrapKey, decrypt])", - "Bad usages: generateKey({length: 128, name: AES-KW}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey, decrypt])", - "Bad usages: generateKey({length: 128, name: AES-KW}, true, [sign])", - "Bad usages: generateKey({length: 128, name: AES-KW}, true, [wrapKey, sign])", - "Bad usages: generateKey({length: 128, name: AES-KW}, true, [unwrapKey, wrapKey, sign])", - "Bad usages: generateKey({length: 128, name: AES-KW}, true, [unwrapKey, sign])", - "Bad usages: generateKey({length: 128, name: AES-KW}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey, sign])", - "Bad usages: generateKey({length: 128, name: AES-KW}, true, [verify])", - "Bad usages: generateKey({length: 128, name: AES-KW}, true, [wrapKey, verify])", - "Bad usages: generateKey({length: 128, name: AES-KW}, true, [unwrapKey, wrapKey, verify])", - "Bad usages: generateKey({length: 128, name: AES-KW}, true, [unwrapKey, verify])", - "Bad usages: generateKey({length: 128, name: AES-KW}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey, verify])", - "Bad usages: generateKey({length: 128, name: AES-KW}, true, [deriveKey])", - "Bad usages: generateKey({length: 128, name: AES-KW}, true, [wrapKey, deriveKey])", - "Bad usages: generateKey({length: 128, name: AES-KW}, true, [unwrapKey, wrapKey, deriveKey])", - "Bad usages: generateKey({length: 128, name: AES-KW}, true, [unwrapKey, deriveKey])", - "Bad usages: generateKey({length: 128, name: AES-KW}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey, deriveKey])", - "Bad usages: generateKey({length: 128, name: AES-KW}, true, [deriveBits])", - "Bad usages: generateKey({length: 128, name: AES-KW}, true, [wrapKey, deriveBits])", - "Bad usages: generateKey({length: 128, name: AES-KW}, true, [unwrapKey, wrapKey, deriveBits])", - "Bad usages: generateKey({length: 128, name: AES-KW}, true, [unwrapKey, deriveBits])", - "Bad usages: generateKey({length: 128, name: AES-KW}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey, deriveBits])", - "Bad usages: generateKey({length: 192, name: AES-KW}, true, [encrypt])", - "Bad usages: generateKey({length: 192, name: AES-KW}, true, [wrapKey, encrypt])", - "Bad usages: generateKey({length: 192, name: AES-KW}, true, [unwrapKey, wrapKey, encrypt])", - "Bad usages: generateKey({length: 192, name: AES-KW}, true, [unwrapKey, encrypt])", - "Bad usages: generateKey({length: 192, name: AES-KW}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey, encrypt])", - "Bad usages: generateKey({length: 192, name: AES-KW}, true, [decrypt])", - "Bad usages: generateKey({length: 192, name: AES-KW}, true, [wrapKey, decrypt])", - "Bad usages: generateKey({length: 192, name: AES-KW}, true, [unwrapKey, wrapKey, decrypt])", - "Bad usages: generateKey({length: 192, name: AES-KW}, true, [unwrapKey, decrypt])", - "Bad usages: generateKey({length: 192, name: AES-KW}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey, decrypt])", - "Bad usages: generateKey({length: 192, name: AES-KW}, true, [sign])", - "Bad usages: generateKey({length: 192, name: AES-KW}, true, [wrapKey, sign])", - "Bad usages: generateKey({length: 192, name: AES-KW}, true, [unwrapKey, wrapKey, sign])", - "Bad usages: generateKey({length: 192, name: AES-KW}, true, [unwrapKey, sign])", - "Bad usages: generateKey({length: 192, name: AES-KW}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey, sign])", - "Bad usages: generateKey({length: 192, name: AES-KW}, true, [verify])", - "Bad usages: generateKey({length: 192, name: AES-KW}, true, [wrapKey, verify])", - "Bad usages: generateKey({length: 192, name: AES-KW}, true, [unwrapKey, wrapKey, verify])", - "Bad usages: generateKey({length: 192, name: AES-KW}, true, [unwrapKey, verify])", - "Bad usages: generateKey({length: 192, name: AES-KW}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey, verify])", - "Bad usages: generateKey({length: 192, name: AES-KW}, true, [deriveKey])", - "Bad usages: generateKey({length: 192, name: AES-KW}, true, [wrapKey, deriveKey])", - "Bad usages: generateKey({length: 192, name: AES-KW}, true, [unwrapKey, wrapKey, deriveKey])", - "Bad usages: generateKey({length: 192, name: AES-KW}, true, [unwrapKey, deriveKey])", - "Bad usages: generateKey({length: 192, name: AES-KW}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey, deriveKey])", - "Bad usages: generateKey({length: 192, name: AES-KW}, true, [deriveBits])", - "Bad usages: generateKey({length: 192, name: AES-KW}, true, [wrapKey, deriveBits])", - "Bad usages: generateKey({length: 192, name: AES-KW}, true, [unwrapKey, wrapKey, deriveBits])", - "Bad usages: generateKey({length: 192, name: AES-KW}, true, [unwrapKey, deriveBits])", - "Bad usages: generateKey({length: 192, name: AES-KW}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey, deriveBits])", - "Bad usages: generateKey({length: 256, name: AES-KW}, true, [encrypt])", - "Bad usages: generateKey({length: 256, name: AES-KW}, true, [wrapKey, encrypt])", - "Bad usages: generateKey({length: 256, name: AES-KW}, true, [unwrapKey, wrapKey, encrypt])", - "Bad usages: generateKey({length: 256, name: AES-KW}, true, [unwrapKey, encrypt])", - "Bad usages: generateKey({length: 256, name: AES-KW}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey, encrypt])", - "Bad usages: generateKey({length: 256, name: AES-KW}, true, [decrypt])", - "Bad usages: generateKey({length: 256, name: AES-KW}, true, [wrapKey, decrypt])", - "Bad usages: generateKey({length: 256, name: AES-KW}, true, [unwrapKey, wrapKey, decrypt])", - "Bad usages: generateKey({length: 256, name: AES-KW}, true, [unwrapKey, decrypt])", - "Bad usages: generateKey({length: 256, name: AES-KW}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey, decrypt])", - "Bad usages: generateKey({length: 256, name: AES-KW}, true, [sign])", - "Bad usages: generateKey({length: 256, name: AES-KW}, true, [wrapKey, sign])", - "Bad usages: generateKey({length: 256, name: AES-KW}, true, [unwrapKey, wrapKey, sign])", - "Bad usages: generateKey({length: 256, name: AES-KW}, true, [unwrapKey, sign])", - "Bad usages: generateKey({length: 256, name: AES-KW}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey, sign])", - "Bad usages: generateKey({length: 256, name: AES-KW}, true, [verify])", - "Bad usages: generateKey({length: 256, name: AES-KW}, true, [wrapKey, verify])", - "Bad usages: generateKey({length: 256, name: AES-KW}, true, [unwrapKey, wrapKey, verify])", - "Bad usages: generateKey({length: 256, name: AES-KW}, true, [unwrapKey, verify])", - "Bad usages: generateKey({length: 256, name: AES-KW}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey, verify])", - "Bad usages: generateKey({length: 256, name: AES-KW}, true, [deriveKey])", - "Bad usages: generateKey({length: 256, name: AES-KW}, true, [wrapKey, deriveKey])", - "Bad usages: generateKey({length: 256, name: AES-KW}, true, [unwrapKey, wrapKey, deriveKey])", - "Bad usages: generateKey({length: 256, name: AES-KW}, true, [unwrapKey, deriveKey])", - "Bad usages: generateKey({length: 256, name: AES-KW}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey, deriveKey])", - "Bad usages: generateKey({length: 256, name: AES-KW}, true, [deriveBits])", - "Bad usages: generateKey({length: 256, name: AES-KW}, true, [wrapKey, deriveBits])", - "Bad usages: generateKey({length: 256, name: AES-KW}, true, [unwrapKey, wrapKey, deriveBits])", - "Bad usages: generateKey({length: 256, name: AES-KW}, true, [unwrapKey, deriveBits])", - "Bad usages: generateKey({length: 256, name: AES-KW}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey, deriveBits])", - "Bad algorithm property: generateKey({length: 64, name: AES-KW}, false, [wrapKey])", - "Bad algorithm property: generateKey({length: 64, name: AES-KW}, true, [wrapKey])", - "Bad algorithm property: generateKey({length: 64, name: AES-KW}, false, [unwrapKey, wrapKey])", - "Bad algorithm property: generateKey({length: 64, name: AES-KW}, true, [unwrapKey, wrapKey])", - "Bad algorithm property: generateKey({length: 64, name: AES-KW}, false, [unwrapKey])", - "Bad algorithm property: generateKey({length: 64, name: AES-KW}, true, [unwrapKey])", - "Bad algorithm property: generateKey({length: 64, name: AES-KW}, false, [])", - "Bad algorithm property: generateKey({length: 64, name: AES-KW}, true, [])", - "Bad algorithm property: generateKey({length: 64, name: AES-KW}, false, [wrapKey, unwrapKey, wrapKey, unwrapKey])", - "Bad algorithm property: generateKey({length: 64, name: AES-KW}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey])", - "Bad algorithm property: generateKey({length: 127, name: AES-KW}, false, [wrapKey])", - "Bad algorithm property: generateKey({length: 127, name: AES-KW}, true, [wrapKey])", - "Bad algorithm property: generateKey({length: 127, name: AES-KW}, false, [unwrapKey, wrapKey])", - "Bad algorithm property: generateKey({length: 127, name: AES-KW}, true, [unwrapKey, wrapKey])", - "Bad algorithm property: generateKey({length: 127, name: AES-KW}, false, [unwrapKey])", - "Bad algorithm property: generateKey({length: 127, name: AES-KW}, true, [unwrapKey])", - "Bad algorithm property: generateKey({length: 127, name: AES-KW}, false, [])", - "Bad algorithm property: generateKey({length: 127, name: AES-KW}, true, [])", - "Bad algorithm property: generateKey({length: 127, name: AES-KW}, false, [wrapKey, unwrapKey, wrapKey, unwrapKey])", - "Bad algorithm property: generateKey({length: 127, name: AES-KW}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey])", - "Bad algorithm property: generateKey({length: 129, name: AES-KW}, false, [wrapKey])", - "Bad algorithm property: generateKey({length: 129, name: AES-KW}, true, [wrapKey])", - "Bad algorithm property: generateKey({length: 129, name: AES-KW}, false, [unwrapKey, wrapKey])", - "Bad algorithm property: generateKey({length: 129, name: AES-KW}, true, [unwrapKey, wrapKey])", - "Bad algorithm property: generateKey({length: 129, name: AES-KW}, false, [unwrapKey])", - "Bad algorithm property: generateKey({length: 129, name: AES-KW}, true, [unwrapKey])", - "Bad algorithm property: generateKey({length: 129, name: AES-KW}, false, [])", - "Bad algorithm property: generateKey({length: 129, name: AES-KW}, true, [])", - "Bad algorithm property: generateKey({length: 129, name: AES-KW}, false, [wrapKey, unwrapKey, wrapKey, unwrapKey])", - "Bad algorithm property: generateKey({length: 129, name: AES-KW}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey])", - "Bad algorithm property: generateKey({length: 255, name: AES-KW}, false, [wrapKey])", - "Bad algorithm property: generateKey({length: 255, name: AES-KW}, true, [wrapKey])", - "Bad algorithm property: generateKey({length: 255, name: AES-KW}, false, [unwrapKey, wrapKey])", - "Bad algorithm property: generateKey({length: 255, name: AES-KW}, true, [unwrapKey, wrapKey])", - "Bad algorithm property: generateKey({length: 255, name: AES-KW}, false, [unwrapKey])", - "Bad algorithm property: generateKey({length: 255, name: AES-KW}, true, [unwrapKey])", - "Bad algorithm property: generateKey({length: 255, name: AES-KW}, false, [])", - "Bad algorithm property: generateKey({length: 255, name: AES-KW}, true, [])", - "Bad algorithm property: generateKey({length: 255, name: AES-KW}, false, [wrapKey, unwrapKey, wrapKey, unwrapKey])", - "Bad algorithm property: generateKey({length: 255, name: AES-KW}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey])", - "Bad algorithm property: generateKey({length: 257, name: AES-KW}, false, [wrapKey])", - "Bad algorithm property: generateKey({length: 257, name: AES-KW}, true, [wrapKey])", - "Bad algorithm property: generateKey({length: 257, name: AES-KW}, false, [unwrapKey, wrapKey])", - "Bad algorithm property: generateKey({length: 257, name: AES-KW}, true, [unwrapKey, wrapKey])", - "Bad algorithm property: generateKey({length: 257, name: AES-KW}, false, [unwrapKey])", - "Bad algorithm property: generateKey({length: 257, name: AES-KW}, true, [unwrapKey])", - "Bad algorithm property: generateKey({length: 257, name: AES-KW}, false, [])", - "Bad algorithm property: generateKey({length: 257, name: AES-KW}, true, [])", - "Bad algorithm property: generateKey({length: 257, name: AES-KW}, false, [wrapKey, unwrapKey, wrapKey, unwrapKey])", - "Bad algorithm property: generateKey({length: 257, name: AES-KW}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey])", - "Bad algorithm property: generateKey({length: 512, name: AES-KW}, false, [wrapKey])", - "Bad algorithm property: generateKey({length: 512, name: AES-KW}, true, [wrapKey])", - "Bad algorithm property: generateKey({length: 512, name: AES-KW}, false, [unwrapKey, wrapKey])", - "Bad algorithm property: generateKey({length: 512, name: AES-KW}, true, [unwrapKey, wrapKey])", - "Bad algorithm property: generateKey({length: 512, name: AES-KW}, false, [unwrapKey])", - "Bad algorithm property: generateKey({length: 512, name: AES-KW}, true, [unwrapKey])", - "Bad algorithm property: generateKey({length: 512, name: AES-KW}, false, [])", - "Bad algorithm property: generateKey({length: 512, name: AES-KW}, true, [])", - "Bad algorithm property: generateKey({length: 512, name: AES-KW}, false, [wrapKey, unwrapKey, wrapKey, unwrapKey])", - "Bad algorithm property: generateKey({length: 512, name: AES-KW}, true, [wrapKey, unwrapKey, wrapKey, unwrapKey])", - "Empty usages: generateKey({length: 128, name: AES-KW}, false, [])", - "Empty usages: generateKey({length: 128, name: AES-KW}, true, [])", - "Empty usages: generateKey({length: 192, name: AES-KW}, false, [])", - "Empty usages: generateKey({length: 192, name: AES-KW}, true, [])", - "Empty usages: generateKey({length: 256, name: AES-KW}, false, [])", - "Empty usages: generateKey({length: 256, name: AES-KW}, true, [])" - ], + "failures_AES-CBC.https.any.html": true, + "failures_AES-CTR.https.any.html": true, + "failures_AES-GCM.https.any.html": true, + "failures_AES-KW.https.any.html": true, "failures_ECDH.https.any.html": [ "Bad usages: generateKey({name: ECDH, namedCurve: P-256}, true, [encrypt])", "Bad usages: generateKey({name: ECDH, namedCurve: P-256}, true, [deriveKey, encrypt])", @@ -13819,10 +12417,10 @@ "failures_RSA-OAEP.https.any.html": true, "failures_RSA-PSS.https.any.html": true, "failures_RSASSA-PKCS1-v1_5.https.any.html": true, - "successes_AES-CBC.https.any.html": false, - "successes_AES-CTR.https.any.html": false, - "successes_AES-GCM.https.any.html": false, - "successes_AES-KW.https.any.html": false, + "successes_AES-CBC.https.any.html": true, + "successes_AES-CTR.https.any.html": true, + "successes_AES-GCM.https.any.html": true, + "successes_AES-KW.https.any.html": true, "successes_HMAC.https.any.html": true, "successes_ECDH.https.any.html": false, "successes_ECDSA.https.any.html": [