OSDN Git Service

crypto: x86/nhpoly1305 - add SSE2 accelerated NHPoly1305
authorEric Biggers <ebiggers@google.com>
Wed, 5 Dec 2018 06:20:00 +0000 (22:20 -0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 13 Dec 2018 10:24:57 +0000 (18:24 +0800)
commit012c82388c032cd4a9821e11bae336cf4a014822
tree9e3e12eaac57e8c8ba9122ad20ba09ee81a76a19
parentb299362ee48db8eab34208302ee9730ff9d6091c
crypto: x86/nhpoly1305 - add SSE2 accelerated NHPoly1305

Add a 64-bit SSE2 implementation of NHPoly1305, an ε-almost-∆-universal
hash function used in the Adiantum encryption mode.  For now, only the
NH portion is actually SSE2-accelerated; the Poly1305 part is less
performance-critical so is just implemented in C.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/x86/crypto/Makefile
arch/x86/crypto/nh-sse2-x86_64.S [new file with mode: 0644]
arch/x86/crypto/nhpoly1305-sse2-glue.c [new file with mode: 0644]
crypto/Kconfig