dpdk: support md5 async handler in dpdk cryptodev 86/32086/3
authorAlexander Chernavin <achernavin@netgate.com>
Thu, 22 Apr 2021 08:48:34 +0000 (04:48 -0400)
committerMatthew Smith <mgsmith@netgate.com>
Fri, 23 Apr 2021 16:02:18 +0000 (16:02 +0000)
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

src/plugins/dpdk/cryptodev/cryptodev.h

index 4c85e85..1c013be 100644 (file)
@@ -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)                                      \