aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKrzysztof Kwiatkowski <[email protected]>2017-05-03 10:50:12 +0100
committerKrzysztof Kwiatkowski <[email protected]>2017-05-03 10:50:12 +0100
commit25c4af4af162fc2bf047b0afb451b6dc76f4a33d (patch)
tree45d5bd95b38abe784506744201fa1babe926b844 /src
parent131bdc060745104e952043690d801377ed277d28 (diff)
Use uint64_t to represent 32-bit number (fixes unittests)
Diffstat (limited to 'src')
-rw-r--r--src/lib/kdf/sp800_56a/sp800_56a.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/kdf/sp800_56a/sp800_56a.cpp b/src/lib/kdf/sp800_56a/sp800_56a.cpp
index f8593c7f4..29249b99a 100644
--- a/src/lib/kdf/sp800_56a/sp800_56a.cpp
+++ b/src/lib/kdf/sp800_56a/sp800_56a.cpp
@@ -15,7 +15,7 @@
namespace Botan {
namespace {
-static const size_t MAX_REPS = (2ULL << 32);
+static const uint64_t MAX_REPS = (2ULL << 32);
// Option1: auxiliary function is a hash function
template<typename T>