diff options
author | Jack Lloyd <[email protected]> | 2018-09-07 12:43:19 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-09-07 12:43:19 -0400 |
commit | ca6d04898f43d7bb707f5ee5135d83096b6611b7 (patch) | |
tree | 5f5846e652ef6e222d6db1ba04744a23f0841a91 /src/lib/block/blowfish/blowfish.h | |
parent | 854d2f1da57827dc1d4c290f850fb2b948cbe38e (diff) |
Revert increase in Blowfish minimum length.
We need to support short keys for 'PBKDF2(CMAC(Blowfish))' which
is supported as part of passhash9 format, there the passphrase is
used directly as the CMAC key.
Diffstat (limited to 'src/lib/block/blowfish/blowfish.h')
-rw-r--r-- | src/lib/block/blowfish/blowfish.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/block/blowfish/blowfish.h b/src/lib/block/blowfish/blowfish.h index d3beb0386..d5c318752 100644 --- a/src/lib/block/blowfish/blowfish.h +++ b/src/lib/block/blowfish/blowfish.h @@ -15,7 +15,7 @@ namespace Botan { /** * Blowfish */ -class BOTAN_PUBLIC_API(2,0) Blowfish final : public Block_Cipher_Fixed_Params<8, 8, 56> +class BOTAN_PUBLIC_API(2,0) Blowfish final : public Block_Cipher_Fixed_Params<8, 1, 56> { public: void encrypt_n(const uint8_t in[], uint8_t out[], size_t blocks) const override; |