Fix another concatenated filepath in a test for Digest::SHA.
[p5sagit/p5-mst-13.2.git] / ext / Digest / SHA / Changes
1 Revision history for Perl extension Digest::SHA.
2
3 5.32  Fri Dec  2 02:32:20 MST 2005
4         - added POD section to shasum script
5                 -- thanks to Gunnar Wolf for patch
6         - made minor code changes to silence compiler warnings
7                 -- resulting from signed/unsigned integer mixing
8         - inserted code in test scripts for POD checking
9                 -- to recover gracefully if Test::More isn't installed
10
11 5.31  Mon Sep  5 00:52:42 MST 2005
12         - added standard tests for pod and pod-coverage checking
13         - inserted subtest to check for failure when using
14                 unrecognized SHA algorithm
15
16 5.30  Sat Aug 20 16:46:08 MST 2005
17         - updated docs with recent NIST statement on SHA-1
18                 -- advises use of larger and stronger hash functions
19                         (i.e. SHA-224/256/384/512) for new developments
20
21 5.29  Sun Aug 14 04:48:34 MST 2005
22         - added explicit casts in "shaload" routine (ref. "ldvals")
23                 -- thanks to E. Allen Smith for pointing out SGI compiler
24                         warnings on IPxx-irix platforms
25         - updated docs with cautionary note about SHA-1
26
27 5.28  Wed Nov 10 15:33:20 MST 2004
28         - provided more flexible formatting of SHA state files
29                 -- entries may now contain embedded whitespace
30                         for improved readability
31         - minor code cleanups
32
33 5.27  Sun Oct 24 02:54:00 MST 2004
34         - minor code cleanups
35                 -- reduces size of dump files for SHA-1/224/256
36
37 5.26  Thu Oct  7 14:52:00 MST 2004
38         - streamlined distribution
39                 -- reduced NIST vector tests from 200 to 20
40                         -- former number was overkill
41                         -- distro now downloads and builds more quickly
42         - rewrote SYNOPSIS sections in pod file
43         - made additional tweaks to t/8-shasum.t for portability
44         - cleaned up test scripts
45
46 5.25  Sun Sep 12 18:48:00 MST 2004
47         - removed non-essential test script
48                 -- t/8-shasum.t causes problems on sparc64-linux
49         - reverted to using eval "require $module" in shasum
50
51 5.24  Sun Sep 12 02:50:18 MST 2004
52         - modified shasum to use barewords in "require" statements
53                 -- ref. perl.cpan.testers (157305)
54
55 5.23  Thu Sep  9 23:06:18 MST 2004
56         - corrected bug in test script
57                 -- use blib when invoking perl as an external
58                         command in t/8-shasum.t
59
60 5.22  Tue Sep  7 19:12:40 MST 2004
61         - broadened SHA-384/512 support
62                 -- to compilers with no ULLONG_MAX in limits.h
63                         -- e.g IBM C (xlC 6.0.0) on AIX 4.3.3
64                         -- thanks to Chris Carey for suggestions
65                                 and technical expertise
66         - improved use of static storage class in transforms
67                 -- detection of Intel arch. now done in Makefile.PL
68                 -- NB: static not used if compiling for thread safety
69         - minor changes to documentation
70
71 5.21  Mon Aug 23 04:02:00 MST 2004
72         - removed 64-bit constant expressions from #if statements
73                 -- ref. src/sha.h (lines 55, 58, and 61)
74                 -- even if compiler supports long long's, preprocessor
75                         may use long's when evaluating expressions
76         - improved test script for "shasum" (t/8-shasum.t)
77                 -- exercises check file option (-c)
78
79 5.20  Sun Aug 15 04:24:48 MST 2004
80         - introduced "shasum" script
81                 -- mimics the usage and behavior of "md5sum"
82                 -- adds "-a" option to select SHA algorithm
83                 -- for help, just type "shasum -h"
84
85 5.10  Fri Aug  6 02:04:38 MST 2004
86         - simplified module documentation
87                 -- made it consistent with Digest::SHA::PurePerl docs
88
89 5.03  Sat Jul 31 00:00:48 MST 2004
90         - corrected HMAC-SHA-384/512 bug (cpan #7181, Adam Woodbury)
91                 -- code was using hardwired blocksize for SHA-1/256
92                         -- ref. src/hmac.c, src/hmac.h
93
94 5.02  Thu Jul 29 02:48:00 MST 2004
95         - updated documentation and "dump-load.t" test script
96                 -- to be consistent with Digest::SHA::PurePerl
97         - included a SIGNATURE file
98                 -- for stronger authentication of module contents
99                         -- ref. Module::Signature on CPAN
100         - corrected embarrassing misspelling in docs
101                 -- apologies to Gisle Aas
102
103 5.01  Fri May 21 13:08:12 MST 2004
104         - check for undefined SHA handle when calling "shaclose()"
105                 -- prevents intermittent cleanup errors during
106                         global object destruction
107
108 5.00  Fri May 14 04:45:00 MST 2004
109         - minor documentation fixes
110         - restored classical style of version numbering (X.YZ)
111                 -- previous X.Y.Z style caused installation difficulties
112                         when using CPANPLUS
113
114 4.3.3 Wed May  5 00:30:40 MST 2004
115         - fixed bug in "strto64()" function
116                 -- caused problems in state files with CR/LF pairs
117                 -- thanks to Martin Thurn for testing support
118
119 4.3.2 Wed Apr 28 03:56:00 MST 2004
120         - added Makefile.PL options
121                 -- thread-safety: -t
122                 -- exclude 384/512 support: -x
123                 -- e.g. perl Makefile.PL -t
124         - temporarily suppress dump/load tests for SHA-384/512
125                 -- pending clarification of problem on sun4u sparc
126
127 4.3.1 Thu Mar  4 02:54:00 MST 2004
128         - removed unused functions from XS file
129                 -- reduces size of compiled objects
130         - simplified implementation of Digest::SHA object
131                 -- now a blessed SHAPtr ref instead of blessed array ref
132                 -- results in slight speed-up of OO operations
133         - streamlined underlying C source
134                 -- used macros to consolidate repetitive code
135         - rewrote test scripts to depend on Test rather than Test::More
136                 -- allows module to be checked in minimal Perl environments
137         - added compilation option for thread-safety
138                 -- overrides use of static arrays
139
140 4.3.0 Sat Feb  7 02:58:00 MST 2004
141         - included SHA-384/512 support if using Microsoft C/C++
142                 -- uses MSVC's __int64 in place of "long long"
143         - enhanced portability and efficiency on diverse platforms
144                 -- automatically sets up optimal types for 32/64-bit ops
145         - improved test scripts for better reporting
146                 -- many thanks to Alex Muntada for helpful suggestions
147
148 4.2.2 Sat Jan 31 17:10:20 MST 2004
149         - repaired 32-bit SHA operations for 8-byte longs
150
151 4.2.1 Sat Jan 24 00:56:54 MST 2004
152         - modified I/O and memory management in underlying C code
153                 -- uses Perl libraries when compiled as CPAN module
154                         -- otherwise defaults to ANSI C libraries
155                 -- bypasses problems in MSWin multi-threaded Perls
156                         -- avoids "Free to wrong pool" error
157                 -- special thanks to Robert Gilmour and Brian Gladman
158                         for technical guidance and testing
159
160 4.2.0 Sat Dec 27 16:08:00 MST 2003
161         - added support for recently-announced SHA-224 algorithm
162                 -- ref. FIPS 180-2 Change Notice 1
163                 -- also includes HMAC-SHA-224
164
165 4.1.0 Thu Dec 25 00:58:00 MST 2003
166         - repaired "nist-vectors" test scripts for MSWin32 portability
167                 -- use binmode for data files
168
169 4.0.9 Wed Dec 24 02:58:22 MST 2003
170         - use canonical file specs in test scripts
171                 -- enhances portability across different OSes
172         - modify type declarations of objects in XS file
173                 -- re-declare as (SV *) and cast to (AV *) SvRV(self)
174                         -- in response to AVPtr problem on MSWin32
175
176 4.0.8 Thu Dec 18 23:32:00 MST 2003
177         - inherits from Digest::base if installed
178                 -- also checks for MIME::Base64
179                 -- still fully-functional if neither are installed
180         - added buffer overflow protection in underlying C code
181                 -- ref. shahex() and shabase64() routines
182                 -- prior code appeared impossible to exploit, but ...
183                         -- better safe than sorry
184                 -- does not impact runtime efficiency
185         - minor code cleanup
186
187 4.0.7 Sat Dec 13 00:48:24 MST 2003
188         - check for undefined SHA handle when calling "shaclose()"
189                 -- was causing cleanup err during global destruction
190
191 4.0.6 Thu Dec 11 02:18:00 MST 2003
192         - more optimization and streamlining
193                 -- a bit faster on non-big-endians (e.g. Intel)
194         - rewrote time-critical functions and methods in XS
195         - removed unused C functions from source files
196
197 4.0.5 Sat Dec  6 00:02:24 MST 2003
198         - performance optimizations
199                 -- rewrote "add" method in XS
200                 -- unrolled loops in sha256 transform
201
202 4.0.4 Thu Dec  4 00:07:00 MST 2003
203         - made Digest::SHA into a self-contained module
204                 -- no longer depends on Digest::base
205                 -- more convenient for users
206                         -- no need to install Digest:: module
207
208 4.0.3 Wed Dec  3 00:01:20 MST 2003
209         - Digest::SHA now a subclass of Digest::base
210                 -- inherits hexdigest/b64digest/addfile methods
211         - added "hashsize" method
212         - removed old "shaopen()/shawrite()/..." legacy code
213                 -- in favor of standard, streamlined OO interface
214         - renamed test vector files from NIST
215                 -- prevents problems on 8+3 filesystems
216         - added test for Dave Ireland's SHA-256 vector
217
218 4.0.0 Sat Nov 29 21:14:09 MST 2003
219         - major streamlining of interface (hence, major version change)
220                 -- coordinated with Gisle Aas and J. Duque
221                         -- goal is to produce a single SHA module
222                 -- adheres to OO and functional styles of Digest::
223                 -- greatly reduces the number of interface functions
224                 -- old functions still supported
225                         -- use Digest::SHA ':legacy'
226                         -- will be deprecated in near future
227         - rewrote all test scripts to match new interface
228                 -- very easy to modify all 281 tests
229                 -- old interface maps cleanly to new one
230
231 3.0   Wed Nov 26 05:02:34 MST 2003
232         - added functions that conform to Digest:: interface
233                 -- both functional and OO styles
234                         -- byte-oriented data only
235                 -- continue to support original interface as well
236                         -- necessary for bit-oriented data
237         - supplied formal test vectors for HMAC-SHA-256
238                 -- from draft-ietf-ipsec-ciph-sha-256-01.txt
239         - included tests for all OO methods
240
241 2.4   Sat Nov 22 17:10:22 MST 2003
242         - code cleanup
243                 -- "sha.c" now completely free of #ifdef's
244         - modularized all 64-bit (long long) code
245         - improved readability of header files
246         - simplified logic of "fixdump" utility
247
248 2.3   Wed Nov 19 03:54:31 MST 2003
249         - minor optimizations and code cleanup
250                 -- improved maintainability by reducing #ifdef's
251                 -- sha1 transform code now easier to follow
252         - streamlined shadump/shaload file format
253                 -- eliminated special "HQ" entry
254                 -- state now held in "H" for all transforms
255                 -- supplied "fixdump" utility to convert old format
256         - SHA-384/512 functions now return NULL for no 64-bit operations
257                 -- previously they were undefined
258                 -- no longer necessary to use eval's to test for presence
259
260 2.2   Sun Nov 16 01:54:00 MST 2003
261         - optimized the performance of the SHA-1 transform
262                 -- around 20-30% faster than previous version
263                 -- achieved by loop unrolling and assignment consolidation
264         - enhanced shaload/shadump to allow interaction with stdin/stdout
265                 -- "$filename" argument now optional
266
267 2.1   Sun Nov  9 03:28:04 MST 2003
268         - simplified data input routines
269                 -- length argument now optional for byte data
270                         (special thanks to Jeffrey Friedl for this idea)
271                 -- interface still compatible with earlier versions
272                         -- changes will not affect existing client code
273         - streamlined underlying C code for easier maintenance
274         - provided additional tests for persistent data
275
276 2.0   Sat Nov  1 03:55:36 MST 2003
277         - added functions for HMAC-SHA-1/256/384/512 (FIPS PUB 198)
278         - shadump/shaload files now compatible between 32/64-bit machines
279
280 1.01  Sat Oct 25 02:44:55 MST 2003
281         - package now downloads and installs much faster
282         - reduced distribution size by 80%
283                 -- pruned extensive NIST vectors to a useful subset
284                 -- still possible to test all vectors if desired
285                         --- see "t/nist/COPYRIGHT" file for details
286         - added routines to provide persistent storage of SHA states
287                 -- shadump() and shaload()
288         - reduced runtime of large bitstring tests (gillogly-hard)
289                 -- illustrates usefulness of shadump()/shaload()
290
291 1.0   Sat Oct 18 17:35:07 MST 2003
292         - documentation fixes
293         - code cleanup: no more compiler warnings from gcc -Wall
294         - added code to allow reading of intermediate digest state
295                 -- shahex() prior to shafinish() returns current state
296
297 0.9   Thu Oct  9 20:43:54 MST 2003
298         - version updated to reflect portability check and passing
299                 of all tests (1401)
300
301 0.01  Wed Oct  8 22:28:05 2003
302         - original version; created by h2xs 1.22 with options
303                 -x -A -n Digest::SHA sha.h