aboutsummaryrefslogtreecommitdiff
path: root/src/crypto/skein.c
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2016-11-01 15:01:02 +0200
committerRiccardo Spagni <ric@spagni.net>2016-11-01 15:01:02 +0200
commit1e153c2fc63b4dafb71b29084612220beec953ae (patch)
treea547140dcb14d8a09f4c1852904dae24ccb56128 /src/crypto/skein.c
parentMerge pull request #1260 (diff)
parentChanged to ..._HASHBITS everywhere for consistency (diff)
downloadmonero-1e153c2fc63b4dafb71b29084612220beec953ae.tar.xz
Merge pull request #1273
f71b067 Changed to ..._HASHBITS everywhere for consistency (NanoAkron)
Diffstat (limited to 'src/crypto/skein.c')
-rw-r--r--src/crypto/skein.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crypto/skein.c b/src/crypto/skein.c
index 9c8ac288d..65e4525c3 100644
--- a/src/crypto/skein.c
+++ b/src/crypto/skein.c
@@ -77,7 +77,7 @@ typedef struct /* 1024-bit Skein hash context stru
} Skein1024_Ctxt_t;
/* Skein APIs for (incremental) "straight hashing" */
-#if SKEIN_256_NIST_MAX_HASH_BITS
+#if SKEIN_256_NIST_MAX_HASHBITS
static int Skein_256_Init (Skein_256_Ctxt_t *ctx, size_t hashBitLen);
#endif
static int Skein_512_Init (Skein_512_Ctxt_t *ctx, size_t hashBitLen);
@@ -1941,7 +1941,7 @@ static HashReturn Final (hashState *state, BitSequence *hashval);
/* select the context size and init the context */
static HashReturn Init(hashState *state, int hashbitlen)
{
-#if SKEIN_256_NIST_MAX_HASH_BITS
+#if SKEIN_256_NIST_MAX_HASHBITS
if (hashbitlen <= SKEIN_256_NIST_MAX_HASHBITS)
{
Skein_Assert(hashbitlen > 0,BAD_HASHLEN);