crypto: nhpoly1305 - add NHPoly1305 support
Add a generic implementation of NHPoly1305, an ε-almost-∆-universal hash function used in the Adiantum encryption mode. CONFIG_NHPOLY1305 is not selectable by itself since there won't be any real reason to enable it without also enabling Adiantum support. Signed-off-by:Eric Biggers <ebiggers@google.com> Acked-by:
Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by:
Herbert Xu <herbert@gondor.apana.org.au>
Showing
- crypto/Kconfig 5 additions, 0 deletionscrypto/Kconfig
- crypto/Makefile 1 addition, 0 deletionscrypto/Makefile
- crypto/nhpoly1305.c 254 additions, 0 deletionscrypto/nhpoly1305.c
- crypto/testmgr.c 6 additions, 0 deletionscrypto/testmgr.c
- crypto/testmgr.h 1236 additions, 4 deletionscrypto/testmgr.h
- include/crypto/nhpoly1305.h 74 additions, 0 deletionsinclude/crypto/nhpoly1305.h
Please register or sign in to comment