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

Unified Diff: LayoutTests/crypto/ecdh-import-jwk-expected.txt

Issue 754563003: Add LayoutTests for WebCrypto's ECDH algorithm. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase onto master Created 6 years, 1 month 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/ecdh-import-jwk.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/crypto/ecdh-import-jwk-expected.txt
diff --git a/LayoutTests/crypto/ecdsa-import-jwk-expected.txt b/LayoutTests/crypto/ecdh-import-jwk-expected.txt
similarity index 68%
copy from LayoutTests/crypto/ecdsa-import-jwk-expected.txt
copy to LayoutTests/crypto/ecdh-import-jwk-expected.txt
index 6aebf3ec92d77a5eb29f4770d3a16d40df3e20d4..e51538e3f62a5cbab11907202a8d3bcdcfe9f988 100644
--- a/LayoutTests/crypto/ecdsa-import-jwk-expected.txt
+++ b/LayoutTests/crypto/ecdh-import-jwk-expected.txt
@@ -1,4 +1,4 @@
-Test importing an EC public and private key for ECDSA.
+Test importing an EC public and private key for ECDH.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
@@ -6,15 +6,15 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
Importing a public key...
PASS publicKey.toString() is '[object CryptoKey]'
PASS publicKey.type is 'public'
-PASS publicKey.usages is ['verify']
-PASS publicKey.algorithm.name is 'ECDSA'
+PASS publicKey.usages is []
+PASS publicKey.algorithm.name is 'ECDH'
PASS publicKey.algorithm.namedCurve is 'P-256'
Importing a private key...
PASS privateKey.toString() is '[object CryptoKey]'
PASS privateKey.type is 'private'
-PASS privateKey.usages is ['sign']
-PASS privateKey.algorithm.name is 'ECDSA'
+PASS privateKey.usages is ['deriveBits']
+PASS privateKey.algorithm.name is 'ECDH'
PASS privateKey.algorithm.namedCurve is 'P-384'
PASS successfullyParsed is true
« no previous file with comments | « LayoutTests/crypto/ecdh-import-jwk.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698