summaryrefslogtreecommitdiffstats
path: root/crypto/tgr192.c
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2019-11-08 13:22:17 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2019-11-17 09:02:40 +0800
commit3a2f58f3ba4f6f44e33d1a48240d5eadb882cb59 (patch)
tree4db812f7ac84ba457c76b99f6fd06552bec60ff0 /crypto/tgr192.c
parent49aa7c00eddf8d8f462b0256bd82e81762d7b0c6 (diff)
downloadlinux-3a2f58f3ba4f6f44e33d1a48240d5eadb882cb59.tar.gz
linux-3a2f58f3ba4f6f44e33d1a48240d5eadb882cb59.tar.bz2
linux-3a2f58f3ba4f6f44e33d1a48240d5eadb882cb59.zip
crypto: mips/chacha - wire up accelerated 32r2 code from Zinc
This integrates the accelerated MIPS 32r2 implementation of ChaCha into both the API and library interfaces of the kernel crypto stack. The significance of this is that, in addition to becoming available as an accelerated library implementation, it can also be used by existing crypto API code such as Adiantum (for block encryption on ultra low performance cores) or IPsec using chacha20poly1305. These are use cases that have already opted into using the abstract crypto API. In order to support Adiantum, the core assembler routine has been adapted to take the round count as a function argument rather than hardcoding it to 20. Co-developed-by: René van Dorst <opensource@vdorst.com> Signed-off-by: René van Dorst <opensource@vdorst.com> Signed-off-by: Ard Biesheuvel <ardb@kernel.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/tgr192.c')
0 files changed, 0 insertions, 0 deletions