1 2008-04-29 Björn Sandell <biorn@chalmers.se>
3 * des.h: Add DES_set_key_unchecked
5 * version-script.map: Export DES_set_key_unchecked
7 2008-04-29 Love Hörnquist Åstrand <lha@it.su.se>
9 * evp.c: EVP_MD_CTX_init already implemented.
11 2008-04-28 Love Hörnquist Åstrand <lha@it.su.se>
13 * evp.[ch]: deprecate functions that are needed for exported
16 * evp.h: Internalize hc_EVP_MD_CTX.
18 * evp.c: Internalize hc_EVP_MD_CTX.
20 * mdtest.c: Use EVP_MD_CTX_create()/EVP_MD_CTX_destroy().
22 * test_cipher.c: unbreak des-test
24 * evp.c: Fixup key parity before going ahead and using the key.
26 * evp.c: use DES_set_key_unchecked().
28 * des.c: Remove inifinite loop in DES_set_key().
30 2008-04-27 Love Hörnquist Åstrand <lha@it.su.se>
32 * des.c: Document missing functions, add DES_check_key_parity().
34 * des.h: Add DES_check_key_parity, deprecate DES_set_key.
36 * version-script.map: Export DES_check_key_parity.
38 * des.h: DES_set_odd_parity "returns" void.
40 * rand.c: Drop const warnings.
42 * des.h: Sort options.
44 2008-04-18 Love Hörnquist Åstrand <lha@it.su.se>
46 * pkcs5.c: Document PKCS5_PBKDF2_HMAC_SHA1.
48 * des.c: DES is withdrawn.
50 * des.c: Document using doxygen.
52 * des.c: History of DES.
54 * doxygen.c: History of hcrypto.
56 * test_rand.c: do a head vs tail test on the random buffer.
58 * test_crypto.in: Use --file to test_rand.
60 * rand.c: Document, implement RAND_set_rand_engine().
62 * doxygen.c: Add reference to DES, more quick links.
64 * rnd_keys.c: Reimplement using RAND_ interface.
66 * des.h: Undeprecate DES_new_random_key.
68 * des.c: Add documentation.
70 2008-04-15 Love Hörnquist Åstrand <lha@it.su.se>
72 * camellia-ntt.h: Move the typedef u<num> to camellia-ntt.h header
73 file. Use u32 to define KEY_TABLE_TYPE, avoids warning on
74 platfors where u32 is not unsigned int.
76 * camellia-ntt.c: Move the typedef u<num> to camellia-ntt.h
79 * camellia.h: Drop need to camellia-ntt.h by including some more
82 2008-04-11 Love Hörnquist Åstrand <lha@it.su.se>
84 * rnd_keys.c: deprecated.
86 * des.h: c++ wrappers + deprecated.
90 * des.h: c++ wrappers + deprecated
92 * rnd_keys.c: Use matching prototypes, prompted by bug report by
95 2008-03-19 Love Hörnquist Åstrand <lha@it.su.se>
97 * camellia.h: Drop unused defined that originates from aes.
99 2008-01-11 Love Hörnquist Åstrand <lha@it.su.se>
101 * Makefile.am: Add extra files missing from dist.
103 2007-12-30 Love Hörnquist Åstrand <lha@it.su.se>
105 * rsa.c: ENGINE_get_default_RSA can return NULL.
107 * dh.c: more doxygen.
109 2007-12-28 Love Hörnquist Åstrand <lha@it.su.se>
111 * evp.c: Add last of the doxygen documentation for functions in
114 * evp.c: complete the EVP_MD functions doxygen.
116 2007-12-11 Love Hörnquist Åstrand <lha@it.su.se>
118 * version-script.map: export RSA_gmp_method.
120 * doxygen.c: More documentation.
122 * rsa.h: add RSA_gmp_method
124 * rsa-gmp.c: RSA implementation written using GMP.
126 * test_dh.c: Test of DH by Matthias Koenig.
128 2007-12-09 Love Hörnquist Åstrand <lha@it.su.se>
130 * bn.h (BN_is_negative): make argument const.
132 2007-12-07 Love Hörnquist Åstrand <lha@it.su.se>
134 * rand.c: Can't call getpwuid(getuid()) at all since that causes
135 recursive lookups. Pointed out by Hai Zaar.
137 2007-08-16 Love Hörnquist Åstrand <lha@it.su.se>
139 * test_cipher.c: Use test from camellia samples.
141 * version-script.map: Export camellia.
143 * test_cipher.c: Make camellia-128-cbc tests pass.
145 2007-08-07 Love Hörnquist Åstrand <lha@it.su.se>
147 * test_cipher.c: Sprinkle EVP cipher names.
149 2007-07-30 David Love <fx@gnu.org>
151 * camellia-ntt.c: Include <krb5-types.h>
153 2007-07-24 Love Hörnquist Åstrand <lha@it.su.se>
157 2007-07-10 Love Hörnquist Åstrand <lha@it.su.se>
159 * Makefile.am: New library version.
161 2007-06-30 Love Hörnquist Åstrand <lha@it.su.se>
163 * hmac.c (HMAC_Init_ex): also zero out key material on re-init.
165 2007-06-20 Love Hörnquist Åstrand <lha@it.su.se>
167 * rand.c: Default to fortuna due to weired /dev/*random that
168 failes to deliver random data for us in hi load situations.
170 * rand-fortuna.c: Reseed the random generator now and then from
173 2007-06-19 Love Hörnquist Åstrand <lha@it.su.se>
175 * rand-egd.c: Avoid stoping unrelated memory.
177 2007-06-18 Love Hörnquist Åstrand <lha@it.su.se>
179 * rand-fortuna.c: Use /etc/shadow, not /dev/shadow, pointed out by
182 * Makefile.am: add rand-timer.c
184 * rand-fortuna.c: Fall back to gattering data from timer and
185 secret files, this is really the last resort.
187 * rand-timer.c: Pick up timing diffrences in the timeing info from
188 realtime timer, only in use as a last resort.
190 * version-script.map: Add hc_RAND_timer_method.
192 2007-06-10 Love Hörnquist Åstrand <lha@it.su.se>
194 * test_bn.c: Add <rand.h>.
196 * test_crypto.in: Test for random device before running the tests.
198 * test_engine_dso.c: Test for random device.
200 * test_bn.c (test_BN_rand): skip this test if there is no random
203 2007-06-07 Love Hörnquist Åstrand <lha@it.su.se>
205 * Makefile.am: Include more ui.[ch] in libbctest.
207 * version-script.map: Unexport _hc_DES_ipfp_test now there is a
210 * Makefile.am: Build library libhctest.la for testing and link
211 with that when testing.
213 * version-script.map: export _hc_DES_ipfp_test
215 2007-06-03 Love Hörnquist Åstrand <lha@it.su.se>
217 * imath: new update from Michael Fromberger
219 * test_imath.c: Try to find ABR in mp_int_mul.
221 * engine.c: Don't try to load gmp module.
223 2007-06-02 Love Hörnquist Åstrand <lha@it.su.se>
225 * test_bn.c: Plug memory leak.
227 2007-05-31 Love Hörnquist Åstrand <lha@it.su.se>
229 * imath/imath.[ch]: New snapshot for Michael Fromberger, lets see if
230 this corrupts memory less.
232 2007-05-30 Love Hörnquist Åstrand <lha@it.su.se>
234 * version-script.map: Don't prefix all symbols with _
236 2007-05-10 Love Hörnquist Åstrand <lha@it.su.se>
238 * test_pkcs12.c: test the difference between "" and NULL password.
240 * test_pkcs12.c: one more pkcs12-pbe-s2k check
242 2007-04-20 Love Hörnquist Åstrand <lha@it.su.se>
246 * test_crypto.in: try generate a couple of rsa keys of
247 diffrent (random) sizes, spelling.
249 * test_rsa.c: try generate a couple of rsa keys of
250 diffrent (random) sizes.
252 2007-04-19 Love Hörnquist Åstrand <lha@it.su.se>
254 * mdtest.c: stop leaking memory
256 * test_imath.c: fix warnings, make test into function.
258 * test_imath.c: shortest program causing the problem.
260 * test_imath.c: basic imath test
262 2007-04-18 Love Hörnquist Åstrand <lha@it.su.se>
264 * test_cipher.c (test_cipher): avoid leaking memory
266 2007-04-17 Love Hörnquist Åstrand <lha@it.su.se>
268 * rsa.c: plug memory leak
270 2007-04-16 Love Hörnquist Åstrand <lha@it.su.se>
272 * Makefile.am: CLEANFILES += test.file
274 2007-04-15 Love Hörnquist Åstrand <lha@it.su.se>
276 * Makefile.am: Add randi.h.
278 2007-04-11 Love Hörnquist Åstrand <lha@it.su.se>
282 2007-02-01 Love Hörnquist Åstrand <lha@it.su.se>
284 * rand.c: Name the random file ~/.rnd, this is the same as
287 2007-01-31 Love Hörnquist Åstrand <lha@it.su.se>
289 * rand-egd.c: Make get_bytes static.
291 * rand.c (RAND_write_file): default to failure.
293 2007-01-30 Love Hörnquist Åstrand <lha@it.su.se>
295 * rand.c: Implement RAND_file_name.
297 * test_rand.c: test RAND_file_name().
299 * rand.c: Provide dummy implementation of RAND_file_name.
301 * rand.h: add RAND_file_name
303 2007-01-21 Love Hörnquist Åstrand <lha@it.su.se>
305 * Makefile.am: clean more files
307 * rand-egd.c: access private functions though the RAND_METHOD
308 switch, move global egd function to rand-egd.c
310 * rand-fortuna.c: access private functions though the RAND_METHOD
313 * rand-unix.c: unexport private functions.
315 * randi.h: Unexport internal functions.
317 * rand.c: access private functions though the RAND_METHOD switch,
318 don't truncate the seed-file, move global egd function to
321 * test_crypto.in: add basic random tests
323 * rand-egd.c: SGI cc doesn' like return void_returning_function();
324 in a void returning function.
326 2007-01-20 Love Hörnquist Åstrand <lha@it.su.se>
328 * test_rand.c: Allow select rand method.
330 * rand-unix.c: expose _hc_rand_unix_status
332 * randi.h: expose _hc_rand_unix_status and the internal
335 * rand.c: Implement RAND_load_file and RAND_write_file. Select
336 UNIX random device if available, otherwise use Fortuna.
338 * Add EGD/PRNGD support
340 2007-01-17 Love Hörnquist Åstrand <lha@it.su.se>
342 * fortuna: Add fortuna based on Marko Kreen's pgcrypt, no enabled yet
344 2007-01-11 Love Hörnquist Åstrand <lha@it.su.se>
346 * test_rsa.c: if RAND is unhappy, don't run the tests.
348 * test_engine_dso.c: if RAND is unhappy, don't run the tests.
350 * imath/imath.c: Update to imath-1.8 from Michael Fromberger
352 Fixed a bug in s_udiv() affecting the computation of quotient
353 digits. Thanks to Love Åstrand for isolating this bug. Also in
354 this release, defining USELLONG=Y or USELLONG=N on the command
355 line for make will switch support for the "long long" data type on
356 or off without having to edit the Makefile. The default is still
357 to permit use of "long long", even though the type is not standard
360 * imath/imath.c (s_udiv): Allocate one more for q, remove debug
363 2007-01-10 Love Hörnquist Åstrand <lha@it.su.se>
365 * imath/imath.c (s_udiv): make a copy of a and b before we start
366 to make sure there is something un-tainted to print in cause of
367 failure. XXX remove this delta
368 (s_embar): make static
370 2007-01-09 Love Hörnquist Åstrand <lha@it.su.se>
372 * rsa.c: Correct the test if the rsa is a complete RSA private
375 2007-01-08 Love Hörnquist Åstrand <lha@it.su.se>
377 * imath/imath.c: More verbose debugging in case of assertion
378 failure. XXX temporary for AIX problem.
380 2007-01-06 Love Hörnquist Åstrand <lha@it.su.se>
382 * rsa-imath.c: Fix a silly typo, and with that enable CRT since
385 * rsa-imath.c: With this crt works, but something is wrong in the
386 key generation, so keep it turned off for now.
388 * test_rsa.c: Allow testing effect of key-blinding
390 * test_rsa.c: Add timing info to rsa keygen.
392 * rsa-imath.c: don't include <imath/rsamath.h>
394 2007-01-05 Love Hörnquist Åstrand <lha@it.su.se>
396 * imath: prune off stuff we dont use
398 * imath/import.sh: Prune off stuff we don't use from imathsource
400 * Makefile.am: Prune off stuff we don't use from imathsource
402 * rsa-imath.c: Use mp_int_exptmod directly.
404 * imath/iprime.c: Use a larger table of small primes, cut down
405 genenration in best cases to half compared to using a small table.
407 * rsa.h: add RSA_FLAG_NO_BLINDING
409 * rsa-imath.c: Add keyblinding, add a commented out CRT based RSA.
413 2007-01-04 Love Hörnquist Åstrand <lha@it.su.se>
415 * rsa.c: add missing ;
417 * rsa.c: Add i2d_RSAPrivateKey.
419 * rsa.h: Add i2d_RSAPrivateKey.
421 * test_rsa.c: test RSA_generate_key_ex
423 * rsa-imath.c: Add imath_rsa_generate_key.
425 2006-12-31 Love Hörnquist Åstrand <lha@it.su.se>
427 * rsa.c: add RSA_generate_key_ex
429 * rsa.h: add RSA_generate_key_ex
431 2006-12-07 Love Hörnquist Åstrand <lha@it.su.se>
433 * Makefile.am: CLEANFILES += test_crypto
435 2006-12-06 Love Hörnquist Åstrand <lha@it.su.se>
437 * Makefile.am: Add rsakey.der to EXTRA_DIST.
439 2006-12-05 Love Hörnquist Åstrand <lha@it.su.se>
441 * Makefile.am: Add test_crypto.in to EXTRA_DIST.
443 * test_crypto.in: Add more spaces to allow sh to parse this
445 * test_rsa.c: Explain what the fixed "sha1" checksum test tries to
448 * test_crypto.in: test rsa, dh and engine code
450 2006-12-04 Love Hörnquist Åstrand <lha@it.su.se>
452 * Makefile.am: rsa and crypto engine test cases
454 * test_rsa.c: Make faster and less verbose
456 * rsakey.der: test rsa key
458 * test_rsa.c: Test rsa operations
460 * rsa-imath.c: Fix the rsa-decrypt failed case that been hauting
463 2006-12-02 Love Hörnquist Åstrand <lha@it.su.se>
465 * rsa-imath.c: Use mp_int_to_binary to encode bignums
467 * rsa-imath.c: Check if header is there
469 2006-11-27 Love Hörnquist Åstrand <lha@it.su.se>
471 * rsa-imath.c: Return -1 for failure.
473 * rsa-imath.c: Its ok with smaller signatures.
475 * rsa-imath.c: Split error codes for now
477 2006-10-22 Love Hörnquist Åstrand <lha@it.su.se>
479 * rsa.c: Try to not leak memory.
481 2006-10-21 Love Hörnquist Åstrand <lha@it.su.se>
483 * rand-unix.c (unix_bytes): read until the other side give us all
486 * imath: import imath-1.7, fixes buffer overrun problems
488 * rsa.c (RSA_free): free the whole key
490 * test_engine_dso.c: Add more dh tests.
492 2006-10-20 Love Hörnquist Åstrand <lha@it.su.se>
494 * imath/imath.c: Allocate more bits.
496 * dh-imath.c (dh_compute_key): fix signness test
498 * dh-imath.c: Try harder to generate a good keypair.
500 * dh-imath.c: Return -1 dh_compute_key on failure, pointed out by
503 2006-10-19 Love Hörnquist Åstrand <lha@it.su.se>
505 * Makefile.am: Add hash.h and des-tables.h.
507 * dh.c (DH_compute_key): return -1 on bad public key.
509 * rsa.c: remove stray ;
511 * engine.c: Does function typecasts instead of void * type-casts.
513 * evp.c: Does function typecasts instead of void * type-casts.
515 2006-10-16 Love Hörnquist Åstrand <lha@it.su.se>
517 * Makefile.am: add rand-unix.c
519 * rand.c: Move out rand-unix functions from the core lib.
521 * rand-unix.c: Move out rand-unix functions from the core lib.
523 2006-10-15 Love Hörnquist Åstrand <lha@it.su.se>
525 * hmac.c (HMAC_CTX_cleanup): destroy the EVP_MD_CTX, so it will be
528 2006-10-14 Love Hörnquist Åstrand <lha@it.su.se>
530 * bn.c: Drop heim_any.h, prefix der primitives with der_
532 * rsa.c: Drop heim_any.h.
534 2006-10-11 Love Hörnquist Åstrand <lha@it.su.se>
536 * rsa.c (RSA_free): Call the meth->finish before releasing the
539 2006-10-06 Love Hörnquist Åstrand <lha@it.su.se>
541 * imath/imath.c: Cast argument to ctype(3) functions to (unsigned
544 * imath/imrat.c: Cast argument to ctype(3) functions to (unsigned
547 2006-09-22 Love Hörnquist Åstrand <lha@it.su.se>
549 * ui.c (read_string): Try to not call signaction for signal 0 and
550 use NSIG if it exists to determin how many signals there exists,
551 also, only restore those signalhandlers that we got out.
553 Bug reported by and patch tested by Harald Barth.
555 2006-09-15 Love Hörnquist Åstrand <lha@it.su.se>
557 * rsa-imath.c: Add commeted out test that exponent is > 3
559 2006-05-13 Love Hörnquist Åstrand <lha@it.su.se>
561 * bn.c (BN_rand): avoid shadowing.
563 2006-05-12 Love Hörnquist Åstrand <lha@it.su.se>
565 * rsa-imath.c: Fix the last one of the asserts.
567 2006-05-08 Love Hörnquist Åstrand <lha@it.su.se>
569 * rand.c (get_device_fd): use /dev/urandom first.
571 * rctest.c: Less "pointer targets in passing argument differ in
572 signedness" warnings.
574 * rc2test.c: Less "pointer targets in passing argument differ in
575 signedness" warnings.
577 2006-05-07 Love Hörnquist Åstrand <lha@it.su.se>
579 * rsa-imath.c: Fix a off by one.
581 * test_engine_dso.c: print the lengths when they don't match.
583 * engine.c (ENGINE_load_builtin_engines): use RSA_imath_method for
586 * rsa.h: expose RSA_imath_method
588 * rsa.c (RSA_check_key): Do sign/verify instead.
590 * dsa.c: rename the DSA_METHOD
592 * dh.c: rename the DH_METHOD
594 * dh-imath.c: rename the DH_METHOD
596 * rsa.c: Default to use rsa-imath.
598 * Makefile.am: Add rsa-imath.c to libhcrypto
600 * rsa-imath.c: Add RSA support using imath.
602 2006-05-06 Love Hörnquist Åstrand <lha@it.su.se>
604 * imath: Add imath-1.1.9
606 * dh.h: Expose DH_imath_method.
608 * Makefile.am: Add imath source, add test_engine_dso to TESTS.
610 * engine.c: Lets say we have RSA_null_method(), not really
613 * test_engine_dso.c: If there are no arguments, use the internal
616 * engine.h: Cpp rename some ENGINE symbols.
618 * engine.c (ENGINE_load_builtin_engines): Load the internal
621 * dh.c: Default to use DH-imath.
623 * dh.c (DH_check_pubkey): describe what the function do
625 2006-05-05 Love Hörnquist Åstrand <lha@it.su.se>
627 * dh.c (DH_compute_key): check return status value from
630 * Rename u_intXX_t to uintXX_t
632 2006-04-24 Love Hörnquist Åstrand <lha@it.su.se>
634 * pkcs5.c: include <krb5-types.h>
636 * evp.c: Sprinkel some assertions.
638 * des.c: Move assertion and add another restriction, used as hint
641 2006-04-23 Love Hörnquist Åstrand <lha@it.su.se>
643 * rsa.c (RSA_check_key): don't do any checking if there is no
646 * engine.c (add_engine): reassign engines variable after realloc
648 2006-04-21 Love Hörnquist Åstrand <lha@it.su.se>
650 * evp.h: Add EVP_get_cipherbyname, unbreak EVP_BytesToKey
652 * evp.h: Add prototype for EVP_BytesToKey
654 * evp.c: Add stub for EVP_BytesToKey
656 2006-04-20 Love Hörnquist Åstrand <lha@it.su.se>
658 * dh.h: Add cpp-rename for DH_check_pubkey
660 2006-04-17 Love Hörnquist Åstrand <lha@it.su.se>
662 * rand.h: Add more RAND functions.
664 * rand.c: Split out unix /dev/random to a RAND_METHOD
666 * engine.h: add RAND support
668 * engine.c: add RAND support
670 * evp.h: s/rc4_64/rc2_64/
672 * rand.c: Add RAND_METHOD and some associated functions.
674 * rand.h: Add RAND_METHOD and some associated functions.
676 * test_bn.c: Test BN_rand
678 2006-04-16 Love Hörnquist Åstrand <lha@it.su.se>
680 * engine.c (ENGINE_by_dso): less printf
682 * rsa.h (i2d_RSAPublicKey): fix prototype
684 * rsa.c (i2d_RSAPublicKey): fix prototype
686 2006-04-15 Love Hörnquist Åstrand <lha@it.su.se>
688 * evp.h: Add EVP_rc2_64_cbc
690 * evp.c: Add EVP_rc2_64_cbc
692 * evp.h: Add SHA-256 symbols.
694 * evp.c: Add SHA-256.
696 * sha.h: Add SHA-256 symbols.
698 * mdtest.c: Test SHA-256.
700 * sha256.c: Inital (naive) SHA-256 implementation.
702 2006-04-14 Love Hörnquist Åstrand <lha@it.su.se>
704 * des.c (DES_cfb64_encrypt): add asserts that the *num pointers is
705 >= 0, because if it is, its a programmer error.
707 2006-04-09 Love Hörnquist Åstrand <lha@it.su.se>
709 * rc2.c (RC2_set_key): abort on erroneous input (len <= 0) size
710 that will case out out bound indexing, and its invalid input.
712 * rsa.c: Make compile again.
714 2006-04-03 Love Hörnquist Åstrand <lha@it.su.se>
716 * rsa.c: Implement i2d_RSAPublicKey
718 * rsa.h: Add i2d_RSAPublicKey
720 2006-03-07 Love Hörnquist Åstrand <lha@it.su.se>
722 * Makefile.am: EVP interface depends on dlopen, add it to LIBFLAGS
724 2006-02-28 Love Hörnquist Åstrand <lha@it.su.se>
726 * Makefile.am: Add pkcs5 files.
728 * test_pkcs5.c: Testcases for pkcs5 pbe2.
730 * pkcs5.c (PKCS5_PBKDF2_HMAC_SHA1): new function.
732 * hmac.c: Digest key when it exceeds block size, not when it
733 exceeds the size of the output block.
735 2006-02-16 Love Hörnquist Åstrand <lha@it.su.se>
737 * rand.c (RAND_bytes): Don't abort() on failure, return error.
739 * bn.c (BN_rand): check return value from RAND_bytes
741 2006-01-18 Love Hörnquist Åstrand <lha@it.su.se>
743 * dh.c (DH_compute_key): check public key
745 * dh.h: Add DH_check_pubkey and defines it uses.
747 * dh.c (DH_check_pubkey): New function.
749 * bn.c: Remove unused fragment.
751 * test_bn.c: Compare numbers with BN_cmp().
753 2006-01-17 David Love <fx@gnu.org>
755 * bn.c: Include <limits.h>.
757 2006-01-13 Love Hörnquist Åstrand <lha@it.su.se>
759 * *.h: use #include <hcrypto/...>
761 * Makefile.am: provide a symlink so the directory hcrypto/ seems
764 * engine.h: Expose dsa symbols
766 * Makefile.am: Rename library to hcrypto and install headerfiles
769 * test_pkcs12.c: Test for PKCS12_key_gen.
771 * hmac.h: Drop HMAC_CTX_create and HMAC_CTX_destroy.
773 * engine.c (ENGINE_add_conf_module): Also load DH
775 * dh.h: Reorder includes to avoid compile errors, provide
780 * bn.c: BN_get_negative was really named BN_is_negative, a comment
783 * bn.h: BN_get_negative was really named BN_is_negative, a comment
786 * pkcs12.h: Add PKCS12_key_gen().
788 * pkcs12.c: Add PKCS12_key_gen().
790 * Makefile.am: Add test_cipher, test_pkcs12, add pkcs12.[ch].
792 * evp.c: Rename rc2_40_cbc internal variable to something better.
793 Unbreak des-ede3-cbc.
795 2006-01-11 Love Hörnquist Åstrand <lha@it.su.se>
797 * test_bn.c: Test BN_uadd.
799 * bn.c (BN_rand): don't leak memory on failure, catch malloc(0)
802 * bn.c (BN_rand): clear the bits above the bits that user
804 (BN_uadd): new function.
806 * bn.h (BN_uadd): new function.
808 2006-01-10 Love Hörnquist Åstrand <lha@it.su.se>
810 * evp.c (EVP_CIPHER_CTX_cleanup): clean up less aggressively
812 * Makefile.am (check_PROGRAMS): add test_hmac
814 * test_hmac.c: Simple regression test for HMAC.
816 * hmac.c: Make hmac work.
818 * evp.c: return the right blocksize for digests.
820 2006-01-09 Love Hörnquist Åstrand <lha@it.su.se>
822 * test_engine_dso.c: Add test for DH.
824 * dh.c: Add DH_new_method, add ENGINE refcounting.
826 * engine.[ch]: Add ENGINE_set_default_DH and ENGINE_get_default_DH
828 * test_engine_dso.c: Add test for RSA encryption.
830 2006-01-08 Love Hörnquist Åstrand <lha@it.su.se>
832 * test_engine_dso.c: Add test for RSA.
834 * implement enough glue to support OpenSSLs EVP, RSA, DSA, DH,
835 HMAC, RAND and ENGINE interfaces for use in hx509. rename all
836 symbols to start with hc_ to avoid clobbering namespaces. contains
837 no RSA/DH/DSA code, just glue to support using dynamic
838 ENGINE. hx509 supports this via pkcs11 and there is a gmp ENGINE
839 module supporting RSA. Also contains a MD2 digest for completion.
841 2005-07-20 Love Hörnquist Åstrand <lha@it.su.se>
843 * des.c,des.h,rnd_keys.c: change unsigned char * to void *
845 2005-06-30 Love Hörnquist Åstrand <lha@it.su.se>
847 * rnd_keys.c: const poision for unwriteable strings
849 2005-06-19 Love Hörnquist Åstrand <lha@it.su.se>
851 * des.c,aes.c,rc2.c: Rename parameter, as encrypt shadows a
852 global, from Andrew Bartlett
854 2005-06-02 Love Hörnquist Åstrand <lha@it.su.se>
856 * rnd_keys.c: Include <stdlib.h> for srandom/random.
858 2005-05-29 Love Hörnquist Åstrand <lha@it.su.se>
860 * des.c (DES_cbc_cksum): init u to make sure it have a value in
861 case of the empty in data
863 * destest.c: add test for the empty password ""
865 2005-05-27 Love Hörnquist Åstrand <lha@it.su.se>
867 * rctest.c (cipher3): used unsigned char to avoid problems with
868 platforms using "signed char"
870 2005-05-13 Love Hörnquist Åstrand <lha@it.su.se>
872 * rc2.c: use unsigned char to avoid signess warning
874 * des.c: use unsigned char to avoid signess warning
876 * aes.c (AES_cbc_encrypt): use unsigned char to avoid signess
879 2005-05-03 Dave Love <fx@gnu.org>
881 * mdtest.c: Fix typo for HAVE_STDLIB_H.
883 2005-05-03 Love Hörnquist Åstrand <lha@it.su.se>
885 * rnd_keys.c: Enabled to build on cygwin, based on patch from
886 David Love <fx@gnu.org>
888 2005-05-02 Dave Love <fx@gnu.org>
890 * mdtest.c: Include <krb5-types.h>.
892 2005-04-30 Love Hörnquist Åstrand <lha@it.su.se>
894 * ui.c: Include <des.h>.
895 (UI_UTIL_read_pw_string): make the prompt argument const.
897 * des.h (UI_UTIL_read_pw_string): make the prompt argument const
899 * ui.c (UI_UTIL_read_pw_string): remove unused variable plen
901 * des.c: replace <strings.h> with <string.h>
903 2005-04-29 Dave Love <fx@gnu.org>
905 * Makefile.am: Add LIB_roken.
907 2005-04-27 Dave Love <fx@gnu.org>
909 * sha.c: Include hash.h first.
911 * md4.c: Include hash.h first.
913 * md5.c: Include hash.h first.
915 * hash.h: Include krb5-types.h
917 2005-04-26 Dave Love <fx@gnu.org>
919 * mdtest.c: Maybe include stdlib.h
921 2005-04-10 Love Hörnquist Åstrand <lha@it.su.se>
923 * sha.h,md5.h, md4.h: don't include bit types, the user must do
928 2005-03-23 Love Hörnquist Åstrand <lha@it.su.se>
930 * des.h: fix prototype for DES_random_key
932 * rnd_keys.c: fix prototype for DES_random_key
934 * des.[ch]: provide compatibility function DES_key_sched, same as
937 2005-03-20 Love Hörnquist Åstrand <lha@it.su.se>
939 * destest.c: include config.h and protect some headers
941 * rnd_keys.c: move <des.h> to after include <krb5-types.h> so the
942 C99 integer types exists
944 2005-03-14 Love Hörnquist Åstrand <lha@it.su.se>
946 * des.c: add DES_set_key_checked
948 * des.h: add DES_set_key_checked
950 2005-03-01 Love Hörnquist Åstrand <lha@it.su.se>
952 * des-tables.h: Add the missing file
954 2005-02-23 Love Hörnquist Åstrand <lha@it.su.se>
956 * ui.c: remove dependency on asprintf
958 * Makefile.am: make destest only once
960 * Replace the eay DES code with key scheule setup code by me and DES
961 s-box and p permutation from Richard Outerbridge implemtation (in
962 public domain). The DES modes are implemented by me. ui.c code are
965 The implementation is about 3 times slower then Eric for encryption,
966 and about the same speed for key setup.
969 2004-08-10 Love Hörnquist Åstrand <lha@it.su.se>
971 * rnd_keys.c (DES_rand_data): also try /dev/arandom
973 2004-06-02 Love Hörnquist Åstrand <lha@it.su.se>
975 * rnd_keys.c: don't include krb4 headers
977 * rijndael-alg-fst.c: don't include krb4 headers
979 * aes.c: don't include krb4 headers
981 * aes.h: define AES_{EN,DE}CRYPT; remove #ifdefs, this is an
984 2004-04-25 Love Hörnquist Åstrand <lha@it.su.se>
986 * rc2.c: handle non blocksized cbc messages
988 * aes.[ch]: add AES_cbc_encrypt
990 2004-04-24 Love Hörnquist Åstrand <lha@it.su.se>
992 * rc2test.c: test vectors from RFC2268
994 * rc2.c (RC2_set_key): rewrite the mask calculation
996 * rc2.c (RC2_set_key): handle keys where effective bits are
997 diffrent from keylength
999 2004-04-23 Love Hörnquist Åstrand <lha@it.su.se>
1001 * rc2.c: rc2 implementation
1003 * rc2.h: rc2 implementation
1005 * rc2test.c: rc2 implementation
1007 * Makefile.am: rc2 implementation
1009 2004-03-25 Love Hörnquist Åstrand <lha@it.su.se>
1011 * Makefile.am: new arcfour implementation
1013 * rc4.c: implemented from description in
1014 draft-kaukonen-cipher-arcfour-03.txt
1016 * rc4.h: replace with new implementation
1018 * rc4_enc.c rc4_skey.c: remove
1020 * rctest.c: test for arcfour
1022 2003-12-07 Love Hörnquist Åstrand <lha@it.su.se>
1024 * rnd_keys.c: uninitialized variable, from Panasas Inc
1026 2003-09-03 Love Hörnquist Åstrand <lha@it.su.se>
1028 * md4.c (MD4_Final): make the function threadsafe by removing
1029 static on the local variable zeros
1031 * md5.c (MD5_Final): make the function threadsafe by removing
1032 static on the local variable zeros
1034 * switch to the DES_ api, dont provide any compat glue
1036 2003-08-27 Love Hörnquist Åstrand <lha@it.su.se>
1038 * sha.c: make the function threadsafe by removing static on the
1039 local variable zeros
1041 2003-07-23 Love Hörnquist Åstrand <lha@it.su.se>
1043 * rijndael-alg-fst.h,rijndael-alg-fst.c,aes.c,aes.h:
1044 Makefile.am: add AES support
1046 2003-03-19 Love Hörnquist Åstrand <lha@it.su.se>
1048 * des.1: sunOS -> SunOS, from jmc <jmc@prioris.mini.pw.edu.pl>
1050 2003-03-19 Love Hörnquist Åstrand <lha@it.su.se>
1052 * des.1: spelling, from <jmc@prioris.mini.pw.edu.pl>
1054 2002-08-28 Johan Danielsson <joda@pdc.kth.se>
1056 * read_pwd.c: move NeXT SGTTY stuff here
1058 2001-05-17 Assar Westerlund <assar@sics.se>
1060 * Makefile.am: bump version to 3:1:0
1062 2001-05-11 Assar Westerlund <assar@sics.se>
1064 * str2key.c (des_string_to_key, des_string_to_2keys): avoid weak
1067 2001-02-16 Assar Westerlund <assar@sics.se>
1069 * set_key.c: correct weak keys and update comment
1071 2001-02-14 Assar Westerlund <assar@sics.se>
1073 * set_key.c: correct the two last weak keys in accordance with
1074 FIPS 74. noted by <jhutz@cmu.edu>
1076 2001-01-30 Assar Westerlund <assar@sics.se>
1078 * Makefile.am (libdes_la_LDFLAGS): bump version to 3:0:0
1080 2000-10-19 Assar Westerlund <assar@sics.se>
1082 * Makefile.in (LIBSRC, LIBOBJ): add rc4* and enc_{read,write}
1083 files so that this library contains the same things as libdes in
1086 2000-08-16 Assar Westerlund <assar@sics.se>
1088 * Makefile.am: bump version to 2:1:0
1090 2000-08-03 Johan Danielsson <joda@pdc.kth.se>
1092 * enc_writ.c: BSIZE -> des_BSIZE to avoid conflicts with AIX
1095 * enc_read.c: BSIZE -> des_BSIZE to avoid conflicts with AIX
1098 * des_locl.h: BSIZE -> des_BSIZE to avoid conflicts with AIX
1101 2000-02-07 Assar Westerlund <assar@sics.se>
1103 * Makefile.am: set version to 2:0:0
1105 2000-01-26 Assar Westerlund <assar@sics.se>
1107 * mdtest.c: update to pseudo-standard APIs for md4,md5,sha.
1108 * md4.c, md4.h, md5.c, md5.h, sha.c, sha.h: move to the
1109 pseudo-standard APIs
1111 1999-12-06 Assar Westerlund <assar@sics.se>
1113 * Makefile.am: set version to 1:0:1
1115 1999-11-29 Assar Westerlund <assar@sics.se>
1117 * fcrypt.c (crypt_md5): add trailing $
1119 1999-11-13 Assar Westerlund <assar@sics.se>
1121 * Makefile.am (include_HEADERS): add rc4.h
1122 (libdes_la_SOURCES): add rc4_skey.c
1124 1999-10-28 Assar Westerlund <assar@sics.se>
1126 * md5crypt_test.c: change the test case. apparently we should not
1127 include $ after the salt. also make it print more useful stuff
1130 1999-10-20 Assar Westerlund <assar@sics.se>
1132 * Makefile.am: bump version to 0:2:0
1134 1999-09-21 Johan Danielsson <joda@pdc.kth.se>
1136 * des.h: make this work with mips 64-bit abi
1138 1999-08-14 Johan Danielsson <joda@pdc.kth.se>
1140 * fcrypt.c (crypt_md5): don't use snprintf
1142 1999-08-13 Assar Westerlund <assar@sics.se>
1144 * Makefile.am: add md5crypt_test
1146 * Makefile.in: add md5crypt_test
1148 * md5crypt_test.c: test md5 crypt
1150 * fcrypt.c: always enable md5 crypt
1152 1999-07-26 Johan Danielsson <joda@pdc.kth.se>
1154 * Makefile.am: bump version number (changes to md*, sha)
1156 1999-06-15 Assar Westerlund <assar@sics.se>
1158 * sha.c (swap_u_int32_t): add _CRAY
1160 Sat Apr 10 23:02:30 1999 Johan Danielsson <joda@hella.pdc.kth.se>
1162 * destest.c: fixes for crays
1164 Thu Apr 1 11:26:38 1999 Johan Danielsson <joda@hella.pdc.kth.se>
1166 * Makefile.am: noinst_PROGRAMS -> check_PROGRAMS; add TESTS; don't
1167 build rpw, and speed
1169 Mon Mar 22 20:16:26 1999 Johan Danielsson <joda@hella.pdc.kth.se>
1171 * Makefile.am: hash.h
1173 * sha.c: use hash.h; fixes for crays
1175 * md5.c: use hash.h; fixes for crays
1177 * md4.c: use hash.h; fixes for crays
1179 * hash.h: common stuff from md4, md5, and sha1
1181 Sat Mar 20 00:16:53 1999 Assar Westerlund <assar@sics.se>
1183 * rnd_keys.c (des_rand_data): move declaration to get rid of
1186 Thu Mar 18 11:22:28 1999 Johan Danielsson <joda@hella.pdc.kth.se>
1188 * Makefile.am: include Makefile.am.common
1190 Mon Mar 15 17:36:41 1999 Johan Danielsson <joda@hella.pdc.kth.se>
1192 * rnd_keys.c (des_rand_data): if not using setitimer, block
1193 SIGCHLD around fork(), also make sure we get the status of the
1195 (fake_signal): emulate signal using sigaction
1197 Tue Jan 12 05:06:54 1999 Assar Westerlund <assar@sics.se>
1199 * des.h: sparcv9 is also 64 bits, use `unsigned int' instead of
1202 Sun Nov 22 10:40:09 1998 Assar Westerlund <assar@sics.se>
1204 * Makefile.in (WFLAGS): set
1206 Mon May 25 05:24:56 1998 Assar Westerlund <assar@sics.se>
1208 * Makefile.in (clean): try to remove shared library debris
1210 Sun Apr 19 09:50:53 1998 Assar Westerlund <assar@sics.se>
1212 * Makefile.in: add symlink magic for linux
1214 Sun Nov 9 07:14:45 1997 Assar Westerlund <assar@sics.se>
1216 * mdtest.c: print out old and new string