summaryrefslogtreecommitdiff
path: root/crypto/Makefile
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2018-01-05 11:09:59 -0800
committerHerbert Xu <herbert@gondor.apana.org.au>2018-01-12 23:03:43 +1100
commit65c020d01125eb251162deeecb5593986e511a9e (patch)
treeae7e994a239d3b30d2e51b0b210977ba751ef2cf /crypto/Makefile
parentfbadf07b25d5c9a0effac75205c099c733b6952d (diff)
downloadlinux-crypto-65c020d01125eb251162deeecb5593986e511a9e.tar.gz
linux-crypto-65c020d01125eb251162deeecb5593986e511a9e.zip
crypto: x86/salsa20 - cleanup and convert to skcipher API
Convert salsa20-asm from the deprecated "blkcipher" API to the "skcipher" API, in the process fixing it up to use the generic helpers. This allows removing the salsa20_keysetup() and salsa20_ivsetup() assembly functions, which aren't performance critical; the C versions do just fine. This also fixes the same bug that salsa20-generic had, where the state array was being maintained directly in the transform context rather than on the stack or in the request context. Thus, if multiple threads used the same Salsa20 transform concurrently they produced the wrong results. Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/Makefile')
0 files changed, 0 insertions, 0 deletions