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

Side by Side Diff: third_party/WebKit/LayoutTests/crypto/subtle/pbkdf2/deriveBits-rfc6070-test-vectors-expected.txt

Issue 2164753002: Reject deriveBits() for PBKDF2 when given a length of 0. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
« no previous file with comments | « third_party/WebKit/LayoutTests/crypto/subtle/pbkdf2/deriveBits-rfc6070-test-vectors.html ('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
1 Tests importKey/deriveBits for PBKDF2 1 Tests importKey/deriveBits for PBKDF2
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 PASS tmpKey.type is "secret" 6 PASS tmpKey.type is "secret"
7 PASS typeof tmpKey.extractable is 'boolean' 7 PASS typeof tmpKey.extractable is 'boolean'
8 PASS tmpKey.extractable is false 8 PASS tmpKey.extractable is false
9 PASS tmpKey.algorithm.name is "PBKDF2" 9 PASS tmpKey.algorithm.name is "PBKDF2"
10 PASS tmpKey.usages.join(',') is "deriveKey,deriveBits" 10 PASS tmpKey.usages.join(',') is "deriveKey,deriveBits"
11 PASS: deriveBits should be [0c60c80f961f0e71f3a9b524af6012062fe037a6] and was 11 PASS: deriveBits should be [0c60c80f961f0e71f3a9b524af6012062fe037a6] and was
12 PASS derivedBits.byteLength is 0
13 PASS tmpKey.type is "secret" 12 PASS tmpKey.type is "secret"
14 PASS typeof tmpKey.extractable is 'boolean' 13 PASS typeof tmpKey.extractable is 'boolean'
15 PASS tmpKey.extractable is false 14 PASS tmpKey.extractable is false
16 PASS tmpKey.algorithm.name is "PBKDF2" 15 PASS tmpKey.algorithm.name is "PBKDF2"
17 PASS tmpKey.usages.join(',') is "deriveKey,deriveBits" 16 PASS tmpKey.usages.join(',') is "deriveKey,deriveBits"
18 PASS: deriveBits should be [ea6c014dc72d6f8ccd1ed92ace1d41f0d8de8957] and was 17 PASS: deriveBits should be [ea6c014dc72d6f8ccd1ed92ace1d41f0d8de8957] and was
19 PASS derivedBits.byteLength is 0
20 PASS tmpKey.type is "secret" 18 PASS tmpKey.type is "secret"
21 PASS typeof tmpKey.extractable is 'boolean' 19 PASS typeof tmpKey.extractable is 'boolean'
22 PASS tmpKey.extractable is false 20 PASS tmpKey.extractable is false
23 PASS tmpKey.algorithm.name is "PBKDF2" 21 PASS tmpKey.algorithm.name is "PBKDF2"
24 PASS tmpKey.usages.join(',') is "deriveKey,deriveBits" 22 PASS tmpKey.usages.join(',') is "deriveKey,deriveBits"
25 PASS: deriveBits should be [4b007901b765489abead49d926f721d065a429c1] and was 23 PASS: deriveBits should be [4b007901b765489abead49d926f721d065a429c1] and was
26 PASS derivedBits.byteLength is 0
27 PASS tmpKey.type is "secret" 24 PASS tmpKey.type is "secret"
28 PASS typeof tmpKey.extractable is 'boolean' 25 PASS typeof tmpKey.extractable is 'boolean'
29 PASS tmpKey.extractable is false 26 PASS tmpKey.extractable is false
30 PASS tmpKey.algorithm.name is "PBKDF2" 27 PASS tmpKey.algorithm.name is "PBKDF2"
31 PASS tmpKey.usages.join(',') is "deriveKey,deriveBits" 28 PASS tmpKey.usages.join(',') is "deriveKey,deriveBits"
32 PASS: deriveBits should be [3d2eec4fe41c849b80c8d83662c0e44a8b291a964cf2f07038] and was 29 PASS: deriveBits should be [3d2eec4fe41c849b80c8d83662c0e44a8b291a964cf2f07038] and was
33 PASS derivedBits.byteLength is 0
34 PASS tmpKey.type is "secret" 30 PASS tmpKey.type is "secret"
35 PASS typeof tmpKey.extractable is 'boolean' 31 PASS typeof tmpKey.extractable is 'boolean'
36 PASS tmpKey.extractable is false 32 PASS tmpKey.extractable is false
37 PASS tmpKey.algorithm.name is "PBKDF2" 33 PASS tmpKey.algorithm.name is "PBKDF2"
38 PASS tmpKey.usages.join(',') is "deriveKey,deriveBits" 34 PASS tmpKey.usages.join(',') is "deriveKey,deriveBits"
39 PASS: deriveBits should be [56fa6aa75548099dcc37d7f03425e0c3] and was 35 PASS: deriveBits should be [56fa6aa75548099dcc37d7f03425e0c3] and was
40 PASS derivedBits.byteLength is 0
41 PASS successfullyParsed is true 36 PASS successfullyParsed is true
42 37
43 TEST COMPLETE 38 TEST COMPLETE
44 39
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/crypto/subtle/pbkdf2/deriveBits-rfc6070-test-vectors.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698