summaryrefslogtreecommitdiff
path: root/crypto/ripemd.h
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2021-01-21 16:07:31 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2021-01-29 08:07:04 +0300
commit93f64202926f606d67b1095b59137f903c6ab304 (patch)
treec4f654dcef8993f9b9463eb4ae03d1e50276ee4e /crypto/ripemd.h
parentc15d4167f0b0465b71c0619dc30b122f1b0e5b7a (diff)
downloadlinux-93f64202926f606d67b1095b59137f903c6ab304.tar.xz
crypto: rmd320 - remove RIPE-MD 320 hash algorithm
RIPE-MD 320 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 <ardb@kernel.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/ripemd.h')
-rw-r--r--crypto/ripemd.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/crypto/ripemd.h b/crypto/ripemd.h
index a19c3c27a466..b977785e2a62 100644
--- a/crypto/ripemd.h
+++ b/crypto/ripemd.h
@@ -9,20 +9,12 @@
#define RMD160_DIGEST_SIZE 20
#define RMD160_BLOCK_SIZE 64
-#define RMD320_DIGEST_SIZE 40
-#define RMD320_BLOCK_SIZE 64
-
/* initial values */
#define RMD_H0 0x67452301UL
#define RMD_H1 0xefcdab89UL
#define RMD_H2 0x98badcfeUL
#define RMD_H3 0x10325476UL
#define RMD_H4 0xc3d2e1f0UL
-#define RMD_H5 0x76543210UL
-#define RMD_H6 0xfedcba98UL
-#define RMD_H7 0x89abcdefUL
-#define RMD_H8 0x01234567UL
-#define RMD_H9 0x3c2d1e0fUL
/* constants */
#define RMD_K1 0x00000000UL