OLD | NEW |
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 Loading... |
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 ]; |
OLD | NEW |