aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSteffan Karger2014-06-08 18:16:13 +0200
committerGert Doering2014-07-07 20:31:13 +0200
commita4b27b6481c7496f2a8705c993edfe150a3541cb (patch)
tree62732f6ee31dbb11950ce3f3597a0f0cba815c9c /tests
parentc353af2f474f79bfd7b2b67ecc02e91152500209 (diff)
downloadopenvpn-a4b27b6481c7496f2a8705c993edfe150a3541cb.zip
openvpn-a4b27b6481c7496f2a8705c993edfe150a3541cb.tar.gz
Add proper check for crypto modes (CBC or OFB/CFB)
OpenSSL has added AEAD-CBC mode ciphers like AES-128-CBC-HMAC-SHA1, which have mode EVP_CIPH_CBC_MODE, but require a different API (the AEAD API). So, add extra checks to filter out those AEAD-mode ciphers. Adding these made the crypto library agnostic function cfb_ofb_mode() superfuous, so removed that on the go. Also update all cipher mode checks to use the new cipher_kt_mode_*() functions for consistency. Signed-off-by: Steffan Karger <steffan@karger.me> Acked-by: Arne Schwabe <arne@rfc2549.org> Message-Id: <1402244175-31462-3-git-send-email-steffan@karger.me> URL: http://article.gmane.org/gmane.network.openvpn.devel/8779 Signed-off-by: Gert Doering <gert@greenie.muc.de>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions