From 51528ecf3d90d09351322e172d91eed0cb45b2e7 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Sun, 8 Nov 2020 20:34:13 +0200 Subject: Add more test vectors --- blowfish_init.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'blowfish_init.hpp') 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; -- cgit v1.2.1