summaryrefslogtreecommitdiffstats
path: root/include/cipher.h
diff options
context:
space:
mode:
authorDavid Shaw <dshaw@jabberwocky.com>2004-01-17 04:10:09 +0100
committerDavid Shaw <dshaw@jabberwocky.com>2004-01-17 04:10:09 +0100
commit57c585bc0f0800769f4c2e8365ca95c1b7ae1d71 (patch)
tree2f8ec5af5b4799682b4ef2d25d797d6e5f31794c /include/cipher.h
parent* cipher.c (setup_cipher_table): May as well call Rijndael AES at this (diff)
downloadgnupg2-57c585bc0f0800769f4c2e8365ca95c1b7ae1d71.tar.xz
gnupg2-57c585bc0f0800769f4c2e8365ca95c1b7ae1d71.zip
* cipher.h: Remove the old CIPHER_ALGO_RINJDAEL values. is_ELGAMAL() now
only matches type 16 and not type 20.
Diffstat (limited to 'include/cipher.h')
-rw-r--r--include/cipher.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/include/cipher.h b/include/cipher.h
index 274242640..d71a088f8 100644
--- a/include/cipher.h
+++ b/include/cipher.h
@@ -1,5 +1,6 @@
/* cipher.h
- * Copyright (C) 1998, 1999, 2000, 2001, 2003 Free Software Foundation, Inc.
+ * Copyright (C) 1998, 1999, 2000, 2001, 2003,
+ * 2004 Free Software Foundation, Inc.
*
* This file is part of GNUPG.
*
@@ -35,9 +36,6 @@
#define CIPHER_ALGO_AES 7
#define CIPHER_ALGO_AES192 8
#define CIPHER_ALGO_AES256 9
-#define CIPHER_ALGO_RIJNDAEL CIPHER_ALGO_AES
-#define CIPHER_ALGO_RIJNDAEL192 CIPHER_ALGO_AES192
-#define CIPHER_ALGO_RIJNDAEL256 CIPHER_ALGO_AES256
#define CIPHER_ALGO_TWOFISH 10 /* twofish 256 bit */
#define CIPHER_ALGO_DUMMY 110 /* no encryption at all */
@@ -68,7 +66,7 @@
#define is_RSA(a) ((a)==PUBKEY_ALGO_RSA || (a)==PUBKEY_ALGO_RSA_E \
|| (a)==PUBKEY_ALGO_RSA_S )
-#define is_ELGAMAL(a) ((a)==PUBKEY_ALGO_ELGAMAL || (a)==PUBKEY_ALGO_ELGAMAL_E)
+#define is_ELGAMAL(a) ((a)==PUBKEY_ALGO_ELGAMAL_E)
#define is_DSA(a) ((a)==PUBKEY_ALGO_DSA)
typedef struct {