diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2023-07-27 19:35:50 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-07-28 23:07:59 +0200 |
commit | 0257427146e84af365612508ace9d0d87dfb7d7a (patch) | |
tree | 5047c9125b8d65c561f46f8fdfeb71f1c80c73b7 /include/net/handshake.h | |
parent | net/tls: Move TLS protocol elements to a separate header (diff) | |
download | linux-0257427146e84af365612508ace9d0d87dfb7d7a.tar.xz linux-0257427146e84af365612508ace9d0d87dfb7d7a.zip |
net/tls: Add TLS Alert definitions
I'm about to add support for kernel handshake API consumers to send
TLS Alerts, so introduce the needed protocol definitions in the new
header tls_prot.h.
This presages support for Closure alerts. Also, support for alerts
is a pre-requite for handling session re-keying, where one peer will
signal the need for a re-key by sending a TLS Alert.
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Link: https://lore.kernel.org/r/169047934064.5241.8377890858495063518.stgit@oracle-102.nfsv4bat.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/net/handshake.h')
0 files changed, 0 insertions, 0 deletions