Re: [PATCH v3 1/8] net/handshake: Store the key serial number on completion
From: Hannes Reinecke
Date: Mon Oct 06 2025 - 02:15:23 EST
On 10/3/25 06:31, alistair23@xxxxxxxxx wrote:
From: Alistair Francis <alistair.francis@xxxxxxx>Reviewed-by: Hannes Reincke <hare@xxxxxxx>
Allow userspace to include a key serial number when completing a
handshake with the HANDSHAKE_CMD_DONE command.
We then store this serial number and will provide it back to userspace
in the future. This allows userspace to save data to the keyring and
then restore that data later.
This will be used to support the TLS KeyUpdate operation, as now
userspace can resume information about a established session.
Signed-off-by: Alistair Francis <alistair.francis@xxxxxxx>
---
v3:
- No change
v2:
- Change "key-serial" to "session-id"
Cheers,
Hannes
--
Dr. Hannes Reinecke Kernel Storage Architect
hare@xxxxxxx +49 911 74053 688
SUSE Software Solutions GmbH, Frankenstr. 146, 90461 Nürnberg
HRB 36809 (AG Nürnberg), GF: I. Totev, A. McDonald, W. Knoblich