summaryrefslogtreecommitdiff
path: root/crypto/Makefile
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2017-02-03 14:49:36 +0000
committerHerbert Xu <herbert@gondor.apana.org.au>2017-02-11 17:50:45 +0800
commita18de52f6a0f36d2228ee99553bf057b1175ceb6 (patch)
tree707cc1bb460fe7898e22e4d46df37902fee3d895 /crypto/Makefile
parent18a97eca5e764e0a6e4001f8ee88062aeb6531c6 (diff)
downloadlinux-crypto-a18de52f6a0f36d2228ee99553bf057b1175ceb6.tar.gz
linux-crypto-a18de52f6a0f36d2228ee99553bf057b1175ceb6.zip
crypto: ccm - switch to separate cbcmac driver
Update the generic CCM driver to defer CBC-MAC processing to a dedicated CBC-MAC ahash transform rather than open coding this transform (and much of the associated scatterwalk plumbing) in the CCM driver itself. This cleans up the code considerably, but more importantly, it allows the use of alternative CBC-MAC implementations that don't suffer from performance degradation due to significant setup time (e.g., the NEON based AES code needs to enable/disable the NEON, and load the S-box into 16 SIMD registers, which cannot be amortized over the entire input when using the cipher interface) Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/Makefile')
0 files changed, 0 insertions, 0 deletions