diff options
author | Dave Watson <davejwatson@fb.com> | 2019-01-27 01:57:38 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-01-29 08:05:55 +0100 |
commit | 32eb67b93c9e3cd62cb423e30b090cdd4aa8d275 (patch) | |
tree | 1d74f0e18976fc62c46d74b775a2a96b153dfc80 /scripts/coccinelle | |
parent | vhost: fix OOB in get_rx_bufs() (diff) | |
download | linux-32eb67b93c9e3cd62cb423e30b090cdd4aa8d275.tar.xz linux-32eb67b93c9e3cd62cb423e30b090cdd4aa8d275.zip |
net: tls: Save iv in tls_rec for async crypto requests
aead_request_set_crypt takes an iv pointer, and we change the iv
soon after setting it. Some async crypto algorithms don't save the iv,
so we need to save it in the tls_rec for async requests.
Found by hardcoding x64 aesni to use async crypto manager (to test the async
codepath), however I don't think this combination can happen in the wild.
Presumably other hardware offloads will need this fix, but there have been
no user reports.
Fixes: a42055e8d2c30 ("Add support for async encryption of records...")
Signed-off-by: Dave Watson <davejwatson@fb.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions