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

Side by Side Diff: LayoutTests/crypto/ecdh-deriveKey-hmac-expected.txt

Issue 806913006: [WebCrypto] Move LayoutTests from crypto to crypto/subtle (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Update path for deserialize legacy tests 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
« no previous file with comments | « LayoutTests/crypto/ecdh-deriveKey-hmac.html ('k') | LayoutTests/crypto/ecdh-generate-key.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 Tests deriveKey() using ECDH to make HMAC keys
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 Importing the private key...
7
8 Importing the public key...
9
10 Deriving an HMAC 136 bit key...
11
12 PASS key.type is "secret"
13 PASS typeof key.extractable is 'boolean'
14 PASS key.extractable is true
15 PASS key.algorithm.name is "HMAC"
16 PASS key.algorithm.hash.name is "SHA-1"
17 PASS key.algorithm.length is 136
18 PASS key.usages.join(',') is "sign"
19 PASS: Derived Bytes should be [0117d54d84379d0fd385be068455a77a53] and was
20 Deriving an HMAC 256 bit key...
21
22 PASS key.type is "secret"
23 PASS typeof key.extractable is 'boolean'
24 PASS key.extractable is true
25 PASS key.algorithm.name is "HMAC"
26 PASS key.algorithm.hash.name is "SHA-256"
27 PASS key.algorithm.length is 512
28 PASS key.usages.join(',') is "sign,verify"
29 PASS: Derived Bytes should be [0117d54d84379d0fd385be068455a77a5366ab534ff172ab0 a121f37d180dccd19607abb0c41cb9f6f12b01303ac4a69dc2d1d05180181fd496d9769b46bffec] and was
30 Deriving an HMAC 256 bit key...
31
32 PASS key.type is "secret"
33 PASS typeof key.extractable is 'boolean'
34 PASS key.extractable is false
35 PASS key.algorithm.name is "HMAC"
36 PASS key.algorithm.hash.name is "SHA-256"
37 PASS key.algorithm.length is 256
38 PASS key.usages.join(',') is "verify"
39 PASS successfullyParsed is true
40
41 TEST COMPLETE
42
OLDNEW
« no previous file with comments | « LayoutTests/crypto/ecdh-deriveKey-hmac.html ('k') | LayoutTests/crypto/ecdh-generate-key.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698