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