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

Side by Side Diff: LayoutTests/crypto/sign-verify-expected.txt

Issue 199663006: [refactor] Split up the layout test sign-verify.html into smaller files. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 6 years, 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « LayoutTests/crypto/sign-verify-badParameters-expected.txt ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 CONSOLE ERROR: Algorithm: SHA-1: Unsupported operation
2 CONSOLE ERROR: Algorithm: RSAES-PKCS1-v1_5: Unsupported operation
3 Tests cypto.subtle.sign and crypto.subtle.verify
4
5 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
6
7
8 PASS tmpKey.type is 'secret'
9 PASS tmpKey.extractable is false
10 PASS tmpKey.algorithm.name is 'HMAC'
11 PASS tmpKey.algorithm.hash.name is 'SHA-1'
12 PASS tmpKey.algorithm.length is 0
13 PASS tmpKey.usages.join(',') is 'sign,verify'
14 PASS tmpKey.type is 'secret'
15 PASS tmpKey.extractable is false
16 PASS tmpKey.algorithm.name is 'HMAC'
17 PASS tmpKey.algorithm.hash.name is 'SHA-256'
18 PASS tmpKey.algorithm.length is 0
19 PASS tmpKey.usages.join(',') is 'sign,verify'
20 PASS tmpKey.type is 'secret'
21 PASS tmpKey.extractable is false
22 PASS tmpKey.algorithm.name is 'HMAC'
23 PASS tmpKey.algorithm.hash.name is 'SHA-1'
24 PASS tmpKey.algorithm.length is 80
25 PASS tmpKey.usages.join(',') is 'sign,verify'
26 PASS tmpKey.type is 'secret'
27 PASS tmpKey.extractable is false
28 PASS tmpKey.algorithm.name is 'HMAC'
29 PASS tmpKey.algorithm.hash.name is 'SHA-1'
30 PASS tmpKey.algorithm.length is 640
31 PASS tmpKey.usages.join(',') is 'sign,verify'
32 PASS tmpKey.type is 'secret'
33 PASS tmpKey.extractable is false
34 PASS tmpKey.algorithm.name is 'HMAC'
35 PASS tmpKey.algorithm.hash.name is 'SHA-256'
36 PASS tmpKey.algorithm.length is 320
37 PASS tmpKey.usages.join(',') is 'sign,verify'
38 PASS tmpKey.type is 'secret'
39 PASS tmpKey.extractable is false
40 PASS tmpKey.algorithm.name is 'HMAC'
41 PASS tmpKey.algorithm.hash.name is 'SHA-256'
42 PASS tmpKey.algorithm.length is 592
43 PASS tmpKey.usages.join(',') is 'sign,verify'
44 PASS: Mac should be [fbdb1d1b18aa6c08324b7d64b71fb76370690e1d] and was
45 PASS: Mac should be [b613679a0814d9ec772f95d778c35fc5ff1697c493715653c6c71214429 2c5ad] and was
46 PASS: Mac should be [3c8162589aafaee024fc9a5ca50dd2336fe3eb28] and was
47 PASS: Mac should be [4ac41ab89f625c60125ed65ffa958c6b490ea670] and was
48 PASS: Mac should be [769f00d3e6a6cc1fb426a14a4f76c6462e6149726e0dee0ec0cf97a1660 5ac8b] and was
49 PASS: Mac should be [4f1ee7cb36c58803a8721d4ac8c4cf8cae5d8832392eed2a96dc5969425 2801b] and was
50 PASS verifyResult is true
51 PASS verifyResult is true
52 PASS verifyResult is true
53 PASS verifyResult is true
54 PASS verifyResult is true
55 PASS verifyResult is true
56 PASS verifyResult is false
57 PASS verifyResult is false
58 PASS verifyResult is false
59 PASS verifyResult is false
60 PASS verifyResult is false
61 PASS verifyResult is false
62 PASS crypto.subtle.verify(hmac, keys.hmacSha1, null, data) threw exception TypeE rror: Failed to execute 'verify' on 'SubtleCrypto': Invalid signature argument.
63 PASS crypto.subtle.verify(hmac, keys.hmacSha1, 'a', data) threw exception TypeEr ror: Failed to execute 'verify' on 'SubtleCrypto': Invalid signature argument.
64 PASS crypto.subtle.verify(hmac, keys.hmacSha1, [], data) threw exception TypeErr or: Failed to execute 'verify' on 'SubtleCrypto': Invalid signature argument.
65 PASS: 'crypto.subtle.sign({name: 'sha-1'}, keys.hmacSha1, data)' rejected with n ull
66 PASS: 'crypto.subtle.sign({name: 'RSAES-PKCS1-v1_5'}, keys.hmacSha1, data)' reje cted with null
67 PASS successfullyParsed is true
68
69 TEST COMPLETE
70
OLDNEW
« no previous file with comments | « LayoutTests/crypto/sign-verify-badParameters-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698