Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 82798f90 authored by Adrian-Ken Rueegsegger's avatar Adrian-Ken Rueegsegger Committed by Herbert Xu
Browse files

[CRYPTO] ripemd: Add Kconfig entries for RIPEMD hash algorithms



This patch adds Kconfig entries for RIPEMD-128 and RIPEMD-160.

Signed-off-by: default avatarAdrian-Ken Rueegsegger <rueegsegger@swiss-it.ch>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent fd4adf1a
Loading
Loading
Loading
Loading
+26 −0
Original line number Diff line number Diff line
@@ -241,6 +241,32 @@ config CRYPTO_MICHAEL_MIC
	  should not be used for other purposes because of the weakness
	  of the algorithm.

config CRYPTO_RMD128
  tristate "RIPEMD-128 digest algorithm"
  select CRYPTO_ALGAPI
  help
    RIPEMD-128 (ISO/IEC 10118-3:2004).

    RIPEMD-128 is a 128-bit cryptographic hash function. It should only
    to be used as a secure replacement for RIPEMD. For other use cases
    RIPEMD-160 should be used.

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

config CRYPTO_RMD160
  tristate "RIPEMD-160 digest algorithm"
  select CRYPTO_ALGAPI
  help
    RIPEMD-160 (ISO/IEC 10118-3:2004).

    RIPEMD-160 is a 160-bit cryptographic hash function. It is intended
    to be used as a secure replacement for the 128-bit hash functions
    MD4, MD5 and it's predecessor RIPEMD (not to be confused with RIPEMD-128).

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

config CRYPTO_SHA1
	tristate "SHA1 digest algorithm"
	select CRYPTO_ALGAPI