mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-31 11:17:29 +02:00
fix ripemd compression round
This commit is contained in:
@ -50,6 +50,9 @@
|
||||
#ifdef CYASSL_SHA512
|
||||
#include <cyassl/ctaocrypt/sha512.h>
|
||||
#endif
|
||||
#ifdef CYASSL_RIPEMD
|
||||
#include <cyassl/ctaocrypt/ripemd.h>
|
||||
#endif
|
||||
|
||||
#ifdef CYASSL_CALLBACKS
|
||||
#include <cyassl/openssl/cyassl_callbacks.h>
|
||||
|
@ -3238,10 +3238,10 @@ static INLINE void Sha512Round(const byte* data, int sz)
|
||||
|
||||
static INLINE void RmdRound(const byte* data, int sz)
|
||||
{
|
||||
Ripemd ripemd;
|
||||
RipeMd ripemd;
|
||||
|
||||
InitRipemd(&ripemd);
|
||||
RipemdUpdate(&ripemd, data, sz);
|
||||
InitRipeMd(&ripemd);
|
||||
RipeMdUpdate(&ripemd, data, sz);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user