2006-03-07 Love Hörnquist Åstrand * Makefile.am: EVP interface depends on dlopen, add it to LIBFLAGS 2006-02-28 Love Hörnquist Åstrand * Makefile.am: Add pkcs5 files. * test_pkcs5.c: Testcases for pkcs5 pbe2. * pkcs5.c (PKCS5_PBKDF2_HMAC_SHA1): new function. * hmac.c: Digest key when it exceeds block size, not when it exceeds the size of the output block. 2006-02-16 Love Hörnquist Åstrand * rand.c (RAND_bytes): Don't abort() on failure, return error. * bn.c (BN_rand): check return value from RAND_bytes 2006-01-18 Love Hörnquist Åstrand * dh.c (DH_compute_key): check public key * dh.h: Add DH_check_pubkey and defines it uses. * dh.c (DH_check_pubkey): New function. * bn.c: Remove unused fragment. * test_bn.c: Compare numbers with BN_cmp(). 2006-01-17 David Love * bn.c: Include . 2006-01-13 Love Hörnquist Åstrand * *.h: use #include * Makefile.am: provide a symlink so the directory hcrypto/ seems to exists * engine.h: Expose dsa symbols * Makefile.am: Rename library to hcrypto and install headerfiles in hcrypto/. * test_pkcs12.c: Test for PKCS12_key_gen. * hmac.h: Drop HMAC_CTX_create and HMAC_CTX_destroy. * engine.c (ENGINE_add_conf_module): Also load DH * dh.h: Reorder includes to avoid compile errors, provide DH_new_method(). * dh.c: Indent. * bn.c: BN_get_negative was really named BN_is_negative, a comment confused me. * bn.h: BN_get_negative was really named BN_is_negative, a comment confused me. * pkcs12.h: Add PKCS12_key_gen(). * pkcs12.c: Add PKCS12_key_gen(). * Makefile.am: Add test_cipher, test_pkcs12, add pkcs12.[ch]. * evp.c: Rename rc2_40_cbc internal variable to something better. Unbreak des-ede3-cbc. 2006-01-11 Love Hörnquist Åstrand * test_bn.c: Test BN_uadd. * bn.c (BN_rand): don't leak memory on failure, catch malloc(0) case * bn.c (BN_rand): clear the bits above the bits that user requested. (BN_uadd): new function. * bn.h (BN_uadd): new function. 2006-01-10 Love Hörnquist Åstrand * evp.c (EVP_CIPHER_CTX_cleanup): clean up less aggressively * Makefile.am (check_PROGRAMS): add test_hmac * test_hmac.c: Simple regression test for HMAC. * hmac.c: Make hmac work. * evp.c: return the right blocksize for digests. 2006-01-09 Love Hörnquist Åstrand * test_engine_dso.c: Add test for DH. * dh.c: Add DH_new_method, add ENGINE refcounting. * engine.[ch]: Add ENGINE_set_default_DH and ENGINE_get_default_DH * test_engine_dso.c: Add test for RSA encryption. 2006-01-08 Love Hörnquist Åstrand * test_engine_dso.c: Add test for RSA. * implement enough glue to support OpenSSLs EVP, RSA, DSA, DH, HMAC, RAND and ENGINE interfaces for use in hx509. rename all symbols to start with hc_ to avoid clobbering namespaces. contains no RSA/DH/DSA code, just glue to support using dynamic ENGINE. hx509 supports this via pkcs11 and there is a gmp ENGINE module supporting RSA. Also contains a MD2 digest for completion. 2005-07-20 Love Hörnquist Åstrand * des.c,des.h,rnd_keys.c: change unsigned char * to void * 2005-06-30 Love Hörnquist Åstrand * rnd_keys.c: const poision for unwriteable strings 2005-06-19 Love Hörnquist Åstrand * des.c,aes.c,rc2.c: Rename parameter, as encrypt shadows a global, from Andrew Bartlett 2005-06-02 Love Hörnquist Åstrand * rnd_keys.c: Include for srandom/random. 2005-05-29 Love Hörnquist Åstrand * des.c (DES_cbc_cksum): init u to make sure it have a value in case of the empty in data * destest.c: add test for the empty password "" 2005-05-27 Love Hörnquist Åstrand * rctest.c (cipher3): used unsigned char to avoid problems with platforms using "signed char" 2005-05-13 Love Hörnquist Åstrand * rc2.c: use unsigned char to avoid signess warning * des.c: use unsigned char to avoid signess warning * aes.c (AES_cbc_encrypt): use unsigned char to avoid signess warning 2005-05-03 Dave Love * mdtest.c: Fix typo for HAVE_STDLIB_H. 2005-05-03 Love Hörnquist Åstrand * rnd_keys.c: Enabled to build on cygwin, based on patch from David Love 2005-05-02 Dave Love * mdtest.c: Include . 2005-04-30 Love Hörnquist Åstrand * ui.c: Include . (UI_UTIL_read_pw_string): make the prompt argument const. * des.h (UI_UTIL_read_pw_string): make the prompt argument const * ui.c (UI_UTIL_read_pw_string): remove unused variable plen * des.c: replace with 2005-04-29 Dave Love * Makefile.am: Add LIB_roken. 2005-04-27 Dave Love * sha.c: Include hash.h first. * md4.c: Include hash.h first. * md5.c: Include hash.h first. * hash.h: Include krb5-types.h 2005-04-26 Dave Love * mdtest.c: Maybe include stdlib.h 2005-04-10 Love Hörnquist Åstrand * sha.h,md5.h, md4.h: don't include bit types, the user must do that #ifdef wrap * aes.h: #ifdef wrap 2005-03-23 Love Hörnquist Åstrand * des.h: fix prototype for DES_random_key * rnd_keys.c: fix prototype for DES_random_key * des.[ch]: provide compatibility function DES_key_sched, same as DES_set_key 2005-03-20 Love Hörnquist Åstrand * destest.c: include config.h and protect some headers * rnd_keys.c: move to after include so the C99 integer types exists 2005-03-14 Love Hörnquist Åstrand * des.c: add DES_set_key_checked * des.h: add DES_set_key_checked 2005-03-01 Love Hörnquist Åstrand * des-tables.h: Add the missing file 2005-02-23 Love Hörnquist Åstrand * ui.c: remove dependency on asprintf * Makefile.am: make destest only once * Replace the eay DES code with key scheule setup code by me and DES s-box and p permutation from Richard Outerbridge implemtation (in public domain). The DES modes are implemented by me. ui.c code are from appl/login. The implementation is about 3 times slower then Eric for encryption, and about the same speed for key setup. 2004-08-10 Love Hörnquist Åstrand * rnd_keys.c (DES_rand_data): also try /dev/arandom 2004-06-02 Love Hörnquist Åstrand * rnd_keys.c: don't include krb4 headers * rijndael-alg-fst.c: don't include krb4 headers * aes.c: don't include krb4 headers * aes.h: define AES_{EN,DE}CRYPT; remove #ifdefs, this is an installed file 2004-04-25 Love Hörnquist Åstrand * rc2.c: handle non blocksized cbc messages * aes.[ch]: add AES_cbc_encrypt 2004-04-24 Love Hörnquist Åstrand * rc2test.c: test vectors from RFC2268 * rc2.c (RC2_set_key): rewrite the mask calculation * rc2.c (RC2_set_key): handle keys where effective bits are diffrent from keylength 2004-04-23 Love Hörnquist Åstrand * rc2.c: rc2 implementation * rc2.h: rc2 implementation * rc2test.c: rc2 implementation * Makefile.am: rc2 implementation 2004-03-25 Love Hörnquist Åstrand * Makefile.am: new arcfour implementation * rc4.c: implemented from description in draft-kaukonen-cipher-arcfour-03.txt * rc4.h: replace with new implementation * rc4_enc.c rc4_skey.c: remove * rctest.c: test for arcfour 2003-12-07 Love Hörnquist Åstrand * rnd_keys.c: uninitialized variable, from Panasas Inc 2003-09-03 Love Hörnquist Åstrand * md4.c (MD4_Final): make the function threadsafe by removing static on the local variable zeros * md5.c (MD5_Final): make the function threadsafe by removing static on the local variable zeros * switch to the DES_ api, dont provide any compat glue 2003-08-27 Love Hörnquist Åstrand * sha.c: make the function threadsafe by removing static on the local variable zeros 2003-07-23 Love Hörnquist Åstrand * rijndael-alg-fst.h,rijndael-alg-fst.c,aes.c,aes.h: Makefile.am: add AES support 2003-03-19 Love Hörnquist Åstrand * des.1: sunOS -> SunOS, from jmc 2003-03-19 Love Hörnquist Åstrand * des.1: spelling, from 2002-08-28 Johan Danielsson * read_pwd.c: move NeXT SGTTY stuff here 2001-05-17 Assar Westerlund * Makefile.am: bump version to 3:1:0 2001-05-11 Assar Westerlund * str2key.c (des_string_to_key, des_string_to_2keys): avoid weak keys 2001-02-16 Assar Westerlund * set_key.c: correct weak keys and update comment 2001-02-14 Assar Westerlund * set_key.c: correct the two last weak keys in accordance with FIPS 74. noted by 2001-01-30 Assar Westerlund * Makefile.am (libdes_la_LDFLAGS): bump version to 3:0:0 2000-10-19 Assar Westerlund * Makefile.in (LIBSRC, LIBOBJ): add rc4* and enc_{read,write} files so that this library contains the same things as libdes in Heimdal 2000-08-16 Assar Westerlund * Makefile.am: bump version to 2:1:0 2000-08-03 Johan Danielsson * enc_writ.c: BSIZE -> des_BSIZE to avoid conflicts with AIX jfs/fsparam.h * enc_read.c: BSIZE -> des_BSIZE to avoid conflicts with AIX jfs/fsparam.h * des_locl.h: BSIZE -> des_BSIZE to avoid conflicts with AIX jfs/fsparam.h 2000-02-07 Assar Westerlund * Makefile.am: set version to 2:0:0 2000-01-26 Assar Westerlund * mdtest.c: update to pseudo-standard APIs for md4,md5,sha. * md4.c, md4.h, md5.c, md5.h, sha.c, sha.h: move to the pseudo-standard APIs 1999-12-06 Assar Westerlund * Makefile.am: set version to 1:0:1 1999-11-29 Assar Westerlund * fcrypt.c (crypt_md5): add trailing $ 1999-11-13 Assar Westerlund * Makefile.am (include_HEADERS): add rc4.h (libdes_la_SOURCES): add rc4_skey.c 1999-10-28 Assar Westerlund * md5crypt_test.c: change the test case. apparently we should not include $ after the salt. also make it print more useful stuff when failing. 1999-10-20 Assar Westerlund * Makefile.am: bump version to 0:2:0 1999-09-21 Johan Danielsson * des.h: make this work with mips 64-bit abi 1999-08-14 Johan Danielsson * fcrypt.c (crypt_md5): don't use snprintf 1999-08-13 Assar Westerlund * Makefile.am: add md5crypt_test * Makefile.in: add md5crypt_test * md5crypt_test.c: test md5 crypt * fcrypt.c: always enable md5 crypt 1999-07-26 Johan Danielsson * Makefile.am: bump version number (changes to md*, sha) 1999-06-15 Assar Westerlund * sha.c (swap_u_int32_t): add _CRAY Sat Apr 10 23:02:30 1999 Johan Danielsson * destest.c: fixes for crays Thu Apr 1 11:26:38 1999 Johan Danielsson * Makefile.am: noinst_PROGRAMS -> check_PROGRAMS; add TESTS; don't build rpw, and speed Mon Mar 22 20:16:26 1999 Johan Danielsson * Makefile.am: hash.h * sha.c: use hash.h; fixes for crays * md5.c: use hash.h; fixes for crays * md4.c: use hash.h; fixes for crays * hash.h: common stuff from md4, md5, and sha1 Sat Mar 20 00:16:53 1999 Assar Westerlund * rnd_keys.c (des_rand_data): move declaration to get rid of warning Thu Mar 18 11:22:28 1999 Johan Danielsson * Makefile.am: include Makefile.am.common Mon Mar 15 17:36:41 1999 Johan Danielsson * rnd_keys.c (des_rand_data): if not using setitimer, block SIGCHLD around fork(), also make sure we get the status of the child process (fake_signal): emulate signal using sigaction Tue Jan 12 05:06:54 1999 Assar Westerlund * des.h: sparcv9 is also 64 bits, use `unsigned int' instead of `unsigned long' Sun Nov 22 10:40:09 1998 Assar Westerlund * Makefile.in (WFLAGS): set Mon May 25 05:24:56 1998 Assar Westerlund * Makefile.in (clean): try to remove shared library debris Sun Apr 19 09:50:53 1998 Assar Westerlund * Makefile.in: add symlink magic for linux Sun Nov 9 07:14:45 1997 Assar Westerlund * mdtest.c: print out old and new string