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