1 2007-12-11 Love Hörnquist Åstrand <lha@it.su.se>
3 * version-script.map: export RSA_gmp_method.
5 * doxygen.c: More documentation.
7 * rsa.h: add RSA_gmp_method
9 * rsa-gmp.c: RSA implementation written using GMP.
11 * test_dh.c: Test of DH by Matthias Koenig.
13 2007-12-09 Love Hörnquist Åstrand <lha@it.su.se>
15 * bn.h (BN_is_negative): make argument const.
17 2007-12-07 Love Hörnquist Åstrand <lha@it.su.se>
19 * rand.c: Can't call getpwuid(getuid()) at all since that causes
20 recursive lookups. Pointed out by Hai Zaar.
22 2007-08-16 Love Hörnquist Åstrand <lha@it.su.se>
24 * test_cipher.c: Use test from camellia samples.
26 * version-script.map: Export camellia.
28 * test_cipher.c: Make camellia-128-cbc tests pass.
30 2007-08-07 Love Hörnquist Åstrand <lha@it.su.se>
32 * test_cipher.c: Sprinkle EVP cipher names.
34 2007-07-30 David Love <fx@gnu.org>
36 * camellia-ntt.c: Include <krb5-types.h>
38 2007-07-24 Love Hörnquist Åstrand <lha@it.su.se>
42 2007-07-10 Love Hörnquist Åstrand <lha@it.su.se>
44 * Makefile.am: New library version.
46 2007-06-30 Love Hörnquist Åstrand <lha@it.su.se>
48 * hmac.c (HMAC_Init_ex): also zero out key material on re-init.
50 2007-06-20 Love Hörnquist Åstrand <lha@it.su.se>
52 * rand.c: Default to fortuna due to weired /dev/*random that
53 failes to deliver random data for us in hi load situations.
55 * rand-fortuna.c: Reseed the random generator now and then from
58 2007-06-19 Love Hörnquist Åstrand <lha@it.su.se>
60 * rand-egd.c: Avoid stoping unrelated memory.
62 2007-06-18 Love Hörnquist Åstrand <lha@it.su.se>
64 * rand-fortuna.c: Use /etc/shadow, not /dev/shadow, pointed out by
67 * Makefile.am: add rand-timer.c
69 * rand-fortuna.c: Fall back to gattering data from timer and
70 secret files, this is really the last resort.
72 * rand-timer.c: Pick up timing diffrences in the timeing info from
73 realtime timer, only in use as a last resort.
75 * version-script.map: Add hc_RAND_timer_method.
77 2007-06-10 Love Hörnquist Åstrand <lha@it.su.se>
79 * test_bn.c: Add <rand.h>.
81 * test_crypto.in: Test for random device before running the tests.
83 * test_engine_dso.c: Test for random device.
85 * test_bn.c (test_BN_rand): skip this test if there is no random
88 2007-06-07 Love Hörnquist Åstrand <lha@it.su.se>
90 * Makefile.am: Include more ui.[ch] in libbctest.
92 * version-script.map: Unexport _hc_DES_ipfp_test now there is a
95 * Makefile.am: Build library libhctest.la for testing and link
96 with that when testing.
98 * version-script.map: export _hc_DES_ipfp_test
100 2007-06-03 Love Hörnquist Åstrand <lha@it.su.se>
102 * imath: new update from Michael Fromberger
104 * test_imath.c: Try to find ABR in mp_int_mul.
106 * engine.c: Don't try to load gmp module.
108 2007-06-02 Love Hörnquist Åstrand <lha@it.su.se>
110 * test_bn.c: Plug memory leak.
112 2007-05-31 Love Hörnquist Åstrand <lha@it.su.se>
114 * imath/imath.[ch]: New snapshot for Michael Fromberger, lets see if
115 this corrupts memory less.
117 2007-05-30 Love Hörnquist Åstrand <lha@it.su.se>
119 * version-script.map: Don't prefix all symbols with _
121 2007-05-10 Love Hörnquist Åstrand <lha@it.su.se>
123 * test_pkcs12.c: test the difference between "" and NULL password.
125 * test_pkcs12.c: one more pkcs12-pbe-s2k check
127 2007-04-20 Love Hörnquist Åstrand <lha@it.su.se>
131 * test_crypto.in: try generate a couple of rsa keys of
132 diffrent (random) sizes, spelling.
134 * test_rsa.c: try generate a couple of rsa keys of
135 diffrent (random) sizes.
137 2007-04-19 Love Hörnquist Åstrand <lha@it.su.se>
139 * mdtest.c: stop leaking memory
141 * test_imath.c: fix warnings, make test into function.
143 * test_imath.c: shortest program causing the problem.
145 * test_imath.c: basic imath test
147 2007-04-18 Love Hörnquist Åstrand <lha@it.su.se>
149 * test_cipher.c (test_cipher): avoid leaking memory
151 2007-04-17 Love Hörnquist Åstrand <lha@it.su.se>
153 * rsa.c: plug memory leak
155 2007-04-16 Love Hörnquist Åstrand <lha@it.su.se>
157 * Makefile.am: CLEANFILES += test.file
159 2007-04-15 Love Hörnquist Åstrand <lha@it.su.se>
161 * Makefile.am: Add randi.h.
163 2007-04-11 Love Hörnquist Åstrand <lha@it.su.se>
167 2007-02-01 Love Hörnquist Åstrand <lha@it.su.se>
169 * rand.c: Name the random file ~/.rnd, this is the same as
172 2007-01-31 Love Hörnquist Åstrand <lha@it.su.se>
174 * rand-egd.c: Make get_bytes static.
176 * rand.c (RAND_write_file): default to failure.
178 2007-01-30 Love Hörnquist Åstrand <lha@it.su.se>
180 * rand.c: Implement RAND_file_name.
182 * test_rand.c: test RAND_file_name().
184 * rand.c: Provide dummy implementation of RAND_file_name.
186 * rand.h: add RAND_file_name
188 2007-01-21 Love Hörnquist Åstrand <lha@it.su.se>
190 * Makefile.am: clean more files
192 * rand-egd.c: access private functions though the RAND_METHOD
193 switch, move global egd function to rand-egd.c
195 * rand-fortuna.c: access private functions though the RAND_METHOD
198 * rand-unix.c: unexport private functions.
200 * randi.h: Unexport internal functions.
202 * rand.c: access private functions though the RAND_METHOD switch,
203 don't truncate the seed-file, move global egd function to
206 * test_crypto.in: add basic random tests
208 * rand-egd.c: SGI cc doesn' like return void_returning_function();
209 in a void returning function.
211 2007-01-20 Love Hörnquist Åstrand <lha@it.su.se>
213 * test_rand.c: Allow select rand method.
215 * rand-unix.c: expose _hc_rand_unix_status
217 * randi.h: expose _hc_rand_unix_status and the internal
220 * rand.c: Implement RAND_load_file and RAND_write_file. Select
221 UNIX random device if available, otherwise use Fortuna.
223 * Add EGD/PRNGD support
225 2007-01-17 Love Hörnquist Åstrand <lha@it.su.se>
227 * fortuna: Add fortuna based on Marko Kreen's pgcrypt, no enabled yet
229 2007-01-11 Love Hörnquist Åstrand <lha@it.su.se>
231 * test_rsa.c: if RAND is unhappy, don't run the tests.
233 * test_engine_dso.c: if RAND is unhappy, don't run the tests.
235 * imath/imath.c: Update to imath-1.8 from Michael Fromberger
237 Fixed a bug in s_udiv() affecting the computation of quotient
238 digits. Thanks to Love Åstrand for isolating this bug. Also in
239 this release, defining USELLONG=Y or USELLONG=N on the command
240 line for make will switch support for the "long long" data type on
241 or off without having to edit the Makefile. The default is still
242 to permit use of "long long", even though the type is not standard
245 * imath/imath.c (s_udiv): Allocate one more for q, remove debug
248 2007-01-10 Love Hörnquist Åstrand <lha@it.su.se>
250 * imath/imath.c (s_udiv): make a copy of a and b before we start
251 to make sure there is something un-tainted to print in cause of
252 failure. XXX remove this delta
253 (s_embar): make static
255 2007-01-09 Love Hörnquist Åstrand <lha@it.su.se>
257 * rsa.c: Correct the test if the rsa is a complete RSA private
260 2007-01-08 Love Hörnquist Åstrand <lha@it.su.se>
262 * imath/imath.c: More verbose debugging in case of assertion
263 failure. XXX temporary for AIX problem.
265 2007-01-06 Love Hörnquist Åstrand <lha@it.su.se>
267 * rsa-imath.c: Fix a silly typo, and with that enable CRT since
270 * rsa-imath.c: With this crt works, but something is wrong in the
271 key generation, so keep it turned off for now.
273 * test_rsa.c: Allow testing effect of key-blinding
275 * test_rsa.c: Add timing info to rsa keygen.
277 * rsa-imath.c: don't include <imath/rsamath.h>
279 2007-01-05 Love Hörnquist Åstrand <lha@it.su.se>
281 * imath: prune off stuff we dont use
283 * imath/import.sh: Prune off stuff we don't use from imathsource
285 * Makefile.am: Prune off stuff we don't use from imathsource
287 * rsa-imath.c: Use mp_int_exptmod directly.
289 * imath/iprime.c: Use a larger table of small primes, cut down
290 genenration in best cases to half compared to using a small table.
292 * rsa.h: add RSA_FLAG_NO_BLINDING
294 * rsa-imath.c: Add keyblinding, add a commented out CRT based RSA.
298 2007-01-04 Love Hörnquist Åstrand <lha@it.su.se>
300 * rsa.c: add missing ;
302 * rsa.c: Add i2d_RSAPrivateKey.
304 * rsa.h: Add i2d_RSAPrivateKey.
306 * test_rsa.c: test RSA_generate_key_ex
308 * rsa-imath.c: Add imath_rsa_generate_key.
310 2006-12-31 Love Hörnquist Åstrand <lha@it.su.se>
312 * rsa.c: add RSA_generate_key_ex
314 * rsa.h: add RSA_generate_key_ex
316 2006-12-07 Love Hörnquist Åstrand <lha@it.su.se>
318 * Makefile.am: CLEANFILES += test_crypto
320 2006-12-06 Love Hörnquist Åstrand <lha@it.su.se>
322 * Makefile.am: Add rsakey.der to EXTRA_DIST.
324 2006-12-05 Love Hörnquist Åstrand <lha@it.su.se>
326 * Makefile.am: Add test_crypto.in to EXTRA_DIST.
328 * test_crypto.in: Add more spaces to allow sh to parse this
330 * test_rsa.c: Explain what the fixed "sha1" checksum test tries to
333 * test_crypto.in: test rsa, dh and engine code
335 2006-12-04 Love Hörnquist Åstrand <lha@it.su.se>
337 * Makefile.am: rsa and crypto engine test cases
339 * test_rsa.c: Make faster and less verbose
341 * rsakey.der: test rsa key
343 * test_rsa.c: Test rsa operations
345 * rsa-imath.c: Fix the rsa-decrypt failed case that been hauting
348 2006-12-02 Love Hörnquist Åstrand <lha@it.su.se>
350 * rsa-imath.c: Use mp_int_to_binary to encode bignums
352 * rsa-imath.c: Check if header is there
354 2006-11-27 Love Hörnquist Åstrand <lha@it.su.se>
356 * rsa-imath.c: Return -1 for failure.
358 * rsa-imath.c: Its ok with smaller signatures.
360 * rsa-imath.c: Split error codes for now
362 2006-10-22 Love Hörnquist Åstrand <lha@it.su.se>
364 * rsa.c: Try to not leak memory.
366 2006-10-21 Love Hörnquist Åstrand <lha@it.su.se>
368 * rand-unix.c (unix_bytes): read until the other side give us all
371 * imath: import imath-1.7, fixes buffer overrun problems
373 * rsa.c (RSA_free): free the whole key
375 * test_engine_dso.c: Add more dh tests.
377 2006-10-20 Love Hörnquist Åstrand <lha@it.su.se>
379 * imath/imath.c: Allocate more bits.
381 * dh-imath.c (dh_compute_key): fix signness test
383 * dh-imath.c: Try harder to generate a good keypair.
385 * dh-imath.c: Return -1 dh_compute_key on failure, pointed out by
388 2006-10-19 Love Hörnquist Åstrand <lha@it.su.se>
390 * Makefile.am: Add hash.h and des-tables.h.
392 * dh.c (DH_compute_key): return -1 on bad public key.
394 * rsa.c: remove stray ;
396 * engine.c: Does function typecasts instead of void * type-casts.
398 * evp.c: Does function typecasts instead of void * type-casts.
400 2006-10-16 Love Hörnquist Åstrand <lha@it.su.se>
402 * Makefile.am: add rand-unix.c
404 * rand.c: Move out rand-unix functions from the core lib.
406 * rand-unix.c: Move out rand-unix functions from the core lib.
408 2006-10-15 Love Hörnquist Åstrand <lha@it.su.se>
410 * hmac.c (HMAC_CTX_cleanup): destroy the EVP_MD_CTX, so it will be
413 2006-10-14 Love Hörnquist Åstrand <lha@it.su.se>
415 * bn.c: Drop heim_any.h, prefix der primitives with der_
417 * rsa.c: Drop heim_any.h.
419 2006-10-11 Love Hörnquist Åstrand <lha@it.su.se>
421 * rsa.c (RSA_free): Call the meth->finish before releasing the
424 2006-10-06 Love Hörnquist Åstrand <lha@it.su.se>
426 * imath/imath.c: Cast argument to ctype(3) functions to (unsigned
429 * imath/imrat.c: Cast argument to ctype(3) functions to (unsigned
432 2006-09-22 Love Hörnquist Åstrand <lha@it.su.se>
434 * ui.c (read_string): Try to not call signaction for signal 0 and
435 use NSIG if it exists to determin how many signals there exists,
436 also, only restore those signalhandlers that we got out.
438 Bug reported by and patch tested by Harald Barth.
440 2006-09-15 Love Hörnquist Åstrand <lha@it.su.se>
442 * rsa-imath.c: Add commeted out test that exponent is > 3
444 2006-05-13 Love Hörnquist Åstrand <lha@it.su.se>
446 * bn.c (BN_rand): avoid shadowing.
448 2006-05-12 Love Hörnquist Åstrand <lha@it.su.se>
450 * rsa-imath.c: Fix the last one of the asserts.
452 2006-05-08 Love Hörnquist Åstrand <lha@it.su.se>
454 * rand.c (get_device_fd): use /dev/urandom first.
456 * rctest.c: Less "pointer targets in passing argument differ in
457 signedness" warnings.
459 * rc2test.c: Less "pointer targets in passing argument differ in
460 signedness" warnings.
462 2006-05-07 Love Hörnquist Åstrand <lha@it.su.se>
464 * rsa-imath.c: Fix a off by one.
466 * test_engine_dso.c: print the lengths when they don't match.
468 * engine.c (ENGINE_load_builtin_engines): use RSA_imath_method for
471 * rsa.h: expose RSA_imath_method
473 * rsa.c (RSA_check_key): Do sign/verify instead.
475 * dsa.c: rename the DSA_METHOD
477 * dh.c: rename the DH_METHOD
479 * dh-imath.c: rename the DH_METHOD
481 * rsa.c: Default to use rsa-imath.
483 * Makefile.am: Add rsa-imath.c to libhcrypto
485 * rsa-imath.c: Add RSA support using imath.
487 2006-05-06 Love Hörnquist Åstrand <lha@it.su.se>
489 * imath: Add imath-1.1.9
491 * dh.h: Expose DH_imath_method.
493 * Makefile.am: Add imath source, add test_engine_dso to TESTS.
495 * engine.c: Lets say we have RSA_null_method(), not really
498 * test_engine_dso.c: If there are no arguments, use the internal
501 * engine.h: Cpp rename some ENGINE symbols.
503 * engine.c (ENGINE_load_builtin_engines): Load the internal
506 * dh.c: Default to use DH-imath.
508 * dh.c (DH_check_pubkey): describe what the function do
510 2006-05-05 Love Hörnquist Åstrand <lha@it.su.se>
512 * dh.c (DH_compute_key): check return status value from
515 * Rename u_intXX_t to uintXX_t
517 2006-04-24 Love Hörnquist Åstrand <lha@it.su.se>
519 * pkcs5.c: include <krb5-types.h>
521 * evp.c: Sprinkel some assertions.
523 * des.c: Move assertion and add another restriction, used as hint
526 2006-04-23 Love Hörnquist Åstrand <lha@it.su.se>
528 * rsa.c (RSA_check_key): don't do any checking if there is no
531 * engine.c (add_engine): reassign engines variable after realloc
533 2006-04-21 Love Hörnquist Åstrand <lha@it.su.se>
535 * evp.h: Add EVP_get_cipherbyname, unbreak EVP_BytesToKey
537 * evp.h: Add prototype for EVP_BytesToKey
539 * evp.c: Add stub for EVP_BytesToKey
541 2006-04-20 Love Hörnquist Åstrand <lha@it.su.se>
543 * dh.h: Add cpp-rename for DH_check_pubkey
545 2006-04-17 Love Hörnquist Åstrand <lha@it.su.se>
547 * rand.h: Add more RAND functions.
549 * rand.c: Split out unix /dev/random to a RAND_METHOD
551 * engine.h: add RAND support
553 * engine.c: add RAND support
555 * evp.h: s/rc4_64/rc2_64/
557 * rand.c: Add RAND_METHOD and some associated functions.
559 * rand.h: Add RAND_METHOD and some associated functions.
561 * test_bn.c: Test BN_rand
563 2006-04-16 Love Hörnquist Åstrand <lha@it.su.se>
565 * engine.c (ENGINE_by_dso): less printf
567 * rsa.h (i2d_RSAPublicKey): fix prototype
569 * rsa.c (i2d_RSAPublicKey): fix prototype
571 2006-04-15 Love Hörnquist Åstrand <lha@it.su.se>
573 * evp.h: Add EVP_rc2_64_cbc
575 * evp.c: Add EVP_rc2_64_cbc
577 * evp.h: Add SHA-256 symbols.
579 * evp.c: Add SHA-256.
581 * sha.h: Add SHA-256 symbols.
583 * mdtest.c: Test SHA-256.
585 * sha256.c: Inital (naive) SHA-256 implementation.
587 2006-04-14 Love Hörnquist Åstrand <lha@it.su.se>
589 * des.c (DES_cfb64_encrypt): add asserts that the *num pointers is
590 >= 0, because if it is, its a programmer error.
592 2006-04-09 Love Hörnquist Åstrand <lha@it.su.se>
594 * rc2.c (RC2_set_key): abort on erroneous input (len <= 0) size
595 that will case out out bound indexing, and its invalid input.
597 * rsa.c: Make compile again.
599 2006-04-03 Love Hörnquist Åstrand <lha@it.su.se>
601 * rsa.c: Implement i2d_RSAPublicKey
603 * rsa.h: Add i2d_RSAPublicKey
605 2006-03-07 Love Hörnquist Åstrand <lha@it.su.se>
607 * Makefile.am: EVP interface depends on dlopen, add it to LIBFLAGS
609 2006-02-28 Love Hörnquist Åstrand <lha@it.su.se>
611 * Makefile.am: Add pkcs5 files.
613 * test_pkcs5.c: Testcases for pkcs5 pbe2.
615 * pkcs5.c (PKCS5_PBKDF2_HMAC_SHA1): new function.
617 * hmac.c: Digest key when it exceeds block size, not when it
618 exceeds the size of the output block.
620 2006-02-16 Love Hörnquist Åstrand <lha@it.su.se>
622 * rand.c (RAND_bytes): Don't abort() on failure, return error.
624 * bn.c (BN_rand): check return value from RAND_bytes
626 2006-01-18 Love Hörnquist Åstrand <lha@it.su.se>
628 * dh.c (DH_compute_key): check public key
630 * dh.h: Add DH_check_pubkey and defines it uses.
632 * dh.c (DH_check_pubkey): New function.
634 * bn.c: Remove unused fragment.
636 * test_bn.c: Compare numbers with BN_cmp().
638 2006-01-17 David Love <fx@gnu.org>
640 * bn.c: Include <limits.h>.
642 2006-01-13 Love Hörnquist Åstrand <lha@it.su.se>
644 * *.h: use #include <hcrypto/...>
646 * Makefile.am: provide a symlink so the directory hcrypto/ seems
649 * engine.h: Expose dsa symbols
651 * Makefile.am: Rename library to hcrypto and install headerfiles
654 * test_pkcs12.c: Test for PKCS12_key_gen.
656 * hmac.h: Drop HMAC_CTX_create and HMAC_CTX_destroy.
658 * engine.c (ENGINE_add_conf_module): Also load DH
660 * dh.h: Reorder includes to avoid compile errors, provide
665 * bn.c: BN_get_negative was really named BN_is_negative, a comment
668 * bn.h: BN_get_negative was really named BN_is_negative, a comment
671 * pkcs12.h: Add PKCS12_key_gen().
673 * pkcs12.c: Add PKCS12_key_gen().
675 * Makefile.am: Add test_cipher, test_pkcs12, add pkcs12.[ch].
677 * evp.c: Rename rc2_40_cbc internal variable to something better.
678 Unbreak des-ede3-cbc.
680 2006-01-11 Love Hörnquist Åstrand <lha@it.su.se>
682 * test_bn.c: Test BN_uadd.
684 * bn.c (BN_rand): don't leak memory on failure, catch malloc(0)
687 * bn.c (BN_rand): clear the bits above the bits that user
689 (BN_uadd): new function.
691 * bn.h (BN_uadd): new function.
693 2006-01-10 Love Hörnquist Åstrand <lha@it.su.se>
695 * evp.c (EVP_CIPHER_CTX_cleanup): clean up less aggressively
697 * Makefile.am (check_PROGRAMS): add test_hmac
699 * test_hmac.c: Simple regression test for HMAC.
701 * hmac.c: Make hmac work.
703 * evp.c: return the right blocksize for digests.
705 2006-01-09 Love Hörnquist Åstrand <lha@it.su.se>
707 * test_engine_dso.c: Add test for DH.
709 * dh.c: Add DH_new_method, add ENGINE refcounting.
711 * engine.[ch]: Add ENGINE_set_default_DH and ENGINE_get_default_DH
713 * test_engine_dso.c: Add test for RSA encryption.
715 2006-01-08 Love Hörnquist Åstrand <lha@it.su.se>
717 * test_engine_dso.c: Add test for RSA.
719 * implement enough glue to support OpenSSLs EVP, RSA, DSA, DH,
720 HMAC, RAND and ENGINE interfaces for use in hx509. rename all
721 symbols to start with hc_ to avoid clobbering namespaces. contains
722 no RSA/DH/DSA code, just glue to support using dynamic
723 ENGINE. hx509 supports this via pkcs11 and there is a gmp ENGINE
724 module supporting RSA. Also contains a MD2 digest for completion.
726 2005-07-20 Love Hörnquist Åstrand <lha@it.su.se>
728 * des.c,des.h,rnd_keys.c: change unsigned char * to void *
730 2005-06-30 Love Hörnquist Åstrand <lha@it.su.se>
732 * rnd_keys.c: const poision for unwriteable strings
734 2005-06-19 Love Hörnquist Åstrand <lha@it.su.se>
736 * des.c,aes.c,rc2.c: Rename parameter, as encrypt shadows a
737 global, from Andrew Bartlett
739 2005-06-02 Love Hörnquist Åstrand <lha@it.su.se>
741 * rnd_keys.c: Include <stdlib.h> for srandom/random.
743 2005-05-29 Love Hörnquist Åstrand <lha@it.su.se>
745 * des.c (DES_cbc_cksum): init u to make sure it have a value in
746 case of the empty in data
748 * destest.c: add test for the empty password ""
750 2005-05-27 Love Hörnquist Åstrand <lha@it.su.se>
752 * rctest.c (cipher3): used unsigned char to avoid problems with
753 platforms using "signed char"
755 2005-05-13 Love Hörnquist Åstrand <lha@it.su.se>
757 * rc2.c: use unsigned char to avoid signess warning
759 * des.c: use unsigned char to avoid signess warning
761 * aes.c (AES_cbc_encrypt): use unsigned char to avoid signess
764 2005-05-03 Dave Love <fx@gnu.org>
766 * mdtest.c: Fix typo for HAVE_STDLIB_H.
768 2005-05-03 Love Hörnquist Åstrand <lha@it.su.se>
770 * rnd_keys.c: Enabled to build on cygwin, based on patch from
771 David Love <fx@gnu.org>
773 2005-05-02 Dave Love <fx@gnu.org>
775 * mdtest.c: Include <krb5-types.h>.
777 2005-04-30 Love Hörnquist Åstrand <lha@it.su.se>
779 * ui.c: Include <des.h>.
780 (UI_UTIL_read_pw_string): make the prompt argument const.
782 * des.h (UI_UTIL_read_pw_string): make the prompt argument const
784 * ui.c (UI_UTIL_read_pw_string): remove unused variable plen
786 * des.c: replace <strings.h> with <string.h>
788 2005-04-29 Dave Love <fx@gnu.org>
790 * Makefile.am: Add LIB_roken.
792 2005-04-27 Dave Love <fx@gnu.org>
794 * sha.c: Include hash.h first.
796 * md4.c: Include hash.h first.
798 * md5.c: Include hash.h first.
800 * hash.h: Include krb5-types.h
802 2005-04-26 Dave Love <fx@gnu.org>
804 * mdtest.c: Maybe include stdlib.h
806 2005-04-10 Love Hörnquist Åstrand <lha@it.su.se>
808 * sha.h,md5.h, md4.h: don't include bit types, the user must do
813 2005-03-23 Love Hörnquist Åstrand <lha@it.su.se>
815 * des.h: fix prototype for DES_random_key
817 * rnd_keys.c: fix prototype for DES_random_key
819 * des.[ch]: provide compatibility function DES_key_sched, same as
822 2005-03-20 Love Hörnquist Åstrand <lha@it.su.se>
824 * destest.c: include config.h and protect some headers
826 * rnd_keys.c: move <des.h> to after include <krb5-types.h> so the
827 C99 integer types exists
829 2005-03-14 Love Hörnquist Åstrand <lha@it.su.se>
831 * des.c: add DES_set_key_checked
833 * des.h: add DES_set_key_checked
835 2005-03-01 Love Hörnquist Åstrand <lha@it.su.se>
837 * des-tables.h: Add the missing file
839 2005-02-23 Love Hörnquist Åstrand <lha@it.su.se>
841 * ui.c: remove dependency on asprintf
843 * Makefile.am: make destest only once
845 * Replace the eay DES code with key scheule setup code by me and DES
846 s-box and p permutation from Richard Outerbridge implemtation (in
847 public domain). The DES modes are implemented by me. ui.c code are
850 The implementation is about 3 times slower then Eric for encryption,
851 and about the same speed for key setup.
854 2004-08-10 Love Hörnquist Åstrand <lha@it.su.se>
856 * rnd_keys.c (DES_rand_data): also try /dev/arandom
858 2004-06-02 Love Hörnquist Åstrand <lha@it.su.se>
860 * rnd_keys.c: don't include krb4 headers
862 * rijndael-alg-fst.c: don't include krb4 headers
864 * aes.c: don't include krb4 headers
866 * aes.h: define AES_{EN,DE}CRYPT; remove #ifdefs, this is an
869 2004-04-25 Love Hörnquist Åstrand <lha@it.su.se>
871 * rc2.c: handle non blocksized cbc messages
873 * aes.[ch]: add AES_cbc_encrypt
875 2004-04-24 Love Hörnquist Åstrand <lha@it.su.se>
877 * rc2test.c: test vectors from RFC2268
879 * rc2.c (RC2_set_key): rewrite the mask calculation
881 * rc2.c (RC2_set_key): handle keys where effective bits are
882 diffrent from keylength
884 2004-04-23 Love Hörnquist Åstrand <lha@it.su.se>
886 * rc2.c: rc2 implementation
888 * rc2.h: rc2 implementation
890 * rc2test.c: rc2 implementation
892 * Makefile.am: rc2 implementation
894 2004-03-25 Love Hörnquist Åstrand <lha@it.su.se>
896 * Makefile.am: new arcfour implementation
898 * rc4.c: implemented from description in
899 draft-kaukonen-cipher-arcfour-03.txt
901 * rc4.h: replace with new implementation
903 * rc4_enc.c rc4_skey.c: remove
905 * rctest.c: test for arcfour
907 2003-12-07 Love Hörnquist Åstrand <lha@it.su.se>
909 * rnd_keys.c: uninitialized variable, from Panasas Inc
911 2003-09-03 Love Hörnquist Åstrand <lha@it.su.se>
913 * md4.c (MD4_Final): make the function threadsafe by removing
914 static on the local variable zeros
916 * md5.c (MD5_Final): make the function threadsafe by removing
917 static on the local variable zeros
919 * switch to the DES_ api, dont provide any compat glue
921 2003-08-27 Love Hörnquist Åstrand <lha@it.su.se>
923 * sha.c: make the function threadsafe by removing static on the
926 2003-07-23 Love Hörnquist Åstrand <lha@it.su.se>
928 * rijndael-alg-fst.h,rijndael-alg-fst.c,aes.c,aes.h:
929 Makefile.am: add AES support
931 2003-03-19 Love Hörnquist Åstrand <lha@it.su.se>
933 * des.1: sunOS -> SunOS, from jmc <jmc@prioris.mini.pw.edu.pl>
935 2003-03-19 Love Hörnquist Åstrand <lha@it.su.se>
937 * des.1: spelling, from <jmc@prioris.mini.pw.edu.pl>
939 2002-08-28 Johan Danielsson <joda@pdc.kth.se>
941 * read_pwd.c: move NeXT SGTTY stuff here
943 2001-05-17 Assar Westerlund <assar@sics.se>
945 * Makefile.am: bump version to 3:1:0
947 2001-05-11 Assar Westerlund <assar@sics.se>
949 * str2key.c (des_string_to_key, des_string_to_2keys): avoid weak
952 2001-02-16 Assar Westerlund <assar@sics.se>
954 * set_key.c: correct weak keys and update comment
956 2001-02-14 Assar Westerlund <assar@sics.se>
958 * set_key.c: correct the two last weak keys in accordance with
959 FIPS 74. noted by <jhutz@cmu.edu>
961 2001-01-30 Assar Westerlund <assar@sics.se>
963 * Makefile.am (libdes_la_LDFLAGS): bump version to 3:0:0
965 2000-10-19 Assar Westerlund <assar@sics.se>
967 * Makefile.in (LIBSRC, LIBOBJ): add rc4* and enc_{read,write}
968 files so that this library contains the same things as libdes in
971 2000-08-16 Assar Westerlund <assar@sics.se>
973 * Makefile.am: bump version to 2:1:0
975 2000-08-03 Johan Danielsson <joda@pdc.kth.se>
977 * enc_writ.c: BSIZE -> des_BSIZE to avoid conflicts with AIX
980 * enc_read.c: BSIZE -> des_BSIZE to avoid conflicts with AIX
983 * des_locl.h: BSIZE -> des_BSIZE to avoid conflicts with AIX
986 2000-02-07 Assar Westerlund <assar@sics.se>
988 * Makefile.am: set version to 2:0:0
990 2000-01-26 Assar Westerlund <assar@sics.se>
992 * mdtest.c: update to pseudo-standard APIs for md4,md5,sha.
993 * md4.c, md4.h, md5.c, md5.h, sha.c, sha.h: move to the
996 1999-12-06 Assar Westerlund <assar@sics.se>
998 * Makefile.am: set version to 1:0:1
1000 1999-11-29 Assar Westerlund <assar@sics.se>
1002 * fcrypt.c (crypt_md5): add trailing $
1004 1999-11-13 Assar Westerlund <assar@sics.se>
1006 * Makefile.am (include_HEADERS): add rc4.h
1007 (libdes_la_SOURCES): add rc4_skey.c
1009 1999-10-28 Assar Westerlund <assar@sics.se>
1011 * md5crypt_test.c: change the test case. apparently we should not
1012 include $ after the salt. also make it print more useful stuff
1015 1999-10-20 Assar Westerlund <assar@sics.se>
1017 * Makefile.am: bump version to 0:2:0
1019 1999-09-21 Johan Danielsson <joda@pdc.kth.se>
1021 * des.h: make this work with mips 64-bit abi
1023 1999-08-14 Johan Danielsson <joda@pdc.kth.se>
1025 * fcrypt.c (crypt_md5): don't use snprintf
1027 1999-08-13 Assar Westerlund <assar@sics.se>
1029 * Makefile.am: add md5crypt_test
1031 * Makefile.in: add md5crypt_test
1033 * md5crypt_test.c: test md5 crypt
1035 * fcrypt.c: always enable md5 crypt
1037 1999-07-26 Johan Danielsson <joda@pdc.kth.se>
1039 * Makefile.am: bump version number (changes to md*, sha)
1041 1999-06-15 Assar Westerlund <assar@sics.se>
1043 * sha.c (swap_u_int32_t): add _CRAY
1045 Sat Apr 10 23:02:30 1999 Johan Danielsson <joda@hella.pdc.kth.se>
1047 * destest.c: fixes for crays
1049 Thu Apr 1 11:26:38 1999 Johan Danielsson <joda@hella.pdc.kth.se>
1051 * Makefile.am: noinst_PROGRAMS -> check_PROGRAMS; add TESTS; don't
1052 build rpw, and speed
1054 Mon Mar 22 20:16:26 1999 Johan Danielsson <joda@hella.pdc.kth.se>
1056 * Makefile.am: hash.h
1058 * sha.c: use hash.h; fixes for crays
1060 * md5.c: use hash.h; fixes for crays
1062 * md4.c: use hash.h; fixes for crays
1064 * hash.h: common stuff from md4, md5, and sha1
1066 Sat Mar 20 00:16:53 1999 Assar Westerlund <assar@sics.se>
1068 * rnd_keys.c (des_rand_data): move declaration to get rid of
1071 Thu Mar 18 11:22:28 1999 Johan Danielsson <joda@hella.pdc.kth.se>
1073 * Makefile.am: include Makefile.am.common
1075 Mon Mar 15 17:36:41 1999 Johan Danielsson <joda@hella.pdc.kth.se>
1077 * rnd_keys.c (des_rand_data): if not using setitimer, block
1078 SIGCHLD around fork(), also make sure we get the status of the
1080 (fake_signal): emulate signal using sigaction
1082 Tue Jan 12 05:06:54 1999 Assar Westerlund <assar@sics.se>
1084 * des.h: sparcv9 is also 64 bits, use `unsigned int' instead of
1087 Sun Nov 22 10:40:09 1998 Assar Westerlund <assar@sics.se>
1089 * Makefile.in (WFLAGS): set
1091 Mon May 25 05:24:56 1998 Assar Westerlund <assar@sics.se>
1093 * Makefile.in (clean): try to remove shared library debris
1095 Sun Apr 19 09:50:53 1998 Assar Westerlund <assar@sics.se>
1097 * Makefile.in: add symlink magic for linux
1099 Sun Nov 9 07:14:45 1997 Assar Westerlund <assar@sics.se>
1101 * mdtest.c: print out old and new string