Skip to content

Commit 534fe2c

Browse files
Adrian-Ken Rueegseggerherbertx
authored andcommitted
[CRYPTO] ripemd: Add Kconfig entries for extended RIPEMD hash algorithms
This patch adds Kconfig entries for RIPEMD-256 and RIPEMD-320. Signed-off-by: Adrian-Ken Rueegsegger <rueegsegger@swiss-it.ch> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
1 parent 2998db3 commit 534fe2c

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

‎crypto/Kconfig‎

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,31 @@ config CRYPTO_RMD160
264264
to be used as a secure replacement for the 128-bit hash functions
265265
MD4, MD5 and it's predecessor RIPEMD (not to be confused with RIPEMD-128).
266266

267+
It's speed is comparable to SHA1 and there are no known attacks against
268+
RIPEMD-160.
269+
270+
Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
271+
See <http://home.esat.kuleuven.be/~bosselae/ripemd160.html>
272+
273+
config CRYPTO_RMD256
274+
tristate "RIPEMD-256 digest algorithm"
275+
select CRYPTO_ALGAPI
276+
help
277+
RIPEMD-256 is an optional extension of RIPEMD-128 with a 256 bit hash.
278+
It is intended for applications that require longer hash-results, without
279+
needing a larger security level (than RIPEMD-128).
280+
281+
Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
282+
See <http://home.esat.kuleuven.be/~bosselae/ripemd160.html>
283+
284+
config CRYPTO_RMD320
285+
tristate "RIPEMD-320 digest algorithm"
286+
select CRYPTO_ALGAPI
287+
help
288+
RIPEMD-320 is an optional extension of RIPEMD-160 with a 320 bit hash.
289+
It is intended for applications that require longer hash-results, without
290+
needing a larger security level (than RIPEMD-160).
291+
267292
Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
268293
See <http://home.esat.kuleuven.be/~bosselae/ripemd160.html>
269294

0 commit comments

Comments
 (0)