summaryrefslogtreecommitdiff
path: root/include/net/tls.h
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2023-07-27 20:35:23 +0300
committerJakub Kicinski <kuba@kernel.org>2023-07-29 00:07:59 +0300
commit6a7eccef47b205ae66371a26d36dfb2529835075 (patch)
tree2b07375ce4f68411d51943f2d92aeaa01e3136f2 /include/net/tls.h
parent6eaae198076080886b9e7d57f4ae06fa782f90ef (diff)
downloadlinux-6a7eccef47b205ae66371a26d36dfb2529835075.tar.xz
net/tls: Move TLS protocol elements to a separate header
Kernel TLS consumers will need definitions of various parts of the TLS protocol, but often do not need the function declarations and other infrastructure provided in <net/tls.h>. Break out existing standardized protocol elements into a separate header, and make room for a few more elements in subsequent patches. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Link: https://lore.kernel.org/r/169047931374.5241.7713175865185969309.stgit@oracle-102.nfsv4bat.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/net/tls.h')
-rw-r--r--include/net/tls.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/net/tls.h b/include/net/tls.h
index 5e71dd3df8ca..06fca9160346 100644
--- a/include/net/tls.h
+++ b/include/net/tls.h
@@ -69,10 +69,6 @@ extern const struct tls_cipher_size_desc tls_cipher_size_desc[];
#define TLS_CRYPTO_INFO_READY(info) ((info)->cipher_type)
-#define TLS_RECORD_TYPE_ALERT 0x15
-#define TLS_RECORD_TYPE_HANDSHAKE 0x16
-#define TLS_RECORD_TYPE_DATA 0x17
-
#define TLS_AAD_SPACE_SIZE 13
#define MAX_IV_SIZE 16