]> git.ipfire.org Git - thirdparty/openvpn.git/commit
List ChaCha20-Poly1305 as stream cipher
authorSteffan Karger <steffan@karger.me>
Tue, 9 Oct 2018 20:43:15 +0000 (22:43 +0200)
committerGert Doering <gert@greenie.muc.de>
Wed, 10 Oct 2018 20:52:08 +0000 (22:52 +0200)
commit447997dd83400bffc05db65a91f659dc87b4a367
treedf90456df5c609b4ad1152f89272855e96b73673
parentea4ee31333a0cddb5c8dd4185f9426df13c76947
List ChaCha20-Poly1305 as stream cipher

As Antonio pointed out, "8-bit block cipher" is a bit funny. So teach
print_cipher() to print such cipher as "stream cipher".

Because I didn't want to write the same code twice, I decided to merge the
two print_cipher() implementations into one shared function. That should
make it easier to keep both backends consistent.

Signed-off-by: Steffan Karger <steffan@karger.me>
Acked-by: Antonio Quartulli <antonio@openvpn.net>
Message-Id: <20181009204315.8262-1-steffan@karger.me>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg17682.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/crypto.c
src/openvpn/crypto.h
src/openvpn/crypto_mbedtls.c
src/openvpn/crypto_mbedtls.h
src/openvpn/crypto_openssl.c
src/openvpn/crypto_openssl.h