Index: third_party/WebKit/LayoutTests/external/wpt/WebCryptoAPI/generateKey/test_successes_AES-GCM.https-expected.txt |
diff --git a/third_party/WebKit/LayoutTests/external/wpt/WebCryptoAPI/generateKey/test_successes_AES-GCM.https-expected.txt b/third_party/WebKit/LayoutTests/external/wpt/WebCryptoAPI/generateKey/test_successes_AES-GCM.https-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..6b64fc071a3ead85b095316a2e7cd3f0ec5a21c5 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/external/wpt/WebCryptoAPI/generateKey/test_successes_AES-GCM.https-expected.txt |
@@ -0,0 +1,291 @@ |
+This is a testharness.js-based test. |
+PASS Success: generateKey({length: 128, name: AES-GCM}, false, [encrypt]) |
+PASS Success: generateKey({length: 128, name: AES-GCM}, true, [encrypt]) |
+PASS Success: generateKey({length: 128, name: AES-GCM}, false, [decrypt, encrypt]) |
+PASS Success: generateKey({length: 128, name: AES-GCM}, true, [decrypt, encrypt]) |
+PASS Success: generateKey({length: 128, name: AES-GCM}, false, [wrapKey, decrypt, encrypt]) |
+PASS Success: generateKey({length: 128, name: AES-GCM}, true, [wrapKey, decrypt, encrypt]) |
+PASS Success: generateKey({length: 128, name: AES-GCM}, false, [unwrapKey, wrapKey, decrypt, encrypt]) |
+PASS Success: generateKey({length: 128, name: AES-GCM}, true, [unwrapKey, wrapKey, decrypt, encrypt]) |
+PASS Success: generateKey({length: 128, name: AES-GCM}, false, [unwrapKey, decrypt, encrypt]) |
+PASS Success: generateKey({length: 128, name: AES-GCM}, true, [unwrapKey, decrypt, encrypt]) |
+PASS Success: generateKey({length: 128, name: AES-GCM}, false, [wrapKey, encrypt]) |
+PASS Success: generateKey({length: 128, name: AES-GCM}, true, [wrapKey, encrypt]) |
+PASS Success: generateKey({length: 128, name: AES-GCM}, false, [unwrapKey, wrapKey, encrypt]) |
+PASS Success: generateKey({length: 128, name: AES-GCM}, true, [unwrapKey, wrapKey, encrypt]) |
+PASS Success: generateKey({length: 128, name: AES-GCM}, false, [unwrapKey, encrypt]) |
+PASS Success: generateKey({length: 128, name: AES-GCM}, true, [unwrapKey, encrypt]) |
+PASS Success: generateKey({length: 128, name: AES-GCM}, false, [decrypt]) |
+PASS Success: generateKey({length: 128, name: AES-GCM}, true, [decrypt]) |
+PASS Success: generateKey({length: 128, name: AES-GCM}, false, [wrapKey, decrypt]) |
+PASS Success: generateKey({length: 128, name: AES-GCM}, true, [wrapKey, decrypt]) |
+PASS Success: generateKey({length: 128, name: AES-GCM}, false, [unwrapKey, wrapKey, decrypt]) |
+PASS Success: generateKey({length: 128, name: AES-GCM}, true, [unwrapKey, wrapKey, decrypt]) |
+PASS Success: generateKey({length: 128, name: AES-GCM}, false, [unwrapKey, decrypt]) |
+PASS Success: generateKey({length: 128, name: AES-GCM}, true, [unwrapKey, decrypt]) |
+PASS Success: generateKey({length: 128, name: AES-GCM}, false, [wrapKey]) |
+PASS Success: generateKey({length: 128, name: AES-GCM}, true, [wrapKey]) |
+PASS Success: generateKey({length: 128, name: AES-GCM}, false, [unwrapKey, wrapKey]) |
+PASS Success: generateKey({length: 128, name: AES-GCM}, true, [unwrapKey, wrapKey]) |
+PASS Success: generateKey({length: 128, name: AES-GCM}, false, [unwrapKey]) |
+PASS Success: generateKey({length: 128, name: AES-GCM}, true, [unwrapKey]) |
+PASS Success: generateKey({length: 128, name: AES-GCM}, false, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey]) |
+PASS Success: generateKey({length: 128, name: AES-GCM}, true, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey]) |
+FAIL Success: generateKey({length: 192, name: AES-GCM}, false, [encrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: AES-GCM}, true, [encrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: AES-GCM}, false, [decrypt, encrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: AES-GCM}, true, [decrypt, encrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: AES-GCM}, false, [wrapKey, decrypt, encrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: AES-GCM}, true, [wrapKey, decrypt, encrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: AES-GCM}, false, [unwrapKey, wrapKey, decrypt, encrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: AES-GCM}, true, [unwrapKey, wrapKey, decrypt, encrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: AES-GCM}, false, [unwrapKey, decrypt, encrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: AES-GCM}, true, [unwrapKey, decrypt, encrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: AES-GCM}, false, [wrapKey, encrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: AES-GCM}, true, [wrapKey, encrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: AES-GCM}, false, [unwrapKey, wrapKey, encrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: AES-GCM}, true, [unwrapKey, wrapKey, encrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: AES-GCM}, false, [unwrapKey, encrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: AES-GCM}, true, [unwrapKey, encrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: AES-GCM}, false, [decrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: AES-GCM}, true, [decrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: AES-GCM}, false, [wrapKey, decrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: AES-GCM}, true, [wrapKey, decrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: AES-GCM}, false, [unwrapKey, wrapKey, decrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: AES-GCM}, true, [unwrapKey, wrapKey, decrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: AES-GCM}, false, [unwrapKey, decrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: AES-GCM}, true, [unwrapKey, decrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: AES-GCM}, false, [wrapKey]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: AES-GCM}, true, [wrapKey]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: AES-GCM}, false, [unwrapKey, wrapKey]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: AES-GCM}, true, [unwrapKey, wrapKey]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: AES-GCM}, false, [unwrapKey]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: AES-GCM}, true, [unwrapKey]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: AES-GCM}, false, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: AES-GCM}, true, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
Ryan Sleevi
2017/04/24 19:54:20
These are all OK
|
+PASS Success: generateKey({length: 256, name: AES-GCM}, false, [encrypt]) |
+PASS Success: generateKey({length: 256, name: AES-GCM}, true, [encrypt]) |
+PASS Success: generateKey({length: 256, name: AES-GCM}, false, [decrypt, encrypt]) |
+PASS Success: generateKey({length: 256, name: AES-GCM}, true, [decrypt, encrypt]) |
+PASS Success: generateKey({length: 256, name: AES-GCM}, false, [wrapKey, decrypt, encrypt]) |
+PASS Success: generateKey({length: 256, name: AES-GCM}, true, [wrapKey, decrypt, encrypt]) |
+PASS Success: generateKey({length: 256, name: AES-GCM}, false, [unwrapKey, wrapKey, decrypt, encrypt]) |
+PASS Success: generateKey({length: 256, name: AES-GCM}, true, [unwrapKey, wrapKey, decrypt, encrypt]) |
+PASS Success: generateKey({length: 256, name: AES-GCM}, false, [unwrapKey, decrypt, encrypt]) |
+PASS Success: generateKey({length: 256, name: AES-GCM}, true, [unwrapKey, decrypt, encrypt]) |
+PASS Success: generateKey({length: 256, name: AES-GCM}, false, [wrapKey, encrypt]) |
+PASS Success: generateKey({length: 256, name: AES-GCM}, true, [wrapKey, encrypt]) |
+PASS Success: generateKey({length: 256, name: AES-GCM}, false, [unwrapKey, wrapKey, encrypt]) |
+PASS Success: generateKey({length: 256, name: AES-GCM}, true, [unwrapKey, wrapKey, encrypt]) |
+PASS Success: generateKey({length: 256, name: AES-GCM}, false, [unwrapKey, encrypt]) |
+PASS Success: generateKey({length: 256, name: AES-GCM}, true, [unwrapKey, encrypt]) |
+PASS Success: generateKey({length: 256, name: AES-GCM}, false, [decrypt]) |
+PASS Success: generateKey({length: 256, name: AES-GCM}, true, [decrypt]) |
+PASS Success: generateKey({length: 256, name: AES-GCM}, false, [wrapKey, decrypt]) |
+PASS Success: generateKey({length: 256, name: AES-GCM}, true, [wrapKey, decrypt]) |
+PASS Success: generateKey({length: 256, name: AES-GCM}, false, [unwrapKey, wrapKey, decrypt]) |
+PASS Success: generateKey({length: 256, name: AES-GCM}, true, [unwrapKey, wrapKey, decrypt]) |
+PASS Success: generateKey({length: 256, name: AES-GCM}, false, [unwrapKey, decrypt]) |
+PASS Success: generateKey({length: 256, name: AES-GCM}, true, [unwrapKey, decrypt]) |
+PASS Success: generateKey({length: 256, name: AES-GCM}, false, [wrapKey]) |
+PASS Success: generateKey({length: 256, name: AES-GCM}, true, [wrapKey]) |
+PASS Success: generateKey({length: 256, name: AES-GCM}, false, [unwrapKey, wrapKey]) |
+PASS Success: generateKey({length: 256, name: AES-GCM}, true, [unwrapKey, wrapKey]) |
+PASS Success: generateKey({length: 256, name: AES-GCM}, false, [unwrapKey]) |
+PASS Success: generateKey({length: 256, name: AES-GCM}, true, [unwrapKey]) |
+PASS Success: generateKey({length: 256, name: AES-GCM}, false, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey]) |
+PASS Success: generateKey({length: 256, name: AES-GCM}, true, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey]) |
+PASS Success: generateKey({length: 128, name: aes-gcm}, false, [encrypt]) |
+PASS Success: generateKey({length: 128, name: aes-gcm}, true, [encrypt]) |
+PASS Success: generateKey({length: 128, name: aes-gcm}, false, [decrypt, encrypt]) |
+PASS Success: generateKey({length: 128, name: aes-gcm}, true, [decrypt, encrypt]) |
+PASS Success: generateKey({length: 128, name: aes-gcm}, false, [wrapKey, decrypt, encrypt]) |
+PASS Success: generateKey({length: 128, name: aes-gcm}, true, [wrapKey, decrypt, encrypt]) |
+PASS Success: generateKey({length: 128, name: aes-gcm}, false, [unwrapKey, wrapKey, decrypt, encrypt]) |
+PASS Success: generateKey({length: 128, name: aes-gcm}, true, [unwrapKey, wrapKey, decrypt, encrypt]) |
+PASS Success: generateKey({length: 128, name: aes-gcm}, false, [unwrapKey, decrypt, encrypt]) |
+PASS Success: generateKey({length: 128, name: aes-gcm}, true, [unwrapKey, decrypt, encrypt]) |
+PASS Success: generateKey({length: 128, name: aes-gcm}, false, [wrapKey, encrypt]) |
+PASS Success: generateKey({length: 128, name: aes-gcm}, true, [wrapKey, encrypt]) |
+PASS Success: generateKey({length: 128, name: aes-gcm}, false, [unwrapKey, wrapKey, encrypt]) |
+PASS Success: generateKey({length: 128, name: aes-gcm}, true, [unwrapKey, wrapKey, encrypt]) |
+PASS Success: generateKey({length: 128, name: aes-gcm}, false, [unwrapKey, encrypt]) |
+PASS Success: generateKey({length: 128, name: aes-gcm}, true, [unwrapKey, encrypt]) |
+PASS Success: generateKey({length: 128, name: aes-gcm}, false, [decrypt]) |
+PASS Success: generateKey({length: 128, name: aes-gcm}, true, [decrypt]) |
+PASS Success: generateKey({length: 128, name: aes-gcm}, false, [wrapKey, decrypt]) |
+PASS Success: generateKey({length: 128, name: aes-gcm}, true, [wrapKey, decrypt]) |
+PASS Success: generateKey({length: 128, name: aes-gcm}, false, [unwrapKey, wrapKey, decrypt]) |
+PASS Success: generateKey({length: 128, name: aes-gcm}, true, [unwrapKey, wrapKey, decrypt]) |
+PASS Success: generateKey({length: 128, name: aes-gcm}, false, [unwrapKey, decrypt]) |
+PASS Success: generateKey({length: 128, name: aes-gcm}, true, [unwrapKey, decrypt]) |
+PASS Success: generateKey({length: 128, name: aes-gcm}, false, [wrapKey]) |
+PASS Success: generateKey({length: 128, name: aes-gcm}, true, [wrapKey]) |
+PASS Success: generateKey({length: 128, name: aes-gcm}, false, [unwrapKey, wrapKey]) |
+PASS Success: generateKey({length: 128, name: aes-gcm}, true, [unwrapKey, wrapKey]) |
+PASS Success: generateKey({length: 128, name: aes-gcm}, false, [unwrapKey]) |
+PASS Success: generateKey({length: 128, name: aes-gcm}, true, [unwrapKey]) |
+PASS Success: generateKey({length: 128, name: aes-gcm}, false, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey]) |
+PASS Success: generateKey({length: 128, name: aes-gcm}, true, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey]) |
+FAIL Success: generateKey({length: 192, name: aes-gcm}, false, [encrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: aes-gcm}, true, [encrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: aes-gcm}, false, [decrypt, encrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: aes-gcm}, true, [decrypt, encrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: aes-gcm}, false, [wrapKey, decrypt, encrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: aes-gcm}, true, [wrapKey, decrypt, encrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: aes-gcm}, false, [unwrapKey, wrapKey, decrypt, encrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: aes-gcm}, true, [unwrapKey, wrapKey, decrypt, encrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: aes-gcm}, false, [unwrapKey, decrypt, encrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: aes-gcm}, true, [unwrapKey, decrypt, encrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: aes-gcm}, false, [wrapKey, encrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: aes-gcm}, true, [wrapKey, encrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: aes-gcm}, false, [unwrapKey, wrapKey, encrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: aes-gcm}, true, [unwrapKey, wrapKey, encrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: aes-gcm}, false, [unwrapKey, encrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: aes-gcm}, true, [unwrapKey, encrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: aes-gcm}, false, [decrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: aes-gcm}, true, [decrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: aes-gcm}, false, [wrapKey, decrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: aes-gcm}, true, [wrapKey, decrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: aes-gcm}, false, [unwrapKey, wrapKey, decrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: aes-gcm}, true, [unwrapKey, wrapKey, decrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: aes-gcm}, false, [unwrapKey, decrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: aes-gcm}, true, [unwrapKey, decrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: aes-gcm}, false, [wrapKey]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: aes-gcm}, true, [wrapKey]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: aes-gcm}, false, [unwrapKey, wrapKey]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: aes-gcm}, true, [unwrapKey, wrapKey]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: aes-gcm}, false, [unwrapKey]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: aes-gcm}, true, [unwrapKey]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: aes-gcm}, false, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: aes-gcm}, true, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
Ryan Sleevi
2017/04/24 19:54:20
These are all OK
|
+PASS Success: generateKey({length: 256, name: aes-gcm}, false, [encrypt]) |
+PASS Success: generateKey({length: 256, name: aes-gcm}, true, [encrypt]) |
+PASS Success: generateKey({length: 256, name: aes-gcm}, false, [decrypt, encrypt]) |
+PASS Success: generateKey({length: 256, name: aes-gcm}, true, [decrypt, encrypt]) |
+PASS Success: generateKey({length: 256, name: aes-gcm}, false, [wrapKey, decrypt, encrypt]) |
+PASS Success: generateKey({length: 256, name: aes-gcm}, true, [wrapKey, decrypt, encrypt]) |
+PASS Success: generateKey({length: 256, name: aes-gcm}, false, [unwrapKey, wrapKey, decrypt, encrypt]) |
+PASS Success: generateKey({length: 256, name: aes-gcm}, true, [unwrapKey, wrapKey, decrypt, encrypt]) |
+PASS Success: generateKey({length: 256, name: aes-gcm}, false, [unwrapKey, decrypt, encrypt]) |
+PASS Success: generateKey({length: 256, name: aes-gcm}, true, [unwrapKey, decrypt, encrypt]) |
+PASS Success: generateKey({length: 256, name: aes-gcm}, false, [wrapKey, encrypt]) |
+PASS Success: generateKey({length: 256, name: aes-gcm}, true, [wrapKey, encrypt]) |
+PASS Success: generateKey({length: 256, name: aes-gcm}, false, [unwrapKey, wrapKey, encrypt]) |
+PASS Success: generateKey({length: 256, name: aes-gcm}, true, [unwrapKey, wrapKey, encrypt]) |
+PASS Success: generateKey({length: 256, name: aes-gcm}, false, [unwrapKey, encrypt]) |
+PASS Success: generateKey({length: 256, name: aes-gcm}, true, [unwrapKey, encrypt]) |
+PASS Success: generateKey({length: 256, name: aes-gcm}, false, [decrypt]) |
+PASS Success: generateKey({length: 256, name: aes-gcm}, true, [decrypt]) |
+PASS Success: generateKey({length: 256, name: aes-gcm}, false, [wrapKey, decrypt]) |
+PASS Success: generateKey({length: 256, name: aes-gcm}, true, [wrapKey, decrypt]) |
+PASS Success: generateKey({length: 256, name: aes-gcm}, false, [unwrapKey, wrapKey, decrypt]) |
+PASS Success: generateKey({length: 256, name: aes-gcm}, true, [unwrapKey, wrapKey, decrypt]) |
+PASS Success: generateKey({length: 256, name: aes-gcm}, false, [unwrapKey, decrypt]) |
+PASS Success: generateKey({length: 256, name: aes-gcm}, true, [unwrapKey, decrypt]) |
+PASS Success: generateKey({length: 256, name: aes-gcm}, false, [wrapKey]) |
+PASS Success: generateKey({length: 256, name: aes-gcm}, true, [wrapKey]) |
+PASS Success: generateKey({length: 256, name: aes-gcm}, false, [unwrapKey, wrapKey]) |
+PASS Success: generateKey({length: 256, name: aes-gcm}, true, [unwrapKey, wrapKey]) |
+PASS Success: generateKey({length: 256, name: aes-gcm}, false, [unwrapKey]) |
+PASS Success: generateKey({length: 256, name: aes-gcm}, true, [unwrapKey]) |
+PASS Success: generateKey({length: 256, name: aes-gcm}, false, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey]) |
+PASS Success: generateKey({length: 256, name: aes-gcm}, true, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey]) |
+PASS Success: generateKey({length: 128, name: Aes-gcm}, false, [encrypt]) |
+PASS Success: generateKey({length: 128, name: Aes-gcm}, true, [encrypt]) |
+PASS Success: generateKey({length: 128, name: Aes-gcm}, false, [decrypt, encrypt]) |
+PASS Success: generateKey({length: 128, name: Aes-gcm}, true, [decrypt, encrypt]) |
+PASS Success: generateKey({length: 128, name: Aes-gcm}, false, [wrapKey, decrypt, encrypt]) |
+PASS Success: generateKey({length: 128, name: Aes-gcm}, true, [wrapKey, decrypt, encrypt]) |
+PASS Success: generateKey({length: 128, name: Aes-gcm}, false, [unwrapKey, wrapKey, decrypt, encrypt]) |
+PASS Success: generateKey({length: 128, name: Aes-gcm}, true, [unwrapKey, wrapKey, decrypt, encrypt]) |
+PASS Success: generateKey({length: 128, name: Aes-gcm}, false, [unwrapKey, decrypt, encrypt]) |
+PASS Success: generateKey({length: 128, name: Aes-gcm}, true, [unwrapKey, decrypt, encrypt]) |
+PASS Success: generateKey({length: 128, name: Aes-gcm}, false, [wrapKey, encrypt]) |
+PASS Success: generateKey({length: 128, name: Aes-gcm}, true, [wrapKey, encrypt]) |
+PASS Success: generateKey({length: 128, name: Aes-gcm}, false, [unwrapKey, wrapKey, encrypt]) |
+PASS Success: generateKey({length: 128, name: Aes-gcm}, true, [unwrapKey, wrapKey, encrypt]) |
+PASS Success: generateKey({length: 128, name: Aes-gcm}, false, [unwrapKey, encrypt]) |
+PASS Success: generateKey({length: 128, name: Aes-gcm}, true, [unwrapKey, encrypt]) |
+PASS Success: generateKey({length: 128, name: Aes-gcm}, false, [decrypt]) |
+PASS Success: generateKey({length: 128, name: Aes-gcm}, true, [decrypt]) |
+PASS Success: generateKey({length: 128, name: Aes-gcm}, false, [wrapKey, decrypt]) |
+PASS Success: generateKey({length: 128, name: Aes-gcm}, true, [wrapKey, decrypt]) |
+PASS Success: generateKey({length: 128, name: Aes-gcm}, false, [unwrapKey, wrapKey, decrypt]) |
+PASS Success: generateKey({length: 128, name: Aes-gcm}, true, [unwrapKey, wrapKey, decrypt]) |
+PASS Success: generateKey({length: 128, name: Aes-gcm}, false, [unwrapKey, decrypt]) |
+PASS Success: generateKey({length: 128, name: Aes-gcm}, true, [unwrapKey, decrypt]) |
+PASS Success: generateKey({length: 128, name: Aes-gcm}, false, [wrapKey]) |
+PASS Success: generateKey({length: 128, name: Aes-gcm}, true, [wrapKey]) |
+PASS Success: generateKey({length: 128, name: Aes-gcm}, false, [unwrapKey, wrapKey]) |
+PASS Success: generateKey({length: 128, name: Aes-gcm}, true, [unwrapKey, wrapKey]) |
+PASS Success: generateKey({length: 128, name: Aes-gcm}, false, [unwrapKey]) |
+PASS Success: generateKey({length: 128, name: Aes-gcm}, true, [unwrapKey]) |
+PASS Success: generateKey({length: 128, name: Aes-gcm}, false, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey]) |
+PASS Success: generateKey({length: 128, name: Aes-gcm}, true, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey]) |
+FAIL Success: generateKey({length: 192, name: Aes-gcm}, false, [encrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: Aes-gcm}, true, [encrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: Aes-gcm}, false, [decrypt, encrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: Aes-gcm}, true, [decrypt, encrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: Aes-gcm}, false, [wrapKey, decrypt, encrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: Aes-gcm}, true, [wrapKey, decrypt, encrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: Aes-gcm}, false, [unwrapKey, wrapKey, decrypt, encrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: Aes-gcm}, true, [unwrapKey, wrapKey, decrypt, encrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: Aes-gcm}, false, [unwrapKey, decrypt, encrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: Aes-gcm}, true, [unwrapKey, decrypt, encrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: Aes-gcm}, false, [wrapKey, encrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: Aes-gcm}, true, [wrapKey, encrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: Aes-gcm}, false, [unwrapKey, wrapKey, encrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: Aes-gcm}, true, [unwrapKey, wrapKey, encrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: Aes-gcm}, false, [unwrapKey, encrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: Aes-gcm}, true, [unwrapKey, encrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: Aes-gcm}, false, [decrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: Aes-gcm}, true, [decrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: Aes-gcm}, false, [wrapKey, decrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: Aes-gcm}, true, [wrapKey, decrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: Aes-gcm}, false, [unwrapKey, wrapKey, decrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: Aes-gcm}, true, [unwrapKey, wrapKey, decrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: Aes-gcm}, false, [unwrapKey, decrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: Aes-gcm}, true, [unwrapKey, decrypt]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: Aes-gcm}, false, [wrapKey]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: Aes-gcm}, true, [wrapKey]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: Aes-gcm}, false, [unwrapKey, wrapKey]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: Aes-gcm}, true, [unwrapKey, wrapKey]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: Aes-gcm}, false, [unwrapKey]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: Aes-gcm}, true, [unwrapKey]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: Aes-gcm}, false, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
+FAIL Success: generateKey({length: 192, name: Aes-gcm}, true, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey]) assert_unreached: Threw an unexpected error: OperationError: 192-bit AES keys are not supported Reached unreachable code |
Ryan Sleevi
2017/04/24 19:54:20
These are all OK
|
+PASS Success: generateKey({length: 256, name: Aes-gcm}, false, [encrypt]) |
+PASS Success: generateKey({length: 256, name: Aes-gcm}, true, [encrypt]) |
+PASS Success: generateKey({length: 256, name: Aes-gcm}, false, [decrypt, encrypt]) |
+PASS Success: generateKey({length: 256, name: Aes-gcm}, true, [decrypt, encrypt]) |
+PASS Success: generateKey({length: 256, name: Aes-gcm}, false, [wrapKey, decrypt, encrypt]) |
+PASS Success: generateKey({length: 256, name: Aes-gcm}, true, [wrapKey, decrypt, encrypt]) |
+PASS Success: generateKey({length: 256, name: Aes-gcm}, false, [unwrapKey, wrapKey, decrypt, encrypt]) |
+PASS Success: generateKey({length: 256, name: Aes-gcm}, true, [unwrapKey, wrapKey, decrypt, encrypt]) |
+PASS Success: generateKey({length: 256, name: Aes-gcm}, false, [unwrapKey, decrypt, encrypt]) |
+PASS Success: generateKey({length: 256, name: Aes-gcm}, true, [unwrapKey, decrypt, encrypt]) |
+PASS Success: generateKey({length: 256, name: Aes-gcm}, false, [wrapKey, encrypt]) |
+PASS Success: generateKey({length: 256, name: Aes-gcm}, true, [wrapKey, encrypt]) |
+PASS Success: generateKey({length: 256, name: Aes-gcm}, false, [unwrapKey, wrapKey, encrypt]) |
+PASS Success: generateKey({length: 256, name: Aes-gcm}, true, [unwrapKey, wrapKey, encrypt]) |
+PASS Success: generateKey({length: 256, name: Aes-gcm}, false, [unwrapKey, encrypt]) |
+PASS Success: generateKey({length: 256, name: Aes-gcm}, true, [unwrapKey, encrypt]) |
+PASS Success: generateKey({length: 256, name: Aes-gcm}, false, [decrypt]) |
+PASS Success: generateKey({length: 256, name: Aes-gcm}, true, [decrypt]) |
+PASS Success: generateKey({length: 256, name: Aes-gcm}, false, [wrapKey, decrypt]) |
+PASS Success: generateKey({length: 256, name: Aes-gcm}, true, [wrapKey, decrypt]) |
+PASS Success: generateKey({length: 256, name: Aes-gcm}, false, [unwrapKey, wrapKey, decrypt]) |
+PASS Success: generateKey({length: 256, name: Aes-gcm}, true, [unwrapKey, wrapKey, decrypt]) |
+PASS Success: generateKey({length: 256, name: Aes-gcm}, false, [unwrapKey, decrypt]) |
+PASS Success: generateKey({length: 256, name: Aes-gcm}, true, [unwrapKey, decrypt]) |
+PASS Success: generateKey({length: 256, name: Aes-gcm}, false, [wrapKey]) |
+PASS Success: generateKey({length: 256, name: Aes-gcm}, true, [wrapKey]) |
+PASS Success: generateKey({length: 256, name: Aes-gcm}, false, [unwrapKey, wrapKey]) |
+PASS Success: generateKey({length: 256, name: Aes-gcm}, true, [unwrapKey, wrapKey]) |
+PASS Success: generateKey({length: 256, name: Aes-gcm}, false, [unwrapKey]) |
+PASS Success: generateKey({length: 256, name: Aes-gcm}, true, [unwrapKey]) |
+PASS Success: generateKey({length: 256, name: Aes-gcm}, false, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey]) |
+PASS Success: generateKey({length: 256, name: Aes-gcm}, true, [encrypt, decrypt, wrapKey, unwrapKey, encrypt, decrypt, wrapKey, unwrapKey]) |
+Harness: the test ran to completion. |
+ |