diff options
author | Sabrina Dubroca <sd@queasysnail.net> | 2024-12-12 18:36:04 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-12-16 15:47:29 +0300 |
commit | 0471b1093e3a5d702ba2bf5987c35ee0e2336855 (patch) | |
tree | a4b7b39ebd281e81bccc51a0cd3f455fb94133d9 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 92c932b9946c1e082406aa0515916adb3e662e24 (diff) | |
download | linux-0471b1093e3a5d702ba2bf5987c35ee0e2336855.tar.xz |
tls: block decryption when a rekey is pending
When a TLS handshake record carrying a KeyUpdate message is received,
all subsequent records will be encrypted with a new key. We need to
stop decrypting incoming records with the old key, and wait until
userspace provides a new key.
Make a note of this in the RX context just after decrypting that
record, and stop recvmsg/splice calls with EKEYEXPIRED until the new
key is available.
key_update_pending can't be combined with the existing bitfield,
because we will read it locklessly in ->poll.
Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions