diff options
| author | Pieter Wuille <[email protected]> | 2018-12-17 16:04:35 -0800 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2019-01-16 16:31:37 -0800 |
| commit | 2ccc3d3aa346e96206281a391bc29874cf5ee7f4 (patch) | |
| tree | 9c32dd35ce9134f4268855545ead5714b1a7813f /src/crypto | |
| parent | Add thread safety annotations to RNG state (diff) | |
| download | discoin-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.h | 2 |
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); |