Debian Codegraph @

NEWS

raw
1 -*- mode: outline -*-
2
3 * Version 0.61, released 2024-08-20
4
5 ** new features
6
7 Added the Argon2id key derivation function (without parallelism).
8
9 ** bug fixes
10
11 Fix build with recent SBCL on x86-32.
12
13 * Version 0.60, released 2024-02-29
14
15 ** new features
16
17 Added crc32c digest.
18
19 ** bug fixes
20
21 Fixed some undefined behavior for ECL with some compilers.
22
23 * Version 0.59, released 2023-07-24
24
25 ** new features
26
27 Functions for elliptic curve operations are exported.
28
29 ** bug fixes
30
31 Fixed optimized Chacha and Salsa functions for newer ECL.
32
33 Don't use FORMAT and READ-FROM-STRING to make symbol names.
34
35 * Version 0.58, released 2022-10-24
36
37 ** new features
38
39 Added 96-bit nonce support for Chacha.
40
41 * Version 0.57, released 2022-02-18
42
43 ** bug fixes
44
45 Fixed SHAKE128 and SHAKE256 when a big output length is requested.
46
47 ** new features
48
49 DIGEST-SEQUENCE can use non-simple arrays.
50
51 * Version 0.56, released 2021-09-12
52
53 ** bug fixes
54
55 Fixed access to /dev/urandom in saved cores.
56
57 ** new features
58
59 Experimental: Ironclad split in multiple systems so that users can load only
60 what they need.
61
62 * Version 0.55, released 2021-03-26
63
64 ** bug fixes
65
66 Fixed compilation with CCL < 1.12 on x86-64.
67
68 ** new features
69
70 GCM and GMAC can use initialization vectors with a size different from 12 bytes.
71
72 * Version 0.54, released 2021-01-06
73
74 ** bug fixes
75
76 Fixed SB-VM package lock error with SBCL on arm64 and ppc64.
77
78 * Version 0.53, released 2020-12-18
79
80 ** bug fixes
81
82 Fixed compilation with SBCL > 2.0.11 on x86-64.
83
84 * Version 0.52, released 2020-11-14
85
86 ** bug fixes
87
88 Fixed authenticated-encryption-mode-supported-p, digest-supported-p,
89 mac-supported-p and mode-supported-p functions so that they work correctly with
90 either a keyword or a regular symbol as argument.
91
92 ** improvements
93
94 Check for AES-NI and PCLMULQDQ support on x86-64 at run time instead of compile
95 time. It should allow a program compiled on a machine supporting these CPU
96 instructions to run on a machine that doesn't.
97
98 * Version 0.51, released 2020-09-04
99
100 ** new features
101
102 The prime factors (p and q) of the modulus of a RSA private key can be
103 retreived using the rsa-key-prime-p and rsa-key-prime-q functions.
104
105 Added the Secp256k1, Secp256r1 (a.k.a. NIST P-256), Secp384r1 (a.k.a. NIST
106 P-384) and Secp521r1 (a.k.a. NIST P-521) elliptic curves.
107
108 Added the generate-signature-nonce method that can be redefined to get
109 deterministic signature nonces instead of random ones.
110
111 Added the bcrypt and bcrypt-pbkdf key derivation functions.
112
113 * Version 0.50, released 2020-07-01
114
115 ** bug fixes
116
117 Fixed default OS PRNG getting stuck in dumped images.
118
119 Fixes/workarounds for CCL on ARM32.
120
121 ** improvements
122
123 Open only one stream to /dev/urandom for OS PRNGs on unix-like systems even if
124 there are many OS PRNGs instantiated.
125
126 * Version 0.49, released 2020-04-14
127
128 ** bug fixes
129
130 Fixed possible file descriptor leak with OS PRNGs.
131
132 Fixed compilation with recent SBCL on Windows.
133
134 ** new features
135
136 Public and private key types are now exported, so that users can use them to
137 specialize their generic functions.
138
139 * Version 0.48, released 2020-01-20
140
141 ** bug fixes
142
143 Fixed compiling with the ':invert' readtable-case.
144
145 ** new features
146
147 Added the '*number-of-miller-rabin-tests*' parameter allowing to configure the
148 number of rounds of Miller-Rabin to do in the 'prime-p' function.
149
150 ** improvements
151
152 Some improvements of assembly functions for CCL and ECL.
153
154 Improved the probable primality test by adding a Lucas test after the
155 Miller-Rabin tests.
156
157 * Version 0.47, released 2019-09-11
158
159 ** bug fixes
160
161 Allow running in ECL even if there is no C compiler available.
162
163 ** new features
164
165 Added the HMAC-KDF key derivation function.
166
167 * Version 0.46, released 2019-06-04
168
169 ** bug fixes
170
171 Allow the 'digest' parameter of the 'make-kdf' function to be a keyword.
172
173 ** new features
174
175 Added the Argon2d key derivation function (without parallelism).
176
177 * Version 0.45, released 2019-02-18
178
179 ** bug fixes
180
181 Pseudo-random number generation is now thread safe, but only when the threads
182 are created with the bordeaux-threads library.
183
184 ** new features
185
186 Added the SM3 digest (GM/T 0004-2012).
187
188 Added the SM4 cipher (GM/T 0002-2012).
189
190 Added the SipHash MAC.
191
192 * Version 0.44, released 2018-11-03
193
194 ** new features
195
196 Added the EAX authenticated encryption scheme.
197
198 Added support of 256, 512 and 1024 bit block ciphers to CMAC.
199
200 Added the Kalyna128, Kalyna256 and Kalyna512 block ciphers (DSTU 7624:2014)
201
202 Added the Kupyna and Kupyna/256 digests (DSTU 7564:2014)
203
204 Some optimizations for Chacha and Salsa for ECL.
205
206 Some optimizations for Poly1305 for ECL.
207
208 * Version 0.43, released 2018-09-14
209
210 ** new features
211
212 Added support for PKCS7, ANSI X.923 and ISO 7816-4 padding schemes when
213 encrypting or decrypting in ECB or CBC mode.
214
215 Added support for CFB, CFB8 and OFB modes to encrypting/decrypting streams.
216
217 Added the GMAC authentication code.
218
219 Added the GCM (Galois counter mode) and ETM (Encrypt then MAC) authenticated
220 encryption schemes.
221
222 Some optimizations for CMAC and Poly1305.
223
224 Some optimizations for CBC, CFB, CTR and OFB modes.
225
226 Some optimizations for Skein.
227
228 * Version 0.42, released 2018-08-09
229
230 ** bug fixes
231
232 Fixed loading with SBCL versions newer than 1.4.10
233
234 Fixed wrong decryption when using the decrypt-in-place function with a block
235 cipher in CFB mode.
236
237 ** new features
238
239 The encrypt-message and decrypt-message methods can be used with ciphers (in
240 addition to public or private keys).
241
242 Some optimizations for ed25519 and ed448.
243
244 * Version 0.41, released 2018-07-30
245
246 ** new features
247
248 Added the original Keccak digests (SHA3 with a different padding).
249
250 Added the Streebog digests (GOST R 34.11-2012).
251
252 Added the Kuznyechik block cipher (GOST R 34.12-2015).
253
254 * Version 0.40, released 2018-06-20
255
256 ** new features
257
258 Add ability to get or set the current position in the key stream for block
259 ciphers in CTR mode and stream cipher of the Chacha and Salsa20 families.
260
261 * Version 0.39, released 2018-04-19
262
263 ** bug fixes
264
265 Fixed Poly1305 returning a bad MAC when calling produce-mac several times.
266
267 Fixed tree-hash returning a bad hash when calling produce-digest several times.
268
269 * Version 0.38, released 2018-02-20
270
271 ** bug fixes
272
273 Fixed possible floating point exception when using strong-random with
274 a very large integer limit.
275
276 Fixed possible array type issue when compiling +ED448-DOM+.
277
278 Fixed bug where read-sequence was returning an invalid value for
279 encrypting-input-stream and decrypting-input-stream.
280
281 ** new features
282
283 Optimized the Poly1305 MAC.
284
285 Add a COMPATIBLE-WITH-KEY keyword to GENERATE-KEY-PAIR for Elgamal
286 keys, to generate compatible Elgamal key pairs for a Diffie-Hellman
287 exchange more easily.
288
289 * Version 0.37, released 2017-11-23
290
291 Renamed NULL cipher to XOR. It's a better description of what it does,
292 and it allows not having to shadow cl:null.
293
294 ** new features
295
296 Added the Camellia block cipher.
297
298 Added the SEED block cipher.
299
300 Added the ARIA block cipher.
301
302 Added the Sosemanuk stream cipher.
303
304 * Version 0.36, released 2017-10-02
305
306 ** bug fixes
307
308 Fixed stream cryptors for Chacha and Salsa20. Some bytes of the
309 keystream were ignored after encrypting less than 64 bytes at once.
310
311 Fixed tree hash digester. It could sometimes give a wrong result when
312 fed data incrementally.
313
314 Fixed Arcfour cipher reinitialization.
315
316 ** new features
317
318 Added Gray streams support for ABCL, ECL and Clisp.
319
320 Added encrypting streams and decrypting streams. Only stream ciphers
321 and block ciphers in CTR mode are supported for the moment.
322
323 Added authenticating streams.
324
325 * Version 0.35, released 2017-09-06
326
327 ** bug fixes
328
329 Fixed type checking of stream element-type in the
330 update-digest-from-stream function.
331
332 Fixed possible timing attack in the pbkdf2-check-password function.
333
334 ** new features
335
336 New algorithms:
337 - Cipher: XChacha, XSalsa20
338 - Diffie-Hellman: Curve25519, Curve448, Elgamal
339 - Digest: JH, Groestl
340 - Key derivation function: Argon2i
341 - Message authentication code: Blake2, Blake2s
342 - Signature: Ed448
343
344 New default pseudo-random number generator (os-prng) using the
345 operating system's PRNG.
346
347 Added optimized versions of some common functions for CCL on x86-64
348 CPUs and for ECL.
349
350 Added optimized AES functions (round keys generation, encryption and
351 decryption) for SBCL on x86-64 CPUs with AES-NI support.
352
353 Added optimized Blake2s mixing for SBCL on x86-64 CPUs.
354
355 Added the constant-time-equal function to check the equality of two
356 byte arrays (e.g. passwords, MACs) in constant time.
357
358 Added the make-message, destructure-message, make-signature and
359 destructure-signature functions allowing to manage the elements of
360 messages and signatures returned by encrypt-message and sign-message
361 by hand if necessary (e.g. to use a different serialization).
362
363 Added the destructure-public-key and destructure-private-key functions
364 (e.g. to store keys somewhere and reconstruct them later with
365 make-public-key and make-private-key).
366
367 Added a unified API for MACs.
368
369 * Version 0.34, released 2017-03-07
370
371 ** bug fixes
372
373 Padding issues in 64-bit SHA variants have been fixed.
374
375 Compiling with newer versions of SBCL will no longer throw errors due to
376 a missing SB-BIGNUM:BIGNUM-TYPE.
377
378 ** new features
379
380 Many new algorithms have been added, all by Guillaume LE VAILLANT:
381 Threefish, Skein, ElGamal, ED25519, Poly1305, Serpent, SHA3, Blake2, and
382 variants thereof.
383
384 CTR mode should be faster on some implementations. (Thanks to Guillaume
385 LE VAILLANT.)
386
387 * Version 0.33, released 2014-10-15
388
389 ** bug fixes
390
391 Included prng.testvec in the packaged tarball.
392
393 The group parameter accessors for DSA keys have been fixed to not throw
394 errors. (Thanks to Patrick Stein.)
395
396 ** new features
397
398 The convenience function WITH-DIGESTING-STREAM has been added to the
399 IRONCLAD package. (Thanks to Samium Gromoff.)
400
401 A new convenience package, IRONCLAD-TEXT, is included with this release;
402 when loaded, IRONCLAD-TEXT exports the function
403 WITH-DIGESTING-TEXT-STREAM from the IRONCLAD package. IRONCLAD-TEXT
404 depends on FLEXI-STREAMS. (Thanks to Samium Gromoff.)
405
406 The Salsa20 and ChaCha stream ciphers have been added, in full and
407 reduced-round variants.
408
409 The scrypt hash function's performance has been improved on x86-64 SBCL.
410
411 Type checking for the PBKDF key derivation functions has been improved.
412
413 * Version 0.32.1, released 2012-12-29
414
415 ** bug fixes
416
417 Fixed octet-streams for Allegro versions >= 9.0. (Thanks to Elliott
418 Johnson.)
419
420 Fixed WRITE-SEQUENCE on octet-output-streams. (Thanks to Martin
421 Nzioki.)
422
423 Tweak system definition to work better with newer versions of ASDF.
424 (Thanks to François-René Rideau.)
425
426 Fixed problems with the Fortuna prng. (Thanks to Robert Uhl.)
427
428 * Version 0.32, released 2012-11-13
429
430 ** bug fixes
431
432 Fixed a SB!WIN32 typo. (Thanks to Leonard Huang.)
433
434 Fix cipher key verification for implementations that don't provide a
435 specialized (UNSIGNED-BYTE 8) array. (Thanks to ralcantaraperez on github.)
436
437 Fix CAST5 compilation on some versions of Lispworks.
438
439 Fix an invalid LOOP form in the bignum math code. (Thanks to Juan Jose
440 Garcia Ripoll.)
441
442 Fix a problem that some (all?) versions of x86-64 CCL have with the
443 64-bit SHA variants.
444
445 ** improvements
446
447 The x86oid assembly SHA expand functions have been made significantly
448 smaller and faster.
449
450 ** new features
451
452 An implementation of the scrypt key derivation function has been added.
453 Please see the documentation for details. (Thanks to Chris Howey.)
454
455 * Version 0.31, released 2012-07-01
456
457 ** bug fixes
458
459 Fixed a problem with digest buffering introduced in Ironclad 0.29.
460 (Thanks to Zach Beane for the bug report.)
461
462 MD5 on some versions of Lispworks works correctly again; unfortunately
463 this change required disabling the improved MD5 implementation added in
464 Ironclad 0.30. (Thanks to Chhi'mèd Künzang for the bug report.)
465
466 Some compiler warnings on Lispworks have been fixed. (Thanks to
467 Chhi'mèd Künzang for the bug report.)
468
469 The digest functions now really check their types instead of incorrectly
470 relying on DECLARE to provide the necessary type checks. (Thanks to
471 dbunner-de on Github for the bug report.)
472
473 ** improvements
474
475 Encryption and decryption with block ciphers and small numbers of blocks
476 should be somewhat faster.
477
478 Several small improvements have been made to the digest code which may
479 make it slightly faster when hashing short blocks of data.
480
481 The modular inverse code has been made significantly faster, which
482 should improve performance of public-key algorithms. (Thanks to Robert
483 Uhl.)
484
485 Several digest tests should no longer fail on Clozure CL. There have
486 been reports of tests taking inordinate amounts of time on various CCL
487 versions on various platforms, however. (CCL 1.8, for instance, works
488 fine on Linux/x86-64, but explodes on Windows.)
489
490 ** new features
491
492 An implementation of the Fortuna pseudo-random number generator has been
493 added. Please see the documentation for details. (Thanks to Robert Uhl
494 for the implementation.)
495
496 * Version 0.30, released 2012-03-27
497
498 ** bug fixes
499
500 Fixed a bug in COPY-DIGEST for SHA224 and SHA384. (Thanks to Robert Uhl
501 for noticing.)
502
503 ** improvements
504
505 Added a Lispworks-specific MD5 implementation. (Thanks to Pierre R. Mai
506 for the implementation and Klaus Harbo for integrating it into
507 Ironclad.)
508
509 Fixed bugs with *PRINT-CASE* and Allegro CL's modern mode. (Thanks to
510 Robert Uhl and Hans Huebner.)
511
512 Ironclad now uses nibbles for its internal word-reffing and -setting
513 functions. This change should speed up most operations by a small
514 amount on x86oid SBCL platforms.
515
516 SHA-512/384 should be somewhat faster on x86-64 SBCL.
517
518 The copy of rt.lisp included for testing has been updated to match the
519 version commonly in use. (Thanks to Anton Vodonosov for pointing this
520 out.)
521
522 * Version 0.29, released 2011-11-17
523
524 ** bug fixes
525
526 Fixed ENCRYPTED-MESSAGE-LENGTH (not a supported interface) for ECB and
527 CBC modes. (Thanks to Ron Garrett.)
528
529 The compiler macros for the high-level digest functions now cope with
530 the user's setting of *PRINT-CASE*. (Thanks to Robert Uhl.)
531
532 ** improvements
533
534 Assembler versions of several core functions have been added for x86 and
535 x86-64 SBCL. The functions include:
536
537 - octet copy loops;
538 - SHA1's core functions;
539 - SHA256's core expand function.
540
541 You need a recent SBCL to compile Ironclad now.
542
543 ** new features
544
545 Added PBKDF convenience functions. (Thanks to Vladimir Sedach.)
546
547 * Version 0.28, released 2010-03-26
548
549 ** bug fixes
550
551 Fixed errors on 32-bit big-endian CMUCL and SBCL. (Thanks to Raymond
552 Toy.)
553
554 Fixed an error with INTEGER-TO-OCTETS :BIG-ENDIAN NIL. (Thanks to
555 Daniel Janus.)
556
557 ** improvements
558
559 The code has been tweaked to generate less code for platforms that do
560 not support inlined 32-bit arithmetic.
561
562 ** new features
563
564 Trees hashes are now supported, including the most common variant, Tiger
565 tree hashes. Please see the documentation for details. (Thanks to Fare
566 Rideau.)
567
568 * Version 0.27, released 2009-03-28
569
570 ** bug fixes
571
572 Fixed several issues that came up with Allegro CL 8.1. (Thanks to
573 Utz-Uwe Haus.)
574
575 Fixed compilation issues when the user had a non-standard *PRINT-CASE*.
576 (Thanks to Gustavo.)
577
578 Fixed an issue with LispWorks's recent update for conformance with
579 DEFSTRUCT's specification. (Thanks to John Fremlin.)
580
581 ** improvements
582
583 HMAC-DIGEST now supports placing the produced digest into a
584 user-provided buffer. Please see the documentation for details.
585
586 HMAC now supports digests with larger block sizes than 64 bytes (such as
587 SHA2-512).
588
589 HMAC should be somewhat more efficient when producing digests.
590
591 REINITIALIZE-INSTANCE is now supported on HMAC objects. Please see the
592 documentation for details.
593
594 CLEAR-OUTPUT is now supported on digesting streams.
595
596 ** new features
597
598 The SHA-224, SHA2-384 and SHA2-512 digest functions have been added,
599 with tests.
600
601 Key derivation functions from PKCS #5 have been added.
602
603 On Gray streams-supporting implementations, WRITE-SEQUENCE is supported
604 on several stream classes, with more to come.
605
606 * Version 0.26, released 2008-05-17
607
608 ** bug fixes
609
610 RC6 now compiles without error on non-x86 SBCL. (Thanks to Kevin Reid.)
611
612 ** incompatible changes
613
614 PRODUCE-DIGEST now *modifies* the state of the digest object passed to
615 it. If you want to preserve that state for later, you will have to
616 explicitly call COPY-DIGEST.
617
618 ** improvements
619
620 Compiler macros were added to improve the performance of
621 DIGEST-{SEQUENCE,STREAM,FILE}. (Thanks to Attila Lendvai for motivating
622 this.)
623
624 Digest performance should be improved due to using structures; this
625 change should bring digest performance back in line with where it was
626 circa version 0.22.
627
628 * Version 0.25, released 2008-02-24
629
630 ** bug fixes
631
632 CRC32 now works properly and agrees with other CRC32 implementations.
633 (Thanks to Todd Sabin.)
634
635 The testsuite is once again included. (Thanks to Peter Graves for
636 pointing out the missing files.)
637
638 ** improvements
639
640 BYTE-ARRAY-TO-HEX-STRING and ASCII-STRING-TO-BYTE-ARRAY have been
641 optimized and should perform better. (Thanks to Attila Lendvai for the
642 optimizations.)
643
644 A compiler macro was added to improve the performance of MAKE-DIGEST.
645 MAKE-DIGEST should also be faster in cases where the compiler macro does
646 not apply. (Thanks to Attila Lendvai for motivating this.)
647
648 ** new features
649
650 The null cipher has been added to ease implementation of some security
651 protocols. It is a block cipher with a BLOCK-LENGTH of 8 bytes.
652
653 * Version 0.24, released 2008-02-09
654
655 ** bug fixes
656
657 A bogus DECLAIM in Whirlpool's implementation has been fixed.
658
659 ** improvements
660
661 The way Whirlpool's registers are represented was changed slightly; the
662 new representation should be slightly more efficient and silences an
663 error in OpenMCL and LispWorks. Due to the changes, it is recommended
664 that you compile this version of Ironclad in a fresh Lisp instance.
665 (Thanks to Chun Tian.)
666
667 Lispworks support for octet streams has been added. OpenMCL support for
668 octet streams has been tweaked and should actually work now. (Thanks to
669 Chun Tian.)
670
671 * Version 0.23, released 31-12-2007
672
673 ** bug fixes
674
675 VERIFY-SIGNATURE for DSA signatures now respects the START and END
676 keyword arguments. (Thanks to Ildar.)
677
678 ** improvements
679
680 More refactoring of the internals has been performed; Ironclad should be
681 slightly smaller as a result.
682
683 Digest finalization on most digest types should cons significantly less.
684
685 ** new features
686
687 REINITIALIZE-INSTANCE is now supported on digest objects.
688
689 CLEAR-OUTPUT is now supported on octet output streams.
690
691 A compiler macro was added to improve the performance of MAKE-CIPHER.
692
693 The Whirlpool digest function has been added, with tests. (Thanks to
694 Peter Gijsels.)
695
696 DIGEST-FILE, DIGEST-STREAM, and UPDATE-DIGEST with a stream to update
697 from now accept three new keyword arguments: :BUFFER to specify a
698 temporary buffer into which the data from the file/stream should be
699 read, and :START and :END to specify the extent of the buffer that
700 should be used.
701
702 DIGEST-FILE, DIGEST-STREAM, and DIGEST-SEQUENCE now also accept a digest
703 object as their first argument in addition to a digest specifier.
704
705 * Version 0.22, released 12-06-2007
706
707 ** bug fixes
708
709 Fixed issues with octet streams and Allegro CL. (Thanks to
710 "quasilists".)
711
712 Fixed a bug in some type declarations that was causing XCL to (rightly)
713 complain when compiling Ironclad. (Thanks to Peter Graves.)
714
715 The rsa.lisp file previously advertised to be in the distribution is now
716 actually present. (Thanks to oudeis.)
717
718 ** new features
719
720 Byte-wise CFB mode (:CFB8) encryption and decryption have been added.
721 (Thanks to Robert J. Macomber for suggesting this might be necessary for
722 interoperating with other crypto toolkits.)
723
724 UPDATE-DIGEST has new methods that can update the digest from a stream.
725 See the documentation for details.
726
727 * Version 0.21, released 21-04-2007
728
729 ** bug fixes
730
731 Rewrote internal key-checking logic to provide a better error message
732 when a :KEY argument is not provided to MAKE-CIPHER. (Thanks to Mark
733 Carter.)
734
735 Fixed LIST calls that exceeded CALL-ARGUMENTS-LIMIT. (Thanks to piso on
736 #lisp.)
737
738 Fixed tests to use RTEST nickname rather than RT to avoid name conflicts
739 for LispWorks users. (Thanks to Sven Van Caekenberghe.)
740
741 Fixed the Twofish, Blowfish, CAST5, and RC6 ciphers to work properly in
742 LispWorks. (Thanks to Sven Van Caekenberghe.)
743
744 Fixed a problem with DEFINE-DIGEST-REGISTERS. (Thanks to Sven Van
745 Caekenberghe.)
746
747 Fixed a problem with CMUCL and octet-streams. (Thanks to Raymond Toy.)
748
749 * Version 0.20.1, released 21-02-2007
750
751 ** bug fixes
752
753 Fixed system definition to push onto *FEATURES* correctly in CMUCL.
754 (Thanks to Raymond Toy.)
755
756 Fixed several mismatches in the documentation between the arglists and
757 the prose that described them. (Thanks to Zach Beane.)
758
759 Fixed IRONCLAD-TESTS to include the 3des test vectors. (Thanks to
760 Raymond Toy and fe[nl]ix on #lisp who reported this.)
761
762 * Version 0.20, released 20-02-2007
763
764 ** bug fixes
765
766 The "counting" part of CTR mode in SBCL has been fixed.
767
768 A bug in SHA-1 and SHA-256's usage of LOOP has been fixed.
769
770 ** incompatible changes
771
772 The interface to MAKE-CIPHER has been redone. Please see the
773 documentation for details.
774
775 ** improvements
776
777 Square, TEA, and XTEA now come with test vectors.
778
779 CRC24, CRC32, and Adler32 now come with test vectors.
780
781 The test suite has been significantly reworked. It is now somewhat
782 faster to execute and the compilation time for the system IRONCLAD-TESTS
783 has been significantly reduced.
784
785 Documentation for the library has been written; see doc/ironclad.html.
786 Corrections and suggestions for improvements are much appreciated.
787
788 The internals of cipher definition and ENCRYPT/DECRYPT have been
789 rewritten. The net result is that the footprint of Ironclad has been
790 reduced by ~25% (x86 SBCL) due to fewer methods being defined for each
791 cipher. Furthermore, adding new ciphers will add only a few methods,
792 rather than the large number that were created before.
793
794 ** new features
795
796 PRODUCE-DIGEST and DIGEST-{STREAM,SEQUENCE,FILE} can optionally place
797 the computed digest into a preallocated user-supplied buffer. Please
798 see the documentation for these functions for details. (Thanks to Zach
799 Beane for suggesting this feature.)
800
801 RSA encryption routines have been added. These are very "raw"
802 routines, undoubtedly in need of some polish.
803
804 Support for CMACs (NIST 800-38B and RFC 4439) has been added. (Thanks
805 to Koga Kazuo for an initial implementation.)
806
807 * Version 0.13, released 03-05-2006
808
809 ** improvements
810
811 Added a (require :gray-streams) for CMUCL. (Thanks to Raymond Toy for
812 suggesting this.)
813
814 SHA-1 should now work on older versions of CLISP. (>= 2.34 or so)
815
816 Tiger is now supported on all Common Lisps, not just SBCL.
817
818 ** new features
819
820 The ARCFOUR stream cipher has been added, with tests. A new mode for
821 ARCFOUR and similar stream ciphers, imaginatively named :STREAM, is used
822 when creating an ARCFOUR cipher context with MAKE-CIPHER. (Thanks to
823 Tim Daly Jr.)
824
825 {EN,DE}CRYPT-IN-PLACE have been added to make the programmer's intent
826 clearer and to provide shorter calls for common operations.
827
828 Digesting streams, which compute a specified digest of data being
829 written, are now available on all Lisps that support octet streams.
830 The digest of the data written so far may be retrieved with
831 PRODUCE-DIGEST.
832
833 * Version 0.12, released 30-01-2006
834
835 ** bugfixes
836
837 Fixed XTEA decryption.
838
839 Fixed incorrect type declarations in the Adler32 digest. (Thanks to
840 Thas on #lisp. Thanks to Xach for permission to borrow his code from
841 Salza.)
842
843 Fixed MAKE-OCTET-INPUT-STREAM to instantiate the right class.
844 (Thanks to Eric Marsden.)
845
846 ** new features
847
848 The RC2 block cipher has been added, with tests.
849
850 Octet streams are now supported on Allegro CL and CMUCL.
851
852 A family of functions, UB{16,32,64}REF/{BE,LE}, has been added for
853 referencing (UNSIGNED-BYTE {16,32,64}) values of the appropriate
854 endianness from octet vectors. These functions are SETF-able.
855
856 ** improvements
857
858 Exported EXPT-MOD from the IRONCLAD package.
859
860 * Version 0.11, released 10-11-2005
861
862 ** bugfixes
863
864 Fixed tests HMAC.0 and HMAC.1 (which would have worked had they referred
865 to the proper ASCII-STRING-TO-BYTE-ARRAY...). (Thanks to Raymond Toy.)
866
867 Fixed CBC mode decryption to match CBC mode encryption. *blush*
868 (Thanks to Travis Cross.) Sanity checks have been added to the test
869 suite to make this sort of thing less likely to happen in the future.
870
871 Fixed the initializer for CRC24; CRC24 now works properly.
872
873 Fixed a hashing bug common to MD{2,4,5}, SHA-1, SHA-256, RIPEMD-128,
874 RIPEMD-160, and Tiger when updating the digest state with an amount of
875 data smaller than the space remaining in the internal buffer. Tests
876 have been added to ensure this doesn't happen again.
877
878 Fixed DIGEST-SEQUENCE on SBCL and CMUCL to respect the fill-pointer of
879 a vector. (Thanks to Steve Smith.)
880
881 ** new features
882
883 A new generic function to inspect supported key lengths for ciphers has
884 been added. By no small coincidence, it is named KEY-LENGTHS. Please
885 see its documentation string for details. (Thanks to Travis Cross.)
886
887 Counter mode (:CTR) encryption and decryption has been added.
888
889 Octet streams, which are like string-streams, only for octet vectors,
890 have been added. As of this release, they only work in SBCL and
891 OpenMCL; if your favorite implementation is not supported, patches are
892 welcome.
893
894 Asymmetric encryption routines have been included in this release; only
895 DSA (signing and verification) routines are included. Although test
896 vectors are not (yet) included, this release of Ironclad was signed
897 using routines from Ironclad.
898
899 IMPORTANT: Please note that DSA signing of messages is on the *digest*
900 of the message, not the message itself. Please also note that the
901 DSA signing routine requires *random* numbers; it currently uses
902 CL:RANDOM for this purpose, which is probably *NOT* secure enough for
903 your needs. Please make any changes you deem necessary to the signing
904 routine to accommodate your security level.
905
906 Feedback is sought on the interface to the routines:
907
908 - MAKE-PUBLIC-KEY
909 - MAKE-PRIVATE-KEY
910 - SIGN-MESSAGE
911 - VERIFY-MESSAGE
912
913 DEFGENERICs for ENCRYPT-MESSAGE and DECRYPT-MESSAGE have been included.
914 No methods on them are currently defined. Methods for RSA keys and
915 ElGamal keys will likely be forthcoming in a future release. Feedback
916 is also requested for those functions as well.
917
918 * Version 0.10, released 01-11-2005
919
920 ** bugfixes
921
922 Exported several block cipher context class names that were previously
923 unexported.
924
925 Digesting files and streams now works properly on MCL and other Lisps
926 that "mangle" stream-element-type. (Thanks to Hoan Ton-That.)
927
928 ** new features
929
930 Functions ASCII-STRING-TO-BYTE-ARRAY and BYTE-ARRAY-TO-HEX-STRING
931 were moved from the IRONCLAD-TESTS package into Ironclad itself. These
932 functions seem useful enough to have around at all times. Please see
933 the docstrings for these functions for usage documentation. (Thanks to
934 kire on #lisp for suggesting this.)
935
936 ** improvements
937
938 The memory footprint of Ironclad should be slightly reduced.
939
940 MAKE-CIPHER throws real errors for unsupported ciphers
941 (IRONCLAD:UNSUPPORTED-CIPHER) or modes (IRONCLAD:UNSUPPORTED-MODE),
942 rather than NO-APPLICABLE-METHOD.
943
944 * Version 0.9.1, released 13-09-2005
945
946 ** bugfixes
947
948 Fixed problems related to non-ANSI use of SUBSEQ on circular lists.
949
950 * Version 0.9, released 13-09-2005
951
952 ** bugfixes
953
954 The TripleDES block cipher now passes all included test vectors.
955
956 ** new features
957
958 The RC6 block cipher has been added, with tests.
959
960 The MISTY1 block cipher has been added, with tests. MISTY1 is unique
961 among the current crop of ciphers supported by Ironclad, as an
962 implementation that uses 16-bit arithmetic rather than 32-bit is
963 straightforward. Therefore, MISTY1's performance should be better than,
964 say, DES or Blowfish on Common Lisp implementations that do not support
965 unboxed 32-bit arithmetic.
966
967 ** performance improvements
968
969 The performance of the SHA-1 and SHA-256 hash functions should be
970 significantly improved.
971
972 * Version 0.8, released 29-08-2005
973
974 ** bugfixes
975
976 Added missing :LOAD-TOPLEVEL to EVAL-WHEN in blowfish.lisp; tests now
977 pass on ACL 7.0, Linux/x86. (Thanks to chavatar on #lisp.)
978
979 Fixed a case when digesting a file would throw a TYPE-ERROR. (Thanks to
980 Hoan Ton-That.)
981
982 Test vectors have been added for TripleDES, which immediately caught
983 several bugs in the current implementation. However, many of the
984 TripleDES tests do not pass in the current release. Using TripleDES
985 until all tests pass is not recommended.
986
987 Test vectors have been added for SHA-1, which immediately caught a bug
988 in the production of digests. This bug has been fixed.
989
990 ** new features
991
992 The RC5 cipher has been added, with tests.
993
994 The SHA-256 hash function has been added, with tests.
995
996 * Version 0.7.2, released 24-08-2005
997
998 ** bugfixes
999
1000 Fixed calls to ROL32 to only use positive arguments. This change should
1001 result in more tests (particularly the Twofish tests) passing on
1002 non-SBCL implementations. (Thanks to Raymond Toy for tracking this one
1003 down.)
1004
1005 Fixed some ACL 6.2 (trial) warnings related to multiply-defined
1006 functions, non-EVAL-WHEN'd DEFCONSTANT forms, unused variables, and an
1007 incomplete ASDF system definition. These fixes should also eliminate
1008 warnings in other implementations as well. (Thanks to chavatar on #lisp
1009 for motivating this.)
1010
1011 * Version 0.7.1, released 23-08-2005
1012
1013 ** bugfixes
1014
1015 UPDATE-HMAC now returns the HMAC object upon which it operated, rather
1016 than internal hashing state. (Thanks to rich_holygoat on #lisp.)
1017
1018 Condition names are now exported from the IRONCLAD package.
1019
1020 FINALIZE-ADLER32-STATE was fixed to properly store and return the
1021 computed digest. (Thanks to Raymond Toy.)
1022
1023 The test suite now excludes Tiger on non-SBCL Common Lisps (since Tiger
1024 is currently only supported on SBCL). (Thanks to Raymond Toy.)
1025
1026 * Version 0.7, released 11-08-2005
1027
1028 ** incompatible changes
1029
1030 Support for SBCL versions older than 0.9.0 has been removed.
1031
1032 ** bugfixes
1033
1034 The RIPEMD family of hash functions now passes all included test vectors.
1035
1036 The MD4 hash function now passes all included test vectors.
1037
1038 The CAST5 block cipher now passes all included test vectors.
1039
1040 When appropriate, ARRAY-DIMENSION-LIMIT is now used to specify types
1041 instead of ARRAY-TOTAL-SIZE-LIMIT.
1042
1043 A bug related to an argument-passing mismatch between the low-level
1044 hashing routines and their high-level counterparts has been fixed.
1045
1046 ** new features
1047
1048 TripleDES has been added.
1049
1050 Real conditions (subclasses of IRONCLAD:IRONCLAD-ERROR) are now signaled
1051 in several exceptional situations.
1052
1053 *** introspection changes
1054
1055 New generic functions DIGEST-LENGTH and BLOCK-LENGTH have been added.
1056 Please see the documentation strings for these generic functions for
1057 details.
1058
1059 * Version 0.6, released 21-02-2005
1060
1061 ** bugfixes
1062
1063 Due to the addition of a real, functioning test suite, many bugs have
1064 been fixed, including an embarassing one involving decryption. While
1065 not all of the provided digest functions and ciphers pass the test suite
1066 yet, the number of fixes brought about by adding the test suite called
1067 for a new release.
1068
1069 The AES, Twofish, IDEA, DES, and Blowfish implementations pass the test
1070 suite along with the MD5, SHA-1 and Tiger hash function implementations.
1071
1072 ** new features
1073
1074 The checksums Adler32, CRC24, and CRC32 have been added.
1075
1076 The IDEA and Twofish ciphers have been added.
1077
1078 New digest interfaces have been added. Please check the documentation
1079 strings for MAKE-DIGEST, COPY-DIGEST, UPDATE-DIGEST, and PRODUCE-DIGEST
1080 for details.
1081
1082 Support for HMACs has been added.
1083
1084 ** optimizations
1085
1086 FETCH-UB32 and STORE-UB32 are now coded inline, which should eliminate
1087 bignum consing in some implementations.
1088
1089 Better type declarations have been added to make the extraction of
1090 word-sized data from (UNSIGNED-BYTE 32) vectors less expensive.
1091
1092 The Blowfish implementation has been optimized and should cons less.
1093
1094 The AES implementation has been optimized and should be at least 2x faster.
1095
1096 * Version 0.5, released 05-01-2005
1097
1098 ** bugfixes
1099
1100 The Square cipher was severly broken in previous releases. This
1101 oversight has been remedied. Other ciphers were broken in similar
1102 ways (e.g. argument ordering problems) and the function definitions
1103 for the cipher operation modes were broken as well. These problems have
1104 been fixed.
1105
1106 ** incompatible changes
1107
1108 Strings are no longer "digestable"--you must convert the string to a
1109 byte vector before digesting it.
1110
1111 Hex strings are no longer permitted as keys for ciphers.
1112
1113 ** introspection changes
1114
1115 Added functions {DIGEST,CIPHER,MODE}-SUPPORTED-P and
1116 LIST-ALL-{DIGEST,CIPHER,MODE}S so applications can determine on the fly
1117 what algorithms are supported by the package.
1118
1119 ** test framework added
1120
1121 Test vectors from official specifications have been added to the package
1122 and ASDF definitions for a test framework have been added as well. Note
1123 that the testing suite is not yet fully operational. :)
1124
1125 * Version 0.4, released 27-11-2004
1126
1127 Cipher keys can now be specified as hexadecimal strings or as byte
1128 vectors.
1129
1130 Various little cleanups were made.
1131
1132 * Version 0.3, released 26-11-2004
1133
1134 initial release