libgcrypt/cipher (des.c md.c)

cvs user mo cvs@cvs.gnupg.org
Sun, 27 Apr 2003 21:22:39 +0200


    Date: Sunday, April 27, 2003 @ 21:22:29
  Author: mo
    Path: /cvs/gnupg/libgcrypt/cipher

Modified: des.c md.c

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

	* md.c (gcry_md_get_algo_dlen): Simplified, simply call
	md_digest_length to do the job.

	* des.c (do_des_setkey): Check for selftest failure not only
	during initialization.
	(do_tripledes_setkey): Include check for selftest failure.


-------+
 des.c |    9 +++++----
 md.c  |   24 ++----------------------
 2 files changed, 7 insertions(+), 26 deletions(-)