Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(73)

Unified Diff: LayoutTests/crypto/subtle/aes-ctr/cloneKey.html

Issue 958353003: [WebCrypto] Move cloneKey test to respective algorithm directory (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/crypto/subtle/aes-ctr/cloneKey.html
diff --git a/LayoutTests/crypto/subtle/aes-ctr/cloneKey.html b/LayoutTests/crypto/subtle/aes-ctr/cloneKey.html
new file mode 100644
index 0000000000000000000000000000000000000000..2993d87ad18330394cf87bc36808f1b052deecb5
--- /dev/null
+++ b/LayoutTests/crypto/subtle/aes-ctr/cloneKey.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="../../../resources/js-test.js"></script>
+<script src="../resources/common.js"></script>
+<script src="../resources/symmetric-cloneKey.js"></script>
+</head>
+<body>
+<script>
+description('Tests structured cloning of AES-CTR keys');
+
+jsTestIsAsync = true;
+
+var k128BitData = "30112233445566778899aabbccddeeff";
+var k256BitData = "00112233445546778899aabbccddeeff000102030405060708090a0b0c0d0e0f";
+
+var kPossibleExtractable = [true, false];
+var kPossibleKeyUsage = [['wrapKey', 'unwrapKey']];
+var kKeyData = [k128BitData, k256BitData];
+var kKeyHasLength = true;
+
+testCloneSymmetricKeys('AES-CTR', [[]], kPossibleExtractable, kPossibleKeyUsage, kKeyData, kKeyHasLength).then(finishJSTest, failAndFinishJSTest);
+
+</script>
+</body>
+</html>
« no previous file with comments | « LayoutTests/crypto/subtle/aes-cbc/cloneKey-expected.txt ('k') | LayoutTests/crypto/subtle/aes-ctr/cloneKey-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698