diff options
author | Jack Lloyd <[email protected]> | 2018-09-07 10:59:54 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-09-07 10:59:54 -0400 |
commit | 854d2f1da57827dc1d4c290f850fb2b948cbe38e (patch) | |
tree | ee8c21eafc96be94fa59cc66a975f4ee1365503f /src/lib/block | |
parent | de136a9470204df923d65e0217a4d7a21ae0d7e8 (diff) |
Increase minimum Blowfish key length to 64 bits
See #1673
Also, skip tests if the provider doesn't support the given key length.
Diffstat (limited to 'src/lib/block')
-rw-r--r-- | src/lib/block/blowfish/blowfish.h | 2 | ||||
-rw-r--r-- | src/lib/block/blowfish/info.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/block/blowfish/blowfish.h b/src/lib/block/blowfish/blowfish.h index d5c318752..d3beb0386 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, 1, 56> +class BOTAN_PUBLIC_API(2,0) Blowfish final : public Block_Cipher_Fixed_Params<8, 8, 56> { public: void encrypt_n(const uint8_t in[], uint8_t out[], size_t blocks) const override; diff --git a/src/lib/block/blowfish/info.txt b/src/lib/block/blowfish/info.txt index cc72634df..25a6363c9 100644 --- a/src/lib/block/blowfish/info.txt +++ b/src/lib/block/blowfish/info.txt @@ -1,3 +1,3 @@ <defines> -BLOWFISH -> 20180718 +BLOWFISH -> 20180907 </defines> |