From 11959b50936026a43106f9079b1df0d9b67e674a Mon Sep 17 00:00:00 2001 From: Szymon Sliwa Date: Wed, 23 Aug 2017 17:42:22 +0200 Subject: plugins: odp: Add ODP-IPsec node Based heavily on the src/vnet/ipsec. Reuses the pure software VPP IPsec implementation CLI command. To use enable-odp-crypto needs to be present in the odp section of startup configuration, like this: odp { enable-odp-crypto } Currenlty only IPv4 is supported, and only in transport mode. Authentication headers are not supported, this limitation is inherited from VPP. Supported crypto algorithms are aes-cbc-128 for encryption, and sha-512-256, sha-256-128, sha1-96 for authentication Change-Id: I08c66f96a73d8cb4ef1095f181ddf47506abc39a Signed-off-by: Szymon Sliwa --- src/plugins/odp.am | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) (limited to 'src/plugins/odp.am') diff --git a/src/plugins/odp.am b/src/plugins/odp.am index 10c8e273..fb874f71 100644 --- a/src/plugins/odp.am +++ b/src/plugins/odp.am @@ -15,13 +15,18 @@ vppplugins_LTLIBRARIES += odp_plugin.la odp_plugin_la_LDFLAGS = $(AM_LDFLAGS) $(ODP_LIBS) -odp_plugin_la_SOURCES = odp/cli.c \ - odp/node.c \ - odp/odp_packet.c \ - odp/device.c \ - odp/buffer.c \ - odp/thread.c +odp_plugin_la_SOURCES = odp/cli.c \ + odp/node.c \ + odp/odp_packet.c \ + odp/device.c \ + odp/buffer.c \ + odp/thread.c \ + odp/ipsec/ipsec.c \ + odp/ipsec/esp_encrypt.c \ + odp/ipsec/esp_decrypt.c -noinst_HEADERS += odp/odp_packet.h +noinst_HEADERS += odp/odp_packet.h \ + odp/ipsec/ipsec.h \ + odp/ipsec/esp.h # vi:syntax=automake -- cgit 1.2.3-korg