linux/net/tls
Ilya Lesokhin 196c31b4b5 tls: Avoid copying crypto_info again after cipher_type check.
Avoid copying crypto_info again after cipher_type check
to avoid a TOCTOU exploits.
The temporary array on the stack is removed as we don't really need it

Fixes: 3c4d755915 ('tls: kernel TLS support')
Signed-off-by: Ilya Lesokhin <ilyal@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-11-14 16:26:34 +09:00
..
Kconfig tls: update Kconfig 2017-06-17 22:56:46 -04:00
Makefile
tls_main.c tls: Avoid copying crypto_info again after cipher_type check. 2017-11-14 16:26:34 +09:00
tls_sw.c tls: Move tls_make_aad to header to allow sharing 2017-11-14 16:26:34 +09:00