trace back crypto algorithms to the plugins that registered them

This commit is contained in:
Andreas Steffen
2010-12-18 16:31:12 +01:00
parent ae09bc62bc
commit 5932f41fcc
30 changed files with 587 additions and 400 deletions
+4 -2
View File
@@ -19,6 +19,8 @@
#include "ctr_ipsec_crypter.h"
static const char *plugin_name = "ctr";
typedef struct private_ctr_plugin_t private_ctr_plugin_t;
/**
@@ -56,9 +58,9 @@ plugin_t *ctr_plugin_create()
},
);
lib->crypto->add_crypter(lib->crypto, ENCR_AES_CTR,
lib->crypto->add_crypter(lib->crypto, ENCR_AES_CTR, plugin_name,
(crypter_constructor_t)ctr_ipsec_crypter_create);
lib->crypto->add_crypter(lib->crypto, ENCR_CAMELLIA_CTR,
lib->crypto->add_crypter(lib->crypto, ENCR_CAMELLIA_CTR, plugin_name,
(crypter_constructor_t)ctr_ipsec_crypter_create);
return &this->public.plugin;