]> git.ipfire.org Git - thirdparty/openssl.git/commit
Introduce the PACKET_msg_start() function
authorMatt Caswell <matt@openssl.org>
Thu, 5 Jun 2025 13:41:55 +0000 (14:41 +0100)
committerMatt Caswell <matt@openssl.org>
Fri, 20 Feb 2026 16:40:25 +0000 (16:40 +0000)
commitd63a368183ca3e7e1ec1832e667472c3e1080a73
treebf1c29fa5173781bab6c4cc0347c7ebd9ae494eb
parent4e8a850294d3860e39c2e7feda6b552fd06db80b
Introduce the PACKET_msg_start() function

This gives us the start of the buffer in use for the PACKET.

We then use this information when calculating the TLS PSK binder.
Previously we were assuming knowledge about where the buffer starts.
However, with ECH, we may be using a different buffer to normal so it is
better to ask the PACKET where the start of the buffer is.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/27776)
include/internal/packet.h
ssl/statem/extensions_srvr.c
ssl/statem/statem.c