libgcrypt.git
15 years ago2003-09-02 Moritz Schulte <mo@g10code.com>
Moritz Schulte [Tue, 2 Sep 2003 00:42:41 +0000 (00:42 +0000)]
2003-09-02  Moritz Schulte  <mo@g10code.com>

* primegen.c (gcry_prime_check, gcry_prime_generate): New
functions.
(prime_generate_internal): New function, based on
_gcry_generate_elg_prime.
(_gcry_generate_elg_prime): Rewritten as a wrapper for
prime_generate_internal.

15 years ago(Working with hash algorithms): Clarified that HMAC
Werner Koch [Sat, 30 Aug 2003 10:05:23 +0000 (10:05 +0000)]
(Working with hash algorithms): Clarified that HMAC
does not work with all algorithms.

16 years ago* acinclude.m4 (GNUPG_SYS_SYMBOL_UNDERSCORE): Re-implemented.
Werner Koch [Fri, 29 Aug 2003 08:47:40 +0000 (08:47 +0000)]
* acinclude.m4 (GNUPG_SYS_SYMBOL_UNDERSCORE): Re-implemented.
* configure.ac: Use it here.

16 years ago(libgcrypt_pth_la_LDFLAGS): Removed PTH_CFLAGS cruft.
Werner Koch [Thu, 28 Aug 2003 14:24:26 +0000 (14:24 +0000)]
(libgcrypt_pth_la_LDFLAGS): Removed PTH_CFLAGS cruft.

16 years ago(gcry_pk_encrypt): Don't include the flags list in the
Werner Koch [Thu, 28 Aug 2003 14:24:05 +0000 (14:24 +0000)]
(gcry_pk_encrypt): Don't include the flags list in the
return value.  This does not make sense and breaks any programs
parsing the output strictly (e.g. current gpgsm).
(gcry_pk_encrypt): If aliases for the algorithm name exists, take
the first one instead of the regular name to adhere to SPKI
conventions.
(gcry_pk_genkey): Ditto.
(gcry_pk_sign): Ditto. Removed unused KEY_ALGO_NAME.

16 years ago2003-08-19 Moritz Schulte <mo@g10code.com>
Moritz Schulte [Wed, 27 Aug 2003 16:41:22 +0000 (16:41 +0000)]
2003-08-19  Moritz Schulte  <mo@g10code.com>

* cipher.c: Add support for Serpent
* serpent.c: New file.

2003-08-10  Moritz Schulte  <moritz@g10code.com>

* rsa.c (_gcry_rsa_blind, _gcry_rsa_unblind): Declare static.

16 years ago2003-08-27 Moritz Schulte <mo@g10code.com>
Moritz Schulte [Wed, 27 Aug 2003 16:36:41 +0000 (16:36 +0000)]
2003-08-27  Moritz Schulte  <mo@g10code.com>

* basic.c (check_ciphers): Added: Serpent.
Write braces around flags.

16 years ago2003-08-27 Moritz Schulte <mo@g10code.com>
Moritz Schulte [Wed, 27 Aug 2003 16:04:01 +0000 (16:04 +0000)]
2003-08-27  Moritz Schulte  <mo@g10code.com>

* global.c (gcry_control): Remove call to ath_deinit.

* Makefile.am (libgcrypt_real_la_DEPENDENCIES): Fixed.
(libgcrypt_real_la_LIBADD): Fixed.
Removed unecessary variables.

16 years ago2003-08-19 Marcus Brinkmann <marcus@g10code.de>
Moritz Schulte [Wed, 27 Aug 2003 15:04:07 +0000 (15:04 +0000)]
2003-08-19  Marcus Brinkmann  <marcus@g10code.de>

* Makefile.am (SUFFIXES): New variable.
(.S.o, .S.lo, .S.obj): Rewritten.

16 years ago2003-08-27 Moritz Schulte <mo@g10code.com>
Moritz Schulte [Wed, 27 Aug 2003 14:53:29 +0000 (14:53 +0000)]
2003-08-27  Moritz Schulte  <mo@g10code.com>

* libgcrypt-config.in: Adjusted script for new thread handling.

* Makefile.am: New version, based on GPGMEs Makefile.am.

* ath.c, ath-compat.c, ath.h, ath-pth.c, ath-pth-compat.c,
ath-pthread.c, ath-pthread-compat.c: New files, merged from GPGME.
* ath.c, ath.h, ath-pthread.c, ath-pth.c: Removed files.

16 years ago2003-08-27 Moritz Schulte <mo@g10code.com>
Moritz Schulte [Wed, 27 Aug 2003 14:48:23 +0000 (14:48 +0000)]
2003-08-27  Moritz Schulte  <mo@g10code.com>

* configure.ac: Substitute: LIBGCRYPT_CONFIG_LIBS_PTHREAD,
LIBGCRYPT_CONFIG_CFLAGS_PTHREAD, LIBGCRYPT_CONFIG_LIBS_PTH,
LIBGCRYPT_CONFIG_CFLAGS_PTH, LIBGCRYPT_THREAD_MODULES.

16 years ago2003-08-09 Timo Schulz <twoaday@freakmail.de>
Timo Schulz [Sat, 9 Aug 2003 17:21:36 +0000 (17:21 +0000)]
2003-08-09  Timo Schulz  <twoaday@freakmail.de>

        * random.c (getfnc_gather_random): Don't check NAME_OF_DEV_RANDOM
        two times, but also the NAME_OF_DEV_URANDOM device.

16 years ago2003-08-08 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Fri, 8 Aug 2003 01:42:54 +0000 (01:42 +0000)]
2003-08-08  Moritz Schulte  <moritz@g10code.com>

* global.c (gcry_realloc): Remove FIXME about `clearing out
realloced memory', since _gcry_secmem_realloc takes care of
overwriting old memory.

16 years ago2003-08-08 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Thu, 7 Aug 2003 22:36:35 +0000 (22:36 +0000)]
2003-08-08  Moritz Schulte  <moritz@g10code.com>

* pubkey.c (sexp_to_enc): Fixed extraction of S-Expression: do not
fail if no `flags' sub S-Expression is found.

16 years ago2003-08-07 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Thu, 7 Aug 2003 14:51:44 +0000 (14:51 +0000)]
2003-08-07  Moritz Schulte  <moritz@g10code.com>

* configure.ac: Fail, if libgpg-error could not be found.

16 years ago(_gcry_module_release): Don't act if module is NULL.
Werner Koch [Thu, 7 Aug 2003 06:20:53 +0000 (06:20 +0000)]
(_gcry_module_release): Don't act if module is NULL.

16 years ago2003-08-04 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Mon, 4 Aug 2003 16:45:06 +0000 (16:45 +0000)]
2003-08-04  Moritz Schulte  <moritz@g10code.com>

* benchmark.c (do_powm): Adjust for new gcry_mpi_scan interface.

16 years agoBumbed version number for next development cycle
Werner Koch [Thu, 31 Jul 2003 06:41:49 +0000 (06:41 +0000)]
Bumbed version number for next development cycle

16 years agoautoupdate of version number V1-1-42
Werner Koch [Thu, 31 Jul 2003 06:36:55 +0000 (06:36 +0000)]
autoupdate of version number

16 years agoAbout to release 1.1.42
Werner Koch [Thu, 31 Jul 2003 05:59:01 +0000 (05:59 +0000)]
About to release 1.1.42

16 years agoUpdated from ftp.gnu.org/gnu/config/
Werner Koch [Wed, 30 Jul 2003 17:04:03 +0000 (17:04 +0000)]
Updated from ftp.gnu.org/gnu/config/

16 years ago2003-07-30 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Wed, 30 Jul 2003 16:42:51 +0000 (16:42 +0000)]
2003-07-30  Moritz Schulte  <moritz@g10code.com>

* gcrypt.texi (Available asymmetric algorithms): Mention
GCRY_AC_ELG_E.

16 years agoMore news items
Werner Koch [Wed, 30 Jul 2003 13:37:34 +0000 (13:37 +0000)]
More news items

16 years ago(Maintainer): Assigned Moritz as Maintainer.
Werner Koch [Wed, 30 Jul 2003 13:13:47 +0000 (13:13 +0000)]
(Maintainer): Assigned Moritz as Maintainer.

16 years ago2003-07-30 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Wed, 30 Jul 2003 11:39:15 +0000 (11:39 +0000)]
2003-07-30  Moritz Schulte  <moritz@g10code.com>

* longlong.h (__clz_tab): Renamed to _gcry_clz_tab.
* mpi-bit.c (__clz_tab): Likewise.

16 years ago2003-07-30 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Wed, 30 Jul 2003 10:52:12 +0000 (10:52 +0000)]
2003-07-30  Moritz Schulte  <moritz@g10code.com>

* NEWS: Include much more complete list of `Interface changes
relative to the 1.1.12 release'.

16 years agocomment fix
Werner Koch [Wed, 30 Jul 2003 07:54:12 +0000 (07:54 +0000)]
comment fix

16 years ago2003-07-30 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Tue, 29 Jul 2003 22:53:03 +0000 (22:53 +0000)]
2003-07-30  Moritz Schulte  <moritz@g10code.com>

* gcrypt.h (enum gcry_ac_id): Added: GCRY_AC_ELG_E.
Reverted change: use gcry_md_flags enumeration list instead of
defines.

16 years ago* gcrypt.h: Renamed index to idx, so avoid warning
Werner Koch [Tue, 29 Jul 2003 12:48:44 +0000 (12:48 +0000)]
* gcrypt.h: Renamed index to idx, so avoid warning
related to the old index function.

16 years ago* global.c (gcry_control): Add GCRYCTL_SET_RANDOM_SEED_FILE and
Werner Koch [Tue, 29 Jul 2003 08:47:39 +0000 (08:47 +0000)]
* global.c (gcry_control): Add GCRYCTL_SET_RANDOM_SEED_FILE and
GCRYCTL_UPDATE_RANDOM_SEED_FILE.
* gcrypt.h: Ditto.

16 years ago2003-07-28 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Mon, 28 Jul 2003 13:25:00 +0000 (13:25 +0000)]
2003-07-28  Moritz Schulte  <moritz@g10code.com>

* global.c (gcry_err_code_from_errno, gcry_err_code_to_errno)
(gcry_err_make_from_errno, gcry_error_from_errno): New functions.

* gcrypt.h: Declared: gcry_err_code_from_errno,
gcry_err_code_to_errno, gcry_err_make_from_errno,
gcry_error_from_errno.

16 years agoImproved.
Moritz Schulte [Mon, 28 Jul 2003 13:19:43 +0000 (13:19 +0000)]
Improved.

16 years agoActually include gcrypt-module.h
Werner Koch [Mon, 28 Jul 2003 12:10:36 +0000 (12:10 +0000)]
Actually include gcrypt-module.h

16 years agoMinor char * to unsigned char* changes. The general rule is to use
Werner Koch [Mon, 28 Jul 2003 12:06:42 +0000 (12:06 +0000)]
Minor char * to unsigned char* changes.  The general rule is to use
unsigned char * for memory buffers which are not Nul-terminated

16 years ago2003-07-28 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Mon, 28 Jul 2003 10:37:28 +0000 (10:37 +0000)]
2003-07-28  Moritz Schulte  <moritz@g10code.com>

(General public-key related Functions): Fixed some sentences,
thanks to Neil Spring.

16 years ago2003-07-28 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Mon, 28 Jul 2003 10:17:44 +0000 (10:17 +0000)]
2003-07-28  Moritz Schulte  <moritz@g10code.com>

* Makefile.am (include_HEADERS): Added: gcrypt-module.h.

* gcrypt.h: Include <gcrypt-module.h>.

* gcrypt-module.h: New file.

16 years ago2003-07-28 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Mon, 28 Jul 2003 09:52:49 +0000 (09:52 +0000)]
2003-07-28  Moritz Schulte  <moritz@g10code.com>

* gcrypt.texi (Working with keys): Mention that gcry_pk_testkey
and gcry_ac_key_test only verify private keys.
(Working with keys): Fix typo.

16 years ago* md.c (gcry_md_lookup_func_oid): Allow for empty OID lists.
Werner Koch [Sun, 27 Jul 2003 20:47:07 +0000 (20:47 +0000)]
* md.c (gcry_md_lookup_func_oid): Allow for empty OID lists.

16 years agoNew file with hints on changing applications for the new API.
Werner Koch [Sun, 27 Jul 2003 17:22:35 +0000 (17:22 +0000)]
New file with hints on changing applications for the new API.
unfinished....

16 years ago* gcrypt.h (gcry_mpi_scan, gcry_mpi_print): API change.
Werner Koch [Sun, 27 Jul 2003 11:41:12 +0000 (11:41 +0000)]
* gcrypt.h (gcry_mpi_scan, gcry_mpi_print): API change.
(gcry_mpi_dump): New.

* mpicoder.c (gcry_mpi_scan): New argument BUFLEN to replace the
use of the intial value of NBYTES.
(gcry_mpi_print): Likewise.
(gcry_mpi_dump): New.
(_gcry_log_mpidump): Make use of gcry_mpi_dump.
(mpi_print): Removed.
(gcry_mpi_scan): Allocated mpi in secure memory when required.

* gcrypt.texi: Adjusted description of gcry_mpi_scan and
gcry_mpi_dump. Add gcry_mpi_dump.

16 years ago2003-07-23 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Wed, 23 Jul 2003 16:14:38 +0000 (16:14 +0000)]
2003-07-23  Moritz Schulte  <moritz@g10code.com>

* ac.c (key_copy): New function...
(check_one): ... use it.

16 years agoMoved mail address of a bug reporter from ChangeLog to THANKS for
Werner Koch [Wed, 23 Jul 2003 07:39:34 +0000 (07:39 +0000)]
Moved mail address of a bug reporter from ChangeLog to THANKS for
anti-spam reasons and easier maintenance of changed addresses.

16 years ago2003-07-23 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Tue, 22 Jul 2003 22:28:34 +0000 (22:28 +0000)]
2003-07-23  Moritz Schulte  <moritz@g10code.com>

* ac.c (gcry_ac_data_construct): New argument: include_flags, only
include `flags' S-expression, if include_flags is true.  Adjust
callers.  Thanks for triggering a bug caused by `flags'
sub-S-expression where they are not expected to Ralf Schneider
<ralf@tapfere-schneiderleins.de>.

16 years ago2003-07-22 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Mon, 21 Jul 2003 22:51:40 +0000 (22:51 +0000)]
2003-07-22  Moritz Schulte  <moritz@g10code.com>

* basic.c (check_ciphers): Use gcry_cipher_map_name.

2003-07-18  Moritz Schulte  <moritz@g10code.com>

* ac.c (check_run): Renamed to ...
(check_one): ... this, changed calling interface.
(check_run): New function.

* register.c: Adjust gcry_cipher_spec_t structure.

16 years ago2003-07-22 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Mon, 21 Jul 2003 22:48:13 +0000 (22:48 +0000)]
2003-07-22  Moritz Schulte  <moritz@g10code.com>

* gcrypt.texi: Added more documentation for the register
mechanism.

16 years ago2003-07-21 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Mon, 21 Jul 2003 22:44:06 +0000 (22:44 +0000)]
2003-07-21  Moritz Schulte  <moritz@g10code.com>

* gcrypt.h: Declared: gcry_ac_key_data_get.
(gcry_pk_spec): Renamed member `sexp_names' into `aliases'.

2003-07-20  Moritz Schulte  <moritz@g10code.com>

* gcrypt.h (gcry_md_oid_spec_t): New type.
(gcry_md_spec): New member: oids.

2003-07-19  Moritz Schulte  <moritz@g10code.com>

* gcrypt.h (gcry_cipher_oid_spec_t): New type.
(gcry_cipher_spec): New member: oids;

16 years ago2003-07-21 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Mon, 21 Jul 2003 22:38:51 +0000 (22:38 +0000)]
2003-07-21  Moritz Schulte  <moritz@g10code.com>

* pubkey.c (gcry_pk_lookup_func_name): Use new member name
`aliases' instead of `sexp_names'.

* ac.c (gcry_ac_key_data_get): New function.

* cipher.c (gcry_cipher_lookup_func_name): Fix return value.

2003-07-20  Moritz Schulte  <moritz@g10code.com>

* blowfish.c: Adjusted for new gcry_cipher_spec_t structure.
* cast5.c: Likewise.
* twofish.c: Likewise.
* arcfour.c: Likewise.
* rijndael.c (rijndael_oids, rijndael192_oids, rijndael256_oids):
New variables, adjust for new gcry_cipher_spec_t structure.
* des.c (oids_tripledes): New variable, adjust for new
gcry_cipher_spec_t structure.

* md.c (oid_table): Removed.

* tiger.c (oid_spec_tiger): New variable.
(digest_spec_tiger): Adjusted for new gry_md_spec_t structure.

* sha512.c (oid_spec_sha512): New variable.
(digest_spec_sha512): Adjusted for new gry_md_spec_t structure.

* sha512.c (oid_spec_sha384): New variable.
(digest_spec_sha384): Adjusted for new gry_md_spec_t structure.

* sha256.c (oid_spec_sha256): New variable.
(digest_spec_sha256): Adjusted for new gry_md_spec_t structure.

* sha1.c (oid_spec_sha1): New variable.
(digest_spec_sha1): Adjusted for new gry_md_spec_t structure.

* rmd160.c (oid_spec_rmd160): New variable.
(digest_spec_rnd160): Adjusted for new gry_md_spec_t structure.

* md5.c (oid_spec_md5): New variable.
(digest_spec_md5): Adjusted for new gry_md_spec_t structure.

* md4.c (oid_spec_md4): New variable.
(digest_spec_md4): Adjusted for new gry_md_spec_t structure.

* crc.c (digest_spec_crc32, digest_spec_crc32_rfc1510,
digest_spec_crc32_rfc2440): Adjusted for new gry_md_spec_t
structure.

2003-07-19  Moritz Schulte  <moritz@g10code.com>

* md.c (gcry_md_lookup_func_oid): New function.
(search_oid): New function, copied from cipher.c.
(gcry_md_map_name): Adjust for new search_oid_interface.

* cipher.c (oid_table): Removed table.
(gcry_cipher_lookup_func_oid): New function.
(search_oid): Rewritten to use the module functions.
(gcry_cipher_map_name): Adjust for new search_oid interface.
(gcry_cipher_mode_from_oid): Likewise.

16 years agoForgot to fix the conflict here.
Werner Koch [Fri, 18 Jul 2003 13:45:21 +0000 (13:45 +0000)]
Forgot to fix the conflict here.

16 years ago* gcrypt.h (gcry_mpi_set_opaque): Add a warning comment.
Werner Koch [Fri, 18 Jul 2003 13:44:36 +0000 (13:44 +0000)]
* gcrypt.h (gcry_mpi_set_opaque): Add a warning comment.

16 years ago* gcrypt.texi (Misc): Add a warning on the use of opaque values.
Werner Koch [Fri, 18 Jul 2003 11:44:42 +0000 (11:44 +0000)]
* gcrypt.texi (Misc): Add a warning on the use of opaque values.

16 years agoTODO: We need to describe all API changes in NEW before a release.
Werner Koch [Fri, 18 Jul 2003 11:34:07 +0000 (11:34 +0000)]
TODO: We need to describe all API changes in NEW before a release.

16 years ago* md.c (gcry_md_hash_buffer): Convert ERR to gpg_error_t in
Werner Koch [Fri, 18 Jul 2003 11:31:20 +0000 (11:31 +0000)]
* md.c (gcry_md_hash_buffer): Convert ERR to gpg_error_t in
gpg_strerror.
Solved a few conflicts.

16 years ago2003-07-15 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Mon, 14 Jul 2003 22:55:36 +0000 (22:55 +0000)]
2003-07-15  Moritz Schulte  <moritz@g10code.com>

* secmem.c (compress_pool): Remove function, since unused blocks
are automatically concatenad.

16 years ago*** empty log message ***
Moritz Schulte [Mon, 14 Jul 2003 22:38:06 +0000 (22:38 +0000)]
*** empty log message ***

16 years ago2003-07-14 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Mon, 14 Jul 2003 22:36:44 +0000 (22:36 +0000)]
2003-07-14  Moritz Schulte  <moritz@g10code.com>

* cipher.c (gcry_cipher_lookup_func_name): Also check the cipher
name aliases, not just the primary name.
(gcry_cipher_map_name): Remove kludge for aliasing Rijndael to
AES.

* arcfour.c, blowfish.c, cast5.c, des.c, twofish.c: Adjust cipher
specification structures.

* rijndael.c (rijndael_names, rijndael192_names,
rijndael256_names): New variables, use them in the cipher
specifications.

* rmd160test.c: Removed file.

* ac.c, arcfour.c, blowfish.c, cast5.c, cipher.c, des.c, dsa.c,
elgamal.c, md.c, pubkey.c, random.c, rijndael.c, rsa.c, twofish.c:
Used gcry_err* wrappers for libgpg symbols.

* primegen.c (gen_prime): Correct the order arguments to
extra_check.

2003-07-12  Moritz Schulte  <moritz@g10code.com>

* ac.c: Replaced all public occurences of gpg_error_t with
gcry_error_t.
* cipher.c: Likewise.
* md.c: Likewise.
* pubkey.c: Likewise.
* random.c: Likewise.

* cipher.c: Added support for TWOFISH128.

16 years ago2003-07-14 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Mon, 14 Jul 2003 22:34:22 +0000 (22:34 +0000)]
2003-07-14  Moritz Schulte  <moritz@g10code.com>

* rmd160test.c: Removed file.

16 years ago2003-07-15 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Mon, 14 Jul 2003 22:33:41 +0000 (22:33 +0000)]
2003-07-15  Moritz Schulte  <moritz@g10code.com>

* gcrypt.h: Bumped version number up to 1.1.42-cvs.

2003-07-14  Moritz Schulte  <moritz@g10code.com>

* gcrypt.h (gcry_cipher_spec): New member: aliases.

* Makefile.am (noinst_PROGRAMS, testapi_SOURCES, testapai_LDADD,
benchmark_SOURCES, benchmark_LDADD): Removed.

* benchmark.c, testapi.c: Removed files.

* mpi.h: Removed disabled typedef.
* g10lib.h: Likewise.

* benchmark.c, g10lib.h, gcrypt.h, global.c, module.c, sexp.c:
Used gcry_err* wrappers for libgpg-error symbols.

2003-07-12  Moritz Schulte  <moritz@g10code.com>

* global.c: Likewise.

* gcrypt.h: New type: gcry_error_t, gcry_err_code_t and
gcry_err_source_t.
(gcry_err_make, gcry_error, gcry_err_code, gcry_err_source): New
functions.

* global.c (gcry_strerror): New function.
(gcry_strsource): New function.

* gcrypt.h: New symbol: GCRY_CIPHER_TWOFISH128.

2003-07-09  Moritz Schulte  <moritz@g10code.com>

* gcrypt.h (enum gcry_md_flags): Removed, used define instead,
since that is more common than an enumeration list when it comes
to flags that can be bitwise ORed.

16 years ago2003-07-14 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Mon, 14 Jul 2003 22:26:09 +0000 (22:26 +0000)]
2003-07-14  Moritz Schulte  <moritz@g10code.com>

* mpicoder.c: Used gcry_err* wrappers for libgpg-error symbols.

16 years ago2003-07-14 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Mon, 14 Jul 2003 22:25:58 +0000 (22:25 +0000)]
2003-07-14  Moritz Schulte  <moritz@g10code.com>

* benchmark.c: New file.
* testapi.c: New file.

16 years ago2003-07-14 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Mon, 14 Jul 2003 22:24:35 +0000 (22:24 +0000)]
2003-07-14  Moritz Schulte  <moritz@g10code.com>

* register.c: Adjust cipher specification structure.

* Makefile.am (EXTRA_PROGRAMS): Set to: benchmark testapi.
(check_PROGRAMS): Set to: $(TESTS).

2003-07-12  Moritz Schulte  <moritz@g10code.com>

* ac.c, basic.c, keygen.c, register.c, sexp.c, tsexp.c: Used
gcry_err* wrappers for libgpg symbols.

* basic.c (check_ciphers): Added: GCRY_CIPHER_TWOFISH128.

16 years ago2003-07-14 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Mon, 14 Jul 2003 22:23:02 +0000 (22:23 +0000)]
2003-07-14  Moritz Schulte  <moritz@g10code.com>

* gcrypt.texi (Overview): Mention the non-thread-safe-nature of
functions modifying context stored in handles.

2003-07-12  Moritz Schulte  <moritz@g10code.com>

* gcrypt.texi (Available ciphers): Added: TWOFISH128.
(Error Handling): Merged a lot of documentation taken from GPGME.

16 years ago2003-07-14 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Mon, 14 Jul 2003 22:20:27 +0000 (22:20 +0000)]
2003-07-14  Moritz Schulte  <moritz@g10code.com>

* benchmark.c, testapi.c: Removed files.

16 years ago2003-07-14 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Mon, 14 Jul 2003 22:20:05 +0000 (22:20 +0000)]
2003-07-14  Moritz Schulte  <moritz@g10code.com>

* configure.ac: Bumbed version number up to 1.1.42-cvs.

2003-07-09  Moritz Schulte  <moritz@g10code.com>

* configure.ac: Reintroduce --disable-asm, since it is needed by
mpi/config.links.

16 years ago2003-07-08 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Tue, 8 Jul 2003 19:00:16 +0000 (19:00 +0000)]
2003-07-08  Moritz Schulte  <moritz@g10code.com>

* gcrypt.texi (Working with sets of data): Documented:
gcry_ac_data_copy.

16 years ago2003-07-08 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Tue, 8 Jul 2003 18:59:55 +0000 (18:59 +0000)]
2003-07-08  Moritz Schulte  <moritz@g10code.com>

* gcrypt.h: Declare: gcry_ac_data_copy.

16 years agoImprove.
Moritz Schulte [Tue, 8 Jul 2003 18:58:41 +0000 (18:58 +0000)]
Improve.

16 years ago2003-07-08 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Tue, 8 Jul 2003 18:58:10 +0000 (18:58 +0000)]
2003-07-08  Moritz Schulte  <moritz@g10code.com>

* ac.c (gcry_ac_data_copy_internal): New function, based on
gcry_ac_data_copy.
(gcry_ac_data_copy): Made public, use gcry_ac_data_copy_internal.
(gcry_ac_key_init): Use gcry_ac_data_copy_internal.

16 years ago2003-07-08 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Tue, 8 Jul 2003 12:35:00 +0000 (12:35 +0000)]
2003-07-08  Moritz Schulte  <moritz@g10code.com>

* Makefile.am (LIBS): Remove: -lpthread.

16 years ago2003-07-08 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Tue, 8 Jul 2003 12:32:10 +0000 (12:32 +0000)]
2003-07-08  Moritz Schulte  <moritz@g10code.com>

* basic.c (check_one_cipher): Fix variable initialization.  Thanks
to Simon Joseffson <jas@extundo.com>.

16 years ago2003-07-07 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Mon, 7 Jul 2003 16:44:30 +0000 (16:44 +0000)]
2003-07-07  Moritz Schulte  <moritz@g10code.com>

* autogen.sh: Undo last change.

16 years ago2003-07-07 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Mon, 7 Jul 2003 16:38:55 +0000 (16:38 +0000)]
2003-07-07  Moritz Schulte  <moritz@g10code.com>

* sexp.c (gcry_sexp_build_array): Use dummy argument pointer.
Thanks to Simon Josefsson <jas@extunde.com>.

16 years ago*** empty log message ***
Moritz Schulte [Mon, 7 Jul 2003 16:32:49 +0000 (16:32 +0000)]
*** empty log message ***

16 years ago2003-07-07 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Mon, 7 Jul 2003 16:30:11 +0000 (16:30 +0000)]
2003-07-07  Moritz Schulte  <moritz@g10code.com>

* Makefile.am (TESTS): Added: register.

2003-07-05  Moritz Schulte  <moritz@g10code.com>

* register.c (check_run): Adjusted for new gcry_cipher_register API.

16 years agoCosmetic improvement.
Moritz Schulte [Mon, 7 Jul 2003 16:26:29 +0000 (16:26 +0000)]
Cosmetic improvement.

16 years ago2003-07-07 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Mon, 7 Jul 2003 16:25:28 +0000 (16:25 +0000)]
2003-07-07  Moritz Schulte  <moritz@g10code.com>

* autogen.sh: Remove -a argument for automake.

16 years agoUpdated.
Moritz Schulte [Mon, 7 Jul 2003 16:25:04 +0000 (16:25 +0000)]
Updated.

16 years ago2003-07-07 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Mon, 7 Jul 2003 16:23:54 +0000 (16:23 +0000)]
2003-07-07  Moritz Schulte  <moritz@g10code.com>

* gcrypt.texi: Documented module system.

2003-07-05  Moritz Schulte  <moritz@g10code.com>

* gcrypt.texi (Working with cipher handles): Small fix by Simon
Josefsson <jas@extundo.com>.

16 years ago2003-07-07 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Mon, 7 Jul 2003 16:21:36 +0000 (16:21 +0000)]
2003-07-07  Moritz Schulte  <moritz@g10code.com>

* ac.c (gcry_ac_data_set): Only release old MPI value if it is
different from the new value.

* pubkey.c (gcry_pk_list): New function.
* md.c (gcry_md_list): New function.

* ac.c (gcry_ac_key_pair_generate): Fix calculation of format
string size.

2003-07-05  Moritz Schulte  <moritz@g10code.com>

* md.c: Named struct of digest_table `digest_table_entry'.
(digest_table_entry): New member: algorithm; filled in.
(digest_table_entry): Removed unused member: flags.
(gcry_md_register): New argument: algorithm_id, filled in.
(gcry_md_register_default): Used algorithm ID from module
structure.
(gcry_md_map_name): Likewise.
(md_enable): Likewise.
(md_read): Likewise.
(gcry_md_info): Likewise.

* pubkey.c: Named truct for pubkey_table `pubkey_table_entry'.
(pubkey_table_entry): New member: algorithm; filled in.
(gcry_pk_register_default): Used algorithm ID from pubkey_table.
(gcry_pk_register): New argument: algorithm_id, filled in.
(gcry_pk_map_name): Used algorithm ID from module structure.
(gcry_pk_decrypt): Likewise.
(gcry_pk_encrypt): Likewise.
(gcry_pk_verify): Likewise.
(gcry_pk_sign): Likewise.
(gcry_pk_testkey): Likewise.
(gcry_pk_genkey): Likewise.
(gcry_pk_get_nbits): Likewise.
(sexp_to_key): Removed unused variable: algo.
(sexp_to_sig): Likewise.

* cipher.c: Named struct for cipher_table `cipher_table_entry'.
(cipher_table_entry): New member: algorithm; filled in.
(gcry_cipher_register_default): Used algorithm ID from
cipher_table.
(gcry_cipher_register): New argument: algorithm_id, filled in.
(gcry_cipher_map_name): Used algorithm ID from module structure.

* arcfour.c (cipher_spec_arcfour): Removed algorithm ID.
* blowfish.c (cipher_spec_blowfish): Likewise.
* cast5.c (cipher_spec_cast5): Likewise.
* crc.c (digest_spec_crc32): Likewise.
* crc.c (digest_spec_crc32_rfc1510): Likewise.
* crc.c (digest_spec_crc32_rfc2440): Likewise.
* des.c (cipher_spec_des): Likewise.
* des.c (cipher_spec_tripledes): Likewise.
* dsa.c (pubkey_spec_dsa): Likewise.
* elgamal.c (pubkey_spec_elg): Likewise.
* md4.c (digest_spec_md4): Likewise.
* md5.c (digest_spec_md5): Likewise.
* aes.c (cipher_spec_aes): Likewise.
* aes.c (cipher_spec_aes192): Likewise.
* aes.c (cipher_spec_aes256): Likewise.
* rsa.c (pubkey_spec_rsa): Likewise.
* sha1.c (digest_spec_sha1): Likewise.
* sha256.c (digest_spec_sha256): Likewise.
* sha512.c (digest_spec_sha512): Likewise.
* tiger.c (digest_spec_tiger): Likewise.
* twofish.c (cipher_spec_twofish): Likewise.
* twofish.c (cipher_spec_twofish128): Likewise.

* Makefile.am (EXTRA_libcipher_la_SOURCES): Fix list of source
files; reported by Simon Josefsson <jas@extundo.com>.

* pubkey.c: Replaced all occurences of `id' with `algorithm',
since `id' is a keyword in obj-c.
* md.c: Likewise.
* cipher.c: Likewise.

* crc.c, md4.c, md5.c, rmd160.c, sha1.c, sha256.c, tiger.c:
Replaced all occurences of gcry_digest_spec_t with gcry_md_spec_t.

* dsa.c, rsa.c, elgamal.c: Replaced all occurencens of
gcry_pubkey_spec_t with gcry_pk_spec_t.

* md.c: Replaced all occurences of gcry_digest_spec_t with
gcry_md_spec_t.
(gcry_digest_register_default): Renamed to ...
(gcry_md_register_default): ... this; adjusted callers.
(gcry_digest_lookup_func_name): Renamed to ...
(gcry_md_lookup_func_name): ... this; adjusted callers.
(gcry_digest_lookup_name): Renamed to ...
(gcry_md_lookup_name): ... this; adjusted callers.
(gcry_digest_register): Renamed to ...
(gcry_md_register): ... this.
(gcry_digest_unregister): Renamed to ...
(gcry_md_unregister): ... this.

* pubkey.c (gcry_pubkey_register): Renamed to ...
(gcry_pk_register): ... this.
(gcry_pubkey_unregister): Renamed to ...
(gcry_pk_unregister): ... this.
Replaced all occurences of gcry_pubkey_spec_t with gcry_pk_spec_t.
(gcry_pubkey_register_default): Renamed to ...
(gcry_pk_register_default): ... this; adjusted callers.
(gcry_pubkey_lookup_func_name): Renamed to ...
(gcry_pk_lookup_func_name): ... this; adjusted callers.
(gcry_pubkey_lookup_name): Renamed to ...
(gcry_pk_lookup_name): ... this; adjusted callers.

* md.c (gcry_md_hash_buffer): Fix error checking.  Thanks to Simon
Josefsson <jas@extunde.com>.

2003-07-04  Moritz Schulte  <moritz@g10code.com>

* cipher.c (gcry_cipher_list): New function.

16 years ago2003-07-07 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Mon, 7 Jul 2003 16:16:02 +0000 (16:16 +0000)]
2003-07-07  Moritz Schulte  <moritz@g10code.com>

* gcrypt.h: Declare: gcry_cipher_list, gcry_pk_list, gcry_md_list.

2003-07-05  Moritz Schulte  <moritz@g10code.com>

* gcrypt.h: Declare: gcry_cipher_register, gcry_cipher_unregister,
gcry_md_register, gcry_md_unregister, gcry_pk_register,
gcry_pk_unregister.
(gcry_cipher_spec): Removed member: algorithm.
(gcry_pk_spec): Likewise.
(gcry_md_spec): Likewise.
Adjusted declarations: gcry_cipher_register, gcry_pk_register,
gcry_md_register.

* module.c: Replaced all occurences of `id' with `mod_id', since
`id' is a keyword in obj-c.

* gcrypt.h (gcry_cipher_spec): Renamed member `id' to `algorithm'.
(gcry_pk_spec): Likewise.
(gcry_md_spec): Likewise.

* cipher.h: Removed types: gcry_pubkey_generate_t,
gcry_pubkey_check_secret_key_t, gcry_pubkey_encrypt_t,
gcry_pubkey_decrypt_t, gcry_pubkey_sign_t, gcry_pubkey_verify_t,
gcry_pubkey_get_nbits_t, gcry_pk_spec_t, gcry_digest_init_t,
gcry_digest_write_t, gcry_digest_final_t, gcry_digest_read_t,
gcry_digest_spec_t, gcry_cipher_setkey_t, gcry_cipher_encrypt_t,
gcry_cipher_decrypt_t, gcry_cipher_stencrypt_t,
gcry_cipher_stdecrypt_t, gcry_cipher_spec_t.

* gcrypt.h: New types: gcry_pk_generate_t,
gcry_pk_check_secret_key_t, gcry_pk_encrypt_t, gcry_pk_decrypt_t,
gcry_pk_sign_t, gcry_pk_verify_t, gcry_pk_get_nbits_t,
gcry_pk_spec_t, gcry_md_init_t, gcry_md_write_t, gcry_md_final_t,
gcry_md_read_t, gcry_md_spec_t, gcry_cipher_setkey_t,
gcry_cipher_encrypt_t, gcry_cipher_decrypt_t,
gcry_cipher_stencrypt_t, gcry_cipher_stdecrypt_t,
gcry_cipher_spec_t, gcry_module_t.

2003-07-04  Moritz Schulte  <moritz@g10code.com>

* module.c (_gcry_module_list): New function.

16 years ago2003-07-05 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Sat, 5 Jul 2003 12:43:54 +0000 (12:43 +0000)]
2003-07-05  Moritz Schulte  <moritz@g10code.com>

* README: Few changes, mention libgpg-error.

16 years ago * Added alternative interface for asymmetric cryptography.
Moritz Schulte [Wed, 2 Jul 2003 18:01:30 +0000 (18:01 +0000)]
 * Added alternative interface for asymmetric cryptography.

16 years ago2003-07-02 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Wed, 2 Jul 2003 18:00:08 +0000 (18:00 +0000)]
2003-07-02  Moritz Schulte  <moritz@g10code.com>

* gcrypt.texi: Documented ac interface.

16 years ago2003-07-02 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Wed, 2 Jul 2003 17:15:30 +0000 (17:15 +0000)]
2003-07-02  Moritz Schulte  <moritz@g10code.com>

* module.c (_gcry_module_lookup): Fixed typo.

16 years ago2003-07-02 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Wed, 2 Jul 2003 16:00:53 +0000 (16:00 +0000)]
2003-07-02  Moritz Schulte  <moritz@g10code.com>

* Makefile.am (TESTS): Added: ac.

* ac.c: New file.

16 years ago2003-07-02 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Wed, 2 Jul 2003 15:50:04 +0000 (15:50 +0000)]
2003-07-02  Moritz Schulte  <moritz@g10code.com>

* gcrypt.h: Added all definitions and declarations necessary for
the new ac interface.

2003-06-30  Moritz Schulte  <moritz@g10code.com>

* g10lib.h: Added declarations: _gcry_pk_module_lookup,
_gcry_pk_module_release.

16 years ago2003-07-01 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Wed, 2 Jul 2003 15:39:43 +0000 (15:39 +0000)]
2003-07-01  Moritz Schulte  <moritz@g10code.com>

* pubkey.c (sexp_to_sig): Accept a `flags' S-expression to be more
consistent with sexp_to_enc.

2003-06-30  Moritz Schulte  <moritz@g10code.com>

* Makefile.am (libcipher_la_SOURCES): Added: ac.c.

* pubkey.c (_gcry_pk_module_lookup): New function.
(_gcry_pk_module_release): New function.

2003-06-29  Moritz Schulte  <moritz@g10code.com>

* ac.c: New file.

16 years ago* basic.c (check_cbc_mac_cipher): Adjusted for new API of get_blklen
Werner Koch [Wed, 18 Jun 2003 18:27:59 +0000 (18:27 +0000)]
* basic.c (check_cbc_mac_cipher): Adjusted for new API of get_blklen
and get_keylen.
(check_ctr_cipher): Ditto.
(check_one_cipher): Ditto.
(check_one_md): Adjusted for new API of gcry_md_copy.

* benchmark.c (cipher_bench): Adjusted for new API of get_blklen
and get_keylen.

* gcrypt.h (gcry_cipher_get_algo_blklen)
(gcry_cipher_get_algo_keylen): Replaced macro by funcion.

* cipher.c (gcry_cipher_get_algo_keylen): New.
(gcry_cipher_get_algo_blklen): New.

16 years ago*** empty log message ***
Moritz Schulte [Wed, 18 Jun 2003 14:25:10 +0000 (14:25 +0000)]
*** empty log message ***

16 years ago2003-06-18 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Wed, 18 Jun 2003 14:25:08 +0000 (14:25 +0000)]
2003-06-18  Moritz Schulte  <moritz@g10code.com>

* gcrypt.texi: Small fixes.

16 years ago2003-06-18 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Wed, 18 Jun 2003 14:23:52 +0000 (14:23 +0000)]
2003-06-18  Moritz Schulte  <moritz@g10code.com>

* register.c: Replace old type GcryModule with newer one:
gcry_module_t.
Adjusted for new API.

16 years ago2003-06-18 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Wed, 18 Jun 2003 14:20:45 +0000 (14:20 +0000)]
2003-06-18  Moritz Schulte  <moritz@g10code.com>

* arcfour.c, cipher.c, blowfish.c, md.c, cast5.c, pubkey.c, crc.c,
des.c, dsa.c, elgamal.c, md4.c, md5.c, random.c, rijndael.c,
rmd160.c, rsa.c, sha1.c, sha256.c, sha512.c, tiger.c, twofish.c:
Replaced older types GcryDigestSpec, GcryCipherSpec and
GcryPubkeySpec with newer types: gcry_digest_spec_t,
gcry_cipher_spec_t and gcry_pubkey_spec_t.

* md.c (gcry_digest_id_new): Removed function.
(gcry_digest_register): Removed code for generating a new module
ID.

* pubkey.c (gcry_pubkey_id_new): Removed function.
(gcry_pubkey_register): Removed code for generating a new module
ID.

* cipher.c, md.c, pubkey.c: Replace old type GcryModule with newer
one: gcry_module_t.
(gcry_cipher_id_new): Removed function.
(gcry_cipher_register): Removed code for generating a new module
ID.

* cipher.c (gcry_cipher_register): Adjust call to
_gcry_module_add.
(gcry_cipher_register_default): Likewise.
* pubkey.c (gcry_pubkey_register_default): Likewise.
(gcry_pubkey_register): Likewise.
* md.c (gcry_digest_register_default): Likewise.
(gcry_digest_register): Likewise.

* md.c (gcry_digest_lookup_func_id): Removed function.
(gcry_digest_lookup_id): Likewise.
(gcry_digest_id_new): Use _gcry_module_lookup_id instead of
gcry_digest_lookup_id.
(digest_algo_to_string): Likewise.
(check_digest_algo): Likewise.
(md_enable): Likewise.
(md_digest_length): Likewise.
(md_asn_oid): Likewise.

* pubkey.c (gcry_pubkey_lookup_id): Removed function.
(gcry_pubkey_lookup_func_id): Likewise.
(gcry_pubkey_id_new): Use _gcry_module_lookup_id instead of
gcry_pubkey_id_new.
(gcry_pk_algo_name): Likewise.
(disable_pubkey_algo): Likewise.
(check_pubkey_algo): Likewise.
(pubkey_get_npkey): Likewise.
(pubkey_get_nskey): Likewise.
(pubkey_get_nsig): Likewise.
(pubkey_get_nenc): Likewise.
(pubkey_generate): Likewise.
(pubkey_check_secret_key): Likewise.
(pubkey_encrypt): Likewise.
(pubkey_decrypt): Likewise.
(pubkey_sign): Likewise.
(pubkey_verify): Likewise.
(gcry_pk_algo_info): Likewise.

* cipher.c (gcry_cipher_lookup_func_id): Removed function.
(gcry_cipher_lookup_id): Likewise.
(cipher_algo_to_string): use _gcry_module_lookup_id instead of
gcry_cipher_lookup_id.
(disable_cipher_algo): Likewise.
(check_cipher_algo): Likewise.
(cipher_get_blocksize): Likewise.
(gcry_cipher_open): Likewise.
(gcry_cipher_id_new): Likewise.

16 years ago2003-06-18 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Wed, 18 Jun 2003 14:19:41 +0000 (14:19 +0000)]
2003-06-18  Moritz Schulte  <moritz@g10code.com>

* cipher.h: Renamed types GcryDigestSpec, GcryCipherSpec and
GcryPubkeySpec into: gcry_digest_spec_t, gcry_cipher_spec_t and
gcry_pubkey_spec_t.
(gcry_pubkey_spec): Defined member `id' as unsigned.
(gcry_digest_spec): Likewise.
(gcry_cipher_spec): Likewise.

* module.c (_gcry_module_id_new): New function.
(_gcry_module_add): Generate a new ID via _gcry_module_id_new in
case `id' is zero.

* g10lib.h, module.c: Replace old type GcryModule with newer one:
gcry_module_t.

* module.c (_gcry_module_add): Added argument `id', use it.

* g10lib.h: Added declaration: _gcry_module_lookup_id.
(_gcry_module_add): Added argument `id'.

* module.c (_gcry_module_lookup_id): New function.

* g10lib.h (struct gcry_module): New member: id.

* gcrypt.h: New type: gcry_handler_progress_t,
gcry_handler_alloc_t, gcry_haandler_secure_check_t,
gcry_handler_realloc_t, gcry_handler_free_t,
gcry_handler_no_mem_t, gcry_handler_error_t, gcry_handler_log_t.
Use new types.

* cipher.h: Include <gcrypt.h>.
New types: gcry_pk_generate_t, gcry_pk_check_secret_key_t,
gcry_pk_encrypt_t, gcry_pk_decrypt_t, gcry_pk_sign_t,
gcry_pk_verify_t, gcry_pk_get_nbits_t, gcry_md_init_t,
gcry_md_write_t, gcry_md_final_t, gcry_md_read_t,
gcry_cipher_setkey_t, gcry_cipher_encrypt_t,
gcry_cipher_decrypt_t, gcry_cipher_stencrypt_t,
gcry_cipher_stdecrypt_t.
Use new types.

16 years ago2003-06-18 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Wed, 18 Jun 2003 01:10:59 +0000 (01:10 +0000)]
2003-06-18  Moritz Schulte  <moritz@g10code.com>

* Makefile.am (AM_CFLAGS): Added: @GPG_ERROR_CFLAGS@.

16 years ago2003-06-18 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Wed, 18 Jun 2003 00:59:16 +0000 (00:59 +0000)]
2003-06-18  Moritz Schulte  <moritz@g10code.com>

* configure.ac (available_ciphers): Removed Serpent, hrrm.

16 years agoRemoved unused files.
Moritz Schulte [Wed, 18 Jun 2003 00:43:53 +0000 (00:43 +0000)]
Removed unused files.

16 years ago2003-06-16 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Tue, 17 Jun 2003 17:41:00 +0000 (17:41 +0000)]
2003-06-16  Moritz Schulte  <moritz@g10code.com>

* mpi-add.c: Replace last occurences of old type names with newer
names (i.e. replace MPI with gcry_mpi_t).
* mpi-bit.c: Likewise.
* mpi-cmp.c: Likewise.
* mpi-div.c: Likewise.
* mpi-gcd.c: Likewise.
* mpi-internal.h: Likewise.
* mpi-inv.c: Likewise.
* mpi-mpow.c: Likewise.
* mpi-mul.c: Likewise.
* mpi-pow.c: Likewise.
* mpi-scan.c: Likewise.
* mpicoder.c: Likewise.
* mpiutil.c: Likewise.

16 years ago2003-06-17 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Tue, 17 Jun 2003 17:40:24 +0000 (17:40 +0000)]
2003-06-17  Moritz Schulte  <moritz@g10code.com>

* Makefile.am (AM_CFLAGS): Added: @GPG_ERROR_CFLAGS@.

2003-06-16  Moritz Schulte  <moritz@g10code.com>

* g10lib.h: Replace last occurences of old type names with newer
names (i.e. replace MPI with gcry_mpi_t).
* mpi.h: Likewise.
* sexp.c: Likewise.

16 years ago2003-06-17 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Tue, 17 Jun 2003 17:38:48 +0000 (17:38 +0000)]
2003-06-17  Moritz Schulte  <moritz@g10code.com>

* md.c (md_open): Use _gcry_fast_random_poll instead of
fast_random_poll.
* cipher.c (gcry_cipher_open): Likewise.

* random.h (fast_random_poll): Removed macro.

* blowfish.c, md4.c, md5.c, rmd160.c, sha1.c, sha256.c, sha512.c,
tiger.c: Use Autoconf's WORDS_BIGENDIAN instead of our own
BIG_ENDIAN_HOST.

2003-06-16  Moritz Schulte  <moritz@g10code.com>

* random.c (getfnc_gather_random): Do not special-case
USE_ALL_RANDOM_MODULES, make it the default.

* dsa.c: Replace last occurences of old type names with newer
names (i.e. replace MPI with gcry_mpi_t).
* elgamal.c: Likewise.
* primegen.c: Likewise.
* pubkey.c: Likewise.
* rsa.c: Likewise.

16 years ago2003-06-17 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Tue, 17 Jun 2003 17:30:37 +0000 (17:30 +0000)]
2003-06-17  Moritz Schulte  <moritz@g10code.com>

* Makefile.am (GCRYPT_MODULES): Set to @GCRYPT_CIPHERS@,
@GCRYPT_PUBKEY_CIPHERS@, @GCRYPT_DIGESTS@ and @GCRYPT_RANDOM@.
(libcipher_la_DEPENDENCIES): Set to $(GCRYPT_MODULES).
(libcipher_la_LIBADD): Likewise.
(AM_CFLAGS): Added: @GPG_ERROR_CFLAGS@.

16 years ago2003-06-17 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Tue, 17 Jun 2003 17:29:08 +0000 (17:29 +0000)]
2003-06-17  Moritz Schulte  <moritz@g10code.com>

* acinclude.m4: Removed macro definitions: GNUPG_CHECK_FAQPROG,
GNUPG_CHECK_ENDIAN, GNUPG_CHECK_CACHE, GNUPG_CHECK_PIC,
GNUPG_CHECK_EXPORTDYNAMIC, GNUPG_CHECK_IPC, GNUPG_PROG_NM,
GNUPG_SYS_SYMBOL_UNDERSCORE, GNUPG_FUNC_MKDIR_TAKES_ONE_ARG,
GPH_PROG_DB2ANY.
Added macro definitions: AM_PATH_GPG_ERROR.

* configure.ac: Use alternative approach for building based on
conditional sources, which does not make automake eat all your
memory, etc.
Removed unused tests.
Renamed --enable-static-rnd to --enable-random.
Use Autoconf's AC_C_BIGENDIAN macro instead of our own.
Re-organized the whole file.

2003-06-16  Moritz Schulte  <moritz@g10code.com>

* configure.ac (AC_CONFIG_FILES): Removed doc/version.sgml.