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

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

Issue 822083003: Webcrypto: add layout tests for HKDF algorithm (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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
Index: LayoutTests/crypto/subtle/derive-hkdf-keys-expected.txt
diff --git a/LayoutTests/crypto/subtle/derive-hkdf-keys-expected.txt b/LayoutTests/crypto/subtle/derive-hkdf-keys-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fdc06c985beec761e163a11bed7388aca1c20ea5
--- /dev/null
+++ b/LayoutTests/crypto/subtle/derive-hkdf-keys-expected.txt
@@ -0,0 +1,17 @@
+Test deriving HKDF keys with deriveKey()
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+Derive an HKDF key from ECDH keys
+PASS hkdfKey.algorithm.name is "HKDF"
+PASS typeof hkdfKey.extractable is 'boolean'
+PASS hkdfKey.extractable is true
+PASS hkdfKey.usages.join(',') is "deriveBits"
+
+Try to derive an HKDF key from an HKDF key
+error is: InvalidAccessError: key.usages does not permit this operation
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698