x
[heimdal.git] / lib / hcrypto / ChangeLog
blob9706cebce038d4568e18efb19878f6adaf19dd42
1 2008-04-15  Love Hörnquist Åstrand  <lha@it.su.se>
3         * camellia-ntt.h: Move the typedef u<num> to camellia-ntt.h header
4         file.  Use u32 to define KEY_TABLE_TYPE, avoids warning on
5         platfors where u32 is not unsigned int.
7         * camellia.h: Drop need to camellia-ntt.h by including some more
8         defines.
10 2008-04-11  Love Hörnquist Åstrand  <lha@it.su.se>
11         
12         * rnd_keys.c: deprecated.
13         
14         * des.h: c++ wrappers + deprecated.
16         * aes.h: c++ wrappers
18         * des.h: c++ wrappers + deprecated
20         * rnd_keys.c: Use matching prototypes, prompted by bug report by
21         David Rosenstrauch.
23 2008-03-19  Love Hörnquist Åstrand  <lha@it.su.se>
25         * camellia.h: Drop unused defined that originates from aes.
26         
27 2008-01-11  Love Hörnquist Åstrand  <lha@it.su.se>
29         * Makefile.am: Add extra files missing from dist.
31 2007-12-30  Love Hörnquist Åstrand  <lha@it.su.se>
33         * rsa.c: ENGINE_get_default_RSA can return NULL.
35         * dh.c: more doxygen.
37 2007-12-28  Love Hörnquist Åstrand  <lha@it.su.se>
39         * evp.c: Add last of the doxygen documentation for functions in
40         this module.
42         * evp.c: complete the EVP_MD functions doxygen.
44 2007-12-11  Love Hörnquist Åstrand  <lha@it.su.se>
46         * version-script.map: export RSA_gmp_method.
48         * doxygen.c: More documentation.
50         * rsa.h: add RSA_gmp_method
52         * rsa-gmp.c: RSA implementation written using GMP.
54         * test_dh.c: Test of DH by Matthias Koenig.
56 2007-12-09  Love Hörnquist Åstrand  <lha@it.su.se>
58         * bn.h (BN_is_negative): make argument const.
60 2007-12-07  Love Hörnquist Åstrand  <lha@it.su.se>
62         * rand.c: Can't call getpwuid(getuid()) at all since that causes
63         recursive lookups. Pointed out by Hai Zaar.
65 2007-08-16  Love Hörnquist Åstrand  <lha@it.su.se>
67         * test_cipher.c: Use test from camellia samples.
69         * version-script.map: Export camellia.
71         * test_cipher.c: Make camellia-128-cbc tests pass.
73 2007-08-07  Love Hörnquist Åstrand  <lha@it.su.se>
75         * test_cipher.c: Sprinkle EVP cipher names.
76         
77 2007-07-30  David Love  <fx@gnu.org>
79         * camellia-ntt.c: Include <krb5-types.h>
80         
81 2007-07-24  Love Hörnquist Åstrand  <lha@it.su.se>
82         
83         * Add Camellia.
85 2007-07-10  Love Hörnquist Åstrand  <lha@it.su.se>
87         * Makefile.am: New library version.
89 2007-06-30  Love Hörnquist Åstrand  <lha@it.su.se>
91         * hmac.c (HMAC_Init_ex): also zero out key material on re-init.
93 2007-06-20  Love Hörnquist Åstrand  <lha@it.su.se>
95         * rand.c: Default to fortuna due to weired /dev/*random that
96         failes to deliver random data for us in hi load situations.
98         * rand-fortuna.c: Reseed the random generator now and then from
99         external sources.
101 2007-06-19  Love Hörnquist Åstrand  <lha@it.su.se>
103         * rand-egd.c: Avoid stoping unrelated memory.
105 2007-06-18  Love Hörnquist Åstrand  <lha@it.su.se>
107         * rand-fortuna.c: Use /etc/shadow, not /dev/shadow, pointed out by
108         Andrew Bartlett
110         * Makefile.am: add rand-timer.c
112         * rand-fortuna.c: Fall back to gattering data from timer and
113         secret files, this is really the last resort.
115         * rand-timer.c: Pick up timing diffrences in the timeing info from
116         realtime timer, only in use as a last resort.
118         * version-script.map: Add hc_RAND_timer_method.
119         
120 2007-06-10  Love Hörnquist Åstrand  <lha@it.su.se>
122         * test_bn.c: Add <rand.h>.
124         * test_crypto.in: Test for random device before running the tests.
126         * test_engine_dso.c: Test for random device.
128         * test_bn.c (test_BN_rand): skip this test if there is no random
129         device
131 2007-06-07  Love Hörnquist Åstrand  <lha@it.su.se>
133         * Makefile.am: Include more ui.[ch] in libbctest.
135         * version-script.map: Unexport _hc_DES_ipfp_test now there is a
136         separate test lib.
138         * Makefile.am: Build library libhctest.la for testing and link
139         with that when testing.
141         * version-script.map: export _hc_DES_ipfp_test
143 2007-06-03  Love Hörnquist Åstrand  <lha@it.su.se>
145         * imath: new update from Michael Fromberger
147         * test_imath.c: Try to find ABR in mp_int_mul.
149         * engine.c: Don't try to load gmp module.
150         
151 2007-06-02  Love Hörnquist Åstrand  <lha@it.su.se>
153         * test_bn.c: Plug memory leak.
154         
155 2007-05-31  Love Hörnquist Åstrand  <lha@it.su.se>
156         
157         * imath/imath.[ch]: New snapshot for Michael Fromberger, lets see if
158         this corrupts memory less.
159         
160 2007-05-30  Love Hörnquist Åstrand  <lha@it.su.se>
161         
162         * version-script.map: Don't prefix all symbols with _
163         
164 2007-05-10  Love Hörnquist Åstrand  <lha@it.su.se>
166         * test_pkcs12.c: test the difference between "" and NULL password.
168         * test_pkcs12.c: one more pkcs12-pbe-s2k check
169         
170 2007-04-20  Love Hörnquist Åstrand  <lha@it.su.se>
172         * Add version-script
174         * test_crypto.in: try generate a couple of rsa keys of
175         diffrent (random) sizes, spelling.
177         * test_rsa.c: try generate a couple of rsa keys of
178         diffrent (random) sizes.
179         
180 2007-04-19  Love Hörnquist Åstrand  <lha@it.su.se>
181         
182         * mdtest.c: stop leaking memory
184         * test_imath.c: fix warnings, make test into function.
186         * test_imath.c: shortest program causing the problem.
188         * test_imath.c: basic imath test
189         
190 2007-04-18  Love Hörnquist Åstrand  <lha@it.su.se>
191         
192         * test_cipher.c (test_cipher): avoid leaking memory
193         
194 2007-04-17  Love Hörnquist Åstrand  <lha@it.su.se>
195         
196         * rsa.c: plug memory leak
197         
198 2007-04-16  Love Hörnquist Åstrand  <lha@it.su.se>
200         * Makefile.am: CLEANFILES += test.file
201         
202 2007-04-15  Love Hörnquist Åstrand  <lha@it.su.se>
203         
204         * Makefile.am: Add randi.h.
206 2007-04-11  Love Hörnquist Åstrand  <lha@it.su.se>
208         * rsa.c: spelling.
209         
210 2007-02-01  Love Hörnquist Åstrand  <lha@it.su.se>
212         * rand.c: Name the random file ~/.rnd, this is the same as
213         OpenSSL.
214         
215 2007-01-31  Love Hörnquist Åstrand  <lha@it.su.se>
217         * rand-egd.c: Make get_bytes static.
219         * rand.c (RAND_write_file): default to failure.
220         
221 2007-01-30  Love Hörnquist Åstrand  <lha@it.su.se>
223         * rand.c: Implement RAND_file_name.
225         * test_rand.c: test RAND_file_name().
227         * rand.c: Provide dummy implementation of RAND_file_name.
229         * rand.h: add RAND_file_name
230         
231 2007-01-21  Love Hörnquist Åstrand  <lha@it.su.se>
232         
233         * Makefile.am: clean more files
235         * rand-egd.c: access private functions though the RAND_METHOD
236         switch, move global egd function to rand-egd.c
238         * rand-fortuna.c: access private functions though the RAND_METHOD
239         switch
241         * rand-unix.c: unexport private functions.
243         * randi.h: Unexport internal functions.
245         * rand.c: access private functions though the RAND_METHOD switch,
246         don't truncate the seed-file, move global egd function to
247         rand-egd.c
249         * test_crypto.in: add basic random tests
251         * rand-egd.c: SGI cc doesn' like return void_returning_function();
252         in a void returning function.
253         
254 2007-01-20  Love Hörnquist Åstrand  <lha@it.su.se>
256         * test_rand.c: Allow select rand method.
258         * rand-unix.c: expose _hc_rand_unix_status
259         
260         * randi.h: expose _hc_rand_unix_status and the internal
261         RAND_METHODs
263         * rand.c: Implement RAND_load_file and RAND_write_file.  Select
264         UNIX random device if available, otherwise use Fortuna.
266         * Add EGD/PRNGD support
268 2007-01-17  Love Hörnquist Åstrand  <lha@it.su.se>
270         * fortuna: Add fortuna based on Marko Kreen's pgcrypt, no enabled yet
272 2007-01-11  Love Hörnquist Åstrand  <lha@it.su.se>
274         * test_rsa.c: if RAND is unhappy, don't run the tests.
276         * test_engine_dso.c: if RAND is unhappy, don't run the tests.
278         * imath/imath.c: Update to imath-1.8 from Michael Fromberger
279         
280         Fixed a bug in s_udiv() affecting the computation of quotient
281         digits.  Thanks to Love Åstrand for isolating this bug.  Also in
282         this release, defining USELLONG=Y or USELLONG=N on the command
283         line for make will switch support for the "long long" data type on
284         or off without having to edit the Makefile.  The default is still
285         to permit use of "long long", even though the type is not standard
286         ANSI C90.
288         * imath/imath.c (s_udiv): Allocate one more for q, remove debug
289         printfs
290         
291 2007-01-10  Love Hörnquist Åstrand  <lha@it.su.se>
292         
293         * imath/imath.c (s_udiv): make a copy of a and b before we start
294         to make sure there is something un-tainted to print in cause of
295         failure. XXX remove this delta
296         (s_embar): make static
297         
298 2007-01-09  Love Hörnquist Åstrand  <lha@it.su.se>
300         * rsa.c: Correct the test if the rsa is a complete RSA private
301         key.
302         
303 2007-01-08  Love Hörnquist Åstrand  <lha@it.su.se>
304         
305         * imath/imath.c: More verbose debugging in case of assertion
306         failure. XXX temporary for AIX problem.
307         
308 2007-01-06  Love Hörnquist Åstrand  <lha@it.su.se>
310         * rsa-imath.c: Fix a silly typo, and with that enable CRT since
311         now it works.
313         * rsa-imath.c: With this crt works, but something is wrong in the
314         key generation, so keep it turned off for now.
316         * test_rsa.c: Allow testing effect of key-blinding
318         * test_rsa.c: Add timing info to rsa keygen.
319         
320         * rsa-imath.c: don't include <imath/rsamath.h>
321         
322 2007-01-05  Love Hörnquist Åstrand  <lha@it.su.se>
323         
324         * imath: prune off stuff we dont use
326         * imath/import.sh: Prune off stuff we don't use from imathsource
328         * Makefile.am: Prune off stuff we don't use from imathsource
330         * rsa-imath.c: Use mp_int_exptmod directly.
332         * imath/iprime.c: Use a larger table of small primes, cut down
333         genenration in best cases to half compared to using a small table.
335         * rsa.h: add RSA_FLAG_NO_BLINDING
337         * rsa-imath.c: Add keyblinding, add a commented out CRT based RSA.
339         * rsa.c: Add iqmp.
341 2007-01-04  Love Hörnquist Åstrand  <lha@it.su.se>
343         * rsa.c: add missing ;
345         * rsa.c: Add i2d_RSAPrivateKey.
347         * rsa.h: Add i2d_RSAPrivateKey.
349         * test_rsa.c: test RSA_generate_key_ex
351         * rsa-imath.c: Add imath_rsa_generate_key.
352         
353 2006-12-31  Love Hörnquist Åstrand  <lha@it.su.se>
355         * rsa.c: add RSA_generate_key_ex
357         * rsa.h: add RSA_generate_key_ex
358         
359 2006-12-07  Love Hörnquist Åstrand  <lha@it.su.se>
360         
361         * Makefile.am: CLEANFILES += test_crypto
362         
363 2006-12-06  Love Hörnquist Åstrand  <lha@it.su.se>
365         * Makefile.am: Add rsakey.der to EXTRA_DIST.
366         
367 2006-12-05  Love Hörnquist Åstrand  <lha@it.su.se>
369         * Makefile.am: Add test_crypto.in to EXTRA_DIST.
371         * test_crypto.in: Add more spaces to allow sh to parse this
373         * test_rsa.c: Explain what the fixed "sha1" checksum test tries to
374         test.
375         
376         * test_crypto.in: test rsa, dh and engine code
377         
378 2006-12-04  Love Hörnquist Åstrand  <lha@it.su.se>
380         * Makefile.am: rsa and crypto engine test cases
382         * test_rsa.c: Make faster and less verbose
384         * rsakey.der: test rsa key
386         * test_rsa.c: Test rsa operations
388         * rsa-imath.c: Fix the rsa-decrypt failed case that been hauting
389         me for a while.
390         
391 2006-12-02  Love Hörnquist Åstrand  <lha@it.su.se>
393         * rsa-imath.c: Use mp_int_to_binary to encode bignums
395         * rsa-imath.c: Check if header is there
396         
397 2006-11-27  Love Hörnquist Åstrand  <lha@it.su.se>
398         
399         * rsa-imath.c: Return -1 for failure.
401         * rsa-imath.c: Its ok with smaller signatures.
403         * rsa-imath.c: Split error codes for now
404         
405 2006-10-22  Love Hörnquist Åstrand  <lha@it.su.se>
407         * rsa.c: Try to not leak memory.
408         
409 2006-10-21  Love Hörnquist Åstrand  <lha@it.su.se>
411         * rand-unix.c (unix_bytes): read until the other side give us all
412         or fail.
414         * imath: import imath-1.7, fixes buffer overrun problems
416         * rsa.c (RSA_free): free the whole key
418         * test_engine_dso.c: Add more dh tests.
420 2006-10-20  Love Hörnquist Åstrand  <lha@it.su.se>
422         * imath/imath.c: Allocate more bits.
424         * dh-imath.c (dh_compute_key): fix signness test
426         * dh-imath.c: Try harder to generate a good keypair.
428         * dh-imath.c: Return -1 dh_compute_key on failure, pointed out by
429         Olga Kornievskaia.
430         
431 2006-10-19  Love Hörnquist Åstrand  <lha@it.su.se>
433         * Makefile.am: Add hash.h and des-tables.h.
435         * dh.c (DH_compute_key): return -1 on bad public key.
437         * rsa.c: remove stray ;
439         * engine.c: Does function typecasts instead of void * type-casts.
441         * evp.c: Does function typecasts instead of void * type-casts.
442         
443 2006-10-16  Love Hörnquist Åstrand  <lha@it.su.se>
444         
445         * Makefile.am: add rand-unix.c
447         * rand.c: Move out rand-unix functions from the core lib.
449         * rand-unix.c: Move out rand-unix functions from the core lib.
450         
451 2006-10-15  Love Hörnquist Åstrand  <lha@it.su.se>
452         
453         * hmac.c (HMAC_CTX_cleanup): destroy the EVP_MD_CTX, so it will be
454         freed.
455         
456 2006-10-14  Love Hörnquist Åstrand  <lha@it.su.se>
458         * bn.c: Drop heim_any.h, prefix der primitives with der_
460         * rsa.c: Drop heim_any.h.
461         
462 2006-10-11  Love Hörnquist Åstrand <lha@it.su.se>
463         
464         * rsa.c (RSA_free): Call the meth->finish before releasing the
465         engine.
466         
467 2006-10-06  Love Hörnquist Åstrand  <lha@it.su.se>
469         * imath/imath.c: Cast argument to ctype(3) functions to (unsigned
470         char).
472         * imath/imrat.c: Cast argument to ctype(3) functions to (unsigned
473         char).
474         
475 2006-09-22  Love Hörnquist Åstrand  <lha@it.su.se>
477         * ui.c (read_string): Try to not call signaction for signal 0 and
478         use NSIG if it exists to determin how many signals there exists,
479         also, only restore those signalhandlers that we got out.
480         
481         Bug reported by and patch tested by Harald Barth.
482         
483 2006-09-15  Love Hörnquist Åstrand  <lha@it.su.se>
485         * rsa-imath.c: Add commeted out test that exponent is > 3
486         
487 2006-05-13  Love Hörnquist Åstrand  <lha@it.su.se>
489         * bn.c (BN_rand): avoid shadowing.
490         
491 2006-05-12  Love Hörnquist Åstrand  <lha@it.su.se>
493         * rsa-imath.c: Fix the last one of the asserts.
494         
495 2006-05-08  Love Hörnquist Åstrand  <lha@it.su.se>
497         * rand.c (get_device_fd): use /dev/urandom first.
499         * rctest.c: Less "pointer targets in passing argument differ in
500         signedness" warnings.
502         * rc2test.c: Less "pointer targets in passing argument differ in
503         signedness" warnings.
504         
505 2006-05-07  Love Hörnquist Åstrand  <lha@it.su.se>
506         
507         * rsa-imath.c: Fix a off by one.
508         
509         * test_engine_dso.c: print the lengths when they don't match.
511         * engine.c (ENGINE_load_builtin_engines): use RSA_imath_method for
512         the building engine.
514         * rsa.h: expose RSA_imath_method
516         * rsa.c (RSA_check_key): Do sign/verify instead.
518         * dsa.c: rename the DSA_METHOD
520         * dh.c: rename the DH_METHOD
522         * dh-imath.c: rename the DH_METHOD
524         * rsa.c: Default to use rsa-imath.
526         * Makefile.am: Add rsa-imath.c to libhcrypto
528         * rsa-imath.c: Add RSA support using imath.
529         
530 2006-05-06 Love Hörnquist Åstrand <lha@it.su.se>
531         
532         * imath: Add imath-1.1.9
534         * dh.h: Expose DH_imath_method.
536         * Makefile.am: Add imath source, add test_engine_dso to TESTS.
538         * engine.c: Lets say we have RSA_null_method(), not really
539         useable, but still.
541         * test_engine_dso.c: If there are no arguments, use the internal
542         engine.
544         * engine.h: Cpp rename some ENGINE symbols.
546         * engine.c (ENGINE_load_builtin_engines): Load the internal
547         engine.
549         * dh.c: Default to use DH-imath.
551         * dh.c (DH_check_pubkey): describe what the function do
553 2006-05-05  Love Hörnquist Åstrand  <lha@it.su.se>
554         
555         * dh.c (DH_compute_key): check return status value from
556         DH_check_pubkey
558         * Rename u_intXX_t to uintXX_t
559         
560 2006-04-24  Love Hörnquist Åstrand  <lha@it.su.se>
562         * pkcs5.c: include <krb5-types.h>
564         * evp.c: Sprinkel some assertions.
566         * des.c: Move assertion and add another restriction, used as hint
567         to beam that its ok
568         
569 2006-04-23  Love Hörnquist Åstrand  <lha@it.su.se>
571         * rsa.c (RSA_check_key): don't do any checking if there is no
572         private key
574         * engine.c (add_engine): reassign engines variable after realloc
575         
576 2006-04-21  Love Hörnquist Åstrand  <lha@it.su.se>
578         * evp.h: Add EVP_get_cipherbyname, unbreak EVP_BytesToKey
580         * evp.h: Add prototype for EVP_BytesToKey
582         * evp.c: Add stub for EVP_BytesToKey
583         
584 2006-04-20  Love Hörnquist Åstrand  <lha@it.su.se>
585         
586         * dh.h: Add cpp-rename for DH_check_pubkey
587         
588 2006-04-17  Love Hörnquist Åstrand  <lha@it.su.se>
590         * rand.h: Add more RAND functions.
592         * rand.c: Split out unix /dev/random to a RAND_METHOD
594         * engine.h: add RAND support
596         * engine.c: add RAND support
598         * evp.h: s/rc4_64/rc2_64/
600         * rand.c: Add RAND_METHOD and some associated functions.
602         * rand.h: Add RAND_METHOD and some associated functions.
604         * test_bn.c: Test BN_rand
605         
606 2006-04-16  Love Hörnquist Åstrand  <lha@it.su.se>
608         * engine.c (ENGINE_by_dso): less printf
610         * rsa.h (i2d_RSAPublicKey): fix prototype
612         * rsa.c (i2d_RSAPublicKey): fix prototype
613         
614 2006-04-15  Love Hörnquist Åstrand  <lha@it.su.se>
616         * evp.h: Add EVP_rc2_64_cbc
618         * evp.c: Add EVP_rc2_64_cbc
620         * evp.h: Add SHA-256 symbols.
622         * evp.c: Add SHA-256.
624         * sha.h: Add SHA-256 symbols.
626         * mdtest.c: Test SHA-256.
628         * sha256.c: Inital (naive) SHA-256 implementation.
629         
630 2006-04-14 Love Hörnquist Åstrand <lha@it.su.se>
632         * des.c (DES_cfb64_encrypt): add asserts that the *num pointers is
633         >= 0, because if it is, its a programmer error.
634         
635 2006-04-09  Love Hörnquist Åstrand  <lha@it.su.se>
637         * rc2.c (RC2_set_key): abort on erroneous input (len <= 0) size
638         that will case out out bound indexing, and its invalid input.
640         * rsa.c: Make compile again.
641         
642 2006-04-03  Love Hörnquist Åstrand  <lha@it.su.se>
644         * rsa.c: Implement i2d_RSAPublicKey
646         * rsa.h: Add i2d_RSAPublicKey
647         
648 2006-03-07 Love Hörnquist Åstrand <lha@it.su.se>
650         * Makefile.am: EVP interface depends on dlopen, add it to LIBFLAGS
651         
652 2006-02-28  Love Hörnquist Åstrand  <lha@it.su.se>
653         
654         * Makefile.am: Add pkcs5 files.
656         * test_pkcs5.c: Testcases for pkcs5 pbe2.
658         * pkcs5.c (PKCS5_PBKDF2_HMAC_SHA1): new function.
660         * hmac.c: Digest key when it exceeds block size, not when it
661         exceeds the size of the output block.
662         
663 2006-02-16  Love Hörnquist Åstrand  <lha@it.su.se>
665         * rand.c (RAND_bytes): Don't abort() on failure, return error.
667         * bn.c (BN_rand): check return value from RAND_bytes
668         
669 2006-01-18  Love Hörnquist Åstrand  <lha@it.su.se>
671         * dh.c (DH_compute_key): check public key
673         * dh.h: Add DH_check_pubkey and defines it uses.
675         * dh.c (DH_check_pubkey): New function.
677         * bn.c: Remove unused fragment.
679         * test_bn.c: Compare numbers with BN_cmp().
680         
681 2006-01-17  David Love  <fx@gnu.org>
683         * bn.c: Include <limits.h>.
684         
685 2006-01-13  Love Hörnquist Åstrand  <lha@it.su.se>
687         * *.h: use #include <hcrypto/...>
689         * Makefile.am: provide a symlink so the directory hcrypto/ seems
690         to exists
692         * engine.h: Expose dsa symbols
694         * Makefile.am: Rename library to hcrypto and install headerfiles
695         in hcrypto/.
697         * test_pkcs12.c: Test for PKCS12_key_gen.
699         * hmac.h: Drop HMAC_CTX_create and HMAC_CTX_destroy.
701         * engine.c (ENGINE_add_conf_module): Also load DH
703         * dh.h: Reorder includes to avoid compile errors, provide
704         DH_new_method().
706         * dh.c: Indent.
708         * bn.c: BN_get_negative was really named BN_is_negative, a comment
709         confused me.
711         * bn.h: BN_get_negative was really named BN_is_negative, a comment
712         confused me.
714         * pkcs12.h: Add PKCS12_key_gen().
716         * pkcs12.c: Add PKCS12_key_gen().
718         * Makefile.am: Add test_cipher, test_pkcs12, add pkcs12.[ch].
720         * evp.c: Rename rc2_40_cbc internal variable to something better.
721         Unbreak des-ede3-cbc.
722         
723 2006-01-11  Love Hörnquist Åstrand  <lha@it.su.se>
725         * test_bn.c: Test BN_uadd.
727         * bn.c (BN_rand): don't leak memory on failure, catch malloc(0)
728         case
729         
730         * bn.c (BN_rand): clear the bits above the bits that user
731         requested.
732         (BN_uadd): new function.
733         
734         * bn.h (BN_uadd): new function.
735         
736 2006-01-10  Love Hörnquist Åstrand <lha@it.su.se>
738         * evp.c (EVP_CIPHER_CTX_cleanup): clean up less aggressively
740         * Makefile.am (check_PROGRAMS): add test_hmac
742         * test_hmac.c: Simple regression test for HMAC.
744         * hmac.c: Make hmac work.
746         * evp.c: return the right blocksize for digests.
747         
748 2006-01-09  Love Hörnquist Åstrand <lha@it.su.se>
750         * test_engine_dso.c: Add test for DH.
752         * dh.c: Add DH_new_method, add ENGINE refcounting.
754         * engine.[ch]: Add ENGINE_set_default_DH and ENGINE_get_default_DH
756         * test_engine_dso.c: Add test for RSA encryption.
757         
758 2006-01-08  Love Hörnquist Åstrand  <lha@it.su.se>
759         
760         * test_engine_dso.c: Add test for RSA.
762         * implement enough glue to support OpenSSLs EVP, RSA, DSA, DH,
763         HMAC, RAND and ENGINE interfaces for use in hx509. rename all
764         symbols to start with hc_ to avoid clobbering namespaces. contains
765         no RSA/DH/DSA code, just glue to support using dynamic
766         ENGINE. hx509 supports this via pkcs11 and there is a gmp ENGINE
767         module supporting RSA. Also contains a MD2 digest for completion.
769 2005-07-20  Love Hörnquist Åstrand  <lha@it.su.se>
771         * des.c,des.h,rnd_keys.c: change unsigned char * to void *
773 2005-06-30  Love Hörnquist Åstrand  <lha@it.su.se>
775         * rnd_keys.c: const poision for unwriteable strings
777 2005-06-19  Love Hörnquist Åstrand  <lha@it.su.se>
779         * des.c,aes.c,rc2.c: Rename parameter, as encrypt shadows a
780         global, from Andrew Bartlett
782 2005-06-02  Love Hörnquist Åstrand  <lha@it.su.se>
784         * rnd_keys.c: Include <stdlib.h> for srandom/random.
786 2005-05-29  Love Hörnquist Åstrand  <lha@it.su.se>
788         * des.c (DES_cbc_cksum): init u to make sure it have a value in
789         case of the empty in data
791         * destest.c: add test for the empty password ""
793 2005-05-27  Love Hörnquist Åstrand  <lha@it.su.se>
795         * rctest.c (cipher3): used unsigned char to avoid problems with
796         platforms using "signed char"
797         
798 2005-05-13  Love Hörnquist Åstrand  <lha@it.su.se>
800         * rc2.c: use unsigned char to avoid signess warning
802         * des.c: use unsigned char to avoid signess warning
804         * aes.c (AES_cbc_encrypt): use unsigned char to avoid signess
805         warning
807 2005-05-03  Dave Love  <fx@gnu.org>
809         * mdtest.c: Fix typo for HAVE_STDLIB_H.
811 2005-05-03  Love Hörnquist Åstrand  <lha@it.su.se>
813         * rnd_keys.c: Enabled to build on cygwin, based on patch from
814         David Love <fx@gnu.org>
816 2005-05-02  Dave Love  <fx@gnu.org>
818         * mdtest.c: Include <krb5-types.h>.
820 2005-04-30  Love Hörnquist Åstrand  <lha@it.su.se>
822         * ui.c: Include <des.h>.
823         (UI_UTIL_read_pw_string): make the prompt argument const.
825         * des.h (UI_UTIL_read_pw_string): make the prompt argument const
827         * ui.c (UI_UTIL_read_pw_string): remove unused variable plen
828         
829         * des.c: replace <strings.h> with <string.h>
830         
831 2005-04-29  Dave Love  <fx@gnu.org>
833         * Makefile.am: Add LIB_roken.
834         
835 2005-04-27  Dave Love  <fx@gnu.org>
837         * sha.c: Include hash.h first.
838         
839         * md4.c: Include hash.h first.
840         
841         * md5.c: Include hash.h first.
842         
843         * hash.h: Include krb5-types.h
844         
845 2005-04-26  Dave Love  <fx@gnu.org>
847         * mdtest.c: Maybe include stdlib.h
848         
849 2005-04-10  Love Hörnquist Åstrand  <lha@it.su.se>
851         * sha.h,md5.h, md4.h: don't include bit types, the user must do
852         that #ifdef wrap
853         
854         * aes.h: #ifdef wrap
856 2005-03-23  Love Hörnquist Åstrand  <lha@it.su.se>
858         * des.h: fix prototype for DES_random_key
860         * rnd_keys.c: fix prototype for DES_random_key
862         * des.[ch]: provide compatibility function DES_key_sched, same as
863         DES_set_key
865 2005-03-20  Love Hörnquist Åstrand  <lha@it.su.se>
867         * destest.c: include config.h and protect some headers
868         
869         * rnd_keys.c: move <des.h> to after include <krb5-types.h> so the
870         C99 integer types exists
872 2005-03-14  Love Hörnquist Åstrand  <lha@it.su.se>
874         * des.c: add DES_set_key_checked
876         * des.h: add DES_set_key_checked
878 2005-03-01  Love Hörnquist Åstrand  <lha@it.su.se>
879         
880         * des-tables.h: Add the missing file
881         
882 2005-02-23  Love Hörnquist Åstrand  <lha@it.su.se>
884         * ui.c: remove dependency on asprintf
886         * Makefile.am: make destest only once
888         * Replace the eay DES code with key scheule setup code by me and DES
889         s-box and p permutation from Richard Outerbridge implemtation (in
890         public domain).  The DES modes are implemented by me. ui.c code are
891         from appl/login.
893         The implementation is about 3 times slower then Eric for encryption,
894         and about the same speed for key setup.
897 2004-08-10  Love Hörnquist Åstrand  <lha@it.su.se>
899         * rnd_keys.c (DES_rand_data): also try /dev/arandom
901 2004-06-02  Love Hörnquist Åstrand  <lha@it.su.se>
903         * rnd_keys.c: don't include krb4 headers
904         
905         * rijndael-alg-fst.c: don't include krb4 headers
906         
907         * aes.c: don't include krb4 headers
908         
909         * aes.h: define AES_{EN,DE}CRYPT; remove #ifdefs, this is an
910         installed file
912 2004-04-25  Love Hörnquist Åstrand  <lha@it.su.se>
914         * rc2.c: handle non blocksized cbc messages
916         * aes.[ch]: add AES_cbc_encrypt
918 2004-04-24  Love Hörnquist Åstrand  <lha@it.su.se>
920         * rc2test.c: test vectors from RFC2268
921         
922         * rc2.c (RC2_set_key): rewrite the mask calculation
923         
924         * rc2.c (RC2_set_key): handle keys where effective bits are
925         diffrent from keylength
927 2004-04-23  Love Hörnquist Åstrand  <lha@it.su.se>
929         * rc2.c: rc2 implementation
930         
931         * rc2.h: rc2 implementation
932         
933         * rc2test.c: rc2 implementation
934         
935         * Makefile.am: rc2 implementation
937 2004-03-25  Love Hörnquist Åstrand  <lha@it.su.se>
939         * Makefile.am: new arcfour implementation
940         
941         * rc4.c: implemented from description in
942         draft-kaukonen-cipher-arcfour-03.txt
943         
944         * rc4.h: replace with new implementation
945         
946         * rc4_enc.c rc4_skey.c: remove 
948         * rctest.c: test for arcfour
949         
950 2003-12-07  Love Hörnquist Åstrand  <lha@it.su.se>
952         * rnd_keys.c: uninitialized variable, from Panasas Inc
953         
954 2003-09-03  Love Hörnquist Åstrand  <lha@it.su.se>
956         * md4.c (MD4_Final): make the function threadsafe by removing
957         static on the local variable zeros
958         
959         * md5.c (MD5_Final): make the function threadsafe by removing
960         static on the local variable zeros
962         * switch to the DES_ api, dont provide any compat glue
964 2003-08-27  Love Hörnquist Åstrand  <lha@it.su.se>
966         * sha.c: make the function threadsafe by removing static on the
967         local variable zeros
969 2003-07-23  Love Hörnquist Åstrand  <lha@it.su.se>
971         * rijndael-alg-fst.h,rijndael-alg-fst.c,aes.c,aes.h:
972         Makefile.am: add AES support
974 2003-03-19  Love Hörnquist Åstrand  <lha@it.su.se>
976         * des.1: sunOS -> SunOS, from jmc <jmc@prioris.mini.pw.edu.pl>
977         
978 2003-03-19  Love Hörnquist Åstrand  <lha@it.su.se>
980         * des.1: spelling, from <jmc@prioris.mini.pw.edu.pl>
981         
982 2002-08-28  Johan Danielsson  <joda@pdc.kth.se>
984         * read_pwd.c: move NeXT SGTTY stuff here
986 2001-05-17  Assar Westerlund  <assar@sics.se>
988         * Makefile.am: bump version to 3:1:0
990 2001-05-11  Assar Westerlund  <assar@sics.se>
992         * str2key.c (des_string_to_key, des_string_to_2keys): avoid weak
993         keys
995 2001-02-16  Assar Westerlund  <assar@sics.se>
997         * set_key.c: correct weak keys and update comment
999 2001-02-14  Assar Westerlund  <assar@sics.se>
1001         * set_key.c: correct the two last weak keys in accordance with
1002         FIPS 74.  noted by <jhutz@cmu.edu>
1004 2001-01-30  Assar Westerlund  <assar@sics.se>
1006         * Makefile.am (libdes_la_LDFLAGS): bump version to 3:0:0
1008 2000-10-19  Assar Westerlund  <assar@sics.se>
1010         * Makefile.in (LIBSRC, LIBOBJ): add rc4* and enc_{read,write}
1011         files so that this library contains the same things as libdes in
1012         Heimdal
1014 2000-08-16  Assar Westerlund  <assar@sics.se>
1016         * Makefile.am: bump version to 2:1:0
1018 2000-08-03  Johan Danielsson  <joda@pdc.kth.se>
1020         * enc_writ.c: BSIZE -> des_BSIZE to avoid conflicts with AIX
1021         jfs/fsparam.h
1023         * enc_read.c: BSIZE -> des_BSIZE to avoid conflicts with AIX
1024         jfs/fsparam.h
1026         * des_locl.h: BSIZE -> des_BSIZE to avoid conflicts with AIX
1027         jfs/fsparam.h
1029 2000-02-07  Assar Westerlund  <assar@sics.se>
1031         * Makefile.am: set version to 2:0:0
1033 2000-01-26  Assar Westerlund  <assar@sics.se>
1035         * mdtest.c: update to pseudo-standard APIs for md4,md5,sha.
1036         * md4.c, md4.h, md5.c, md5.h, sha.c, sha.h: move to the
1037         pseudo-standard APIs
1039 1999-12-06  Assar Westerlund  <assar@sics.se>
1041         * Makefile.am: set version to 1:0:1
1043 1999-11-29  Assar Westerlund  <assar@sics.se>
1045         * fcrypt.c (crypt_md5): add trailing $
1046         
1047 1999-11-13  Assar Westerlund  <assar@sics.se>
1049         * Makefile.am (include_HEADERS): add rc4.h
1050         (libdes_la_SOURCES): add rc4_skey.c
1052 1999-10-28  Assar Westerlund  <assar@sics.se>
1054         * md5crypt_test.c: change the test case.  apparently we should not
1055         include $ after the salt.  also make it print more useful stuff
1056         when failing.
1058 1999-10-20  Assar Westerlund  <assar@sics.se>
1060         * Makefile.am: bump version to 0:2:0
1062 1999-09-21  Johan Danielsson  <joda@pdc.kth.se>
1064         * des.h: make this work with mips 64-bit abi
1066 1999-08-14  Johan Danielsson  <joda@pdc.kth.se>
1068         * fcrypt.c (crypt_md5): don't use snprintf
1070 1999-08-13  Assar Westerlund  <assar@sics.se>
1072         * Makefile.am: add md5crypt_test
1074         * Makefile.in: add md5crypt_test
1076         * md5crypt_test.c: test md5 crypt
1078         * fcrypt.c: always enable md5 crypt
1080 1999-07-26  Johan Danielsson  <joda@pdc.kth.se>
1082         * Makefile.am: bump version number (changes to md*, sha)
1084 1999-06-15  Assar Westerlund  <assar@sics.se>
1086         * sha.c (swap_u_int32_t): add _CRAY
1088 Sat Apr 10 23:02:30 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
1090         * destest.c: fixes for crays
1092 Thu Apr  1 11:26:38 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
1094         * Makefile.am: noinst_PROGRAMS -> check_PROGRAMS; add TESTS; don't
1095         build rpw, and speed
1097 Mon Mar 22 20:16:26 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
1099         * Makefile.am: hash.h
1101         * sha.c: use hash.h; fixes for crays
1103         * md5.c: use hash.h; fixes for crays
1105         * md4.c: use hash.h; fixes for crays
1107         * hash.h: common stuff from md4, md5, and sha1
1109 Sat Mar 20 00:16:53 1999  Assar Westerlund  <assar@sics.se>
1111         * rnd_keys.c (des_rand_data): move declaration to get rid of
1112         warning
1114 Thu Mar 18 11:22:28 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
1116         * Makefile.am: include Makefile.am.common
1118 Mon Mar 15 17:36:41 1999  Johan Danielsson  <joda@hella.pdc.kth.se>
1120         * rnd_keys.c (des_rand_data): if not using setitimer, block
1121         SIGCHLD around fork(), also make sure we get the status of the
1122         child process
1123         (fake_signal): emulate signal using sigaction
1125 Tue Jan 12 05:06:54 1999  Assar Westerlund  <assar@sics.se>
1127         * des.h: sparcv9 is also 64 bits, use `unsigned int' instead of
1128         `unsigned long'
1130 Sun Nov 22 10:40:09 1998  Assar Westerlund  <assar@sics.se>
1132         * Makefile.in (WFLAGS): set
1134 Mon May 25 05:24:56 1998  Assar Westerlund  <assar@sics.se>
1136         * Makefile.in (clean): try to remove shared library debris
1138 Sun Apr 19 09:50:53 1998  Assar Westerlund  <assar@sics.se>
1140         * Makefile.in: add symlink magic for linux
1142 Sun Nov  9 07:14:45 1997  Assar Westerlund  <assar@sics.se>
1144         * mdtest.c: print out old and new string