gcrypt actually does not implement IDEA
This commit is contained in:
parent
d32b14db5e
commit
25ecb8dafa
|
@ -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;
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue