gcrypt actually does not implement IDEA

This commit is contained in:
Martin Willi 2009-06-15 18:18:04 +02:00
parent d32b14db5e
commit 25ecb8dafa
2 changed files with 2 additions and 4 deletions

View File

@ -143,8 +143,8 @@ gcrypt_crypter_t *gcrypt_crypter_create(encryption_algorithm_t algo,
gcrypt_alg = GCRY_CIPHER_3DES;
break;
case ENCR_IDEA:
gcrypt_alg = GCRY_CIPHER_IDEA;
break;
/* currently not implemented in gcrypt */
return NULL;
case ENCR_CAST:
gcrypt_alg = GCRY_CIPHER_CAST5;
break;

View File

@ -160,8 +160,6 @@ plugin_t *plugin_create()
/* crypters */
lib->crypto->add_crypter(lib->crypto, ENCR_3DES,
(crypter_constructor_t)gcrypt_crypter_create);
lib->crypto->add_crypter(lib->crypto, ENCR_IDEA,
(crypter_constructor_t)gcrypt_crypter_create);
lib->crypto->add_crypter(lib->crypto, ENCR_CAST,
(crypter_constructor_t)gcrypt_crypter_create);
lib->crypto->add_crypter(lib->crypto, ENCR_BLOWFISH,