From b4aeef458c51b9debd394592e76b93cc6b00e0a2 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Fri, 18 Sep 1998 15:24:53 +0000 Subject: . --- cipher/cipher.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'cipher/cipher.c') diff --git a/cipher/cipher.c b/cipher/cipher.c index 2326d1dd2..95c4b70df 100644 --- a/cipher/cipher.c +++ b/cipher/cipher.c @@ -29,6 +29,7 @@ #include "util.h" #include "errors.h" #include "cipher.h" +#include "des.h" #include "blowfish.h" #include "cast5.h" #include "dynload.h" @@ -106,6 +107,17 @@ setup_cipher_table() if( !cipher_table[i].name ) BUG(); i++; + cipher_table[i].algo = CIPHER_ALGO_3DES; + cipher_table[i].name = des_get_info( cipher_table[i].algo, + &cipher_table[i].keylen, + &cipher_table[i].blocksize, + &cipher_table[i].contextsize, + &cipher_table[i].setkey, + &cipher_table[i].encrypt, + &cipher_table[i].decrypt ); + if( !cipher_table[i].name ) + BUG(); + i++; cipher_table[i].algo = CIPHER_ALGO_BLOWFISH160; cipher_table[i].name = blowfish_get_info( cipher_table[i].algo, &cipher_table[i].keylen, -- cgit