net/tls: Move TLS protocol elements to a separate header
authorChuck Lever <chuck.lever@oracle.com>
Thu, 27 Jul 2023 17:35:23 +0000 (13:35 -0400)
committerJakub Kicinski <kuba@kernel.org>
Fri, 28 Jul 2023 21:07:59 +0000 (14:07 -0700)
commit6a7eccef47b205ae66371a26d36dfb2529835075
tree2b07375ce4f68411d51943f2d92aeaa01e3136f2
parent6eaae198076080886b9e7d57f4ae06fa782f90ef
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>
drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls.h
include/net/tls.h
include/net/tls_prot.h [new file with mode: 0644]
net/sunrpc/svcsock.c
net/sunrpc/xprtsock.c
net/tls/tls.h