diff options
author | Martin Willi <martin@revosec.ch> | 2010-11-08 11:58:01 +0100 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2010-12-20 09:52:02 +0100 |
commit | d214ebdf82cd6312f7a1bb8f70dd1df379ff961b (patch) | |
tree | 3205d42b27f363da58d1c815be21de61b4029829 /src/libstrongswan/plugins/af_alg/af_alg_plugin.c | |
parent | 533151692f63567b6f88167f23eccefdfd4e2948 (diff) | |
download | strongswan-d214ebdf82cd6312f7a1bb8f70dd1df379ff961b.tar.bz2 strongswan-d214ebdf82cd6312f7a1bb8f70dd1df379ff961b.tar.xz |
Register some less common AF_ALG ciphers (cast5, serpent, twofish, blowfish)
Diffstat (limited to 'src/libstrongswan/plugins/af_alg/af_alg_plugin.c')
-rw-r--r-- | src/libstrongswan/plugins/af_alg/af_alg_plugin.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libstrongswan/plugins/af_alg/af_alg_plugin.c b/src/libstrongswan/plugins/af_alg/af_alg_plugin.c index 01031d7a1..b8bbd26b8 100644 --- a/src/libstrongswan/plugins/af_alg/af_alg_plugin.c +++ b/src/libstrongswan/plugins/af_alg/af_alg_plugin.c @@ -134,6 +134,14 @@ plugin_t *af_alg_plugin_create() (crypter_constructor_t)af_alg_crypter_create); lib->crypto->add_crypter(lib->crypto, ENCR_CAMELLIA_CTR, (crypter_constructor_t)af_alg_crypter_create); + lib->crypto->add_crypter(lib->crypto, ENCR_CAST, + (crypter_constructor_t)af_alg_crypter_create); + lib->crypto->add_crypter(lib->crypto, ENCR_BLOWFISH, + (crypter_constructor_t)af_alg_crypter_create); + lib->crypto->add_crypter(lib->crypto, ENCR_SERPENT_CBC, + (crypter_constructor_t)af_alg_crypter_create); + lib->crypto->add_crypter(lib->crypto, ENCR_TWOFISH_CBC, + (crypter_constructor_t)af_alg_crypter_create); return &this->public.plugin; } |