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

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: 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/derive-hkdf-keys.html ('k') | LayoutTests/crypto/subtle/hkdf-deriveBits.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..46d7dce4c9be52692e339466cd65b7ea4b381a68
--- /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 "deriveKey,deriveBits"
+
+Derive 128 bits from the HKDF key
+PASS bytesToHexString(derivedBits) is "2afc8b03741413cd32a80dc9a8451be8"
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « LayoutTests/crypto/subtle/derive-hkdf-keys.html ('k') | LayoutTests/crypto/subtle/hkdf-deriveBits.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698