diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2016-08-03 14:46:08 +0200 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2016-08-06 12:09:05 +0200 |
commit | 1fddb0b92ef2e4ee4fb23da2c4badc70620df1dc (patch) | |
tree | 92ef436e704b0fb40e99aa6e1eb56c1a601bb876 /src/libstrongswan/plugins/chapoly/chapoly_plugin.c | |
parent | 8993cb556e43d69a356f6e95f608cfc0a752444b (diff) | |
download | strongswan-1fddb0b92ef2e4ee4fb23da2c4badc70620df1dc.tar.bz2 strongswan-1fddb0b92ef2e4ee4fb23da2c4badc70620df1dc.tar.xz |
xof: Added ChaCha20 stream as XOF
Diffstat (limited to 'src/libstrongswan/plugins/chapoly/chapoly_plugin.c')
-rw-r--r-- | src/libstrongswan/plugins/chapoly/chapoly_plugin.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libstrongswan/plugins/chapoly/chapoly_plugin.c b/src/libstrongswan/plugins/chapoly/chapoly_plugin.c index 02e7121d6..447960bd0 100644 --- a/src/libstrongswan/plugins/chapoly/chapoly_plugin.c +++ b/src/libstrongswan/plugins/chapoly/chapoly_plugin.c @@ -15,6 +15,7 @@ #include "chapoly_plugin.h" #include "chapoly_aead.h" +#include "chapoly_xof.h" #include <library.h> @@ -43,6 +44,8 @@ METHOD(plugin_t, get_features, int, static plugin_feature_t f[] = { PLUGIN_REGISTER(AEAD, chapoly_aead_create), PLUGIN_PROVIDE(AEAD, ENCR_CHACHA20_POLY1305, 32), + PLUGIN_REGISTER(XOF, chapoly_xof_create), + PLUGIN_PROVIDE(XOF, XOF_CHACHA20), }; *features = f; return countof(f); |