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

Side by Side Diff: tests/lib/crypto/sha1_short_test_vectors.dart

Issue 11358203: Library syntax updates. Covers all remaining files in ~/tests aprt from ~/tests/language and ~/test… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tests/lib/crypto/sha1_long_test_vectors.dart ('k') | tests/lib/crypto/sha1_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 part of sha1_test;
6
5 // Standard test vectors from: 7 // Standard test vectors from:
6 // http://csrc.nist.gov/groups/STM/cavp/documents/shs/shabytetestvectors.zip 8 // http://csrc.nist.gov/groups/STM/cavp/documents/shs/shabytetestvectors.zip
7 9
8 const sha1_short_inputs = const [ 10 const sha1_short_inputs = const [
9 const [ ], 11 const [ ],
10 const [ 0x36 ], 12 const [ 0x36 ],
11 const [ 0x19, 0x5a ], 13 const [ 0x19, 0x5a ],
12 const [ 0xdf, 0x4b, 0xd2 ], 14 const [ 0xdf, 0x4b, 0xd2 ],
13 const [ 0x54, 0x9e, 0x95, 0x9e ], 15 const [ 0x54, 0x9e, 0x95, 0x9e ],
14 const [ 0xf7, 0xfb, 0x1b, 0xe2, 0x05 ], 16 const [ 0xf7, 0xfb, 0x1b, 0xe2, 0x05 ],
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 'aef843b86916c16f66c84d83a6005d23fd005c9e', 135 'aef843b86916c16f66c84d83a6005d23fd005c9e',
134 'be2cd6f380969be59cde2dff5e848a44e7880bd6', 136 'be2cd6f380969be59cde2dff5e848a44e7880bd6',
135 'e5eb4543deee8f6a5287845af8b593a95a9749a1', 137 'e5eb4543deee8f6a5287845af8b593a95a9749a1',
136 '534c850448dd486787b62bdec2d4a0b140a1b170', 138 '534c850448dd486787b62bdec2d4a0b140a1b170',
137 '6fbfa6e4edce4cc85a845bf0d228dc39acefc2fa', 139 '6fbfa6e4edce4cc85a845bf0d228dc39acefc2fa',
138 '018872691d9b04e8220e09187df5bc5fa6257cd9', 140 '018872691d9b04e8220e09187df5bc5fa6257cd9',
139 'd98d512a35572f8bd20de62e9510cc21145c5bf4', 141 'd98d512a35572f8bd20de62e9510cc21145c5bf4',
140 '9f3ea255f6af95c5454e55d7354cabb45352ea0b', 142 '9f3ea255f6af95c5454e55d7354cabb45352ea0b',
141 'a70cfbfe7563dd0e665c7c6715a96a8d756950c0', 143 'a70cfbfe7563dd0e665c7c6715a96a8d756950c0',
142 ]; 144 ];
OLDNEW
« no previous file with comments | « tests/lib/crypto/sha1_long_test_vectors.dart ('k') | tests/lib/crypto/sha1_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698