commit | 7cba09c6d5bc73ebbd25a353742d9ddb7a713b95 | [log] [tgz] |
---|---|---|
author | Sabrina Dubroca <sd@queasysnail.net> | Wed Sep 12 17:44:41 2018 +0200 |
committer | David S. Miller <davem@davemloft.net> | Thu Sep 13 12:03:47 2018 -0700 |
tree | e29dc6d8d637fd36f906016dfa30aa8ee4365457 | |
parent | f0e0d04413fcce9bc76388839099aee93cd0d33b [diff] |
tls: don't copy the key out of tls12_crypto_info_aes_gcm_128 There's no need to copy the key to an on-stack buffer before calling crypto_aead_setkey(). Fixes: 3c4d7559159b ("tls: kernel TLS support") Signed-off-by: Sabrina Dubroca <sd@queasysnail.net> Signed-off-by: David S. Miller <davem@davemloft.net>