|
@@ -94,9 +94,9 @@ const struct ltc_hash_descriptor rmd320_desc =
|
|
|
|
|
|
|
|
|
#ifdef LTC_CLEAN_STACK
|
|
|
-static int _rmd320_compress(hash_state *md, unsigned char *buf)
|
|
|
+static int _rmd320_compress(hash_state *md, const unsigned char *buf)
|
|
|
#else
|
|
|
-static int rmd320_compress(hash_state *md, unsigned char *buf)
|
|
|
+static int rmd320_compress(hash_state *md, const unsigned char *buf)
|
|
|
#endif
|
|
|
{
|
|
|
ulong32 aa,bb,cc,dd,ee,aaa,bbb,ccc,ddd,eee,tmp,X[16];
|
|
@@ -325,7 +325,7 @@ static int rmd320_compress(hash_state *md, unsigned char *buf)
|
|
|
}
|
|
|
|
|
|
#ifdef LTC_CLEAN_STACK
|
|
|
-static int rmd320_compress(hash_state *md, unsigned char *buf)
|
|
|
+static int rmd320_compress(hash_state *md, const unsigned char *buf)
|
|
|
{
|
|
|
int err;
|
|
|
err = _rmd320_compress(md, buf);
|