Re: [Openvpn-devel] [PATCH v2] Correctly calculate packet id size when epoch packet format is in use

Antonio Quartulli <[email protected]> Wed, 29 Jul 2026 10:19:19 +0200
Newsgroups net.sourceforge.lists.openvpn-devel
Message-ID <[email protected]>
Hi,

On 29/07/2026 08:41, Gert Doering wrote:
[...]

> +    /* epoch uses a 64-bit packet ID consisting of 64 bit (24 bit epoch + 48 bit IV) */

As reported on GitHub, there is a typ0 here: 24 should be 16
Sorry for having missed that during review.

Regards,

> +    if (epoch)
> +    {
> +        return sizeof(uint64_t);
> +    }
>   
>       bool packet_id_long_form = !tlsmode || cipher_kt_mode_ofb_cfb(kt->cipher);
>   
> 
> 
> _______________________________________________
> Openvpn-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/openvpn-devel

-- 
Antonio Quartulli



_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel