diff options
author | Tudor-Dan Ambarus <tudor.ambarus@microchip.com> | 2017-07-20 09:37:39 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2017-08-03 07:47:22 +0200 |
commit | 952035baedb15d956d5f25b34287d728c751cac9 (patch) | |
tree | 4b45b62c2ff36007e7b7e208893fa0fcb16fa88e /drivers | |
parent | crypto: ccp - remove duplicate module version and author entry (diff) | |
download | linux-952035baedb15d956d5f25b34287d728c751cac9.tar.xz linux-952035baedb15d956d5f25b34287d728c751cac9.zip |
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 'drivers')
0 files changed, 0 insertions, 0 deletions