summaryrefslogtreecommitdiffstats
path: root/src/plugins/dpdk/cryptodev
diff options
context:
space:
mode:
authorAlexander Chernavin <achernavin@netgate.com>2021-04-22 04:48:34 -0400
committerMatthew Smith <mgsmith@netgate.com>2021-04-23 16:02:18 +0000
commit961d3631125df357c966f6ea4ee7b5fe57421c45 (patch)
treed5a9a6f7387ebe537d8f328b8907dff29fb2d6bf /src/plugins/dpdk/cryptodev
parent607ece36b6f0fc6fe1122db58f2eb7d3713f34cc (diff)
dpdk: support md5 async handler in dpdk cryptodev
With this change, enable MD5 with AES-CBC support in dpdk cryptodev. Type: improvement Signed-off-by: Alexander Chernavin <achernavin@netgate.com> Change-Id: Ic587aaa1fa0dc102e36eb34f329ef21a16156f26
Diffstat (limited to 'src/plugins/dpdk/cryptodev')
-rw-r--r--src/plugins/dpdk/cryptodev/cryptodev.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/dpdk/cryptodev/cryptodev.h b/src/plugins/dpdk/cryptodev/cryptodev.h
index 4c85e85a172..1c013be265c 100644
--- a/src/plugins/dpdk/cryptodev/cryptodev.h
+++ b/src/plugins/dpdk/cryptodev/cryptodev.h
@@ -49,6 +49,9 @@
* crypto (alg, cryptodev_alg, key_size), hash (alg, digest-size)
**/
#define foreach_cryptodev_link_async_alg \
+ _ (AES_128_CBC, AES_CBC, 16, MD5, 12) \
+ _ (AES_192_CBC, AES_CBC, 24, MD5, 12) \
+ _ (AES_256_CBC, AES_CBC, 32, MD5, 12) \
_ (AES_128_CBC, AES_CBC, 16, SHA1, 12) \
_ (AES_192_CBC, AES_CBC, 24, SHA1, 12) \
_ (AES_256_CBC, AES_CBC, 32, SHA1, 12) \