diff options
author | Jakub Kicinski <kuba@kernel.org> | 2022-04-11 22:19:17 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-04-13 13:45:39 +0300 |
commit | a4ae58cdb6e8ed6b00428f65515d5948e1b56deb (patch) | |
tree | 72688c7f291ba8b5e0b231f838d9a448081133f7 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | f7d45f4b52fe259c152139f1f6b2f80474b7b96f (diff) | |
download | linux-a4ae58cdb6e8ed6b00428f65515d5948e1b56deb.tar.xz |
tls: rx: only copy IV from the packet for TLS 1.2
TLS 1.3 and ChaChaPoly don't carry IV in the packet.
The code before this change would copy out iv_size
worth of whatever followed the TLS header in the packet
and then for TLS 1.3 | ChaCha overwrite that with
the sequence number. Waste of cycles especially
with TLS 1.2 being close to dead and TLS 1.3 being
the common case.
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions