Changeset 107 for trunk/src/cutest_sh_tiger0.c
- Timestamp:
- Jun 16, 2007, 3:29:39 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/cutest_sh_tiger0.c
r96 r107 139 139 /* same result as GnuPG 1.0.6 (gpg --load-extension tiger --print-md TIGER192) 140 140 */ 141 actual = sh_tiger_generic_hash("cutest_foo", TIGER_FILE, 0, 0);141 actual = sh_tiger_generic_hash("cutest_foo", TIGER_FILE, TIGER_NOLIM, 0); 142 142 expected = "0E9321614C966A33608C2A15F156E0435CACFD1213B9F095"; 143 143 CuAssertStrEquals(tc, expected, actual); … … 147 147 tiger_fd = rval_open; 148 148 149 actual = sh_tiger_generic_hash("cutest_foo", TIGER_FD, 0, 0);149 actual = sh_tiger_generic_hash("cutest_foo", TIGER_FD, TIGER_NOLIM, 0); 150 150 expected = "0E9321614C966A33608C2A15F156E0435CACFD1213B9F095"; 151 151 CuAssertStrEquals(tc, expected, actual); … … 163 163 /* same result as GNU md5sum 164 164 */ 165 actual = sh_tiger_generic_hash("cutest_foo", TIGER_FD, 0, 0);165 actual = sh_tiger_generic_hash("cutest_foo", TIGER_FD, TIGER_NOLIM, 0); 166 166 expected = "AEEC4DDA496BCFBA691F4E8863BA84C00000000000000000"; 167 167 CuAssertStrEquals(tc, expected, actual); … … 179 179 /* same result as gpg --print-md SHA1 180 180 */ 181 actual = sh_tiger_generic_hash("cutest_foo", TIGER_FD, 0, 0);181 actual = sh_tiger_generic_hash("cutest_foo", TIGER_FD, TIGER_NOLIM, 0); 182 182 expected = "2FE65D1D995B8F8BC8B13F798C07E7E935A787ED00000000"; 183 183 CuAssertStrEquals(tc, expected, actual); … … 205 205 /* same result as GnuPG 1.0.6 (gpg --load-extension tiger --print-md TIGER192) 206 206 */ 207 actual = sh_tiger_generic_hash("cutest_foo", TIGER_FILE, 0, 0);207 actual = sh_tiger_generic_hash("cutest_foo", TIGER_FILE, TIGER_NOLIM, 0); 208 208 expected = "F987845A0EA784367BF9E4DB09014995810F27C99C891734"; 209 209 CuAssertStrEquals(tc, expected, actual); … … 228 228 /* same result as GnuPG 1.0.6 (gpg --load-extension tiger --print-md TIGER192) 229 229 */ 230 actual = sh_tiger_generic_hash("cutest_foo", TIGER_FILE, 0, 0);230 actual = sh_tiger_generic_hash("cutest_foo", TIGER_FILE, TIGER_NOLIM, 0); 231 231 expected = "75B98A7AE257A230189828A40792E30B4038D286479CC7B8"; 232 232 CuAssertStrEquals(tc, expected, actual); … … 268 268 /* same as GnuPG 1.0.6 (gpg --load-extension tiger --print-md TIGER192) 269 269 */ 270 actual = sh_tiger_generic_hash("cutest_foo", TIGER_FILE, 0, 0); 271 expected = "24F0130C63AC933216166E76B1BB925FF373DE2D49584E7A"; 272 CuAssertStrEquals(tc, expected, actual); 273 270 274 actual = sh_tiger_generic_hash("cutest_foo", TIGER_FILE, testlen, 0); 271 275 expected = "75B98A7AE257A230189828A40792E30B4038D286479CC7B8"; … … 276 280 CuAssertStrEquals(tc, expected, actual); 277 281 278 actual = sh_tiger_generic_hash("cutest_foo", TIGER_FILE, 0, 0);282 actual = sh_tiger_generic_hash("cutest_foo", TIGER_FILE, TIGER_NOLIM, 0); 279 283 expected = "B5B4FB97B01ADB58794D87A6A01B2368852FA764BD93AB90"; 280 284 CuAssertStrEquals(tc, expected, actual); … … 299 303 CuAssertStrEquals(tc, expected, actual); 300 304 301 actual = sh_tiger_generic_hash("cutest_foo", TIGER_FILE, 0, 0);305 actual = sh_tiger_generic_hash("cutest_foo", TIGER_FILE, TIGER_NOLIM, 0); 302 306 expected = "D0EE1A9956CAB22D84B51A5E0C093B724828C6A1F9CBDB7F"; 303 307 CuAssertStrEquals(tc, expected, actual); … … 337 341 CuAssertTrue(tc, rval_open >= 0); 338 342 339 actual = sh_tiger_generic_hash("cutest_foo", TIGER_FD, 0, 0);343 actual = sh_tiger_generic_hash("cutest_foo", TIGER_FD, TIGER_NOLIM, 0); 340 344 expected = "00A1F1C5EDDCCFC430D3862FDA94593E0000000000000000"; 341 345 CuAssertStrEquals(tc, expected, actual); … … 371 375 CuAssertTrue(tc, rval_open >= 0); 372 376 373 actual = sh_tiger_generic_hash("cutest_foo", TIGER_FD, 0, 0);377 actual = sh_tiger_generic_hash("cutest_foo", TIGER_FD, TIGER_NOLIM, 0); 374 378 expected = "FAA937EF3389C7E786EB0F1006D049D7AEA7B7B600000000"; 375 379 CuAssertStrEquals(tc, expected, actual);
Note:
See TracChangeset
for help on using the changeset viewer.