2003-04-16 Moritz Schulte <moritz@g10code.com>
authorMoritz Schulte <mo@g10code.com>
Wed, 16 Apr 2003 16:25:52 +0000 (16:25 +0000)
committerMoritz Schulte <mo@g10code.com>
Wed, 16 Apr 2003 16:25:52 +0000 (16:25 +0000)
commit3148347f0fc0e604e1405223ea146197ea20959b
tree7aa97348a0c3d167e1a1154d47a9c0a69b6dd0e3
parent62ee765f9df47ab2f37cfe00c019ffe81ded664a
2003-04-16  Moritz Schulte  <moritz@g10code.com>

* module.c (_gcry_module_use): New function.
* g10lib.h (_gcry_module_use): Declare function.

* libgcrypt-config.in: Support for --algorithms switch, which
prints the algorithms included in the built libgcrypt.

* global.c (gcry_set_progress_handler): Register progress
functions depending on the enabled algorithms.

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

* Makefile.am (libgcrypt_la_SOURCES): Added module.c

* module.c: New file.
(_gcry_module_add): New function.
(_gcry_module_drop): New function.
(_gcry_module_lookup): New function.
(_gcry_module_release): New function.

* g10lib.h (GcryModule): New types.
(FLAG_MODULE_DISABLED): New symbol.
Added declarations for _gcry_module_add, _gcry_module_release and
_gcry_module_lookup.

* gcrypt.h: New types: GcryPubkeySpec, GcryDigestSpec,
GcryCipherSpec.
Added declarations for: gcry_cipher_register,
gcry_cipher_unregister, gcry_digest_register,
gcry_digest_unregister, gcry_pubkey_register and
gcry_pubkey_unregister.

* cipher.h: Removed symbols: CIPHER_ALGO_NONE, CIPHER_ALGO_IDEA,
CIPHER_ALGO_3DES, CIPHER_ALGO_CAST5, CIPHER_ALGO_BLOWFISH,
CIPHER_ALGO_SAFER_SK128, CIPHER_ALGO_DES_SK, CIPHER_ALGO_TWOFISH,
CIPHER_ALGO_TWOFISH_OLD, CIPHER_ALGO_DUMMY, PUBKEY_USAGE_SIG,
PUBKEY_USAGE_ENC, DIGEST_ALGO_MD5, DIGEST_ALGO_SHA1,
DIGEST_ALGO_RMD160, DIGEST_ALGO_TIGER, PUBKEY_ALGO_RSA,
PUBKEY_ALGO_RSA_E, PUBKEY_ALGO_RSA_S, PUBKEY_ALGO_DSA,
PUBKEY_ALGO_ELGAMAL, PUBKEY_ALGO_ELGAMAL_E.

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

* benchmark.c (md_bench): Fix error message.
src/ChangeLog
src/Makefile.am
src/benchmark.c
src/cipher.h
src/g10lib.h
src/gcrypt.h
src/global.c
src/libgcrypt-config.in
src/module.c [new file with mode: 0644]