aboutsummaryrefslogtreecommitdiff
path: root/src/crypto
diff options
context:
space:
mode:
authorPieter Wuille <[email protected]>2018-12-17 16:04:35 -0800
committerPieter Wuille <[email protected]>2019-01-16 16:31:37 -0800
commit2ccc3d3aa346e96206281a391bc29874cf5ee7f4 (patch)
tree9c32dd35ce9134f4268855545ead5714b1a7813f /src/crypto
parentAdd thread safety annotations to RNG state (diff)
downloaddiscoin-2ccc3d3aa346e96206281a391bc29874cf5ee7f4.tar.xz
discoin-2ccc3d3aa346e96206281a391bc29874cf5ee7f4.zip
Abstract out seeding/extracting entropy into RNGState::MixExtract
Diffstat (limited to 'src/crypto')
-rw-r--r--src/crypto/sha512.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/sha512.h b/src/crypto/sha512.h
index cd1023bc8..4118ac1b1 100644
--- a/src/crypto/sha512.h
+++ b/src/crypto/sha512.h
@@ -17,7 +17,7 @@ private:
uint64_t bytes;
public:
- static const size_t OUTPUT_SIZE = 64;
+ static constexpr size_t OUTPUT_SIZE = 64;
CSHA512();
CSHA512& Write(const unsigned char* data, size_t len);