diff options
author | Jakub Kicinski <kuba@kernel.org> | 2022-07-14 22:22:32 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-07-18 11:24:11 +0100 |
commit | 6ececdc5136900bc99ef04c60c9daeab86dbeb85 (patch) | |
tree | cf60bf9c6a1cb3ca03e7bd18307a3862053b571a /lib | |
parent | 6bd116c8c6544476e6daeb48187a3ce334d28db6 (diff) | |
download | linux-6ececdc5136900bc99ef04c60c9daeab86dbeb85.tar.bz2 |
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 <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions