mirror of https://github.com/wolfSSL/wolfssl.git
fix ripemd compression round
parent
4c9595c419
commit
6d3728fe61
|
@ -50,6 +50,9 @@
|
||||||
#ifdef CYASSL_SHA512
|
#ifdef CYASSL_SHA512
|
||||||
#include <cyassl/ctaocrypt/sha512.h>
|
#include <cyassl/ctaocrypt/sha512.h>
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef CYASSL_RIPEMD
|
||||||
|
#include <cyassl/ctaocrypt/ripemd.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef CYASSL_CALLBACKS
|
#ifdef CYASSL_CALLBACKS
|
||||||
#include <cyassl/openssl/cyassl_callbacks.h>
|
#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)
|
static INLINE void RmdRound(const byte* data, int sz)
|
||||||
{
|
{
|
||||||
Ripemd ripemd;
|
RipeMd ripemd;
|
||||||
|
|
||||||
InitRipemd(&ripemd);
|
InitRipeMd(&ripemd);
|
||||||
RipemdUpdate(&ripemd, data, sz);
|
RipeMdUpdate(&ripemd, data, sz);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue