1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

* cipher.c (setup_cipher_table): May as well call Rijndael AES at this

point.
This commit is contained in:
David Shaw 2004-01-17 03:06:50 +00:00
parent 65f759ae68
commit 99f6f81769
2 changed files with 7 additions and 4 deletions

View file

@ -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,