]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Directly use hardcoed OPENVPN_AEAD_TAG_LENGTH instead lookup
authorArne Schwabe <arne@rfc2549.org>
Wed, 1 Dec 2021 18:07:20 +0000 (19:07 +0100)
committerGert Doering <gert@greenie.muc.de>
Sun, 5 Dec 2021 17:12:33 +0000 (18:12 +0100)
commite82e3382384846456881eec97d626b2d4cfb2df6
treef3ee397b4a614cb9ef261e882cdb62b226680553
parent766044507497c41f0319159c37992788ecb681e6
Directly use hardcoed OPENVPN_AEAD_TAG_LENGTH instead lookup

We always use the same tag size for all AEAD cipher, so instead
of doing a lookup, use the tag size directly.

Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20211201180727.2496903-2-arne@rfc2549.org>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg23273.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/crypto.c