1 2008-01-11 Love Hörnquist Åstrand <lha@it.su.se>
3 * Makefile.am: Add extra files missing from dist.
5 2007-12-30 Love Hörnquist Åstrand <lha@it.su.se>
7 * rsa.c: ENGINE_get_default_RSA can return NULL.
11 2007-12-28 Love Hörnquist Åstrand <lha@it.su.se>
13 * evp.c: Add last of the doxygen documentation for functions in
16 * evp.c: complete the EVP_MD functions doxygen.
18 2007-12-11 Love Hörnquist Åstrand <lha@it.su.se>
20 * version-script.map: export RSA_gmp_method.
22 * doxygen.c: More documentation.
24 * rsa.h: add RSA_gmp_method
26 * rsa-gmp.c: RSA implementation written using GMP.
28 * test_dh.c: Test of DH by Matthias Koenig.
30 2007-12-09 Love Hörnquist Åstrand <lha@it.su.se>
32 * bn.h (BN_is_negative): make argument const.
34 2007-12-07 Love Hörnquist Åstrand <lha@it.su.se>
36 * rand.c: Can't call getpwuid(getuid()) at all since that causes
37 recursive lookups. Pointed out by Hai Zaar.
39 2007-08-16 Love Hörnquist Åstrand <lha@it.su.se>
41 * test_cipher.c: Use test from camellia samples.
43 * version-script.map: Export camellia.
45 * test_cipher.c: Make camellia-128-cbc tests pass.
47 2007-08-07 Love Hörnquist Åstrand <lha@it.su.se>
49 * test_cipher.c: Sprinkle EVP cipher names.
51 2007-07-30 David Love <fx@gnu.org>
53 * camellia-ntt.c: Include <krb5-types.h>
55 2007-07-24 Love Hörnquist Åstrand <lha@it.su.se>
59 2007-07-10 Love Hörnquist Åstrand <lha@it.su.se>
61 * Makefile.am: New library version.
63 2007-06-30 Love Hörnquist Åstrand <lha@it.su.se>
65 * hmac.c (HMAC_Init_ex): also zero out key material on re-init.
67 2007-06-20 Love Hörnquist Åstrand <lha@it.su.se>
69 * rand.c: Default to fortuna due to weired /dev/*random that
70 failes to deliver random data for us in hi load situations.
72 * rand-fortuna.c: Reseed the random generator now and then from
75 2007-06-19 Love Hörnquist Åstrand <lha@it.su.se>
77 * rand-egd.c: Avoid stoping unrelated memory.
79 2007-06-18 Love Hörnquist Åstrand <lha@it.su.se>
81 * rand-fortuna.c: Use /etc/shadow, not /dev/shadow, pointed out by
84 * Makefile.am: add rand-timer.c
86 * rand-fortuna.c: Fall back to gattering data from timer and
87 secret files, this is really the last resort.
89 * rand-timer.c: Pick up timing diffrences in the timeing info from
90 realtime timer, only in use as a last resort.
92 * version-script.map: Add hc_RAND_timer_method.
94 2007-06-10 Love Hörnquist Åstrand <lha@it.su.se>
96 * test_bn.c: Add <rand.h>.
98 * test_crypto.in: Test for random device before running the tests.
100 * test_engine_dso.c: Test for random device.
102 * test_bn.c (test_BN_rand): skip this test if there is no random
105 2007-06-07 Love Hörnquist Åstrand <lha@it.su.se>
107 * Makefile.am: Include more ui.[ch] in libbctest.
109 * version-script.map: Unexport _hc_DES_ipfp_test now there is a
112 * Makefile.am: Build library libhctest.la for testing and link
113 with that when testing.
115 * version-script.map: export _hc_DES_ipfp_test
117 2007-06-03 Love Hörnquist Åstrand <lha@it.su.se>
119 * imath: new update from Michael Fromberger
121 * test_imath.c: Try to find ABR in mp_int_mul.
123 * engine.c: Don't try to load gmp module.
125 2007-06-02 Love Hörnquist Åstrand <lha@it.su.se>
127 * test_bn.c: Plug memory leak.
129 2007-05-31 Love Hörnquist Åstrand <lha@it.su.se>
131 * imath/imath.[ch]: New snapshot for Michael Fromberger, lets see if
132 this corrupts memory less.
134 2007-05-30 Love Hörnquist Åstrand <lha@it.su.se>
136 * version-script.map: Don't prefix all symbols with _
138 2007-05-10 Love Hörnquist Åstrand <lha@it.su.se>
140 * test_pkcs12.c: test the difference between "" and NULL password.
142 * test_pkcs12.c: one more pkcs12-pbe-s2k check
144 2007-04-20 Love Hörnquist Åstrand <lha@it.su.se>
148 * test_crypto.in: try generate a couple of rsa keys of
149 diffrent (random) sizes, spelling.
151 * test_rsa.c: try generate a couple of rsa keys of
152 diffrent (random) sizes.
154 2007-04-19 Love Hörnquist Åstrand <lha@it.su.se>
156 * mdtest.c: stop leaking memory
158 * test_imath.c: fix warnings, make test into function.
160 * test_imath.c: shortest program causing the problem.
162 * test_imath.c: basic imath test
164 2007-04-18 Love Hörnquist Åstrand <lha@it.su.se>
166 * test_cipher.c (test_cipher): avoid leaking memory
168 2007-04-17 Love Hörnquist Åstrand <lha@it.su.se>
170 * rsa.c: plug memory leak
172 2007-04-16 Love Hörnquist Åstrand <lha@it.su.se>
174 * Makefile.am: CLEANFILES += test.file
176 2007-04-15 Love Hörnquist Åstrand <lha@it.su.se>
178 * Makefile.am: Add randi.h.
180 2007-04-11 Love Hörnquist Åstrand <lha@it.su.se>
184 2007-02-01 Love Hörnquist Åstrand <lha@it.su.se>
186 * rand.c: Name the random file ~/.rnd, this is the same as
189 2007-01-31 Love Hörnquist Åstrand <lha@it.su.se>
191 * rand-egd.c: Make get_bytes static.
193 * rand.c (RAND_write_file): default to failure.
195 2007-01-30 Love Hörnquist Åstrand <lha@it.su.se>
197 * rand.c: Implement RAND_file_name.
199 * test_rand.c: test RAND_file_name().
201 * rand.c: Provide dummy implementation of RAND_file_name.
203 * rand.h: add RAND_file_name
205 2007-01-21 Love Hörnquist Åstrand <lha@it.su.se>
207 * Makefile.am: clean more files
209 * rand-egd.c: access private functions though the RAND_METHOD
210 switch, move global egd function to rand-egd.c
212 * rand-fortuna.c: access private functions though the RAND_METHOD
215 * rand-unix.c: unexport private functions.
217 * randi.h: Unexport internal functions.
219 * rand.c: access private functions though the RAND_METHOD switch,
220 don't truncate the seed-file, move global egd function to
223 * test_crypto.in: add basic random tests
225 * rand-egd.c: SGI cc doesn' like return void_returning_function();
226 in a void returning function.
228 2007-01-20 Love Hörnquist Åstrand <lha@it.su.se>
230 * test_rand.c: Allow select rand method.
232 * rand-unix.c: expose _hc_rand_unix_status
234 * randi.h: expose _hc_rand_unix_status and the internal
237 * rand.c: Implement RAND_load_file and RAND_write_file. Select
238 UNIX random device if available, otherwise use Fortuna.
240 * Add EGD/PRNGD support
242 2007-01-17 Love Hörnquist Åstrand <lha@it.su.se>
244 * fortuna: Add fortuna based on Marko Kreen's pgcrypt, no enabled yet
246 2007-01-11 Love Hörnquist Åstrand <lha@it.su.se>
248 * test_rsa.c: if RAND is unhappy, don't run the tests.
250 * test_engine_dso.c: if RAND is unhappy, don't run the tests.
252 * imath/imath.c: Update to imath-1.8 from Michael Fromberger
254 Fixed a bug in s_udiv() affecting the computation of quotient
255 digits. Thanks to Love Åstrand for isolating this bug. Also in
256 this release, defining USELLONG=Y or USELLONG=N on the command
257 line for make will switch support for the "long long" data type on
258 or off without having to edit the Makefile. The default is still
259 to permit use of "long long", even though the type is not standard
262 * imath/imath.c (s_udiv): Allocate one more for q, remove debug
265 2007-01-10 Love Hörnquist Åstrand <lha@it.su.se>
267 * imath/imath.c (s_udiv): make a copy of a and b before we start
268 to make sure there is something un-tainted to print in cause of
269 failure. XXX remove this delta
270 (s_embar): make static
272 2007-01-09 Love Hörnquist Åstrand <lha@it.su.se>
274 * rsa.c: Correct the test if the rsa is a complete RSA private
277 2007-01-08 Love Hörnquist Åstrand <lha@it.su.se>
279 * imath/imath.c: More verbose debugging in case of assertion
280 failure. XXX temporary for AIX problem.
282 2007-01-06 Love Hörnquist Åstrand <lha@it.su.se>
284 * rsa-imath.c: Fix a silly typo, and with that enable CRT since
287 * rsa-imath.c: With this crt works, but something is wrong in the
288 key generation, so keep it turned off for now.
290 * test_rsa.c: Allow testing effect of key-blinding
292 * test_rsa.c: Add timing info to rsa keygen.
294 * rsa-imath.c: don't include <imath/rsamath.h>
296 2007-01-05 Love Hörnquist Åstrand <lha@it.su.se>
298 * imath: prune off stuff we dont use
300 * imath/import.sh: Prune off stuff we don't use from imathsource
302 * Makefile.am: Prune off stuff we don't use from imathsource
304 * rsa-imath.c: Use mp_int_exptmod directly.
306 * imath/iprime.c: Use a larger table of small primes, cut down
307 genenration in best cases to half compared to using a small table.
309 * rsa.h: add RSA_FLAG_NO_BLINDING
311 * rsa-imath.c: Add keyblinding, add a commented out CRT based RSA.
315 2007-01-04 Love Hörnquist Åstrand <lha@it.su.se>
317 * rsa.c: add missing ;
319 * rsa.c: Add i2d_RSAPrivateKey.
321 * rsa.h: Add i2d_RSAPrivateKey.
323 * test_rsa.c: test RSA_generate_key_ex
325 * rsa-imath.c: Add imath_rsa_generate_key.
327 2006-12-31 Love Hörnquist Åstrand <lha@it.su.se>
329 * rsa.c: add RSA_generate_key_ex
331 * rsa.h: add RSA_generate_key_ex
333 2006-12-07 Love Hörnquist Åstrand <lha@it.su.se>
335 * Makefile.am: CLEANFILES += test_crypto
337 2006-12-06 Love Hörnquist Åstrand <lha@it.su.se>
339 * Makefile.am: Add rsakey.der to EXTRA_DIST.
341 2006-12-05 Love Hörnquist Åstrand <lha@it.su.se>
343 * Makefile.am: Add test_crypto.in to EXTRA_DIST.
345 * test_crypto.in: Add more spaces to allow sh to parse this
347 * test_rsa.c: Explain what the fixed "sha1" checksum test tries to
350 * test_crypto.in: test rsa, dh and engine code
352 2006-12-04 Love Hörnquist Åstrand <lha@it.su.se>
354 * Makefile.am: rsa and crypto engine test cases
356 * test_rsa.c: Make faster and less verbose
358 * rsakey.der: test rsa key
360 * test_rsa.c: Test rsa operations
362 * rsa-imath.c: Fix the rsa-decrypt failed case that been hauting
365 2006-12-02 Love Hörnquist Åstrand <lha@it.su.se>
367 * rsa-imath.c: Use mp_int_to_binary to encode bignums
369 * rsa-imath.c: Check if header is there
371 2006-11-27 Love Hörnquist Åstrand <lha@it.su.se>
373 * rsa-imath.c: Return -1 for failure.
375 * rsa-imath.c: Its ok with smaller signatures.
377 * rsa-imath.c: Split error codes for now
379 2006-10-22 Love Hörnquist Åstrand <lha@it.su.se>
381 * rsa.c: Try to not leak memory.
383 2006-10-21 Love Hörnquist Åstrand <lha@it.su.se>
385 * rand-unix.c (unix_bytes): read until the other side give us all
388 * imath: import imath-1.7, fixes buffer overrun problems
390 * rsa.c (RSA_free): free the whole key
392 * test_engine_dso.c: Add more dh tests.
394 2006-10-20 Love Hörnquist Åstrand <lha@it.su.se>
396 * imath/imath.c: Allocate more bits.
398 * dh-imath.c (dh_compute_key): fix signness test
400 * dh-imath.c: Try harder to generate a good keypair.
402 * dh-imath.c: Return -1 dh_compute_key on failure, pointed out by
405 2006-10-19 Love Hörnquist Åstrand <lha@it.su.se>
407 * Makefile.am: Add hash.h and des-tables.h.
409 * dh.c (DH_compute_key): return -1 on bad public key.
411 * rsa.c: remove stray ;
413 * engine.c: Does function typecasts instead of void * type-casts.
415 * evp.c: Does function typecasts instead of void * type-casts.
417 2006-10-16 Love Hörnquist Åstrand <lha@it.su.se>
419 * Makefile.am: add rand-unix.c
421 * rand.c: Move out rand-unix functions from the core lib.
423 * rand-unix.c: Move out rand-unix functions from the core lib.
425 2006-10-15 Love Hörnquist Åstrand <lha@it.su.se>
427 * hmac.c (HMAC_CTX_cleanup): destroy the EVP_MD_CTX, so it will be
430 2006-10-14 Love Hörnquist Åstrand <lha@it.su.se>
432 * bn.c: Drop heim_any.h, prefix der primitives with der_
434 * rsa.c: Drop heim_any.h.
436 2006-10-11 Love Hörnquist Åstrand <lha@it.su.se>
438 * rsa.c (RSA_free): Call the meth->finish before releasing the
441 2006-10-06 Love Hörnquist Åstrand <lha@it.su.se>
443 * imath/imath.c: Cast argument to ctype(3) functions to (unsigned
446 * imath/imrat.c: Cast argument to ctype(3) functions to (unsigned
449 2006-09-22 Love Hörnquist Åstrand <lha@it.su.se>
451 * ui.c (read_string): Try to not call signaction for signal 0 and
452 use NSIG if it exists to determin how many signals there exists,
453 also, only restore those signalhandlers that we got out.
455 Bug reported by and patch tested by Harald Barth.
457 2006-09-15 Love Hörnquist Åstrand <lha@it.su.se>
459 * rsa-imath.c: Add commeted out test that exponent is > 3
461 2006-05-13 Love Hörnquist Åstrand <lha@it.su.se>
463 * bn.c (BN_rand): avoid shadowing.
465 2006-05-12 Love Hörnquist Åstrand <lha@it.su.se>
467 * rsa-imath.c: Fix the last one of the asserts.
469 2006-05-08 Love Hörnquist Åstrand <lha@it.su.se>
471 * rand.c (get_device_fd): use /dev/urandom first.
473 * rctest.c: Less "pointer targets in passing argument differ in
474 signedness" warnings.
476 * rc2test.c: Less "pointer targets in passing argument differ in
477 signedness" warnings.
479 2006-05-07 Love Hörnquist Åstrand <lha@it.su.se>
481 * rsa-imath.c: Fix a off by one.
483 * test_engine_dso.c: print the lengths when they don't match.
485 * engine.c (ENGINE_load_builtin_engines): use RSA_imath_method for
488 * rsa.h: expose RSA_imath_method
490 * rsa.c (RSA_check_key): Do sign/verify instead.
492 * dsa.c: rename the DSA_METHOD
494 * dh.c: rename the DH_METHOD
496 * dh-imath.c: rename the DH_METHOD
498 * rsa.c: Default to use rsa-imath.
500 * Makefile.am: Add rsa-imath.c to libhcrypto
502 * rsa-imath.c: Add RSA support using imath.
504 2006-05-06 Love Hörnquist Åstrand <lha@it.su.se>
506 * imath: Add imath-1.1.9
508 * dh.h: Expose DH_imath_method.
510 * Makefile.am: Add imath source, add test_engine_dso to TESTS.
512 * engine.c: Lets say we have RSA_null_method(), not really
515 * test_engine_dso.c: If there are no arguments, use the internal
518 * engine.h: Cpp rename some ENGINE symbols.
520 * engine.c (ENGINE_load_builtin_engines): Load the internal
523 * dh.c: Default to use DH-imath.
525 * dh.c (DH_check_pubkey): describe what the function do
527 2006-05-05 Love Hörnquist Åstrand <lha@it.su.se>
529 * dh.c (DH_compute_key): check return status value from
532 * Rename u_intXX_t to uintXX_t
534 2006-04-24 Love Hörnquist Åstrand <lha@it.su.se>
536 * pkcs5.c: include <krb5-types.h>
538 * evp.c: Sprinkel some assertions.
540 * des.c: Move assertion and add another restriction, used as hint
543 2006-04-23 Love Hörnquist Åstrand <lha@it.su.se>
545 * rsa.c (RSA_check_key): don't do any checking if there is no
548 * engine.c (add_engine): reassign engines variable after realloc
550 2006-04-21 Love Hörnquist Åstrand <lha@it.su.se>
552 * evp.h: Add EVP_get_cipherbyname, unbreak EVP_BytesToKey
554 * evp.h: Add prototype for EVP_BytesToKey
556 * evp.c: Add stub for EVP_BytesToKey
558 2006-04-20 Love Hörnquist Åstrand <lha@it.su.se>
560 * dh.h: Add cpp-rename for DH_check_pubkey
562 2006-04-17 Love Hörnquist Åstrand <lha@it.su.se>
564 * rand.h: Add more RAND functions.
566 * rand.c: Split out unix /dev/random to a RAND_METHOD
568 * engine.h: add RAND support
570 * engine.c: add RAND support
572 * evp.h: s/rc4_64/rc2_64/
574 * rand.c: Add RAND_METHOD and some associated functions.
576 * rand.h: Add RAND_METHOD and some associated functions.
578 * test_bn.c: Test BN_rand
580 2006-04-16 Love Hörnquist Åstrand <lha@it.su.se>
582 * engine.c (ENGINE_by_dso): less printf
584 * rsa.h (i2d_RSAPublicKey): fix prototype
586 * rsa.c (i2d_RSAPublicKey): fix prototype
588 2006-04-15 Love Hörnquist Åstrand <lha@it.su.se>
590 * evp.h: Add EVP_rc2_64_cbc
592 * evp.c: Add EVP_rc2_64_cbc
594 * evp.h: Add SHA-256 symbols.
596 * evp.c: Add SHA-256.
598 * sha.h: Add SHA-256 symbols.
600 * mdtest.c: Test SHA-256.
602 * sha256.c: Inital (naive) SHA-256 implementation.
604 2006-04-14 Love Hörnquist Åstrand <lha@it.su.se>
606 * des.c (DES_cfb64_encrypt): add asserts that the *num pointers is
607 >= 0, because if it is, its a programmer error.
609 2006-04-09 Love Hörnquist Åstrand <lha@it.su.se>
611 * rc2.c (RC2_set_key): abort on erroneous input (len <= 0) size
612 that will case out out bound indexing, and its invalid input.
614 * rsa.c: Make compile again.
616 2006-04-03 Love Hörnquist Åstrand <lha@it.su.se>
618 * rsa.c: Implement i2d_RSAPublicKey
620 * rsa.h: Add i2d_RSAPublicKey
622 2006-03-07 Love Hörnquist Åstrand <lha@it.su.se>
624 * Makefile.am: EVP interface depends on dlopen, add it to LIBFLAGS
626 2006-02-28 Love Hörnquist Åstrand <lha@it.su.se>
628 * Makefile.am: Add pkcs5 files.
630 * test_pkcs5.c: Testcases for pkcs5 pbe2.
632 * pkcs5.c (PKCS5_PBKDF2_HMAC_SHA1): new function.
634 * hmac.c: Digest key when it exceeds block size, not when it
635 exceeds the size of the output block.
637 2006-02-16 Love Hörnquist Åstrand <lha@it.su.se>
639 * rand.c (RAND_bytes): Don't abort() on failure, return error.
641 * bn.c (BN_rand): check return value from RAND_bytes
643 2006-01-18 Love Hörnquist Åstrand <lha@it.su.se>
645 * dh.c (DH_compute_key): check public key
647 * dh.h: Add DH_check_pubkey and defines it uses.
649 * dh.c (DH_check_pubkey): New function.
651 * bn.c: Remove unused fragment.
653 * test_bn.c: Compare numbers with BN_cmp().
655 2006-01-17 David Love <fx@gnu.org>
657 * bn.c: Include <limits.h>.
659 2006-01-13 Love Hörnquist Åstrand <lha@it.su.se>
661 * *.h: use #include <hcrypto/...>
663 * Makefile.am: provide a symlink so the directory hcrypto/ seems
666 * engine.h: Expose dsa symbols
668 * Makefile.am: Rename library to hcrypto and install headerfiles
671 * test_pkcs12.c: Test for PKCS12_key_gen.
673 * hmac.h: Drop HMAC_CTX_create and HMAC_CTX_destroy.
675 * engine.c (ENGINE_add_conf_module): Also load DH
677 * dh.h: Reorder includes to avoid compile errors, provide
682 * bn.c: BN_get_negative was really named BN_is_negative, a comment
685 * bn.h: BN_get_negative was really named BN_is_negative, a comment
688 * pkcs12.h: Add PKCS12_key_gen().
690 * pkcs12.c: Add PKCS12_key_gen().
692 * Makefile.am: Add test_cipher, test_pkcs12, add pkcs12.[ch].
694 * evp.c: Rename rc2_40_cbc internal variable to something better.
695 Unbreak des-ede3-cbc.
697 2006-01-11 Love Hörnquist Åstrand <lha@it.su.se>
699 * test_bn.c: Test BN_uadd.
701 * bn.c (BN_rand): don't leak memory on failure, catch malloc(0)
704 * bn.c (BN_rand): clear the bits above the bits that user
706 (BN_uadd): new function.
708 * bn.h (BN_uadd): new function.
710 2006-01-10 Love Hörnquist Åstrand <lha@it.su.se>
712 * evp.c (EVP_CIPHER_CTX_cleanup): clean up less aggressively
714 * Makefile.am (check_PROGRAMS): add test_hmac
716 * test_hmac.c: Simple regression test for HMAC.
718 * hmac.c: Make hmac work.
720 * evp.c: return the right blocksize for digests.
722 2006-01-09 Love Hörnquist Åstrand <lha@it.su.se>
724 * test_engine_dso.c: Add test for DH.
726 * dh.c: Add DH_new_method, add ENGINE refcounting.
728 * engine.[ch]: Add ENGINE_set_default_DH and ENGINE_get_default_DH
730 * test_engine_dso.c: Add test for RSA encryption.
732 2006-01-08 Love Hörnquist Åstrand <lha@it.su.se>
734 * test_engine_dso.c: Add test for RSA.
736 * implement enough glue to support OpenSSLs EVP, RSA, DSA, DH,
737 HMAC, RAND and ENGINE interfaces for use in hx509. rename all
738 symbols to start with hc_ to avoid clobbering namespaces. contains
739 no RSA/DH/DSA code, just glue to support using dynamic
740 ENGINE. hx509 supports this via pkcs11 and there is a gmp ENGINE
741 module supporting RSA. Also contains a MD2 digest for completion.
743 2005-07-20 Love Hörnquist Åstrand <lha@it.su.se>
745 * des.c,des.h,rnd_keys.c: change unsigned char * to void *
747 2005-06-30 Love Hörnquist Åstrand <lha@it.su.se>
749 * rnd_keys.c: const poision for unwriteable strings
751 2005-06-19 Love Hörnquist Åstrand <lha@it.su.se>
753 * des.c,aes.c,rc2.c: Rename parameter, as encrypt shadows a
754 global, from Andrew Bartlett
756 2005-06-02 Love Hörnquist Åstrand <lha@it.su.se>
758 * rnd_keys.c: Include <stdlib.h> for srandom/random.
760 2005-05-29 Love Hörnquist Åstrand <lha@it.su.se>
762 * des.c (DES_cbc_cksum): init u to make sure it have a value in
763 case of the empty in data
765 * destest.c: add test for the empty password ""
767 2005-05-27 Love Hörnquist Åstrand <lha@it.su.se>
769 * rctest.c (cipher3): used unsigned char to avoid problems with
770 platforms using "signed char"
772 2005-05-13 Love Hörnquist Åstrand <lha@it.su.se>
774 * rc2.c: use unsigned char to avoid signess warning
776 * des.c: use unsigned char to avoid signess warning
778 * aes.c (AES_cbc_encrypt): use unsigned char to avoid signess
781 2005-05-03 Dave Love <fx@gnu.org>
783 * mdtest.c: Fix typo for HAVE_STDLIB_H.
785 2005-05-03 Love Hörnquist Åstrand <lha@it.su.se>
787 * rnd_keys.c: Enabled to build on cygwin, based on patch from
788 David Love <fx@gnu.org>
790 2005-05-02 Dave Love <fx@gnu.org>
792 * mdtest.c: Include <krb5-types.h>.
794 2005-04-30 Love Hörnquist Åstrand <lha@it.su.se>
796 * ui.c: Include <des.h>.
797 (UI_UTIL_read_pw_string): make the prompt argument const.
799 * des.h (UI_UTIL_read_pw_string): make the prompt argument const
801 * ui.c (UI_UTIL_read_pw_string): remove unused variable plen
803 * des.c: replace <strings.h> with <string.h>
805 2005-04-29 Dave Love <fx@gnu.org>
807 * Makefile.am: Add LIB_roken.
809 2005-04-27 Dave Love <fx@gnu.org>
811 * sha.c: Include hash.h first.
813 * md4.c: Include hash.h first.
815 * md5.c: Include hash.h first.
817 * hash.h: Include krb5-types.h
819 2005-04-26 Dave Love <fx@gnu.org>
821 * mdtest.c: Maybe include stdlib.h
823 2005-04-10 Love Hörnquist Åstrand <lha@it.su.se>
825 * sha.h,md5.h, md4.h: don't include bit types, the user must do
830 2005-03-23 Love Hörnquist Åstrand <lha@it.su.se>
832 * des.h: fix prototype for DES_random_key
834 * rnd_keys.c: fix prototype for DES_random_key
836 * des.[ch]: provide compatibility function DES_key_sched, same as
839 2005-03-20 Love Hörnquist Åstrand <lha@it.su.se>
841 * destest.c: include config.h and protect some headers
843 * rnd_keys.c: move <des.h> to after include <krb5-types.h> so the
844 C99 integer types exists
846 2005-03-14 Love Hörnquist Åstrand <lha@it.su.se>
848 * des.c: add DES_set_key_checked
850 * des.h: add DES_set_key_checked
852 2005-03-01 Love Hörnquist Åstrand <lha@it.su.se>
854 * des-tables.h: Add the missing file
856 2005-02-23 Love Hörnquist Åstrand <lha@it.su.se>
858 * ui.c: remove dependency on asprintf
860 * Makefile.am: make destest only once
862 * Replace the eay DES code with key scheule setup code by me and DES
863 s-box and p permutation from Richard Outerbridge implemtation (in
864 public domain). The DES modes are implemented by me. ui.c code are
867 The implementation is about 3 times slower then Eric for encryption,
868 and about the same speed for key setup.
871 2004-08-10 Love Hörnquist Åstrand <lha@it.su.se>
873 * rnd_keys.c (DES_rand_data): also try /dev/arandom
875 2004-06-02 Love Hörnquist Åstrand <lha@it.su.se>
877 * rnd_keys.c: don't include krb4 headers
879 * rijndael-alg-fst.c: don't include krb4 headers
881 * aes.c: don't include krb4 headers
883 * aes.h: define AES_{EN,DE}CRYPT; remove #ifdefs, this is an
886 2004-04-25 Love Hörnquist Åstrand <lha@it.su.se>
888 * rc2.c: handle non blocksized cbc messages
890 * aes.[ch]: add AES_cbc_encrypt
892 2004-04-24 Love Hörnquist Åstrand <lha@it.su.se>
894 * rc2test.c: test vectors from RFC2268
896 * rc2.c (RC2_set_key): rewrite the mask calculation
898 * rc2.c (RC2_set_key): handle keys where effective bits are
899 diffrent from keylength
901 2004-04-23 Love Hörnquist Åstrand <lha@it.su.se>
903 * rc2.c: rc2 implementation
905 * rc2.h: rc2 implementation
907 * rc2test.c: rc2 implementation
909 * Makefile.am: rc2 implementation
911 2004-03-25 Love Hörnquist Åstrand <lha@it.su.se>
913 * Makefile.am: new arcfour implementation
915 * rc4.c: implemented from description in
916 draft-kaukonen-cipher-arcfour-03.txt
918 * rc4.h: replace with new implementation
920 * rc4_enc.c rc4_skey.c: remove
922 * rctest.c: test for arcfour
924 2003-12-07 Love Hörnquist Åstrand <lha@it.su.se>
926 * rnd_keys.c: uninitialized variable, from Panasas Inc
928 2003-09-03 Love Hörnquist Åstrand <lha@it.su.se>
930 * md4.c (MD4_Final): make the function threadsafe by removing
931 static on the local variable zeros
933 * md5.c (MD5_Final): make the function threadsafe by removing
934 static on the local variable zeros
936 * switch to the DES_ api, dont provide any compat glue
938 2003-08-27 Love Hörnquist Åstrand <lha@it.su.se>
940 * sha.c: make the function threadsafe by removing static on the
943 2003-07-23 Love Hörnquist Åstrand <lha@it.su.se>
945 * rijndael-alg-fst.h,rijndael-alg-fst.c,aes.c,aes.h:
946 Makefile.am: add AES support
948 2003-03-19 Love Hörnquist Åstrand <lha@it.su.se>
950 * des.1: sunOS -> SunOS, from jmc <jmc@prioris.mini.pw.edu.pl>
952 2003-03-19 Love Hörnquist Åstrand <lha@it.su.se>
954 * des.1: spelling, from <jmc@prioris.mini.pw.edu.pl>
956 2002-08-28 Johan Danielsson <joda@pdc.kth.se>
958 * read_pwd.c: move NeXT SGTTY stuff here
960 2001-05-17 Assar Westerlund <assar@sics.se>
962 * Makefile.am: bump version to 3:1:0
964 2001-05-11 Assar Westerlund <assar@sics.se>
966 * str2key.c (des_string_to_key, des_string_to_2keys): avoid weak
969 2001-02-16 Assar Westerlund <assar@sics.se>
971 * set_key.c: correct weak keys and update comment
973 2001-02-14 Assar Westerlund <assar@sics.se>
975 * set_key.c: correct the two last weak keys in accordance with
976 FIPS 74. noted by <jhutz@cmu.edu>
978 2001-01-30 Assar Westerlund <assar@sics.se>
980 * Makefile.am (libdes_la_LDFLAGS): bump version to 3:0:0
982 2000-10-19 Assar Westerlund <assar@sics.se>
984 * Makefile.in (LIBSRC, LIBOBJ): add rc4* and enc_{read,write}
985 files so that this library contains the same things as libdes in
988 2000-08-16 Assar Westerlund <assar@sics.se>
990 * Makefile.am: bump version to 2:1:0
992 2000-08-03 Johan Danielsson <joda@pdc.kth.se>
994 * enc_writ.c: BSIZE -> des_BSIZE to avoid conflicts with AIX
997 * enc_read.c: BSIZE -> des_BSIZE to avoid conflicts with AIX
1000 * des_locl.h: BSIZE -> des_BSIZE to avoid conflicts with AIX
1003 2000-02-07 Assar Westerlund <assar@sics.se>
1005 * Makefile.am: set version to 2:0:0
1007 2000-01-26 Assar Westerlund <assar@sics.se>
1009 * mdtest.c: update to pseudo-standard APIs for md4,md5,sha.
1010 * md4.c, md4.h, md5.c, md5.h, sha.c, sha.h: move to the
1011 pseudo-standard APIs
1013 1999-12-06 Assar Westerlund <assar@sics.se>
1015 * Makefile.am: set version to 1:0:1
1017 1999-11-29 Assar Westerlund <assar@sics.se>
1019 * fcrypt.c (crypt_md5): add trailing $
1021 1999-11-13 Assar Westerlund <assar@sics.se>
1023 * Makefile.am (include_HEADERS): add rc4.h
1024 (libdes_la_SOURCES): add rc4_skey.c
1026 1999-10-28 Assar Westerlund <assar@sics.se>
1028 * md5crypt_test.c: change the test case. apparently we should not
1029 include $ after the salt. also make it print more useful stuff
1032 1999-10-20 Assar Westerlund <assar@sics.se>
1034 * Makefile.am: bump version to 0:2:0
1036 1999-09-21 Johan Danielsson <joda@pdc.kth.se>
1038 * des.h: make this work with mips 64-bit abi
1040 1999-08-14 Johan Danielsson <joda@pdc.kth.se>
1042 * fcrypt.c (crypt_md5): don't use snprintf
1044 1999-08-13 Assar Westerlund <assar@sics.se>
1046 * Makefile.am: add md5crypt_test
1048 * Makefile.in: add md5crypt_test
1050 * md5crypt_test.c: test md5 crypt
1052 * fcrypt.c: always enable md5 crypt
1054 1999-07-26 Johan Danielsson <joda@pdc.kth.se>
1056 * Makefile.am: bump version number (changes to md*, sha)
1058 1999-06-15 Assar Westerlund <assar@sics.se>
1060 * sha.c (swap_u_int32_t): add _CRAY
1062 Sat Apr 10 23:02:30 1999 Johan Danielsson <joda@hella.pdc.kth.se>
1064 * destest.c: fixes for crays
1066 Thu Apr 1 11:26:38 1999 Johan Danielsson <joda@hella.pdc.kth.se>
1068 * Makefile.am: noinst_PROGRAMS -> check_PROGRAMS; add TESTS; don't
1069 build rpw, and speed
1071 Mon Mar 22 20:16:26 1999 Johan Danielsson <joda@hella.pdc.kth.se>
1073 * Makefile.am: hash.h
1075 * sha.c: use hash.h; fixes for crays
1077 * md5.c: use hash.h; fixes for crays
1079 * md4.c: use hash.h; fixes for crays
1081 * hash.h: common stuff from md4, md5, and sha1
1083 Sat Mar 20 00:16:53 1999 Assar Westerlund <assar@sics.se>
1085 * rnd_keys.c (des_rand_data): move declaration to get rid of
1088 Thu Mar 18 11:22:28 1999 Johan Danielsson <joda@hella.pdc.kth.se>
1090 * Makefile.am: include Makefile.am.common
1092 Mon Mar 15 17:36:41 1999 Johan Danielsson <joda@hella.pdc.kth.se>
1094 * rnd_keys.c (des_rand_data): if not using setitimer, block
1095 SIGCHLD around fork(), also make sure we get the status of the
1097 (fake_signal): emulate signal using sigaction
1099 Tue Jan 12 05:06:54 1999 Assar Westerlund <assar@sics.se>
1101 * des.h: sparcv9 is also 64 bits, use `unsigned int' instead of
1104 Sun Nov 22 10:40:09 1998 Assar Westerlund <assar@sics.se>
1106 * Makefile.in (WFLAGS): set
1108 Mon May 25 05:24:56 1998 Assar Westerlund <assar@sics.se>
1110 * Makefile.in (clean): try to remove shared library debris
1112 Sun Apr 19 09:50:53 1998 Assar Westerlund <assar@sics.se>
1114 * Makefile.in: add symlink magic for linux
1116 Sun Nov 9 07:14:45 1997 Assar Westerlund <assar@sics.se>
1118 * mdtest.c: print out old and new string