From: "plaisthos (Code Review)" Date: Wed, 5 Feb 2025 17:07:25 +0000 In-Reply-To: References: Reply-To: arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, frank@...2641..., max@...2606..., gert@...1296... Message-ID: <76aa699f790f589d88d5ba994b2dfa139e0098c6-EmailReviewComments-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="GO4kjz8JqGY="; charset=UTF-8 Subject: [Openvpn-devel] [L] Change in openvpn[master]: Implement epoch key data format List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: MaxF , cron2 , flichtenheld , openvpn-devel --GO4kjz8JqGY= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: MaxF, flichtenheld. plaisthos has posted comments on this change. ( http://gerrit.openvpn.net/c= /openvpn/+/806?usp=3Demail ) Change subject: Implement epoch key data format ...................................................................... Patch Set 18: (2 comments) File tests/unit_tests/openvpn/test_crypto.c: http://gerrit.openvpn.net/c/openvpn/+/806/comment/2fea2111_397e3eef : PS18, Line 877: * the end of array. Iterating through all 65k keys tak= es a 2-3s, so we > Why is this number changed? Because I am stupid and thought that for some reason that maximum epoch of = 16bit is 16k when it is actually 65k. The unit tests still works because it= just iterated through all the remaining 48k keys but it didn't avoid the 2= -3 delay .... File tests/unit_tests/openvpn/test_ssl.c: http://gerrit.openvpn.net/c/openvpn/+/806/comment/854f6f60_4167ef0b : PS18, Line 642: const uint8_t exp_tag_short[16] =3D > What makes this short? It's exactly as long as the other. tag for the short packet id. The name could have been chosen a bit better. = It is still a leftover when there was a short and long packet id instead of= a short packet id vs epoch packet id. -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/806?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: I00751c42cb04e30205ba8e6584530831e0d143c5 Gerrit-Change-Number: 806 Gerrit-PatchSet: 18 Gerrit-Owner: plaisthos Gerrit-Reviewer: cron2 Gerrit-Reviewer: flichtenheld Gerrit-CC: MaxF Gerrit-CC: openvpn-devel Gerrit-Attention: flichtenheld Gerrit-Attention: MaxF Gerrit-Comment-Date: Wed, 05 Feb 2025 17:07:25 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Comment-In-Reply-To: MaxF Gerrit-MessageType: comment --GO4kjz8JqGY= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is currently required from: MaxF, flichtenheld.

View C= hange

2 comments:

    =
  • File tests/unit_tests/openvpn/test_= crypto.c:

    • Patch Set= #18, Line 877: * = the end of array. Iterating through all 65k keys takes a 2-3s, so we=

      Why is this number changed?

      Because I am stupid and thought= that for some reason that maximum epoch of 16bit is 16k when it is actuall= y 65k. The unit tests still works because it just iterated through all the = remaining 48k keys but it didn't avoid the 2-3 delay ....

    =
  • File tests/unit_tests/openvpn/= test_ssl.c:

    • Patch S= et #18, Line 642: = const uint8_t exp_tag_short[16] =3D

      What makes thi= s short? It's exactly as long as the other.

      tag for the short packet id= . The name could have been chosen a bit better. It is still a leftover when= there was a short and long packet id instead of a short packet id vs epoch= packet id.

To view, visit change 806. To unsubscribe,= or for help writing mail filters, visit settings.

Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I00751c42cb04e30205ba8e65845= 30831e0d143c5
Gerrit-Change-Number: 806
Gerrit-PatchSet: 18
Gerrit-Owner: plaisthos <arne-openvpn@...1711...= 27...>
Gerrit-Reviewer: cron2 <gert@...1296...>=
Gerrit-Reviewer: flichtenheld <frank@...2716...= 1...>
Gerrit-CC: MaxF <max@...2606...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-Attention: flichtenheld <frank@...2375...= 41...>
Gerrit-Attention: MaxF <max@...2606...> =
Gerrit-Comment-Date: Wed, 05 Feb 2025 17:07:25= +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: MaxF <max@...2606...&g= t;
Gerrit-MessageType: comment
--GO4kjz8JqGY=--