From: "flichtenheld (Code Review)"
Date: Fri, 27 Dec 2024 11:02:22 +0000
In-Reply-To:
References:
Reply-To: frank@...2641..., arne-openvpn@...1227...,
openvpn-devel@lists.sourceforge.net
Message-ID:
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Disposition: inline
Content-Type: multipart/alternative; boundary="wEiWOeO8esc="; charset=UTF-8
Subject: [Openvpn-devel] [M] Change in openvpn[master]: Change API of
init_key_ctx to use struct key_parameters
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
To: plaisthos
Cc: openvpn-devel
--wEiWOeO8esc=
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Attention is currently required from: plaisthos.
flichtenheld has posted comments on this change. ( http://gerrit.openvpn.ne=
t/c/openvpn/+/801?usp=3Demail )
Change subject: Change API of init_key_ctx to use struct key_parameters
......................................................................
Patch Set 9: Code-Review+2
(6 comments)
Commit Message:
http://gerrit.openvpn.net/c/openvpn/+/801/comment/b730dde1_23369276 :
PS8, Line 7: Change API of init_key_ctx to use struct key_paramters
> key_parameters
Done
http://gerrit.openvpn.net/c/openvpn/+/801/comment/38a47023_5a01c0b0 :
PS8, Line 9: This introduces a new structure key_paramters. The reason is t=
hat the
> key_parameters
Done
File src/openvpn/crypto.h:
http://gerrit.openvpn.net/c/openvpn/+/801/comment/a8cbf2dd_988a8316 :
PS8, Line 176: * Converts a struct key representation into a struct key_pa=
rams representation.
> key_parameters
Done
File tests/unit_tests/openvpn/test_auth_token.c:
http://gerrit.openvpn.net/c/openvpn/+/801/comment/a13bc939_51cc0c94 :
PS8, Line 91: key.hmac_size =3D 64; /* 64 byte of 0 */
> Use `MAX_HMAC_KEY_LENGTH` instead?
Done
File tests/unit_tests/openvpn/test_tls_crypt.c:
http://gerrit.openvpn.net/c/openvpn/+/801/comment/0f742488_2a2784c8 :
PS8, Line 160: struct key_parameters key =3D { .cipher =3D { 0 }, .hmac=
=3D { 0 }, .hmac_size =3D 64, .cipher_size =3D 64 };
> Use `MAX_HMAC_KEY_LENGTH` and `MAX_CIPHER_KEY_LENGTH` instead?
Done
http://gerrit.openvpn.net/c/openvpn/+/801/comment/a43379bc_85313073 :
PS8, Line 370: struct key_parameters key =3D { .cipher =3D { 1 }, .hmac=
=3D { 1 }, .cipher_size =3D 64, .hmac_size =3D 64 };
> Use `MAX_HMAC_KEY_LENGTH` and `MAX_CIPHER_KEY_LENGTH` instead?
Done
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/801?usp=3Demail
To unsubscribe, or for help writing mail filters, visit http://gerrit.openv=
pn.net/settings
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I4a981c5a70717e2276d89bf83a06c7fdbe6712d7
Gerrit-Change-Number: 801
Gerrit-PatchSet: 9
Gerrit-Owner: plaisthos
Gerrit-Reviewer: flichtenheld
Gerrit-CC: openvpn-devel
Gerrit-Attention: plaisthos
Gerrit-Comment-Date: Fri, 27 Dec 2024 11:02:22 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: flichtenheld
Gerrit-MessageType: comment
--wEiWOeO8esc=
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Attention is currently required from: plaisthos.
Patch set 9:Code-Review +2=
Vi=
ew Change
6 comments:
Done
<=
a href=3D"http://gerrit.openvpn.net/c/openvpn/+/801/comment/38a47023_5a01c0=
b0">Patch Set #8, Line 9: This introduces a new structure key_paramters. The reason is that the
key_parameters
Done
File src/openvpn/crypto.h:
File tests/u=
nit_tests/openvpn/test_auth_token.c:
<=
li style=3D"margin: 0; padding: 0;">File tests/unit_tests/openvpn/test_t=
ls_crypt.c:
Patch S=
et #8, Line 160: st=
ruct key_parameters key =3D { .cipher =3D { 0 }, .hmac =3D { 0 }, .hmac_siz=
e =3D 64, .cipher_size =3D 64 };
Use `MAX_HMAC_KEY_LE=
NGTH` and `MAX_CIPHER_KEY_LENGTH` instead?
Done
Patch Set =
#8, Line 370: struc=
t key_parameters key =3D { .cipher =3D { 1 }, .hmac =3D { 1 }, .cipher_size=
=3D 64, .hmac_size =3D 64 };
Use `MAX_HMAC_KEY_LENGT=
H` and `MAX_CIPHER_KEY_LENGTH` instead?
Done
To v=
iew, visit change 801. To unsubscribe, or for help writing mail filters, visit <=
a href=3D"http://gerrit.openvpn.net/settings">settings.
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I4a981c5a70717e2276d89bf83a0=
6c7fdbe6712d7
Gerrit-Change-Number: 801
Gerrit-PatchSet: 9
Gerrit-Owner: plaisthos <arne-openvpn@...1711...=
27...>
Gerrit-Reviewer: flichtenheld <frank@...2716...=
1...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...=
ts.sourceforge.net>
Gerrit-Attention: plaisthos <arne-openvpn@...220...=
..1227...>
Gerrit-Comment-Date: Fri, 27 Dec 2024 11:02:22=
+0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: flichtenheld <frank@...1186...=
.2641...>
Gerrit-MessageType: comment
--wEiWOeO8esc=--