]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Change API of init_key_ctx to use struct key_parameters
authorArne Schwabe <arne@rfc2549.org>
Fri, 27 Dec 2024 11:11:33 +0000 (12:11 +0100)
committerGert Doering <gert@greenie.muc.de>
Fri, 27 Dec 2024 16:06:57 +0000 (17:06 +0100)
commit5bbf0aa484470486fcc2f491fba81605aa8649ed
tree1acbd53f85723a2bb1c60a16d7a210738dbbc8fe
parent08fe4bb4b040f44450439b92788eac6144283494
Change API of init_key_ctx to use struct key_parameters

This introduces a new structure key_parameters. The reason is that the
current struct serves both as an internal struct as well as an
on-wire/in-file format. Separate these two different usages to allow
extending the struct.

Change-Id: I4a981c5a70717e2276d89bf83a06c7fdbe6712d7
Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Frank Lichtenheld <frank@lichtenheld.com>
Message-Id: <20241227111133.5893-1-gert@greenie.muc.de>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg30228.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/auth_token.c
src/openvpn/crypto.c
src/openvpn/crypto.h
src/openvpn/tls_crypt.c
tests/unit_tests/openvpn/test_auth_token.c
tests/unit_tests/openvpn/test_tls_crypt.c