aboutsummaryrefslogtreecommitdiffstats
path: root/net/tls/tls.h
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2022-07-15 05:22:32 +0000
committerDavid S. Miller <[email protected]>2022-07-18 10:24:11 +0000
commit6ececdc5136900bc99ef04c60c9daeab86dbeb85 (patch)
treecf60bf9c6a1cb3ca03e7bd18307a3862053b571a /net/tls/tls.h
parenttls: rx: return the decrypted skb via darg (diff)
downloadkernel-6ececdc5136900bc99ef04c60c9daeab86dbeb85.tar.gz
kernel-6ececdc5136900bc99ef04c60c9daeab86dbeb85.zip
tls: rx: async: adjust record geometry immediately
Async crypto TLS Rx currently waits for crypto to be done in order to strip the TLS header and tailer. Simplify the code by moving the pointers immediately, since only TLS 1.2 is supported here there is no message padding. This simplifies the decryption into a new skb in the next patch as we don't have to worry about input vs output skb in the decrypt_done() handler any more. Signed-off-by: Jakub Kicinski <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tls/tls.h')
0 files changed, 0 insertions, 0 deletions