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