diff options
| author | Jakub Kicinski <[email protected]> | 2022-04-11 12:19:17 -0700 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2022-04-13 11:45:39 +0100 |
| commit | a4ae58cdb6e8ed6b00428f65515d5948e1b56deb (patch) | |
| tree | 72688c7f291ba8b5e0b231f838d9a448081133f7 /tools/perf/scripts/python | |
| parent | f7d45f4b52fe259c152139f1f6b2f80474b7b96f (diff) | |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions