1 2008-04-18 Love Hörnquist Åstrand <lha@it.su.se>
3 * test_rand.c: do a head vs tail test on the random buffer.
5 * test_crypto.in: Use --file to test_rand.
7 * rand.c: Document, implement RAND_set_rand_engine().
9 * doxygen.c: Add reference to DES, more quick links.
11 * rnd_keys.c: Reimplement using RAND_ interface.
13 * des.h: Undeprecate DES_new_random_key.
15 * des.c: Add documentation.
17 2008-04-15 Love Hörnquist Åstrand <lha@it.su.se>
19 * camellia-ntt.h: Move the typedef u<num> to camellia-ntt.h header
20 file. Use u32 to define KEY_TABLE_TYPE, avoids warning on
21 platfors where u32 is not unsigned int.
23 * camellia-ntt.c: Move the typedef u<num> to camellia-ntt.h
26 * camellia.h: Drop need to camellia-ntt.h by including some more
29 2008-04-11 Love Hörnquist Åstrand <lha@it.su.se>
31 * rnd_keys.c: deprecated.
33 * des.h: c++ wrappers + deprecated.
37 * des.h: c++ wrappers + deprecated
39 * rnd_keys.c: Use matching prototypes, prompted by bug report by
42 2008-03-19 Love Hörnquist Åstrand <lha@it.su.se>
44 * camellia.h: Drop unused defined that originates from aes.
46 2008-01-11 Love Hörnquist Åstrand <lha@it.su.se>
48 * Makefile.am: Add extra files missing from dist.
50 2007-12-30 Love Hörnquist Åstrand <lha@it.su.se>
52 * rsa.c: ENGINE_get_default_RSA can return NULL.
56 2007-12-28 Love Hörnquist Åstrand <lha@it.su.se>
58 * evp.c: Add last of the doxygen documentation for functions in
61 * evp.c: complete the EVP_MD functions doxygen.
63 2007-12-11 Love Hörnquist Åstrand <lha@it.su.se>
65 * version-script.map: export RSA_gmp_method.
67 * doxygen.c: More documentation.
69 * rsa.h: add RSA_gmp_method
71 * rsa-gmp.c: RSA implementation written using GMP.
73 * test_dh.c: Test of DH by Matthias Koenig.
75 2007-12-09 Love Hörnquist Åstrand <lha@it.su.se>
77 * bn.h (BN_is_negative): make argument const.
79 2007-12-07 Love Hörnquist Åstrand <lha@it.su.se>
81 * rand.c: Can't call getpwuid(getuid()) at all since that causes
82 recursive lookups. Pointed out by Hai Zaar.
84 2007-08-16 Love Hörnquist Åstrand <lha@it.su.se>
86 * test_cipher.c: Use test from camellia samples.
88 * version-script.map: Export camellia.
90 * test_cipher.c: Make camellia-128-cbc tests pass.
92 2007-08-07 Love Hörnquist Åstrand <lha@it.su.se>
94 * test_cipher.c: Sprinkle EVP cipher names.
96 2007-07-30 David Love <fx@gnu.org>
98 * camellia-ntt.c: Include <krb5-types.h>
100 2007-07-24 Love Hörnquist Åstrand <lha@it.su.se>
104 2007-07-10 Love Hörnquist Åstrand <lha@it.su.se>
106 * Makefile.am: New library version.
108 2007-06-30 Love Hörnquist Åstrand <lha@it.su.se>
110 * hmac.c (HMAC_Init_ex): also zero out key material on re-init.
112 2007-06-20 Love Hörnquist Åstrand <lha@it.su.se>
114 * rand.c: Default to fortuna due to weired /dev/*random that
115 failes to deliver random data for us in hi load situations.
117 * rand-fortuna.c: Reseed the random generator now and then from
120 2007-06-19 Love Hörnquist Åstrand <lha@it.su.se>
122 * rand-egd.c: Avoid stoping unrelated memory.
124 2007-06-18 Love Hörnquist Åstrand <lha@it.su.se>
126 * rand-fortuna.c: Use /etc/shadow, not /dev/shadow, pointed out by
129 * Makefile.am: add rand-timer.c
131 * rand-fortuna.c: Fall back to gattering data from timer and
132 secret files, this is really the last resort.
134 * rand-timer.c: Pick up timing diffrences in the timeing info from
135 realtime timer, only in use as a last resort.
137 * version-script.map: Add hc_RAND_timer_method.
139 2007-06-10 Love Hörnquist Åstrand <lha@it.su.se>
141 * test_bn.c: Add <rand.h>.
143 * test_crypto.in: Test for random device before running the tests.
145 * test_engine_dso.c: Test for random device.
147 * test_bn.c (test_BN_rand): skip this test if there is no random
150 2007-06-07 Love Hörnquist Åstrand <lha@it.su.se>
152 * Makefile.am: Include more ui.[ch] in libbctest.
154 * version-script.map: Unexport _hc_DES_ipfp_test now there is a
157 * Makefile.am: Build library libhctest.la for testing and link
158 with that when testing.
160 * version-script.map: export _hc_DES_ipfp_test
162 2007-06-03 Love Hörnquist Åstrand <lha@it.su.se>
164 * imath: new update from Michael Fromberger
166 * test_imath.c: Try to find ABR in mp_int_mul.
168 * engine.c: Don't try to load gmp module.
170 2007-06-02 Love Hörnquist Åstrand <lha@it.su.se>
172 * test_bn.c: Plug memory leak.
174 2007-05-31 Love Hörnquist Åstrand <lha@it.su.se>
176 * imath/imath.[ch]: New snapshot for Michael Fromberger, lets see if
177 this corrupts memory less.
179 2007-05-30 Love Hörnquist Åstrand <lha@it.su.se>
181 * version-script.map: Don't prefix all symbols with _
183 2007-05-10 Love Hörnquist Åstrand <lha@it.su.se>
185 * test_pkcs12.c: test the difference between "" and NULL password.
187 * test_pkcs12.c: one more pkcs12-pbe-s2k check
189 2007-04-20 Love Hörnquist Åstrand <lha@it.su.se>
193 * test_crypto.in: try generate a couple of rsa keys of
194 diffrent (random) sizes, spelling.
196 * test_rsa.c: try generate a couple of rsa keys of
197 diffrent (random) sizes.
199 2007-04-19 Love Hörnquist Åstrand <lha@it.su.se>
201 * mdtest.c: stop leaking memory
203 * test_imath.c: fix warnings, make test into function.
205 * test_imath.c: shortest program causing the problem.
207 * test_imath.c: basic imath test
209 2007-04-18 Love Hörnquist Åstrand <lha@it.su.se>
211 * test_cipher.c (test_cipher): avoid leaking memory
213 2007-04-17 Love Hörnquist Åstrand <lha@it.su.se>
215 * rsa.c: plug memory leak
217 2007-04-16 Love Hörnquist Åstrand <lha@it.su.se>
219 * Makefile.am: CLEANFILES += test.file
221 2007-04-15 Love Hörnquist Åstrand <lha@it.su.se>
223 * Makefile.am: Add randi.h.
225 2007-04-11 Love Hörnquist Åstrand <lha@it.su.se>
229 2007-02-01 Love Hörnquist Åstrand <lha@it.su.se>
231 * rand.c: Name the random file ~/.rnd, this is the same as
234 2007-01-31 Love Hörnquist Åstrand <lha@it.su.se>
236 * rand-egd.c: Make get_bytes static.
238 * rand.c (RAND_write_file): default to failure.
240 2007-01-30 Love Hörnquist Åstrand <lha@it.su.se>
242 * rand.c: Implement RAND_file_name.
244 * test_rand.c: test RAND_file_name().
246 * rand.c: Provide dummy implementation of RAND_file_name.
248 * rand.h: add RAND_file_name
250 2007-01-21 Love Hörnquist Åstrand <lha@it.su.se>
252 * Makefile.am: clean more files
254 * rand-egd.c: access private functions though the RAND_METHOD
255 switch, move global egd function to rand-egd.c
257 * rand-fortuna.c: access private functions though the RAND_METHOD
260 * rand-unix.c: unexport private functions.
262 * randi.h: Unexport internal functions.
264 * rand.c: access private functions though the RAND_METHOD switch,
265 don't truncate the seed-file, move global egd function to
268 * test_crypto.in: add basic random tests
270 * rand-egd.c: SGI cc doesn' like return void_returning_function();
271 in a void returning function.
273 2007-01-20 Love Hörnquist Åstrand <lha@it.su.se>
275 * test_rand.c: Allow select rand method.
277 * rand-unix.c: expose _hc_rand_unix_status
279 * randi.h: expose _hc_rand_unix_status and the internal
282 * rand.c: Implement RAND_load_file and RAND_write_file. Select
283 UNIX random device if available, otherwise use Fortuna.
285 * Add EGD/PRNGD support
287 2007-01-17 Love Hörnquist Åstrand <lha@it.su.se>
289 * fortuna: Add fortuna based on Marko Kreen's pgcrypt, no enabled yet
291 2007-01-11 Love Hörnquist Åstrand <lha@it.su.se>
293 * test_rsa.c: if RAND is unhappy, don't run the tests.
295 * test_engine_dso.c: if RAND is unhappy, don't run the tests.
297 * imath/imath.c: Update to imath-1.8 from Michael Fromberger
299 Fixed a bug in s_udiv() affecting the computation of quotient
300 digits. Thanks to Love Åstrand for isolating this bug. Also in
301 this release, defining USELLONG=Y or USELLONG=N on the command
302 line for make will switch support for the "long long" data type on
303 or off without having to edit the Makefile. The default is still
304 to permit use of "long long", even though the type is not standard
307 * imath/imath.c (s_udiv): Allocate one more for q, remove debug
310 2007-01-10 Love Hörnquist Åstrand <lha@it.su.se>
312 * imath/imath.c (s_udiv): make a copy of a and b before we start
313 to make sure there is something un-tainted to print in cause of
314 failure. XXX remove this delta
315 (s_embar): make static
317 2007-01-09 Love Hörnquist Åstrand <lha@it.su.se>
319 * rsa.c: Correct the test if the rsa is a complete RSA private
322 2007-01-08 Love Hörnquist Åstrand <lha@it.su.se>
324 * imath/imath.c: More verbose debugging in case of assertion
325 failure. XXX temporary for AIX problem.
327 2007-01-06 Love Hörnquist Åstrand <lha@it.su.se>
329 * rsa-imath.c: Fix a silly typo, and with that enable CRT since
332 * rsa-imath.c: With this crt works, but something is wrong in the
333 key generation, so keep it turned off for now.
335 * test_rsa.c: Allow testing effect of key-blinding
337 * test_rsa.c: Add timing info to rsa keygen.
339 * rsa-imath.c: don't include <imath/rsamath.h>
341 2007-01-05 Love Hörnquist Åstrand <lha@it.su.se>
343 * imath: prune off stuff we dont use
345 * imath/import.sh: Prune off stuff we don't use from imathsource
347 * Makefile.am: Prune off stuff we don't use from imathsource
349 * rsa-imath.c: Use mp_int_exptmod directly.
351 * imath/iprime.c: Use a larger table of small primes, cut down
352 genenration in best cases to half compared to using a small table.
354 * rsa.h: add RSA_FLAG_NO_BLINDING
356 * rsa-imath.c: Add keyblinding, add a commented out CRT based RSA.
360 2007-01-04 Love Hörnquist Åstrand <lha@it.su.se>
362 * rsa.c: add missing ;
364 * rsa.c: Add i2d_RSAPrivateKey.
366 * rsa.h: Add i2d_RSAPrivateKey.
368 * test_rsa.c: test RSA_generate_key_ex
370 * rsa-imath.c: Add imath_rsa_generate_key.
372 2006-12-31 Love Hörnquist Åstrand <lha@it.su.se>
374 * rsa.c: add RSA_generate_key_ex
376 * rsa.h: add RSA_generate_key_ex
378 2006-12-07 Love Hörnquist Åstrand <lha@it.su.se>
380 * Makefile.am: CLEANFILES += test_crypto
382 2006-12-06 Love Hörnquist Åstrand <lha@it.su.se>
384 * Makefile.am: Add rsakey.der to EXTRA_DIST.
386 2006-12-05 Love Hörnquist Åstrand <lha@it.su.se>
388 * Makefile.am: Add test_crypto.in to EXTRA_DIST.
390 * test_crypto.in: Add more spaces to allow sh to parse this
392 * test_rsa.c: Explain what the fixed "sha1" checksum test tries to
395 * test_crypto.in: test rsa, dh and engine code
397 2006-12-04 Love Hörnquist Åstrand <lha@it.su.se>
399 * Makefile.am: rsa and crypto engine test cases
401 * test_rsa.c: Make faster and less verbose
403 * rsakey.der: test rsa key
405 * test_rsa.c: Test rsa operations
407 * rsa-imath.c: Fix the rsa-decrypt failed case that been hauting
410 2006-12-02 Love Hörnquist Åstrand <lha@it.su.se>
412 * rsa-imath.c: Use mp_int_to_binary to encode bignums
414 * rsa-imath.c: Check if header is there
416 2006-11-27 Love Hörnquist Åstrand <lha@it.su.se>
418 * rsa-imath.c: Return -1 for failure.
420 * rsa-imath.c: Its ok with smaller signatures.
422 * rsa-imath.c: Split error codes for now
424 2006-10-22 Love Hörnquist Åstrand <lha@it.su.se>
426 * rsa.c: Try to not leak memory.
428 2006-10-21 Love Hörnquist Åstrand <lha@it.su.se>
430 * rand-unix.c (unix_bytes): read until the other side give us all
433 * imath: import imath-1.7, fixes buffer overrun problems
435 * rsa.c (RSA_free): free the whole key
437 * test_engine_dso.c: Add more dh tests.
439 2006-10-20 Love Hörnquist Åstrand <lha@it.su.se>
441 * imath/imath.c: Allocate more bits.
443 * dh-imath.c (dh_compute_key): fix signness test
445 * dh-imath.c: Try harder to generate a good keypair.
447 * dh-imath.c: Return -1 dh_compute_key on failure, pointed out by
450 2006-10-19 Love Hörnquist Åstrand <lha@it.su.se>
452 * Makefile.am: Add hash.h and des-tables.h.
454 * dh.c (DH_compute_key): return -1 on bad public key.
456 * rsa.c: remove stray ;
458 * engine.c: Does function typecasts instead of void * type-casts.
460 * evp.c: Does function typecasts instead of void * type-casts.
462 2006-10-16 Love Hörnquist Åstrand <lha@it.su.se>
464 * Makefile.am: add rand-unix.c
466 * rand.c: Move out rand-unix functions from the core lib.
468 * rand-unix.c: Move out rand-unix functions from the core lib.
470 2006-10-15 Love Hörnquist Åstrand <lha@it.su.se>
472 * hmac.c (HMAC_CTX_cleanup): destroy the EVP_MD_CTX, so it will be
475 2006-10-14 Love Hörnquist Åstrand <lha@it.su.se>
477 * bn.c: Drop heim_any.h, prefix der primitives with der_
479 * rsa.c: Drop heim_any.h.
481 2006-10-11 Love Hörnquist Åstrand <lha@it.su.se>
483 * rsa.c (RSA_free): Call the meth->finish before releasing the
486 2006-10-06 Love Hörnquist Åstrand <lha@it.su.se>
488 * imath/imath.c: Cast argument to ctype(3) functions to (unsigned
491 * imath/imrat.c: Cast argument to ctype(3) functions to (unsigned
494 2006-09-22 Love Hörnquist Åstrand <lha@it.su.se>
496 * ui.c (read_string): Try to not call signaction for signal 0 and
497 use NSIG if it exists to determin how many signals there exists,
498 also, only restore those signalhandlers that we got out.
500 Bug reported by and patch tested by Harald Barth.
502 2006-09-15 Love Hörnquist Åstrand <lha@it.su.se>
504 * rsa-imath.c: Add commeted out test that exponent is > 3
506 2006-05-13 Love Hörnquist Åstrand <lha@it.su.se>
508 * bn.c (BN_rand): avoid shadowing.
510 2006-05-12 Love Hörnquist Åstrand <lha@it.su.se>
512 * rsa-imath.c: Fix the last one of the asserts.
514 2006-05-08 Love Hörnquist Åstrand <lha@it.su.se>
516 * rand.c (get_device_fd): use /dev/urandom first.
518 * rctest.c: Less "pointer targets in passing argument differ in
519 signedness" warnings.
521 * rc2test.c: Less "pointer targets in passing argument differ in
522 signedness" warnings.
524 2006-05-07 Love Hörnquist Åstrand <lha@it.su.se>
526 * rsa-imath.c: Fix a off by one.
528 * test_engine_dso.c: print the lengths when they don't match.
530 * engine.c (ENGINE_load_builtin_engines): use RSA_imath_method for
533 * rsa.h: expose RSA_imath_method
535 * rsa.c (RSA_check_key): Do sign/verify instead.
537 * dsa.c: rename the DSA_METHOD
539 * dh.c: rename the DH_METHOD
541 * dh-imath.c: rename the DH_METHOD
543 * rsa.c: Default to use rsa-imath.
545 * Makefile.am: Add rsa-imath.c to libhcrypto
547 * rsa-imath.c: Add RSA support using imath.
549 2006-05-06 Love Hörnquist Åstrand <lha@it.su.se>
551 * imath: Add imath-1.1.9
553 * dh.h: Expose DH_imath_method.
555 * Makefile.am: Add imath source, add test_engine_dso to TESTS.
557 * engine.c: Lets say we have RSA_null_method(), not really
560 * test_engine_dso.c: If there are no arguments, use the internal
563 * engine.h: Cpp rename some ENGINE symbols.
565 * engine.c (ENGINE_load_builtin_engines): Load the internal
568 * dh.c: Default to use DH-imath.
570 * dh.c (DH_check_pubkey): describe what the function do
572 2006-05-05 Love Hörnquist Åstrand <lha@it.su.se>
574 * dh.c (DH_compute_key): check return status value from
577 * Rename u_intXX_t to uintXX_t
579 2006-04-24 Love Hörnquist Åstrand <lha@it.su.se>
581 * pkcs5.c: include <krb5-types.h>
583 * evp.c: Sprinkel some assertions.
585 * des.c: Move assertion and add another restriction, used as hint
588 2006-04-23 Love Hörnquist Åstrand <lha@it.su.se>
590 * rsa.c (RSA_check_key): don't do any checking if there is no
593 * engine.c (add_engine): reassign engines variable after realloc
595 2006-04-21 Love Hörnquist Åstrand <lha@it.su.se>
597 * evp.h: Add EVP_get_cipherbyname, unbreak EVP_BytesToKey
599 * evp.h: Add prototype for EVP_BytesToKey
601 * evp.c: Add stub for EVP_BytesToKey
603 2006-04-20 Love Hörnquist Åstrand <lha@it.su.se>
605 * dh.h: Add cpp-rename for DH_check_pubkey
607 2006-04-17 Love Hörnquist Åstrand <lha@it.su.se>
609 * rand.h: Add more RAND functions.
611 * rand.c: Split out unix /dev/random to a RAND_METHOD
613 * engine.h: add RAND support
615 * engine.c: add RAND support
617 * evp.h: s/rc4_64/rc2_64/
619 * rand.c: Add RAND_METHOD and some associated functions.
621 * rand.h: Add RAND_METHOD and some associated functions.
623 * test_bn.c: Test BN_rand
625 2006-04-16 Love Hörnquist Åstrand <lha@it.su.se>
627 * engine.c (ENGINE_by_dso): less printf
629 * rsa.h (i2d_RSAPublicKey): fix prototype
631 * rsa.c (i2d_RSAPublicKey): fix prototype
633 2006-04-15 Love Hörnquist Åstrand <lha@it.su.se>
635 * evp.h: Add EVP_rc2_64_cbc
637 * evp.c: Add EVP_rc2_64_cbc
639 * evp.h: Add SHA-256 symbols.
641 * evp.c: Add SHA-256.
643 * sha.h: Add SHA-256 symbols.
645 * mdtest.c: Test SHA-256.
647 * sha256.c: Inital (naive) SHA-256 implementation.
649 2006-04-14 Love Hörnquist Åstrand <lha@it.su.se>
651 * des.c (DES_cfb64_encrypt): add asserts that the *num pointers is
652 >= 0, because if it is, its a programmer error.
654 2006-04-09 Love Hörnquist Åstrand <lha@it.su.se>
656 * rc2.c (RC2_set_key): abort on erroneous input (len <= 0) size
657 that will case out out bound indexing, and its invalid input.
659 * rsa.c: Make compile again.
661 2006-04-03 Love Hörnquist Åstrand <lha@it.su.se>
663 * rsa.c: Implement i2d_RSAPublicKey
665 * rsa.h: Add i2d_RSAPublicKey
667 2006-03-07 Love Hörnquist Åstrand <lha@it.su.se>
669 * Makefile.am: EVP interface depends on dlopen, add it to LIBFLAGS
671 2006-02-28 Love Hörnquist Åstrand <lha@it.su.se>
673 * Makefile.am: Add pkcs5 files.
675 * test_pkcs5.c: Testcases for pkcs5 pbe2.
677 * pkcs5.c (PKCS5_PBKDF2_HMAC_SHA1): new function.
679 * hmac.c: Digest key when it exceeds block size, not when it
680 exceeds the size of the output block.
682 2006-02-16 Love Hörnquist Åstrand <lha@it.su.se>
684 * rand.c (RAND_bytes): Don't abort() on failure, return error.
686 * bn.c (BN_rand): check return value from RAND_bytes
688 2006-01-18 Love Hörnquist Åstrand <lha@it.su.se>
690 * dh.c (DH_compute_key): check public key
692 * dh.h: Add DH_check_pubkey and defines it uses.
694 * dh.c (DH_check_pubkey): New function.
696 * bn.c: Remove unused fragment.
698 * test_bn.c: Compare numbers with BN_cmp().
700 2006-01-17 David Love <fx@gnu.org>
702 * bn.c: Include <limits.h>.
704 2006-01-13 Love Hörnquist Åstrand <lha@it.su.se>
706 * *.h: use #include <hcrypto/...>
708 * Makefile.am: provide a symlink so the directory hcrypto/ seems
711 * engine.h: Expose dsa symbols
713 * Makefile.am: Rename library to hcrypto and install headerfiles
716 * test_pkcs12.c: Test for PKCS12_key_gen.
718 * hmac.h: Drop HMAC_CTX_create and HMAC_CTX_destroy.
720 * engine.c (ENGINE_add_conf_module): Also load DH
722 * dh.h: Reorder includes to avoid compile errors, provide
727 * bn.c: BN_get_negative was really named BN_is_negative, a comment
730 * bn.h: BN_get_negative was really named BN_is_negative, a comment
733 * pkcs12.h: Add PKCS12_key_gen().
735 * pkcs12.c: Add PKCS12_key_gen().
737 * Makefile.am: Add test_cipher, test_pkcs12, add pkcs12.[ch].
739 * evp.c: Rename rc2_40_cbc internal variable to something better.
740 Unbreak des-ede3-cbc.
742 2006-01-11 Love Hörnquist Åstrand <lha@it.su.se>
744 * test_bn.c: Test BN_uadd.
746 * bn.c (BN_rand): don't leak memory on failure, catch malloc(0)
749 * bn.c (BN_rand): clear the bits above the bits that user
751 (BN_uadd): new function.
753 * bn.h (BN_uadd): new function.
755 2006-01-10 Love Hörnquist Åstrand <lha@it.su.se>
757 * evp.c (EVP_CIPHER_CTX_cleanup): clean up less aggressively
759 * Makefile.am (check_PROGRAMS): add test_hmac
761 * test_hmac.c: Simple regression test for HMAC.
763 * hmac.c: Make hmac work.
765 * evp.c: return the right blocksize for digests.
767 2006-01-09 Love Hörnquist Åstrand <lha@it.su.se>
769 * test_engine_dso.c: Add test for DH.
771 * dh.c: Add DH_new_method, add ENGINE refcounting.
773 * engine.[ch]: Add ENGINE_set_default_DH and ENGINE_get_default_DH
775 * test_engine_dso.c: Add test for RSA encryption.
777 2006-01-08 Love Hörnquist Åstrand <lha@it.su.se>
779 * test_engine_dso.c: Add test for RSA.
781 * implement enough glue to support OpenSSLs EVP, RSA, DSA, DH,
782 HMAC, RAND and ENGINE interfaces for use in hx509. rename all
783 symbols to start with hc_ to avoid clobbering namespaces. contains
784 no RSA/DH/DSA code, just glue to support using dynamic
785 ENGINE. hx509 supports this via pkcs11 and there is a gmp ENGINE
786 module supporting RSA. Also contains a MD2 digest for completion.
788 2005-07-20 Love Hörnquist Åstrand <lha@it.su.se>
790 * des.c,des.h,rnd_keys.c: change unsigned char * to void *
792 2005-06-30 Love Hörnquist Åstrand <lha@it.su.se>
794 * rnd_keys.c: const poision for unwriteable strings
796 2005-06-19 Love Hörnquist Åstrand <lha@it.su.se>
798 * des.c,aes.c,rc2.c: Rename parameter, as encrypt shadows a
799 global, from Andrew Bartlett
801 2005-06-02 Love Hörnquist Åstrand <lha@it.su.se>
803 * rnd_keys.c: Include <stdlib.h> for srandom/random.
805 2005-05-29 Love Hörnquist Åstrand <lha@it.su.se>
807 * des.c (DES_cbc_cksum): init u to make sure it have a value in
808 case of the empty in data
810 * destest.c: add test for the empty password ""
812 2005-05-27 Love Hörnquist Åstrand <lha@it.su.se>
814 * rctest.c (cipher3): used unsigned char to avoid problems with
815 platforms using "signed char"
817 2005-05-13 Love Hörnquist Åstrand <lha@it.su.se>
819 * rc2.c: use unsigned char to avoid signess warning
821 * des.c: use unsigned char to avoid signess warning
823 * aes.c (AES_cbc_encrypt): use unsigned char to avoid signess
826 2005-05-03 Dave Love <fx@gnu.org>
828 * mdtest.c: Fix typo for HAVE_STDLIB_H.
830 2005-05-03 Love Hörnquist Åstrand <lha@it.su.se>
832 * rnd_keys.c: Enabled to build on cygwin, based on patch from
833 David Love <fx@gnu.org>
835 2005-05-02 Dave Love <fx@gnu.org>
837 * mdtest.c: Include <krb5-types.h>.
839 2005-04-30 Love Hörnquist Åstrand <lha@it.su.se>
841 * ui.c: Include <des.h>.
842 (UI_UTIL_read_pw_string): make the prompt argument const.
844 * des.h (UI_UTIL_read_pw_string): make the prompt argument const
846 * ui.c (UI_UTIL_read_pw_string): remove unused variable plen
848 * des.c: replace <strings.h> with <string.h>
850 2005-04-29 Dave Love <fx@gnu.org>
852 * Makefile.am: Add LIB_roken.
854 2005-04-27 Dave Love <fx@gnu.org>
856 * sha.c: Include hash.h first.
858 * md4.c: Include hash.h first.
860 * md5.c: Include hash.h first.
862 * hash.h: Include krb5-types.h
864 2005-04-26 Dave Love <fx@gnu.org>
866 * mdtest.c: Maybe include stdlib.h
868 2005-04-10 Love Hörnquist Åstrand <lha@it.su.se>
870 * sha.h,md5.h, md4.h: don't include bit types, the user must do
875 2005-03-23 Love Hörnquist Åstrand <lha@it.su.se>
877 * des.h: fix prototype for DES_random_key
879 * rnd_keys.c: fix prototype for DES_random_key
881 * des.[ch]: provide compatibility function DES_key_sched, same as
884 2005-03-20 Love Hörnquist Åstrand <lha@it.su.se>
886 * destest.c: include config.h and protect some headers
888 * rnd_keys.c: move <des.h> to after include <krb5-types.h> so the
889 C99 integer types exists
891 2005-03-14 Love Hörnquist Åstrand <lha@it.su.se>
893 * des.c: add DES_set_key_checked
895 * des.h: add DES_set_key_checked
897 2005-03-01 Love Hörnquist Åstrand <lha@it.su.se>
899 * des-tables.h: Add the missing file
901 2005-02-23 Love Hörnquist Åstrand <lha@it.su.se>
903 * ui.c: remove dependency on asprintf
905 * Makefile.am: make destest only once
907 * Replace the eay DES code with key scheule setup code by me and DES
908 s-box and p permutation from Richard Outerbridge implemtation (in
909 public domain). The DES modes are implemented by me. ui.c code are
912 The implementation is about 3 times slower then Eric for encryption,
913 and about the same speed for key setup.
916 2004-08-10 Love Hörnquist Åstrand <lha@it.su.se>
918 * rnd_keys.c (DES_rand_data): also try /dev/arandom
920 2004-06-02 Love Hörnquist Åstrand <lha@it.su.se>
922 * rnd_keys.c: don't include krb4 headers
924 * rijndael-alg-fst.c: don't include krb4 headers
926 * aes.c: don't include krb4 headers
928 * aes.h: define AES_{EN,DE}CRYPT; remove #ifdefs, this is an
931 2004-04-25 Love Hörnquist Åstrand <lha@it.su.se>
933 * rc2.c: handle non blocksized cbc messages
935 * aes.[ch]: add AES_cbc_encrypt
937 2004-04-24 Love Hörnquist Åstrand <lha@it.su.se>
939 * rc2test.c: test vectors from RFC2268
941 * rc2.c (RC2_set_key): rewrite the mask calculation
943 * rc2.c (RC2_set_key): handle keys where effective bits are
944 diffrent from keylength
946 2004-04-23 Love Hörnquist Åstrand <lha@it.su.se>
948 * rc2.c: rc2 implementation
950 * rc2.h: rc2 implementation
952 * rc2test.c: rc2 implementation
954 * Makefile.am: rc2 implementation
956 2004-03-25 Love Hörnquist Åstrand <lha@it.su.se>
958 * Makefile.am: new arcfour implementation
960 * rc4.c: implemented from description in
961 draft-kaukonen-cipher-arcfour-03.txt
963 * rc4.h: replace with new implementation
965 * rc4_enc.c rc4_skey.c: remove
967 * rctest.c: test for arcfour
969 2003-12-07 Love Hörnquist Åstrand <lha@it.su.se>
971 * rnd_keys.c: uninitialized variable, from Panasas Inc
973 2003-09-03 Love Hörnquist Åstrand <lha@it.su.se>
975 * md4.c (MD4_Final): make the function threadsafe by removing
976 static on the local variable zeros
978 * md5.c (MD5_Final): make the function threadsafe by removing
979 static on the local variable zeros
981 * switch to the DES_ api, dont provide any compat glue
983 2003-08-27 Love Hörnquist Åstrand <lha@it.su.se>
985 * sha.c: make the function threadsafe by removing static on the
988 2003-07-23 Love Hörnquist Åstrand <lha@it.su.se>
990 * rijndael-alg-fst.h,rijndael-alg-fst.c,aes.c,aes.h:
991 Makefile.am: add AES support
993 2003-03-19 Love Hörnquist Åstrand <lha@it.su.se>
995 * des.1: sunOS -> SunOS, from jmc <jmc@prioris.mini.pw.edu.pl>
997 2003-03-19 Love Hörnquist Åstrand <lha@it.su.se>
999 * des.1: spelling, from <jmc@prioris.mini.pw.edu.pl>
1001 2002-08-28 Johan Danielsson <joda@pdc.kth.se>
1003 * read_pwd.c: move NeXT SGTTY stuff here
1005 2001-05-17 Assar Westerlund <assar@sics.se>
1007 * Makefile.am: bump version to 3:1:0
1009 2001-05-11 Assar Westerlund <assar@sics.se>
1011 * str2key.c (des_string_to_key, des_string_to_2keys): avoid weak
1014 2001-02-16 Assar Westerlund <assar@sics.se>
1016 * set_key.c: correct weak keys and update comment
1018 2001-02-14 Assar Westerlund <assar@sics.se>
1020 * set_key.c: correct the two last weak keys in accordance with
1021 FIPS 74. noted by <jhutz@cmu.edu>
1023 2001-01-30 Assar Westerlund <assar@sics.se>
1025 * Makefile.am (libdes_la_LDFLAGS): bump version to 3:0:0
1027 2000-10-19 Assar Westerlund <assar@sics.se>
1029 * Makefile.in (LIBSRC, LIBOBJ): add rc4* and enc_{read,write}
1030 files so that this library contains the same things as libdes in
1033 2000-08-16 Assar Westerlund <assar@sics.se>
1035 * Makefile.am: bump version to 2:1:0
1037 2000-08-03 Johan Danielsson <joda@pdc.kth.se>
1039 * enc_writ.c: BSIZE -> des_BSIZE to avoid conflicts with AIX
1042 * enc_read.c: BSIZE -> des_BSIZE to avoid conflicts with AIX
1045 * des_locl.h: BSIZE -> des_BSIZE to avoid conflicts with AIX
1048 2000-02-07 Assar Westerlund <assar@sics.se>
1050 * Makefile.am: set version to 2:0:0
1052 2000-01-26 Assar Westerlund <assar@sics.se>
1054 * mdtest.c: update to pseudo-standard APIs for md4,md5,sha.
1055 * md4.c, md4.h, md5.c, md5.h, sha.c, sha.h: move to the
1056 pseudo-standard APIs
1058 1999-12-06 Assar Westerlund <assar@sics.se>
1060 * Makefile.am: set version to 1:0:1
1062 1999-11-29 Assar Westerlund <assar@sics.se>
1064 * fcrypt.c (crypt_md5): add trailing $
1066 1999-11-13 Assar Westerlund <assar@sics.se>
1068 * Makefile.am (include_HEADERS): add rc4.h
1069 (libdes_la_SOURCES): add rc4_skey.c
1071 1999-10-28 Assar Westerlund <assar@sics.se>
1073 * md5crypt_test.c: change the test case. apparently we should not
1074 include $ after the salt. also make it print more useful stuff
1077 1999-10-20 Assar Westerlund <assar@sics.se>
1079 * Makefile.am: bump version to 0:2:0
1081 1999-09-21 Johan Danielsson <joda@pdc.kth.se>
1083 * des.h: make this work with mips 64-bit abi
1085 1999-08-14 Johan Danielsson <joda@pdc.kth.se>
1087 * fcrypt.c (crypt_md5): don't use snprintf
1089 1999-08-13 Assar Westerlund <assar@sics.se>
1091 * Makefile.am: add md5crypt_test
1093 * Makefile.in: add md5crypt_test
1095 * md5crypt_test.c: test md5 crypt
1097 * fcrypt.c: always enable md5 crypt
1099 1999-07-26 Johan Danielsson <joda@pdc.kth.se>
1101 * Makefile.am: bump version number (changes to md*, sha)
1103 1999-06-15 Assar Westerlund <assar@sics.se>
1105 * sha.c (swap_u_int32_t): add _CRAY
1107 Sat Apr 10 23:02:30 1999 Johan Danielsson <joda@hella.pdc.kth.se>
1109 * destest.c: fixes for crays
1111 Thu Apr 1 11:26:38 1999 Johan Danielsson <joda@hella.pdc.kth.se>
1113 * Makefile.am: noinst_PROGRAMS -> check_PROGRAMS; add TESTS; don't
1114 build rpw, and speed
1116 Mon Mar 22 20:16:26 1999 Johan Danielsson <joda@hella.pdc.kth.se>
1118 * Makefile.am: hash.h
1120 * sha.c: use hash.h; fixes for crays
1122 * md5.c: use hash.h; fixes for crays
1124 * md4.c: use hash.h; fixes for crays
1126 * hash.h: common stuff from md4, md5, and sha1
1128 Sat Mar 20 00:16:53 1999 Assar Westerlund <assar@sics.se>
1130 * rnd_keys.c (des_rand_data): move declaration to get rid of
1133 Thu Mar 18 11:22:28 1999 Johan Danielsson <joda@hella.pdc.kth.se>
1135 * Makefile.am: include Makefile.am.common
1137 Mon Mar 15 17:36:41 1999 Johan Danielsson <joda@hella.pdc.kth.se>
1139 * rnd_keys.c (des_rand_data): if not using setitimer, block
1140 SIGCHLD around fork(), also make sure we get the status of the
1142 (fake_signal): emulate signal using sigaction
1144 Tue Jan 12 05:06:54 1999 Assar Westerlund <assar@sics.se>
1146 * des.h: sparcv9 is also 64 bits, use `unsigned int' instead of
1149 Sun Nov 22 10:40:09 1998 Assar Westerlund <assar@sics.se>
1151 * Makefile.in (WFLAGS): set
1153 Mon May 25 05:24:56 1998 Assar Westerlund <assar@sics.se>
1155 * Makefile.in (clean): try to remove shared library debris
1157 Sun Apr 19 09:50:53 1998 Assar Westerlund <assar@sics.se>
1159 * Makefile.in: add symlink magic for linux
1161 Sun Nov 9 07:14:45 1997 Assar Westerlund <assar@sics.se>
1163 * mdtest.c: print out old and new string