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

Unified Diff: LayoutTests/crypto/subtle/hkdf-unwrapKey-expected.txt

Issue 822083003: Webcrypto: add layout tests for HKDF algorithm (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: remove duplicate test case Created 5 years, 11 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
« no previous file with comments | « LayoutTests/crypto/subtle/hkdf-unwrapKey.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/crypto/subtle/hkdf-unwrapKey-expected.txt
diff --git a/LayoutTests/crypto/subtle/hkdf-unwrapKey-expected.txt b/LayoutTests/crypto/subtle/hkdf-unwrapKey-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c37309ab35d8fb79b76f4ba3afeba68824906692
--- /dev/null
+++ b/LayoutTests/crypto/subtle/hkdf-unwrapKey-expected.txt
@@ -0,0 +1,20 @@
+Test unwrapping an HKDF key
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS wrappingKey.algorithm.name is "AES-GCM"
+PASS typeof wrappingKey.extractable is 'boolean'
+PASS wrappingKey.extractable is false
+PASS wrappingKey.usages.join(',') is "encrypt,unwrapKey"
+PASS unwrappedHkdfKey.algorithm.name is "HKDF"
+PASS typeof unwrappedHkdfKey.extractable is 'boolean'
+PASS unwrappedHkdfKey.extractable is false
+PASS unwrappedHkdfKey.usages.join(',') is "deriveBits"
+
+Unwrap an HKDF key using pkcs8 as the format.
+error is: NotSupportedError: Unsupported import key format for algorithm
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « LayoutTests/crypto/subtle/hkdf-unwrapKey.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698