summaryrefslogtreecommitdiff
path: root/arch/arm/crypto/Kconfig
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2019-10-10 21:51:32 -0700
committerHerbert Xu <herbert@gondor.apana.org.au>2019-10-23 19:46:56 +1100
commit4549f7e5aa27ffc2cba63b5db8842a3b486f5688 (patch)
tree576981916d31b365891a522c538b320d478892d6 /arch/arm/crypto/Kconfig
parente53619c840ba449f3f671d6b8ddc2341bdfa1a56 (diff)
crypto: geode-aes - convert to skcipher API and make thread-safe
The geode AES driver is heavily broken because it stores per-request state in the transform context. So it will crash or produce the wrong result if used by any of the many places in the kernel that issue concurrent requests for the same transform object. This driver is also implemented using the deprecated blkcipher API, which makes it difficult to fix, and puts it among the drivers preventing that API from being removed. Convert this driver to use the skcipher API, and change it to not store per-request state in the transform context. Fixes: 9fe757b0cfce ("[PATCH] crypto: Add support for the Geode LX AES hardware") Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/arm/crypto/Kconfig')
0 files changed, 0 insertions, 0 deletions