crypto: support async handlers for 3des and md5 32/31032/4
authorAlexander Chernavin <achernavin@netgate.com>
Mon, 1 Feb 2021 10:17:24 +0000 (05:17 -0500)
committerMatthew Smith <mgsmith@netgate.com>
Tue, 20 Apr 2021 16:30:07 +0000 (16:30 +0000)
commit005d1e4d4822454363c4a0fa3a1d8b33a14ba6e8
treed07153a8f8cb357194588b1d59bf898961a23933
parent3b3cbfb1c083efed6a582fe26a41ab31f3aed504
crypto: support async handlers for 3des and md5

With this change, add support for 3DES and MD5 in IPsec async mode.

After changes in foreach_crypto_link_async_alg, the last combination in
the list (aes-256-cbc-hmac-sha-512) started to fail during decription.
That was also fixed by proper vector size validation.

Type: improvement
Signed-off-by: Alexander Chernavin <achernavin@netgate.com>
Change-Id: I660657bdab62ea9cf031c3e43d99f2317e5f74d7
src/vnet/crypto/crypto.c
src/vnet/crypto/crypto.h