summaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorTudor-Dan Ambarus <tudor.ambarus@microchip.com>2017-07-20 10:37:39 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2017-08-03 08:47:22 +0300
commit952035baedb15d956d5f25b34287d728c751cac9 (patch)
tree4b45b62c2ff36007e7b7e208893fa0fcb16fa88e /lib/netdev-notifier-error-inject.c
parent0876d16124d41b78f7fdbd96ad42b1d7b13fe620 (diff)
downloadlinux-952035baedb15d956d5f25b34287d728c751cac9.tar.xz
crypto: ecdh - fix concurrency on shared secret and pubkey
ecdh_ctx contained static allocated data for the shared secret and public key. The shared secret and the public key were doomed to concurrency issues because they could be shared by multiple crypto requests. The concurrency is fixed by replacing per-tfm shared secret and public key with per-request dynamically allocated shared secret and public key. Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions