RIPEMD-160 support in crypto

Bruce Fitzsimons bruce@REDACTED
Tue Mar 1 21:17:49 CET 2011


Hi list,

First time git patch submission.

I've added RIPEMD-160 to crypto. It compiles...but I'm having serious 
problems getting a current dev environment, much less one that will run 
the test_server. This is less than ideal, so it would be appreciated if 
someone can take it and ensure the tests run okay?

git fetch git://github.com/Bwooce/otp.git crypto_RIPEMD

I realise an untested patch is less than ideal, but the nif support 
won't let me test it with a previous release (1.1 vs 1.0 of the 
interface) and I'm having issues getting the current release installed.

Can anyone help? Style notes on the patch also appreciated :-)

----
Added RIPEMD-160 support to the crypto module

Added RIMPEMD-160 (RACE Integrity Primitives Evaluation Message
Digest) support to the crypto module in the same style as the
existing SHA-1/MD5 functions. It is supported in openssl natively so
this was an easy addition. Named ripemd160 as there are other
sized variants, and ripemd (the original) is known to be vulnerable.
http://homes.esat.kuleuven.be/~bosselae/ripemd160.html appears to
be the official page for this algorithm.
---

Regards,
Bruce


More information about the erlang-patches mailing list