diff options
author | Jeffrey Walton <noloader@gmail.com> | 2018-10-14 08:01:25 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2018-10-14 08:01:25 -0400 |
commit | 7bd9ffcaca0c7a82b7b80569063bcfa07b26a067 (patch) | |
tree | 475ef4b3b69f9662e6106c11939ecfc888931179 /seckey.h | |
parent | 6660982a555c0488bb8f3fe5d7c808e5b2b782da (diff) | |
download | cryptopp-git-7bd9ffcaca0c7a82b7b80569063bcfa07b26a067.tar.gz |
Remove StaticGetValidBlockSize (GH #535)
This should have been removed around January 2018 with the other functions.
Diffstat (limited to 'seckey.h')
-rw-r--r-- | seckey.h | 17 |
1 files changed, 0 insertions, 17 deletions
@@ -48,23 +48,6 @@ public: CRYPTOPP_CONSTANT(MIN_BLOCKSIZE = N)
/// \brief The maximum blocksize for the algorithm provided as a constant.
CRYPTOPP_CONSTANT(MAX_BLOCKSIZE = N)
- /// \brief The default block size for the algorithm provided by a static function.
- /// \param blocksize the block size, in bytes
- /// \details The default implementation returns BLOCKSIZE. blocksize is unused
- /// in the default implementation.
- CRYPTOPP_STATIC_CONSTEXPR size_t CRYPTOPP_API StaticGetValidBlockSize(size_t blocksize)
- {
- return CRYPTOPP_UNUSED(blocksize), static_cast<size_t>(BLOCKSIZE);
- }
- /// \brief The default block size under a key provided by a static function.
- /// \param keylength the size of the key, in bytes
- /// \param blocksize the block size, in bytes
- /// \details The default implementation returns BLOCKSIZE. blocksize is unused
- /// in the default implementation.
- CRYPTOPP_STATIC_CONSTEXPR size_t CRYPTOPP_API StaticGetValidBlockSize(size_t keylength, size_t blocksize)
- {
- return CRYPTOPP_UNUSED(keylength), CRYPTOPP_UNUSED(blocksize), static_cast<size_t>(BLOCKSIZE);
- }
};
// ************** rounds ***************
|