aboutsummaryrefslogtreecommitdiffstats
path: root/cipher/cipher.c
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2004-01-17 03:06:50 +0000
committerDavid Shaw <[email protected]>2004-01-17 03:06:50 +0000
commit99f6f81769656e9992423ce55be8fe57d26a738e (patch)
tree5f8f5ebe44f35a9938bb44d4391581e869b1e719 /cipher/cipher.c
parent* pubkey.c (setup_pubkey_table), elgamal.c (sign, verify, test_keys, (diff)
downloadgnupg-99f6f81769656e9992423ce55be8fe57d26a738e.tar.gz
gnupg-99f6f81769656e9992423ce55be8fe57d26a738e.zip
* cipher.c (setup_cipher_table): May as well call Rijndael AES at this
point.
Diffstat (limited to '')
-rw-r--r--cipher/cipher.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cipher/cipher.c b/cipher/cipher.c
index 4518d909c..34d008fa3 100644
--- a/cipher/cipher.c
+++ b/cipher/cipher.c
@@ -88,7 +88,7 @@ setup_cipher_table(void)
int i=0;
#ifdef USE_AES
- cipher_table[i].algo = CIPHER_ALGO_RIJNDAEL;
+ cipher_table[i].algo = CIPHER_ALGO_AES;
cipher_table[i].name = rijndael_get_info( cipher_table[i].algo,
&cipher_table[i].keylen,
&cipher_table[i].blocksize,
@@ -99,7 +99,7 @@ setup_cipher_table(void)
if( !cipher_table[i].name )
BUG();
i++;
- cipher_table[i].algo = CIPHER_ALGO_RIJNDAEL192;
+ cipher_table[i].algo = CIPHER_ALGO_AES192;
cipher_table[i].name = rijndael_get_info( cipher_table[i].algo,
&cipher_table[i].keylen,
&cipher_table[i].blocksize,
@@ -110,7 +110,7 @@ setup_cipher_table(void)
if( !cipher_table[i].name )
BUG();
i++;
- cipher_table[i].algo = CIPHER_ALGO_RIJNDAEL256;
+ cipher_table[i].algo = CIPHER_ALGO_AES256;
cipher_table[i].name = rijndael_get_info( cipher_table[i].algo,
&cipher_table[i].keylen,
&cipher_table[i].blocksize,