]> git.ipfire.org Git - thirdparty/gnutls.git/commit
tls13/key_update: Expose a manual KeyUpdate function
authorAlistair Francis <alistair.francis@wdc.com>
Mon, 26 May 2025 04:41:46 +0000 (14:41 +1000)
committerDaiki Ueno <ueno@gnu.org>
Thu, 25 Sep 2025 05:22:26 +0000 (14:22 +0900)
commit68077482f5a72ef8176b3f9edf9b63f1663a9ae8
treebdf07e964d0ce3d389406f48a980fe80c265d170
parent9ec1ff2529565d73775fcb823d02125e6b4e0af4
tls13/key_update: Expose a manual KeyUpdate function

As part of supporting KeyUpdate in ktls-utils and NVMe-OF we need to
trigger an update of the local keys after the kernel has received a
KeyUpdate message.

This patch creates a new gnutls_handshake_update_receiving_key() function
that allows updating the local keys without sending any KeyUpdate
requests.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Modified-by: Daiki Ueno <ueno@gnu.org>
NEWS
devel/symbols.last
doc/Makefile.am
doc/manpages/Makefile.am
lib/includes/gnutls/gnutls.h.in
lib/libgnutls.map
lib/tls13/key_update.c
lib/tls13/key_update.h
tests/handshake-write.c