From: "plaisthos (Code Review)" Date: Fri, 15 Nov 2024 11:59:33 +0000 In-Reply-To: References: Reply-To: arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, frank@...2641..., gert@...1296..., a@...2181... Message-ID: <19d740b385a2a081fe486787aac57b5a3b2fb940-EmailReviewComments-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="HOfYIr0NxLs="; charset=UTF-8 Subject: [Openvpn-devel] [M] Change in openvpn[master]: Use XOR instead of concatenation for calculation of IV from implicit IV List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: cron2 , flichtenheld , openvpn-devel --HOfYIr0NxLs= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: cron2, flichtenheld, ordex. plaisthos has posted comments on this change. ( http://gerrit.openvpn.net/c= /openvpn/+/797?usp=3Demail ) Change subject: Use XOR instead of concatenation for calculation of IV fro= m implicit IV ...................................................................... Patch Set 3: (2 comments) File src/openvpn/crypto.c: http://gerrit.openvpn.net/c/openvpn/+/797/comment/9dbf827d_d3cd9727 : PS3, Line 435: const size_t packet_iv_len =3D packet_id_size(false); > nit: since you are keeping this declaration here, I think it is more desc= riptive to use packet_iv_le [=E2=80=A6] I don't really follow. Where do you want me to use packet_iv_len and instea= d of what? File src/openvpn/ssl.c: http://gerrit.openvpn.net/c/openvpn/+/797/comment/24afc1eb_4d268ad7 : PS3, Line 1566: /* The first bytes of the IV are filled with the pa= cket id */ > is the extension to 96 bits implicit IV coming with a future patch? (i.e.= DATA_V3 patchset?) [=E2=80=A6] Yes. That is being done in a one of the future patches. -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/797?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: I74216d776d3e0a8dc987ec7b1671c8e8dcccdbd6 Gerrit-Change-Number: 797 Gerrit-PatchSet: 3 Gerrit-Owner: plaisthos Gerrit-Reviewer: flichtenheld Gerrit-CC: cron2 Gerrit-CC: openvpn-devel Gerrit-CC: ordex Gerrit-Attention: cron2 Gerrit-Attention: flichtenheld Gerrit-Attention: ordex Gerrit-Comment-Date: Fri, 15 Nov 2024 11:59:33 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Comment-In-Reply-To: ordex Gerrit-MessageType: comment --HOfYIr0NxLs= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is currently required from: cron2, flichtenheld, ordex.

View C= hange

2 comments:

    =
  • File src/openvpn/crypto.c:

    • Patch Set #3, Line 435:= const size_t packe= t_iv_len =3D packet_id_size(false);

      nit: since you ar= e keeping this declaration here, I think it is more descriptive to use pack= et_iv_le [=E2=80=A6]

      I don't really follow. Where do you want me to use= packet_iv_len and instead of what?

  • File src/openvpn/ssl.c:

    • Patch Set #3, Line 1566: /* The first bytes of the IV are filled w= ith the packet id */

      is the extension to 96 bits impl= icit IV coming with a future patch? (i.e. DATA_V3 patchset?) [=E2=80=A6]

      Ye= s. That is being done in a one of the future patches.

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

    Gerrit-Project: openvpn
    Gerrit-Branch: master
    Gerrit-Change-Id: I74216d776d3e0a8dc987ec7b167= 1c8e8dcccdbd6
    Gerrit-Change-Number: 797
    Gerrit-PatchSet: 3
    Gerrit-Owner: plaisthos <arne-openvpn@...1711...= 27...>
    Gerrit-Reviewer: flichtenheld <frank@...2716...= 1...>
    Gerrit-CC: cron2 <gert@...1296...>
    Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
    Gerrit-CC: ordex <a@...2181...>
    Gerrit-Attention: cron2 <gert@...1296...>= ;
    Gerrit-Attention: flichtenheld <frank@...2375...= 41...>
    Gerrit-Attention: ordex <a@...2181...> <= /div>
    Gerrit-Comment-Date: Fri, 15 Nov 2024 11:59:33= +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: ordex <a@...2181...>= ;
    Gerrit-MessageType: comment
    --HOfYIr0NxLs=--