]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Implement DES ECB encrypt via EVP_CIPHER api
authorArne Schwabe <arne@rfc2549.org>
Fri, 29 Oct 2021 11:11:08 +0000 (13:11 +0200)
committerGert Doering <gert@greenie.muc.de>
Fri, 5 Nov 2021 14:47:09 +0000 (15:47 +0100)
commitc426a3e77ee5377ca1c6254feabb04e41aa6dfed
tree31d89de9ab127a0a624bcf78150239045b465cb1
parentc07f95f3cacdf7c877762db8d1a3f7cf0a4a4675
Implement DES ECB encrypt via EVP_CIPHER api

Even though DES is super outdated and also NTLM is super outdated,
eliminating the warnings for OpenSSL 3.0 is still a step in the right
direction and using the correct APIs. We cheat a bit by using 3DES instead
of DES to avoid needing legacy provider for DES encryption for now.

Patch v4: add unit test, use 3DES to avoid legacy provider for now

Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Max Fillinger <maximilian.fillinger@foxcrypto.com>
Message-Id: <20211029111109.2003101-1-arne@rfc2549.org>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg23078.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/crypto_openssl.c
tests/unit_tests/openvpn/test_crypto.c