ripemd debug

This commit is contained in:
Jacob Barthelmeh 2015-01-06 10:36:35 -07:00
parent bc48c83147
commit 42f3ec73eb
3 changed files with 7 additions and 6 deletions

1
.gitignore vendored
View File

@ -18,6 +18,7 @@ build-aux/
rpm/spec
stamp-h
cyassl/options.h
wolfssl/options.h
libtool.m4
aclocal.m4
aminclude.am

View File

@ -6079,10 +6079,10 @@ static INLINE void RmdRounds(int rounds, const byte* data, int sz)
RipeMd ripemd;
int i;
InitRipeMd(&ripemd);
wc_InitRipeMd(&ripemd);
for (i = 0; i < rounds; i++)
RipeMdUpdate(&ripemd, data, sz);
wc_RipeMdUpdate(&ripemd, data, sz);
}
#endif

View File

@ -24,15 +24,15 @@
#include <config.h>
#endif
#include <cyassl/ctaocrypt/settings.h>
#include <wolfssl/wolfcrypt/settings.h>
#ifdef WOLFSSL_RIPEMD
#include <cyassl/ctaocrypt/ripemd.h>
#include <wolfssl/wolfcrypt/ripemd.h>
#ifdef NO_INLINE
#include <cyassl/ctaocrypt/misc.h>
#include <wolfssl/wolfcrypt/misc.h>
#else
#include <ctaocrypt/src/misc.c>
#include <wolfcrypt/src/misc.c>
#endif