aboutsummaryrefslogtreecommitdiff
path: root/src/crypto/scrypt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto/scrypt.cpp')
-rw-r--r--src/crypto/scrypt.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/crypto/scrypt.cpp b/src/crypto/scrypt.cpp
index da02f5ead..4a04f409d 100644
--- a/src/crypto/scrypt.cpp
+++ b/src/crypto/scrypt.cpp
@@ -44,6 +44,7 @@
#endif
#endif
+#ifndef __FreeBSD__
static inline uint32_t be32dec(const void *pp)
{
const uint8_t *p = (uint8_t const *)pp;
@@ -60,6 +61,7 @@ static inline void be32enc(void *pp, uint32_t x)
p[0] = (x >> 24) & 0xff;
}
+#endif
/**
* PBKDF2_SHA256(passwd, passwdlen, salt, saltlen, c, buf, dkLen):
* Compute PBKDF2(passwd, salt, c, dkLen) using HMAC-SHA256 as the PRF, and