Remove StaticGetValidBlockSize (GH #535)

This should have been removed around January 2018 with the other functions.
pull/723/head
Jeffrey Walton 2018-10-14 08:01:25 -04:00
parent 6660982a55
commit 7bd9ffcaca
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
1 changed files with 0 additions and 17 deletions

View File

@ -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 ***************