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

Side by Side 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 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « LayoutTests/crypto/ecdh-generate-key.html ('k') | LayoutTests/crypto/ecdh-import-jwk.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Test generating an EC key pair for ECDSA. 1 Test generating an EC key pair for ECDH.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 Generating a key pair... 6 Generating a key pair...
7 PASS keyPair.toString() is '[object Object]' 7 PASS keyPair.toString() is '[object Object]'
8 PASS keyPair.publicKey.type is 'public' 8 PASS keyPair.publicKey.type is 'public'
9 PASS keyPair.publicKey.algorithm.name is 'ECDSA' 9 PASS keyPair.publicKey.algorithm.name is 'ECDH'
10 PASS keyPair.publicKey.algorithm.namedCurve is 'P-256' 10 PASS keyPair.publicKey.algorithm.namedCurve is 'P-256'
11 PASS keyPair.publicKey.usages is ["verify"] 11 PASS keyPair.publicKey.usages is []
12 PASS keyPair.privateKey.type is 'private' 12 PASS keyPair.privateKey.type is 'private'
13 PASS keyPair.privateKey.algorithm.name is 'ECDSA' 13 PASS keyPair.privateKey.algorithm.name is 'ECDH'
14 PASS keyPair.privateKey.algorithm.namedCurve is 'P-256' 14 PASS keyPair.privateKey.algorithm.namedCurve is 'P-256'
15 PASS keyPair.privateKey.usages is ["sign"] 15 PASS keyPair.privateKey.usages is ["deriveBits"]
16 16
17 Testing that custom attributes on keys survive garbage collection... 17 Testing that custom attributes on keys survive garbage collection...
18 PASS keyPair.publicKey.foo is 'bar' 18 PASS keyPair.publicKey.foo is 'bar'
19 PASS successfullyParsed is true 19 PASS successfullyParsed is true
20 20
21 TEST COMPLETE 21 TEST COMPLETE
22 22
OLDNEW
« 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