summaryrefslogtreecommitdiff
path: root/examples/ipsec-secgw
diff options
context:
space:
mode:
authorAnoob Joseph <anoob.joseph@caviumnetworks.com>2018-02-08 06:12:42 +0000
committerThomas Monjalon <thomas@monjalon.net>2018-02-08 22:31:17 +0100
commitfa9088849e1249e66f69ec96f7a9820bec587cc4 (patch)
tree0085060ab8816f660e5836d269ea8d5e219ad840 /examples/ipsec-secgw
parent0abd847be0d146a022b5bb46e4f53d7adaf64c64 (diff)
downloaddpdk-next-eventdev-fa9088849e1249e66f69ec96f7a9820bec587cc4.zip
dpdk-next-eventdev-fa9088849e1249e66f69ec96f7a9820bec587cc4.tar.gz
dpdk-next-eventdev-fa9088849e1249e66f69ec96f7a9820bec587cc4.tar.xz
examples/ipsec-secgw: support AES 256
Adding support for AES 256 algorithm in ipsec-secgw application Signed-off-by: Anoob Joseph <anoob.joseph@caviumnetworks.com> Acked-by: Radu Nicolau <radu.nicolau@intel.com>
Diffstat (limited to 'examples/ipsec-secgw')
-rw-r--r--examples/ipsec-secgw/sa.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/ipsec-secgw/sa.c b/examples/ipsec-secgw/sa.c
index 25ceea1..21239dd 100644
--- a/examples/ipsec-secgw/sa.c
+++ b/examples/ipsec-secgw/sa.c
@@ -69,6 +69,13 @@ const struct supported_cipher_algo cipher_algos[] = {
.key_len = 16
},
{
+ .keyword = "aes-256-cbc",
+ .algo = RTE_CRYPTO_CIPHER_AES_CBC,
+ .iv_len = 16,
+ .block_size = 16,
+ .key_len = 32
+ },
+ {
.keyword = "aes-128-ctr",
.algo = RTE_CRYPTO_CIPHER_AES_CTR,
.iv_len = 8,