| 1 |
Revision history for Perl extension Digest::SHA. |
| 2 |
|
| 3 |
6.04 Sat Feb 25 12:00:50 PM MST 2023 |
| 4 |
- modified SHA_INIT/sharewind to silence warnings from gcc 12 |
| 5 |
-- resolves rt.cpan.org #146585 |
| 6 |
-- thanks to Yves ([email protected]) for patch, |
| 7 |
amended slightly to preserve style |
| 8 |
|
| 9 |
6.03 Mon 08 Aug 2022 11:30:32 AM MST |
| 10 |
- corrected addfile to report error when stdin is a directory |
| 11 |
-- ref. rt.cpan.org #143899 |
| 12 |
-- thanks to Gregor Herrmann for pointing this out |
| 13 |
|
| 14 |
6.02 Fri Apr 20 16:25:30 MST 2018 |
| 15 |
- silenced compiler warnings from VS2017 |
| 16 |
-- ref. rt.cpan.org #124477 |
| 17 |
-- thanks to Sergey Aleynikov for diagnostics |
| 18 |
- modified addfile to return error when given a directory name |
| 19 |
-- makes behavior consistent with GNU coreutils shaXsum |
| 20 |
-- thanks to Scott Baker for pointing this out |
| 21 |
|
| 22 |
6.01 Mon Dec 25 00:08:08 MST 2017 |
| 23 |
- added "--ignore-missing" and "--strict" options to shasum |
| 24 |
-- consistent with GNU coreutils |
| 25 |
-- ref. rt.cpan.org #123897 |
| 26 |
- removed PERL_CORE preambles from test scripts |
| 27 |
-- preambles no longer needed for core testing |
| 28 |
-- thanks to Chris Williams for patch |
| 29 |
-- ref. rt.cpan.org #123863 |
| 30 |
|
| 31 |
6.00 Fri Dec 8 22:44:44 MST 2017 |
| 32 |
- added "tag" option (BSD-style checksums) to shasum |
| 33 |
-- consistent with GNU sha1sum, sha224sum, etc. |
| 34 |
-- thanks to Christopher Tubbs for suggestion |
| 35 |
- modified SHA.pm to use XSLoader |
| 36 |
-- falls back to DynaLoader if necessary |
| 37 |
- decoupled Digest::SHA and Digest::SHA::PurePerl |
| 38 |
-- scripts/tests in each module now fully independent |
| 39 |
-- Digest::SHA::PurePerl to be phased out eventually |
| 40 |
-- past versions will remain available |
| 41 |
|
| 42 |
5.98 Wed Oct 4 00:40:02 MST 2017 |
| 43 |
- removed "portable" mode from shasum and addfile |
| 44 |
-- rarely used, mostly in outdated systems |
| 45 |
-- potentially confusing features (e.g. \r\r\n -> \n) |
| 46 |
-- Universal Newlines mode (-U) a much cleaner approach |
| 47 |
-- mimics Universal Newlines in Python |
| 48 |
- shasum now uses Digest::SHA explicitly |
| 49 |
-- no longer loads Digest::SHA::PurePerl as an option |
| 50 |
-- hence no need for -R switch |
| 51 |
-- Digest::SHA::PurePerl has its own shasum: shasumpp |
| 52 |
|
| 53 |
5.97 Wed Sep 6 02:23:02 MST 2017 |
| 54 |
- added 'quiet' option to shasum |
| 55 |
-- thanks to Chris David for suggestion and initial patch |
| 56 |
-- ref. rt.cpan.org #122750 |
| 57 |
- expanded shasum --help message |
| 58 |
-- to explain use of escaped FILE names |
| 59 |
|
| 60 |
5.96 Wed Jul 27 20:04:34 MST 2016 |
| 61 |
- prevented shasum from possibly running malicious code |
| 62 |
-- remove '.' from @INC before module loading |
| 63 |
-- ref. rt.cpan.org #116513 |
| 64 |
- namespace cleanup (ref. rt.cpan.org #105371 and #105372) |
| 65 |
- minor code and documentation tweaks |
| 66 |
|
| 67 |
5.95 Sat Jan 10 12:15:36 MST 2015 |
| 68 |
- modified the bit-ordering test (ref. t/bitorder.t) |
| 69 |
-- supplied directory-change preamble for CORE builds |
| 70 |
|
| 71 |
5.94 Sat Jan 10 00:45:28 MST 2015 |
| 72 |
- added support for threaded builds |
| 73 |
-- PERL_GET_NO_CONTEXT, pTHX_, aTHX_, etc. |
| 74 |
-- employed 'const' storage class where possible |
| 75 |
-- ref. rt.cpan.org #101260 |
| 76 |
- simplified shabits() routine (bitwise input buffering) |
| 77 |
-- slightly less efficient but easier to understand |
| 78 |
-- ref. rt.cpan.org #101344 |
| 79 |
- minor documentation tweaks and additions |
| 80 |
|
| 81 |
5.93 Sun Oct 26 06:00:48 MST 2014 |
| 82 |
- corrected alignment problem in SHA struct (src/sha.h) |
| 83 |
-- thanks to H. Merijn Brand and J. Hietaniemi for |
| 84 |
analysis and suggested patch |
| 85 |
- provided workaround in t/methods.t for unreliable -T test |
| 86 |
-- Some Perl 5.8's mistake text for binary |
| 87 |
|
| 88 |
5.92 Sun Jun 1 00:15:44 MST 2014 |
| 89 |
- fixed reserved-word clash when compiling with C++ |
| 90 |
-- use 'classname' instead of 'class' |
| 91 |
-- ref. SHA.xs (rt.cpan.org #96090) |
| 92 |
- silenced MSC compiler warning about signed/unsigned comparison |
| 93 |
-- ref. SHA.xs (rt.cpan.org #95830) |
| 94 |
|
| 95 |
5.91 Fri May 16 10:21:44 MST 2014 |
| 96 |
- restored original 'addfile' for use on opened file handles |
| 97 |
-- allows callbacks in place of actual files |
| 98 |
-- ref. IO::Callback (rt.cpan.org #95643) |
| 99 |
- re-established inheritance from Digest::base |
| 100 |
-- to pick up future Digest enhancements automatically |
| 101 |
- cleaned up documentation |
| 102 |
|
| 103 |
5.90 Wed May 7 07:57:08 MST 2014 |
| 104 |
- consolidated all dynamic memory allocation into XSUBs |
| 105 |
-- streamlines referencing of SHA objects |
| 106 |
-- simplifies DESTROYing of objects |
| 107 |
- enhanced Makefile.PL to allow 'use warnings' |
| 108 |
-- automatically reverts to $^W for early Perls |
| 109 |
- scrubbed C and Perl code to remove all compiler warnings |
| 110 |
|
| 111 |
5.89 Sat Apr 19 05:14:48 MST 2014 |
| 112 |
- added universal newlines mode ("U") to addfile and shasum |
| 113 |
-- based on Python Universal Newlines concept |
| 114 |
-- newlines identical across MacOS, DOS, and UNIX |
| 115 |
-- will deprecate portable mode ("p") in future |
| 116 |
-- "U" mode is cleaner and more efficient |
| 117 |
- enhanced performance |
| 118 |
-- reduced number of dynamic memory allocations |
| 119 |
-- sped up addfile method with use of C code |
| 120 |
-- ref. SHA.xs (_addfilebin and _addfileuniv) |
| 121 |
- eliminated experimental -M option in favor of new -R option |
| 122 |
-- reverses order of digest module preference |
| 123 |
-- undocumented: for test and development use only |
| 124 |
- sealed memory leak in SHA.xs |
| 125 |
-- arose only with SvPVbyte exceptions during eval |
| 126 |
- patched inheritence bug (ref: rt.cpan.org #94830) |
| 127 |
-- use sv_isobject/sv_derived_from instead of sv_isa |
| 128 |
- added 'allocated' flag to SHA structure (ref. src/sha.h) |
| 129 |
-- to guard against Perl double frees |
| 130 |
|
| 131 |
5.88 Mon Mar 17 08:46:10 MST 2014 |
| 132 |
- added OUTPUT clause in SHA.xs to silence compiler warning |
| 133 |
-- ref. shaclose() |
| 134 |
- changed text file test (-T) to act on filehandles |
| 135 |
-- ref. addfile portable mode |
| 136 |
-- improves consistency when reading from STDIN |
| 137 |
-- still must act on filenames for early Perls (< 5.6) |
| 138 |
- added -M and -V options to shasum |
| 139 |
-- undocumented: for development and testing use only |
| 140 |
|
| 141 |
5.87 Mon Feb 17 16:42:02 MST 2014 |
| 142 |
- simplified capture of intermediate SHA states |
| 143 |
-- can now be done via strings (ref. getstate/putstate) |
| 144 |
-- substantially reduces size of src/sha.c |
| 145 |
- tightened code in SHA.xs |
| 146 |
-- added sv_isa checks when invoking methods |
| 147 |
|
| 148 |
5.86 Thu Jan 30 08:24:28 MST 2014 |
| 149 |
- improved the performance of hexadecimal output functions |
| 150 |
-- ref. 'shahex' in src/sha.c |
| 151 |
-- thanks to Thomas Drugeon for ideas and test script |
| 152 |
|
| 153 |
5.85 Wed Jun 26 04:05:26 MST 2013 |
| 154 |
- workaround for repeated calls to shaclose (ref. Bug #86295) |
| 155 |
-- need to explicitly reset internal pointer to NULL |
| 156 |
ref. shaclose() in SHA.xs |
| 157 |
- corrected typos in shasum script |
| 158 |
-- ref. Bug #85430 |
| 159 |
|
| 160 |
5.84 Sat Mar 9 17:36:08 MST 2013 |
| 161 |
- untweaked Makefile.PL to remove dependencies of SHA.c |
| 162 |
-- dependencies were breaking builds on VMS |
| 163 |
-- retaining dependencies provides too little benefit |
| 164 |
for cost of portable workaround |
| 165 |
|
| 166 |
5.83 Mon Mar 4 08:12:00 MST 2013 |
| 167 |
- removed code for standalone C operation (no longer used) |
| 168 |
-- eliminates need for external symbols |
| 169 |
-- consolidates SHA and HMAC code |
| 170 |
-- reduces size of object files |
| 171 |
-- thanks to Marc Lehmann for suggestions |
| 172 |
- tweaked Makefile.PL to show dependencies of SHA.c |
| 173 |
|
| 174 |
5.82 Thu Jan 24 04:54:12 MST 2013 |
| 175 |
- introduced workaround to SvPVbyte bug in Perl 5.6 |
| 176 |
-- module behavior now consistent under all Perls 5.6+ |
| 177 |
-- ref: new test script t/unicode.t |
| 178 |
-- SHA routines now always croak on wide chars (5.6+) |
| 179 |
- removed "static" message schedules from C code |
| 180 |
-- default "auto" is now just as fast |
| 181 |
-- thread-safe option (-t) no longer necessary |
| 182 |
-- still allowed, but ignored |
| 183 |
-- simplifies source and header files |
| 184 |
-- eliminates SHA_STO_CLASS and SHA_THREAD_SAFE |
| 185 |
-- ref. Bug #82784 |
| 186 |
-- thanks to Steve Hay for initial patch |
| 187 |
- provided documentation to describe Unicode handling |
| 188 |
-- ref: Bug #82378 |
| 189 |
- updated documentation of NIST statement on SHA-1 |
| 190 |
|
| 191 |
5.81 Mon Jan 14 05:17:08 MST 2013 |
| 192 |
- corrected load subroutine (SHA.pm) to prevent double-free |
| 193 |
-- Bug #82655: Security issue - segfault |
| 194 |
-- thanks to Victor Efimov and Nicholas Clark |
| 195 |
for technical expertise and suggestions |
| 196 |
|
| 197 |
5.80 Mon Dec 10 14:15:26 MST 2012 |
| 198 |
- obtained noticeable speedup on Intel/gcc |
| 199 |
-- by setting -O1 and -fomit-frame-pointer |
| 200 |
-- SHA-1 about 63% faster, SHA-2 improves 11-20% |
| 201 |
|
| 202 |
5.74 Sat Nov 24 03:10:18 MST 2012 |
| 203 |
- handle wide-string input by converting to bytes first |
| 204 |
-- viz. use SvPVbyte instead of SvPV in SHA.xs |
| 205 |
-- thanks to Eric Brine for summary and code |
| 206 |
|
| 207 |
5.73 Wed Oct 31 04:32:44 MST 2012 |
| 208 |
- provided workaround for DEC compiler bug (ref. Makefile.PL) |
| 209 |
|
| 210 |
5.72 Mon Sep 24 15:22:08 MST 2012 |
| 211 |
- adjusted module installation directory for later Perls |
| 212 |
-- As of 5.11 Perl searches 'site' first, so use that |
| 213 |
-- ref. INSTALLDIRS in Makefile.PL |
| 214 |
-- thanks to Robert Sedlacek for patch |
| 215 |
|
| 216 |
5.71 Wed Feb 29 04:06:10 MST 2012 |
| 217 |
- prevented $! from getting clobbered in _bail() routine |
| 218 |
-- thanks to Zefram for patch |
| 219 |
- added example of BITS mode usage to shasum documentation |
| 220 |
|
| 221 |
5.70 Wed Dec 14 02:32:10 MST 2011 |
| 222 |
- added BITS mode to addfile method and shasum |
| 223 |
-- partial-byte inputs now possible via files/STDIN |
| 224 |
-- allows shasum to check all 8074 NIST Msg vectors |
| 225 |
-- previously required special programming |
| 226 |
|
| 227 |
5.63 Tue Nov 8 02:36:42 MST 2011 |
| 228 |
- added code to allow very large data inputs all at once |
| 229 |
-- previously limited to several hundred MB at a time |
| 230 |
-- many thanks to Thomas Drugeon for his elegant patch |
| 231 |
- removed outdated reference URLs from several test scripts |
| 232 |
-- these URLs aren't essential, and often go stale |
| 233 |
-- thanks to Leon Brocard for spotting this |
| 234 |
-- ref. rt.cpan.org #68740 |
| 235 |
|
| 236 |
5.62 Sat May 14 04:00:34 MST 2011 |
| 237 |
- removed unnecessary loading of MIME::Base64 module |
| 238 |
-- thanks to dolmen for pointing this out |
| 239 |
|
| 240 |
5.61 Wed Mar 9 05:26:36 MST 2011 |
| 241 |
- corrected bug in 'algorithm' method |
| 242 |
- fixed -x option in Makefile.PL |
| 243 |
-- not often used since it deliberately excludes |
| 244 |
all 64-bit SHA transforms |
| 245 |
- addressed minor documentation oversights |
| 246 |
|
| 247 |
5.60 Thu Mar 3 05:26:42 MST 2011 |
| 248 |
- added new SHA-512/224 and SHA-512/256 transforms |
| 249 |
-- ref. NIST Draft FIPS 180-4 (February 2011) |
| 250 |
- simplified shasum by removing duplicative text |
| 251 |
- improved efficiency of Addfile |
| 252 |
-- expensive -T test now occurs only in portable mode |
| 253 |
|
| 254 |
5.50 Tue Dec 14 06:20:08 MST 2010 |
| 255 |
- adopted convention that '-' always means STDIN |
| 256 |
-- actual filename '-' accessed as './-' |
| 257 |
-- accords with behavior of sha1sum/md5sum |
| 258 |
- corrected undefined subroutine oversight in shasum |
| 259 |
-- inadvertent migration of _bail() from SHA.pm |
| 260 |
|
| 261 |
5.49 Sun Dec 12 07:22:04 MST 2010 |
| 262 |
- modified Addfile to accept all POSIX filenames |
| 263 |
-- standard allows all characters except NUL and '/' |
| 264 |
- updated shasum to more closely mimic sha1sum/md5sum |
| 265 |
-- added "backslash processing" to handle newlines |
| 266 |
and backslashes in filenames |
| 267 |
-- now accepts all POSIX filenames via Addfile |
| 268 |
-- thanks to Sean Burke for identifying edge cases |
| 269 |
|
| 270 |
5.48 Mon Jan 4 16:32:52 MST 2010 |
| 271 |
- fixed "shasum -a0" option (ref. rt.cpan.org #53319) |
| 272 |
-- incorrectly accepted 0 as a valid algorithm |
| 273 |
-- thanks to Zefram for patch |
| 274 |
- updated URL for NIST test vectors |
| 275 |
-- ref. files t/nistbit.t, t/nistbyte.t |
| 276 |
-- thanks to Leon Brocard for patch |
| 277 |
|
| 278 |
5.47 Wed Apr 30 04:00:54 MST 2008 |
| 279 |
- modified Makefile.PL to install in core for Perls >= 5.10 |
| 280 |
-- thanks to Jerry Hedden for patch |
| 281 |
- changed from #include <> to #include "" in SHA.xs |
| 282 |
-- some platforms not able to find SHA source files |
| 283 |
-- thanks to Alexandr Ciornii for testing |
| 284 |
- moved .pm file to appropriate lib directory |
| 285 |
- minor addition to META.yml |
| 286 |
|
| 287 |
5.46 Wed Apr 9 05:04:00 MST 2008 |
| 288 |
- modified Addfile to recognize leading and trailing |
| 289 |
whitespace in filenames (ref. rt.cpan.org #34690) |
| 290 |
- minor C source code modification (ref. hmac.c) |
| 291 |
- use const in sha.c for clean builds with -Wwrite-strings |
| 292 |
-- thanks to Robin Barker for patch |
| 293 |
|
| 294 |
5.45 Tue Jun 26 02:36:00 MST 2007 |
| 295 |
- extended portability to earlier Perls |
| 296 |
-- works on Perl 5.003 and later |
| 297 |
-- thanks to Jim Doble for testing on legacy platforms |
| 298 |
- updated META.yml to conform to current META spec (1.3) |
| 299 |
- minor documentation fixes |
| 300 |
|
| 301 |
5.44 Sat Oct 14 00:42:44 MST 2006 |
| 302 |
- removed SIGNATURE file from distribution |
| 303 |
-- spurious errors from CPANPLUS can break build |
| 304 |
- eliminated ppport.h header file |
| 305 |
-- significantly reduces size of distribution |
| 306 |
- modified C functions in src/hmac.c to use ANSI prototypes |
| 307 |
-- thanks to Jarkko Hietaniemi for patch |
| 308 |
|
| 309 |
5.43 Sat Aug 5 02:36:18 MST 2006 |
| 310 |
- undid Perl Best Practice of favoring 3-argument "open" |
| 311 |
-- 3-arg version uses different semantics for "-" |
| 312 |
causing bugs in addfile and shasum |
| 313 |
- modified underlying C functions to use ANSI prototypes |
| 314 |
-- requested by Steve Hay (ref. Smoke [5.9.4] 28630) |
| 315 |
-- K&R style was causing numerous warnings from |
| 316 |
Borland compiler |
| 317 |
|
| 318 |
5.42 Mon Jul 24 04:04:40 MST 2006 |
| 319 |
- minor code changes suggested by Perl::Critic |
| 320 |
-- e.g. no bareword filehandles, no 2-argument open's |
| 321 |
- updated public key (ref. B538C51C) |
| 322 |
-- previous one (0AF563FE) expired July 2, 2006 |
| 323 |
- added documentation to warn that Base64 digests are NOT padded |
| 324 |
-- padding must be done by user if interoperability |
| 325 |
with other software is required |
| 326 |
|
| 327 |
5.41 Sat Jun 3 01:50:46 MST 2006 |
| 328 |
- corrected addfile |
| 329 |
-- process $file argument as a filehandle unless passed |
| 330 |
as a SCALAR (which indicates a file name) |
| 331 |
|
| 332 |
5.40 Fri Jun 2 04:00:30 MST 2006 |
| 333 |
- modified addfile to accept indirect filehandles |
| 334 |
-- ref. rt.cpan.org #19627 and #19641 |
| 335 |
|
| 336 |
5.39 Sun May 28 03:22:24 MST 2006 |
| 337 |
- modified shasum to warn rather than die for file errors |
| 338 |
-- to follow conventions of GNU sha1sum/md5sum |
| 339 |
|
| 340 |
5.38 Thu May 25 02:02:02 MST 2006 |
| 341 |
- added new capabilities to the "addfile" method |
| 342 |
-- now able to accept file names as well as handles |
| 343 |
-- includes mode for portable digest calculation |
| 344 |
-- thanks to Adam Kennedy for emails and ideas |
| 345 |
ref. File::LocalizeNewlines |
| 346 |
- used expanded addfile interface to simplify shasum (sumfile) |
| 347 |
-- regex a tad less general than 5.37, but handles all |
| 348 |
known newline variants in UNIX/Windows/MacOS |
| 349 |
- enhanced WARNING messages from shasum checkfile processing |
| 350 |
-- to mimic behavior of md5sum |
| 351 |
|
| 352 |
5.37 Mon May 8 04:30:09 MST 2006 |
| 353 |
- modified shasum to avoid file slurping (ref. sub sumfile) |
| 354 |
- improved error handling of checksum files in shasum |
| 355 |
-- to better mimic the behavior of md5sum |
| 356 |
- refined line-break regex in shasum (ref. sub sumfile) |
| 357 |
-- catches multiple CR's preceding LF |
| 358 |
thanks to Gisle Aas for suggested patch |
| 359 |
- changed loop vars to signed int's in shadump (ref. src/sha.c) |
| 360 |
-- to prevent type mismatch warnings |
| 361 |
|
| 362 |
5.36 Mon May 8 01:38:36 MST 2006 |
| 363 |
- fixed the "portable" option in shasum |
| 364 |
-- normalize line-breaks in text files only |
| 365 |
|
| 366 |
5.35 Thu May 4 16:54:42 MST 2006 |
| 367 |
- added "portable" option to shasum |
| 368 |
-- to make digests match across Windows/Unix/MacOS |
| 369 |
- enabled bundling of shasum command line options |
| 370 |
-- to mimic behavior of md5sum |
| 371 |
- removed \r's from text files in t/nist directory |
| 372 |
-- resolves SIGNATURE clashes (rt.cpan.org #18983) |
| 373 |
- changed suffix on SHA64_MAX (src/sha.h) to ULL |
| 374 |
-- eliminates gcc warnings (rt.cpan.org #18988) |
| 375 |
- specified minimum Perl version for module and Makefile.PL |
| 376 |
-- closes rt.cpan.org #18984 |
| 377 |
|
| 378 |
5.34 Thu Feb 2 18:55:40 MST 2006 |
| 379 |
- removed Unix-style pathnames in test scripts |
| 380 |
-- causing problems on OpenVMS |
| 381 |
-- thanks to Steve Peters for patch |
| 382 |
- included latest version of Perl Portability header (ppport.h) |
| 383 |
- added PERL_CORE check to test scripts |
| 384 |
-- allows module to be built into Perl distribution |
| 385 |
|
| 386 |
5.32 Fri Dec 2 02:32:20 MST 2005 |
| 387 |
- added POD section to shasum script |
| 388 |
-- thanks to Gunnar Wolf for patch |
| 389 |
- made minor code changes to silence compiler warnings |
| 390 |
-- resulting from signed/unsigned integer mixing |
| 391 |
- inserted code in test scripts for POD checking |
| 392 |
-- to recover gracefully if Test::More isn't installed |
| 393 |
|
| 394 |
5.31 Mon Sep 5 00:52:42 MST 2005 |
| 395 |
- added standard tests for pod and pod-coverage checking |
| 396 |
- inserted subtest to check for failure when using |
| 397 |
unrecognized SHA algorithm |
| 398 |
|
| 399 |
5.30 Sat Aug 20 16:46:08 MST 2005 |
| 400 |
- updated docs with recent NIST statement on SHA-1 |
| 401 |
-- advises use of larger and stronger hash functions |
| 402 |
(i.e. SHA-224/256/384/512) for new developments |
| 403 |
|
| 404 |
5.29 Sun Aug 14 04:48:34 MST 2005 |
| 405 |
- added explicit casts in "shaload" routine (ref. "ldvals") |
| 406 |
-- thanks to E. Allen Smith for pointing out SGI compiler |
| 407 |
warnings on IPxx-irix platforms |
| 408 |
- updated docs with cautionary note about SHA-1 |
| 409 |
|
| 410 |
5.28 Wed Nov 10 15:33:20 MST 2004 |
| 411 |
- provided more flexible formatting of SHA state files |
| 412 |
-- entries may now contain embedded whitespace |
| 413 |
for improved readability |
| 414 |
- minor code cleanups |
| 415 |
|
| 416 |
5.27 Sun Oct 24 02:54:00 MST 2004 |
| 417 |
- minor code cleanups |
| 418 |
-- reduces size of dump files for SHA-1/224/256 |
| 419 |
|
| 420 |
5.26 Thu Oct 7 14:52:00 MST 2004 |
| 421 |
- streamlined distribution |
| 422 |
-- reduced NIST vector tests from 200 to 20 |
| 423 |
-- former number was overkill |
| 424 |
-- distro now downloads and builds more quickly |
| 425 |
- rewrote SYNOPSIS sections in pod file |
| 426 |
- made additional tweaks to t/8-shasum.t for portability |
| 427 |
- cleaned up test scripts |
| 428 |
|
| 429 |
5.25 Sun Sep 12 18:48:00 MST 2004 |
| 430 |
- removed non-essential test script |
| 431 |
-- t/8-shasum.t causes problems on sparc64-linux |
| 432 |
- reverted to using eval "require $module" in shasum |
| 433 |
|
| 434 |
5.24 Sun Sep 12 02:50:18 MST 2004 |
| 435 |
- modified shasum to use barewords in "require" statements |
| 436 |
-- ref. perl.cpan.testers (157305) |
| 437 |
|
| 438 |
5.23 Thu Sep 9 23:06:18 MST 2004 |
| 439 |
- corrected bug in test script |
| 440 |
-- use blib when invoking perl as an external |
| 441 |
command in t/8-shasum.t |
| 442 |
|
| 443 |
5.22 Tue Sep 7 19:12:40 MST 2004 |
| 444 |
- broadened SHA-384/512 support |
| 445 |
-- to compilers with no ULLONG_MAX in limits.h |
| 446 |
-- e.g IBM C (xlC 6.0.0) on AIX 4.3.3 |
| 447 |
-- thanks to Chris Carey for suggestions |
| 448 |
and technical expertise |
| 449 |
- improved use of static storage class in transforms |
| 450 |
-- detection of Intel arch. now done in Makefile.PL |
| 451 |
-- NB: static not used if compiling for thread safety |
| 452 |
- minor changes to documentation |
| 453 |
|
| 454 |
5.21 Mon Aug 23 04:02:00 MST 2004 |
| 455 |
- removed 64-bit constant expressions from #if statements |
| 456 |
-- ref. src/sha.h (lines 55, 58, and 61) |
| 457 |
-- even if compiler supports long long's, preprocessor |
| 458 |
may use long's when evaluating expressions |
| 459 |
- improved test script for "shasum" (t/8-shasum.t) |
| 460 |
-- exercises check file option (-c) |
| 461 |
|
| 462 |
5.20 Sun Aug 15 04:24:48 MST 2004 |
| 463 |
- introduced "shasum" script |
| 464 |
-- mimics the usage and behavior of "md5sum" |
| 465 |
-- adds "-a" option to select SHA algorithm |
| 466 |
-- for help, just type "shasum -h" |
| 467 |
|
| 468 |
5.10 Fri Aug 6 02:04:38 MST 2004 |
| 469 |
- simplified module documentation |
| 470 |
-- made it consistent with Digest::SHA::PurePerl docs |
| 471 |
|
| 472 |
5.03 Sat Jul 31 00:00:48 MST 2004 |
| 473 |
- corrected HMAC-SHA-384/512 bug (cpan #7181, Adam Woodbury) |
| 474 |
-- code was using hardwired blocksize for SHA-1/256 |
| 475 |
-- ref. src/hmac.c, src/hmac.h |
| 476 |
|
| 477 |
5.02 Thu Jul 29 02:48:00 MST 2004 |
| 478 |
- updated documentation and "dump-load.t" test script |
| 479 |
-- to be consistent with Digest::SHA::PurePerl |
| 480 |
- included a SIGNATURE file |
| 481 |
-- for stronger authentication of module contents |
| 482 |
-- ref. Module::Signature on CPAN |
| 483 |
- corrected embarrassing misspelling in docs |
| 484 |
-- apologies to Gisle Aas |
| 485 |
|
| 486 |
5.01 Fri May 21 13:08:12 MST 2004 |
| 487 |
- check for undefined SHA handle when calling "shaclose()" |
| 488 |
-- prevents intermittent cleanup errors during |
| 489 |
global object destruction |
| 490 |
|
| 491 |
5.00 Fri May 14 04:45:00 MST 2004 |
| 492 |
- minor documentation fixes |
| 493 |
- restored classical style of version numbering (X.YZ) |
| 494 |
-- previous X.Y.Z style caused installation difficulties |
| 495 |
when using CPANPLUS |
| 496 |
|
| 497 |
4.3.3 Wed May 5 00:30:40 MST 2004 |
| 498 |
- fixed bug in "strto64()" function |
| 499 |
-- caused problems in state files with CR/LF pairs |
| 500 |
-- thanks to Martin Thurn for testing support |
| 501 |
|
| 502 |
4.3.2 Wed Apr 28 03:56:00 MST 2004 |
| 503 |
- added Makefile.PL options |
| 504 |
-- thread-safety: -t |
| 505 |
-- exclude 384/512 support: -x |
| 506 |
-- e.g. perl Makefile.PL -t |
| 507 |
- temporarily suppress dump/load tests for SHA-384/512 |
| 508 |
-- pending clarification of problem on sun4u sparc |
| 509 |
|
| 510 |
4.3.1 Thu Mar 4 02:54:00 MST 2004 |
| 511 |
- removed unused functions from XS file |
| 512 |
-- reduces size of compiled objects |
| 513 |
- simplified implementation of Digest::SHA object |
| 514 |
-- now a blessed SHAPtr ref instead of blessed array ref |
| 515 |
-- results in slight speed-up of OO operations |
| 516 |
- streamlined underlying C source |
| 517 |
-- used macros to consolidate repetitive code |
| 518 |
- rewrote test scripts to depend on Test rather than Test::More |
| 519 |
-- allows module to be checked in minimal Perl environments |
| 520 |
- added compilation option for thread-safety |
| 521 |
-- overrides use of static arrays |
| 522 |
|
| 523 |
4.3.0 Sat Feb 7 02:58:00 MST 2004 |
| 524 |
- included SHA-384/512 support if using Microsoft C/C++ |
| 525 |
-- uses MSVC's __int64 in place of "long long" |
| 526 |
- enhanced portability and efficiency on diverse platforms |
| 527 |
-- automatically sets up optimal types for 32/64-bit ops |
| 528 |
- improved test scripts for better reporting |
| 529 |
-- many thanks to Alex Muntada for helpful suggestions |
| 530 |
|
| 531 |
4.2.2 Sat Jan 31 17:10:20 MST 2004 |
| 532 |
- repaired 32-bit SHA operations for 8-byte longs |
| 533 |
|
| 534 |
4.2.1 Sat Jan 24 00:56:54 MST 2004 |
| 535 |
- modified I/O and memory management in underlying C code |
| 536 |
-- uses Perl libraries when compiled as CPAN module |
| 537 |
-- otherwise defaults to ANSI C libraries |
| 538 |
-- bypasses problems in MSWin multi-threaded Perls |
| 539 |
-- avoids "Free to wrong pool" error |
| 540 |
-- special thanks to Robert Gilmour and Brian Gladman |
| 541 |
for technical guidance and testing |
| 542 |
|
| 543 |
4.2.0 Sat Dec 27 16:08:00 MST 2003 |
| 544 |
- added support for recently-announced SHA-224 algorithm |
| 545 |
-- ref. FIPS 180-2 Change Notice 1 |
| 546 |
-- also includes HMAC-SHA-224 |
| 547 |
|
| 548 |
4.1.0 Thu Dec 25 00:58:00 MST 2003 |
| 549 |
- repaired "nist-vectors" test scripts for MSWin32 portability |
| 550 |
-- use binmode for data files |
| 551 |
|
| 552 |
4.0.9 Wed Dec 24 02:58:22 MST 2003 |
| 553 |
- use canonical file specs in test scripts |
| 554 |
-- enhances portability across different OSes |
| 555 |
- modify type declarations of objects in XS file |
| 556 |
-- re-declare as (SV *) and cast to (AV *) SvRV(self) |
| 557 |
-- in response to AVPtr problem on MSWin32 |
| 558 |
|
| 559 |
4.0.8 Thu Dec 18 23:32:00 MST 2003 |
| 560 |
- inherits from Digest::base if installed |
| 561 |
-- also checks for MIME::Base64 |
| 562 |
-- still fully-functional if neither are installed |
| 563 |
- added buffer overflow protection in underlying C code |
| 564 |
-- ref. shahex() and shabase64() routines |
| 565 |
-- prior code appeared impossible to exploit, but ... |
| 566 |
-- better safe than sorry |
| 567 |
-- does not impact runtime efficiency |
| 568 |
- minor code cleanup |
| 569 |
|
| 570 |
4.0.7 Sat Dec 13 00:48:24 MST 2003 |
| 571 |
- check for undefined SHA handle when calling "shaclose()" |
| 572 |
-- was causing cleanup err during global destruction |
| 573 |
|
| 574 |
4.0.6 Thu Dec 11 02:18:00 MST 2003 |
| 575 |
- more optimization and streamlining |
| 576 |
-- a bit faster on non-big-endians (e.g. Intel) |
| 577 |
- rewrote time-critical functions and methods in XS |
| 578 |
- removed unused C functions from source files |
| 579 |
|
| 580 |
4.0.5 Sat Dec 6 00:02:24 MST 2003 |
| 581 |
- performance optimizations |
| 582 |
-- rewrote "add" method in XS |
| 583 |
-- unrolled loops in sha256 transform |
| 584 |
|
| 585 |
4.0.4 Thu Dec 4 00:07:00 MST 2003 |
| 586 |
- made Digest::SHA into a self-contained module |
| 587 |
-- no longer depends on Digest::base |
| 588 |
-- more convenient for users |
| 589 |
-- no need to install Digest:: module |
| 590 |
|
| 591 |
4.0.3 Wed Dec 3 00:01:20 MST 2003 |
| 592 |
- Digest::SHA now a subclass of Digest::base |
| 593 |
-- inherits hexdigest/b64digest/addfile methods |
| 594 |
- added "hashsize" method |
| 595 |
- removed old "shaopen()/shawrite()/..." legacy code |
| 596 |
-- in favor of standard, streamlined OO interface |
| 597 |
- renamed test vector files from NIST |
| 598 |
-- prevents problems on 8+3 filesystems |
| 599 |
- added test for Dave Ireland's SHA-256 vector |
| 600 |
|
| 601 |
4.0.0 Sat Nov 29 21:14:09 MST 2003 |
| 602 |
- major streamlining of interface (hence, major version change) |
| 603 |
-- coordinated with Gisle Aas and J. Duque |
| 604 |
-- goal is to produce a single SHA module |
| 605 |
-- adheres to OO and functional styles of Digest:: |
| 606 |
-- greatly reduces the number of interface functions |
| 607 |
-- old functions still supported |
| 608 |
-- use Digest::SHA ':legacy' |
| 609 |
-- will be deprecated in near future |
| 610 |
- rewrote all test scripts to match new interface |
| 611 |
-- very easy to modify all 281 tests |
| 612 |
-- old interface maps cleanly to new one |
| 613 |
|
| 614 |
3.0 Wed Nov 26 05:02:34 MST 2003 |
| 615 |
- added functions that conform to Digest:: interface |
| 616 |
-- both functional and OO styles |
| 617 |
-- byte-oriented data only |
| 618 |
-- continue to support original interface as well |
| 619 |
-- necessary for bit-oriented data |
| 620 |
- supplied formal test vectors for HMAC-SHA-256 |
| 621 |
-- from draft-ietf-ipsec-ciph-sha-256-01.txt |
| 622 |
- included tests for all OO methods |
| 623 |
|
| 624 |
2.4 Sat Nov 22 17:10:22 MST 2003 |
| 625 |
- code cleanup |
| 626 |
-- "sha.c" now completely free of #ifdef's |
| 627 |
- modularized all 64-bit (long long) code |
| 628 |
- improved readability of header files |
| 629 |
- simplified logic of "fixdump" utility |
| 630 |
|
| 631 |
2.3 Wed Nov 19 03:54:31 MST 2003 |
| 632 |
- minor optimizations and code cleanup |
| 633 |
-- improved maintainability by reducing #ifdef's |
| 634 |
-- sha1 transform code now easier to follow |
| 635 |
- streamlined shadump/shaload file format |
| 636 |
-- eliminated special "HQ" entry |
| 637 |
-- state now held in "H" for all transforms |
| 638 |
-- supplied "fixdump" utility to convert old format |
| 639 |
- SHA-384/512 functions now return NULL for no 64-bit operations |
| 640 |
-- previously they were undefined |
| 641 |
-- no longer necessary to use eval's to test for presence |
| 642 |
|
| 643 |
2.2 Sun Nov 16 01:54:00 MST 2003 |
| 644 |
- optimized the performance of the SHA-1 transform |
| 645 |
-- around 20-30% faster than previous version |
| 646 |
-- achieved by loop unrolling and assignment consolidation |
| 647 |
- enhanced shaload/shadump to allow interaction with stdin/stdout |
| 648 |
-- "$filename" argument now optional |
| 649 |
|
| 650 |
2.1 Sun Nov 9 03:28:04 MST 2003 |
| 651 |
- simplified data input routines |
| 652 |
-- length argument now optional for byte data |
| 653 |
(special thanks to Jeffrey Friedl for this idea) |
| 654 |
-- interface still compatible with earlier versions |
| 655 |
-- changes will not affect existing client code |
| 656 |
- streamlined underlying C code for easier maintenance |
| 657 |
- provided additional tests for persistent data |
| 658 |
|
| 659 |
2.0 Sat Nov 1 03:55:36 MST 2003 |
| 660 |
- added functions for HMAC-SHA-1/256/384/512 (FIPS PUB 198) |
| 661 |
- shadump/shaload files now compatible between 32/64-bit machines |
| 662 |
|
| 663 |
1.01 Sat Oct 25 02:44:55 MST 2003 |
| 664 |
- package now downloads and installs much faster |
| 665 |
- reduced distribution size by 80% |
| 666 |
-- pruned extensive NIST vectors to a useful subset |
| 667 |
-- still possible to test all vectors if desired |
| 668 |
--- see "t/nist/COPYRIGHT" file for details |
| 669 |
- added routines to provide persistent storage of SHA states |
| 670 |
-- shadump() and shaload() |
| 671 |
- reduced runtime of large bitstring tests (gillogly-hard) |
| 672 |
-- illustrates usefulness of shadump()/shaload() |
| 673 |
|
| 674 |
1.0 Sat Oct 18 17:35:07 MST 2003 |
| 675 |
- documentation fixes |
| 676 |
- code cleanup: no more compiler warnings from gcc -Wall |
| 677 |
- added code to allow reading of intermediate digest state |
| 678 |
-- shahex() prior to shafinish() returns current state |
| 679 |
|
| 680 |
0.9 Thu Oct 9 20:43:54 MST 2003 |
| 681 |
- version updated to reflect portability check and passing |
| 682 |
of all tests (1401) |
| 683 |
|
| 684 |
0.01 Wed Oct 8 22:28:05 2003 |
| 685 |
- original version; created by h2xs 1.22 with options |
| 686 |
-x -A -n Digest::SHA sha.h |