This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
blead is upstream for Math-BigInt
[perl5.git] / cpan / Digest-SHA / Changes
CommitLineData
6bc89f92
SP
1Revision history for Perl extension Digest::SHA.
2
dfe1edcb
CBW
35.48 Mon Jan 4 16:32:52 MST 2010
4 - fixed "shasum -a0" option (ref. rt.cpan.org #53319)
5 -- incorrectly accepted 0 as a valid algorithm
6 -- thanks to Zefram for patch
7 - updated URL for NIST test vectors
8 -- ref. files t/nistbit.t, t/nistbyte.t
9 -- thanks to Leon Brocard for patch
10
4eb6bdb8
SP
115.47 Wed Apr 30 04:00:54 MST 2008
12 - modified Makefile.PL to install in core for Perls >= 5.10
13 -- thanks to Jerry Hedden for patch
14 - changed from #include <> to #include "" in SHA.xs
15 -- some platforms not able to find SHA source files
16 -- thanks to Alexandr Ciornii for testing
17 - moved .pm file to appropriate lib directory
18 - minor addition to META.yml
19
0bc2b4f8
RGS
205.46 Wed Apr 9 05:04:00 MST 2008
21 - modified Addfile to recognize leading and trailing
22 whitespace in filenames (ref. rt.cpan.org #34690)
23 - minor C source code modification (ref. hmac.c)
24 - use const in sha.c for clean builds with -Wwrite-strings
25 -- thanks to Robin Barker for patch
26
747da336
RGS
275.45 Tue Jun 26 02:36:00 MST 2007
28 - extended portability to earlier Perls
29 -- works on Perl 5.003 and later
30 -- thanks to Jim Doble for testing on legacy platforms
31 - updated META.yml to conform to current META spec (1.3)
32 - minor documentation fixes
33
1bd6a86e
SP
345.44 Sat Oct 14 00:42:44 MST 2006
35 - removed SIGNATURE file from distribution
36 -- spurious errors from CPANPLUS can break build
37 - eliminated ppport.h header file
38 -- significantly reduces size of distribution
39 - modified C functions in src/hmac.c to use ANSI prototypes
40 -- thanks to Jarkko Hietaniemi for patch
41
44e8b72c
SP
425.43 Sat Aug 5 02:36:18 MST 2006
43 - undid Perl Best Practice of favoring 3-argument "open"
44 -- 3-arg version uses different semantics for "-"
45 causing bugs in addfile and shasum
46 - modified underlying C functions to use ANSI prototypes
47 -- requested by Steve Hay (ref. Smoke [5.9.4] 28630)
48 -- K&R style was causing numerous warnings from
49 Borland compiler
50
cccd5831
SP
515.42 Mon Jul 24 04:04:40 MST 2006
52 - minor code changes suggested by Perl::Critic
53 -- e.g. no bareword filehandles, no 2-argument open's
54 - updated public key (ref. B538C51C)
55 -- previous one (0AF563FE) expired July 2, 2006
56 - added documentation to warn that Base64 digests are NOT padded
57 -- padding must be done by user if interoperability
58 with other software is required
59
84c0b84e
SP
605.41 Sat Jun 3 01:50:46 MST 2006
61 - corrected addfile
62 -- process $file argument as a filehandle unless passed
63 as a SCALAR (which indicates a file name)
64
655.40 Fri Jun 2 04:00:30 MST 2006
66 - modified addfile to accept indirect filehandles
67 -- ref. rt.cpan.org #19627 and #19641
68
695.39 Sun May 28 03:22:24 MST 2006
70 - modified shasum to warn rather than die for file errors
71 -- to follow conventions of GNU sha1sum/md5sum
72
c7e5c266
SP
735.38 Thu May 25 02:02:02 MST 2006
74 - added new capabilities to the "addfile" method
75 -- now able to accept file names as well as handles
76 -- includes mode for portable digest calculation
77 -- thanks to Adam Kennedy for emails and ideas
78 ref. File::LocalizeNewlines
79 - used expanded addfile interface to simplify shasum (sumfile)
80 -- regex a tad less general than 5.37, but handles all
81 known newline variants in UNIX/Windows/MacOS
82 - enhanced WARNING messages from shasum checkfile processing
83 -- to mimic behavior of md5sum
84
dcbcf62d
SP
855.37 Mon May 8 04:30:09 MST 2006
86 - modified shasum to avoid file slurping (ref. sub sumfile)
87 - improved error handling of checksum files in shasum
88 -- to better mimic the behavior of md5sum
89 - refined line-break regex in shasum (ref. sub sumfile)
90 -- catches multiple CR's preceding LF
91 thanks to Gisle Aas for suggested patch
92 - changed loop vars to signed int's in shadump (ref. src/sha.c)
93 -- to prevent type mismatch warnings
94
128cbdba
SP
955.36 Mon May 8 01:38:36 MST 2006
96 - fixed the "portable" option in shasum
97 -- normalize line-breaks in text files only
98
995.35 Thu May 4 16:54:42 MST 2006
100 - added "portable" option to shasum
101 -- to make digests match across Windows/Unix/MacOS
102 - enabled bundling of shasum command line options
103 -- to mimic behavior of md5sum
104 - removed \r's from text files in t/nist directory
105 -- resolves SIGNATURE clashes (rt.cpan.org #18983)
106 - changed suffix on SHA64_MAX (src/sha.h) to ULL
107 -- eliminates gcc warnings (rt.cpan.org #18988)
108 - specified minimum Perl version for module and Makefile.PL
109 -- closes rt.cpan.org #18984
110
77d2a621
SP
1115.34 Thu Feb 2 18:55:40 MST 2006
112 - removed Unix-style pathnames in test scripts
113 -- causing problems on OpenVMS
114 -- thanks to Steve Peters for patch
115 - included latest version of Perl Portability header (ppport.h)
116 - added PERL_CORE check to test scripts
117 -- allows module to be built into Perl distribution
118
6bc89f92
SP
1195.32 Fri Dec 2 02:32:20 MST 2005
120 - added POD section to shasum script
121 -- thanks to Gunnar Wolf for patch
122 - made minor code changes to silence compiler warnings
123 -- resulting from signed/unsigned integer mixing
124 - inserted code in test scripts for POD checking
125 -- to recover gracefully if Test::More isn't installed
126
1275.31 Mon Sep 5 00:52:42 MST 2005
128 - added standard tests for pod and pod-coverage checking
129 - inserted subtest to check for failure when using
130 unrecognized SHA algorithm
131
1325.30 Sat Aug 20 16:46:08 MST 2005
133 - updated docs with recent NIST statement on SHA-1
134 -- advises use of larger and stronger hash functions
135 (i.e. SHA-224/256/384/512) for new developments
136
1375.29 Sun Aug 14 04:48:34 MST 2005
138 - added explicit casts in "shaload" routine (ref. "ldvals")
139 -- thanks to E. Allen Smith for pointing out SGI compiler
140 warnings on IPxx-irix platforms
141 - updated docs with cautionary note about SHA-1
142
1435.28 Wed Nov 10 15:33:20 MST 2004
144 - provided more flexible formatting of SHA state files
145 -- entries may now contain embedded whitespace
146 for improved readability
147 - minor code cleanups
148
1495.27 Sun Oct 24 02:54:00 MST 2004
150 - minor code cleanups
151 -- reduces size of dump files for SHA-1/224/256
152
1535.26 Thu Oct 7 14:52:00 MST 2004
154 - streamlined distribution
155 -- reduced NIST vector tests from 200 to 20
156 -- former number was overkill
157 -- distro now downloads and builds more quickly
158 - rewrote SYNOPSIS sections in pod file
159 - made additional tweaks to t/8-shasum.t for portability
160 - cleaned up test scripts
161
1625.25 Sun Sep 12 18:48:00 MST 2004
163 - removed non-essential test script
164 -- t/8-shasum.t causes problems on sparc64-linux
165 - reverted to using eval "require $module" in shasum
166
1675.24 Sun Sep 12 02:50:18 MST 2004
168 - modified shasum to use barewords in "require" statements
169 -- ref. perl.cpan.testers (157305)
170
1715.23 Thu Sep 9 23:06:18 MST 2004
172 - corrected bug in test script
173 -- use blib when invoking perl as an external
174 command in t/8-shasum.t
175
1765.22 Tue Sep 7 19:12:40 MST 2004
177 - broadened SHA-384/512 support
178 -- to compilers with no ULLONG_MAX in limits.h
179 -- e.g IBM C (xlC 6.0.0) on AIX 4.3.3
180 -- thanks to Chris Carey for suggestions
181 and technical expertise
182 - improved use of static storage class in transforms
183 -- detection of Intel arch. now done in Makefile.PL
184 -- NB: static not used if compiling for thread safety
185 - minor changes to documentation
186
1875.21 Mon Aug 23 04:02:00 MST 2004
188 - removed 64-bit constant expressions from #if statements
189 -- ref. src/sha.h (lines 55, 58, and 61)
190 -- even if compiler supports long long's, preprocessor
191 may use long's when evaluating expressions
192 - improved test script for "shasum" (t/8-shasum.t)
193 -- exercises check file option (-c)
194
1955.20 Sun Aug 15 04:24:48 MST 2004
196 - introduced "shasum" script
197 -- mimics the usage and behavior of "md5sum"
198 -- adds "-a" option to select SHA algorithm
199 -- for help, just type "shasum -h"
200
2015.10 Fri Aug 6 02:04:38 MST 2004
202 - simplified module documentation
203 -- made it consistent with Digest::SHA::PurePerl docs
204
2055.03 Sat Jul 31 00:00:48 MST 2004
206 - corrected HMAC-SHA-384/512 bug (cpan #7181, Adam Woodbury)
207 -- code was using hardwired blocksize for SHA-1/256
208 -- ref. src/hmac.c, src/hmac.h
209
2105.02 Thu Jul 29 02:48:00 MST 2004
211 - updated documentation and "dump-load.t" test script
212 -- to be consistent with Digest::SHA::PurePerl
213 - included a SIGNATURE file
214 -- for stronger authentication of module contents
215 -- ref. Module::Signature on CPAN
216 - corrected embarrassing misspelling in docs
217 -- apologies to Gisle Aas
218
2195.01 Fri May 21 13:08:12 MST 2004
220 - check for undefined SHA handle when calling "shaclose()"
221 -- prevents intermittent cleanup errors during
222 global object destruction
223
2245.00 Fri May 14 04:45:00 MST 2004
225 - minor documentation fixes
226 - restored classical style of version numbering (X.YZ)
227 -- previous X.Y.Z style caused installation difficulties
228 when using CPANPLUS
229
2304.3.3 Wed May 5 00:30:40 MST 2004
231 - fixed bug in "strto64()" function
232 -- caused problems in state files with CR/LF pairs
233 -- thanks to Martin Thurn for testing support
234
2354.3.2 Wed Apr 28 03:56:00 MST 2004
236 - added Makefile.PL options
237 -- thread-safety: -t
238 -- exclude 384/512 support: -x
239 -- e.g. perl Makefile.PL -t
240 - temporarily suppress dump/load tests for SHA-384/512
241 -- pending clarification of problem on sun4u sparc
242
2434.3.1 Thu Mar 4 02:54:00 MST 2004
244 - removed unused functions from XS file
245 -- reduces size of compiled objects
246 - simplified implementation of Digest::SHA object
247 -- now a blessed SHAPtr ref instead of blessed array ref
248 -- results in slight speed-up of OO operations
249 - streamlined underlying C source
250 -- used macros to consolidate repetitive code
251 - rewrote test scripts to depend on Test rather than Test::More
252 -- allows module to be checked in minimal Perl environments
253 - added compilation option for thread-safety
254 -- overrides use of static arrays
255
2564.3.0 Sat Feb 7 02:58:00 MST 2004
257 - included SHA-384/512 support if using Microsoft C/C++
258 -- uses MSVC's __int64 in place of "long long"
259 - enhanced portability and efficiency on diverse platforms
260 -- automatically sets up optimal types for 32/64-bit ops
261 - improved test scripts for better reporting
262 -- many thanks to Alex Muntada for helpful suggestions
263
2644.2.2 Sat Jan 31 17:10:20 MST 2004
265 - repaired 32-bit SHA operations for 8-byte longs
266
2674.2.1 Sat Jan 24 00:56:54 MST 2004
268 - modified I/O and memory management in underlying C code
269 -- uses Perl libraries when compiled as CPAN module
270 -- otherwise defaults to ANSI C libraries
271 -- bypasses problems in MSWin multi-threaded Perls
272 -- avoids "Free to wrong pool" error
273 -- special thanks to Robert Gilmour and Brian Gladman
274 for technical guidance and testing
275
2764.2.0 Sat Dec 27 16:08:00 MST 2003
277 - added support for recently-announced SHA-224 algorithm
278 -- ref. FIPS 180-2 Change Notice 1
279 -- also includes HMAC-SHA-224
280
2814.1.0 Thu Dec 25 00:58:00 MST 2003
282 - repaired "nist-vectors" test scripts for MSWin32 portability
283 -- use binmode for data files
284
2854.0.9 Wed Dec 24 02:58:22 MST 2003
286 - use canonical file specs in test scripts
287 -- enhances portability across different OSes
288 - modify type declarations of objects in XS file
289 -- re-declare as (SV *) and cast to (AV *) SvRV(self)
290 -- in response to AVPtr problem on MSWin32
291
2924.0.8 Thu Dec 18 23:32:00 MST 2003
293 - inherits from Digest::base if installed
294 -- also checks for MIME::Base64
295 -- still fully-functional if neither are installed
296 - added buffer overflow protection in underlying C code
297 -- ref. shahex() and shabase64() routines
298 -- prior code appeared impossible to exploit, but ...
299 -- better safe than sorry
300 -- does not impact runtime efficiency
301 - minor code cleanup
302
3034.0.7 Sat Dec 13 00:48:24 MST 2003
304 - check for undefined SHA handle when calling "shaclose()"
305 -- was causing cleanup err during global destruction
306
3074.0.6 Thu Dec 11 02:18:00 MST 2003
308 - more optimization and streamlining
309 -- a bit faster on non-big-endians (e.g. Intel)
310 - rewrote time-critical functions and methods in XS
311 - removed unused C functions from source files
312
3134.0.5 Sat Dec 6 00:02:24 MST 2003
314 - performance optimizations
315 -- rewrote "add" method in XS
316 -- unrolled loops in sha256 transform
317
3184.0.4 Thu Dec 4 00:07:00 MST 2003
319 - made Digest::SHA into a self-contained module
320 -- no longer depends on Digest::base
321 -- more convenient for users
322 -- no need to install Digest:: module
323
3244.0.3 Wed Dec 3 00:01:20 MST 2003
325 - Digest::SHA now a subclass of Digest::base
326 -- inherits hexdigest/b64digest/addfile methods
327 - added "hashsize" method
328 - removed old "shaopen()/shawrite()/..." legacy code
329 -- in favor of standard, streamlined OO interface
330 - renamed test vector files from NIST
331 -- prevents problems on 8+3 filesystems
332 - added test for Dave Ireland's SHA-256 vector
333
3344.0.0 Sat Nov 29 21:14:09 MST 2003
335 - major streamlining of interface (hence, major version change)
336 -- coordinated with Gisle Aas and J. Duque
337 -- goal is to produce a single SHA module
338 -- adheres to OO and functional styles of Digest::
339 -- greatly reduces the number of interface functions
340 -- old functions still supported
341 -- use Digest::SHA ':legacy'
342 -- will be deprecated in near future
343 - rewrote all test scripts to match new interface
344 -- very easy to modify all 281 tests
345 -- old interface maps cleanly to new one
346
3473.0 Wed Nov 26 05:02:34 MST 2003
348 - added functions that conform to Digest:: interface
349 -- both functional and OO styles
350 -- byte-oriented data only
351 -- continue to support original interface as well
352 -- necessary for bit-oriented data
353 - supplied formal test vectors for HMAC-SHA-256
354 -- from draft-ietf-ipsec-ciph-sha-256-01.txt
355 - included tests for all OO methods
356
3572.4 Sat Nov 22 17:10:22 MST 2003
358 - code cleanup
359 -- "sha.c" now completely free of #ifdef's
360 - modularized all 64-bit (long long) code
361 - improved readability of header files
362 - simplified logic of "fixdump" utility
363
3642.3 Wed Nov 19 03:54:31 MST 2003
365 - minor optimizations and code cleanup
366 -- improved maintainability by reducing #ifdef's
367 -- sha1 transform code now easier to follow
368 - streamlined shadump/shaload file format
369 -- eliminated special "HQ" entry
370 -- state now held in "H" for all transforms
371 -- supplied "fixdump" utility to convert old format
372 - SHA-384/512 functions now return NULL for no 64-bit operations
373 -- previously they were undefined
374 -- no longer necessary to use eval's to test for presence
375
3762.2 Sun Nov 16 01:54:00 MST 2003
377 - optimized the performance of the SHA-1 transform
378 -- around 20-30% faster than previous version
379 -- achieved by loop unrolling and assignment consolidation
380 - enhanced shaload/shadump to allow interaction with stdin/stdout
381 -- "$filename" argument now optional
382
3832.1 Sun Nov 9 03:28:04 MST 2003
384 - simplified data input routines
385 -- length argument now optional for byte data
386 (special thanks to Jeffrey Friedl for this idea)
387 -- interface still compatible with earlier versions
388 -- changes will not affect existing client code
389 - streamlined underlying C code for easier maintenance
390 - provided additional tests for persistent data
391
3922.0 Sat Nov 1 03:55:36 MST 2003
393 - added functions for HMAC-SHA-1/256/384/512 (FIPS PUB 198)
394 - shadump/shaload files now compatible between 32/64-bit machines
395
3961.01 Sat Oct 25 02:44:55 MST 2003
397 - package now downloads and installs much faster
398 - reduced distribution size by 80%
399 -- pruned extensive NIST vectors to a useful subset
400 -- still possible to test all vectors if desired
401 --- see "t/nist/COPYRIGHT" file for details
402 - added routines to provide persistent storage of SHA states
403 -- shadump() and shaload()
404 - reduced runtime of large bitstring tests (gillogly-hard)
405 -- illustrates usefulness of shadump()/shaload()
406
4071.0 Sat Oct 18 17:35:07 MST 2003
408 - documentation fixes
409 - code cleanup: no more compiler warnings from gcc -Wall
410 - added code to allow reading of intermediate digest state
411 -- shahex() prior to shafinish() returns current state
412
4130.9 Thu Oct 9 20:43:54 MST 2003
414 - version updated to reflect portability check and passing
415 of all tests (1401)
416
4170.01 Wed Oct 8 22:28:05 2003
418 - original version; created by h2xs 1.22 with options
419 -x -A -n Digest::SHA sha.h