libgcrypt/cipher (19 files)

cvs user mo cvs@cvs.gnupg.org
Tue, 22 Jul 2003 00:38:53 +0200


    Date: Tuesday, July 22, 2003 @ 00:38:53
  Author: mo
    Path: /cvs/gnupg/libgcrypt/cipher

Modified: ChangeLog ac.c arcfour.c blowfish.c cast5.c cipher.c crc.c des.c
          md.c md4.c md5.c pubkey.c rijndael.c rmd160.c sha1.c sha256.c
          sha512.c tiger.c twofish.c

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.


------------+
 ChangeLog  |   62 +++++++++++++++++++++++++
 ac.c       |    7 ++
 arcfour.c  |    2 
 blowfish.c |    2 
 cast5.c    |    2 
 cipher.c   |  143 +++++++++++++++++++++++++++++++++--------------------------
 crc.c      |    6 +-
 des.c      |   12 ++++
 md.c       |  128 +++++++++++++++++++++++++++++++---------------------
 md4.c      |    9 +++
 md5.c      |   16 ++++--
 pubkey.c   |    6 +-
 rijndael.c |   33 ++++++++++++-
 rmd160.c   |    9 +++
 sha1.c     |   15 +++++-
 sha256.c   |    9 +++
 sha512.c   |   16 +++++-
 tiger.c    |    8 ++-
 twofish.c  |    4 -
 19 files changed, 348 insertions(+), 141 deletions(-)