]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: nhpoly1305 - add NHPoly1305 support
authorEric Biggers <ebiggers@google.com>
Sat, 17 Nov 2018 01:26:29 +0000 (17:26 -0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 20 Nov 2018 06:26:56 +0000 (14:26 +0800)
commit57ac03fa4219a6771f84a0aab3e038b95b67eb65
tree9f45456ea58fde4464ea71910acf0faf55214555
parent37b24601a04b593cc8e995b278b1464c3aebd625
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>
crypto/Kconfig
crypto/Makefile
crypto/nhpoly1305.c [new file with mode: 0644]
crypto/testmgr.c
crypto/testmgr.h
include/crypto/nhpoly1305.h [new file with mode: 0644]