Skip to content

Commit

Permalink
crypto: rmd256 - remove RIPE-MD 256 hash algorithm
Browse files Browse the repository at this point in the history
RIPE-MD 256 is never referenced anywhere in the kernel, and unlikely
to be depended upon by userspace via AF_ALG. So let's remove it

Signed-off-by: Ard Biesheuvel <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
  • Loading branch information
ardbiesheuvel authored and herbertx committed Jan 29, 2021
1 parent b21b9a5 commit c15d416
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 441 deletions.
12 changes: 0 additions & 12 deletions crypto/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -834,18 +834,6 @@ config CRYPTO_RMD160
Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
See <https://homes.esat.kuleuven.be/~bosselae/ripemd160.html>

config CRYPTO_RMD256
tristate "RIPEMD-256 digest algorithm"
select CRYPTO_HASH
help
RIPEMD-256 is an optional extension of RIPEMD-128 with a
256 bit hash. It is intended for applications that require
longer hash-results, without needing a larger security level
(than RIPEMD-128).

Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
See <https://homes.esat.kuleuven.be/~bosselae/ripemd160.html>

config CRYPTO_RMD320
tristate "RIPEMD-320 digest algorithm"
select CRYPTO_HASH
Expand Down
1 change: 0 additions & 1 deletion crypto/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ obj-$(CONFIG_CRYPTO_NULL2) += crypto_null.o
obj-$(CONFIG_CRYPTO_MD4) += md4.o
obj-$(CONFIG_CRYPTO_MD5) += md5.o
obj-$(CONFIG_CRYPTO_RMD160) += rmd160.o
obj-$(CONFIG_CRYPTO_RMD256) += rmd256.o
obj-$(CONFIG_CRYPTO_RMD320) += rmd320.o
obj-$(CONFIG_CRYPTO_SHA1) += sha1_generic.o
obj-$(CONFIG_CRYPTO_SHA256) += sha256_generic.o
Expand Down
3 changes: 0 additions & 3 deletions crypto/ripemd.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
#define RMD160_DIGEST_SIZE 20
#define RMD160_BLOCK_SIZE 64

#define RMD256_DIGEST_SIZE 32
#define RMD256_BLOCK_SIZE 64

#define RMD320_DIGEST_SIZE 40
#define RMD320_BLOCK_SIZE 64

Expand Down
342 changes: 0 additions & 342 deletions crypto/rmd256.c

This file was deleted.

Loading

0 comments on commit c15d416

Please sign in to comment.