plugins: odp: Add ODP-IPsec node 39/8739/18
authorSzymon Sliwa <[email protected]>
Wed, 23 Aug 2017 15:42:22 +0000 (17:42 +0200)
committerSzymon Sliwa <[email protected]>
Mon, 5 Feb 2018 10:01:09 +0000 (11:01 +0100)
commit11959b50936026a43106f9079b1df0d9b67e674a
tree5f7a0e00e210e301c75c5af4327fb9296b2305ce
parent130c8f744801d71982e30993b884c76d9d97d309
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 <[email protected]>
src/plugins/odp.am
src/plugins/odp/ipsec/esp.h [new file with mode: 0644]
src/plugins/odp/ipsec/esp_decrypt.c [new file with mode: 0644]
src/plugins/odp/ipsec/esp_encrypt.c [new file with mode: 0644]
src/plugins/odp/ipsec/ipsec.c [new file with mode: 0644]
src/plugins/odp/ipsec/ipsec.h [new file with mode: 0644]
src/plugins/odp/odp_packet.c
src/plugins/odp/odp_packet.h
src/vpp/conf/startup.conf