Add RIPEMD-160 to the generic MD layer

This commit is contained in:
Manuel Pégourié-Gonnard 2014-01-17 20:41:32 +01:00
parent ff40c3ac34
commit e4d47a655b
9 changed files with 191 additions and 6 deletions

View file

@ -81,6 +81,9 @@ void rmd160_starts( rmd160_context *ctx )
ctx->state[4] = 0xC3D2E1F0;
}
/*
* Process one block
*/
void rmd160_process( rmd160_context *ctx, const unsigned char data[64] )
{
uint32_t A, B, C, D, E, Ap, Bp, Cp, Dp, Ep, X[16];