Skip to content

Commit f676740

Browse files
author
Eric Biggers
committed
crypto: nhpoly1305 - Remove crypto_shash support
Remove nhpoly1305 support from crypto_shash. It no longer has any user now that crypto/adiantum.c no longer uses it. Acked-by: Herbert Xu <herbert@gondor.apana.org.au> Link: https://lore.kernel.org/r/20251211011846.8179-11-ebiggers@kernel.org Signed-off-by: Eric Biggers <ebiggers@kernel.org>
1 parent 2f64821 commit f676740

4 files changed

Lines changed: 0 additions & 336 deletions

File tree

crypto/Kconfig

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -759,12 +759,6 @@ config CRYPTO_XTS
759759
implementation currently can't handle a sectorsize which is not a
760760
multiple of 16 bytes.
761761

762-
config CRYPTO_NHPOLY1305
763-
tristate
764-
select CRYPTO_HASH
765-
select CRYPTO_LIB_POLY1305
766-
select CRYPTO_LIB_POLY1305_GENERIC
767-
768762
endmenu
769763

770764
menu "AEAD (authenticated encryption with associated data) ciphers"

crypto/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ obj-$(CONFIG_CRYPTO_CTR) += ctr.o
9494
obj-$(CONFIG_CRYPTO_XCTR) += xctr.o
9595
obj-$(CONFIG_CRYPTO_HCTR2) += hctr2.o
9696
obj-$(CONFIG_CRYPTO_ADIANTUM) += adiantum.o
97-
obj-$(CONFIG_CRYPTO_NHPOLY1305) += nhpoly1305.o
9897
obj-$(CONFIG_CRYPTO_GCM) += gcm.o
9998
obj-$(CONFIG_CRYPTO_CCM) += ccm.o
10099
obj-$(CONFIG_CRYPTO_CHACHA20POLY1305) += chacha20poly1305.o

crypto/nhpoly1305.c

Lines changed: 0 additions & 255 deletions
This file was deleted.

include/crypto/nhpoly1305.h

Lines changed: 0 additions & 74 deletions
This file was deleted.

0 commit comments

Comments
 (0)