aboutsummaryrefslogtreecommitdiff
path: root/blowfish_init.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'blowfish_init.hpp')
-rw-r--r--blowfish_init.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/blowfish_init.hpp b/blowfish_init.hpp
index 2d7bf6c..7e9a0d9 100644
--- a/blowfish_init.hpp
+++ b/blowfish_init.hpp
@@ -4,7 +4,8 @@
namespace Blowfish {
-constexpr std::size_t KEYLEN = 448 / sizeof(uint8_t);
+constexpr std::size_t KEYLEN_MIN = 32 / 8;
+constexpr std::size_t KEYLEN_MAX = 448 / 8;
constexpr std::size_t ROUNDS = 16;
constexpr std::size_t SUBKEYS = ROUNDS + 2;
constexpr std::size_t BOXES = 4;