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

Unified Diff: LayoutTests/crypto/ecdh-generate-key-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-generate-key.html ('k') | LayoutTests/crypto/ecdh-import-jwk.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/crypto/ecdh-generate-key-expected.txt
diff --git a/LayoutTests/crypto/ecdsa-generate-key-expected.txt b/LayoutTests/crypto/ecdh-generate-key-expected.txt
similarity index 68%
copy from LayoutTests/crypto/ecdsa-generate-key-expected.txt
copy to LayoutTests/crypto/ecdh-generate-key-expected.txt
index 92573e0db63681f6886825c02acf37bda32b51c9..f966fa9ec363e051b076cc46c429b38003c7c724 100644
--- a/LayoutTests/crypto/ecdsa-generate-key-expected.txt
+++ b/LayoutTests/crypto/ecdh-generate-key-expected.txt
@@ -1,4 +1,4 @@
-Test generating an EC key pair for ECDSA.
+Test generating an EC key pair for ECDH.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
@@ -6,13 +6,13 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
Generating a key pair...
PASS keyPair.toString() is '[object Object]'
PASS keyPair.publicKey.type is 'public'
-PASS keyPair.publicKey.algorithm.name is 'ECDSA'
+PASS keyPair.publicKey.algorithm.name is 'ECDH'
PASS keyPair.publicKey.algorithm.namedCurve is 'P-256'
-PASS keyPair.publicKey.usages is ["verify"]
+PASS keyPair.publicKey.usages is []
PASS keyPair.privateKey.type is 'private'
-PASS keyPair.privateKey.algorithm.name is 'ECDSA'
+PASS keyPair.privateKey.algorithm.name is 'ECDH'
PASS keyPair.privateKey.algorithm.namedCurve is 'P-256'
-PASS keyPair.privateKey.usages is ["sign"]
+PASS keyPair.privateKey.usages is ["deriveBits"]
Testing that custom attributes on keys survive garbage collection...
PASS keyPair.publicKey.foo is 'bar'
« no previous file with comments | « LayoutTests/crypto/ecdh-generate-key.html ('k') | LayoutTests/crypto/ecdh-import-jwk.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698