ECB mode added to the DES plugin

This commit is contained in:
Tobias Brunner
2009-02-19 14:29:25 +00:00
parent 5fa7aed491
commit 7b76702587
2 changed files with 106 additions and 1 deletions
@@ -56,6 +56,8 @@ plugin_t *plugin_create()
(crypter_constructor_t)des_crypter_create);
lib->crypto->add_crypter(lib->crypto, ENCR_DES,
(crypter_constructor_t)des_crypter_create);
lib->crypto->add_crypter(lib->crypto, ENCR_DES_ECB,
(crypter_constructor_t)des_crypter_create);
return &this->public.plugin;
}