Remove StaticGetValidBlockSize (GH #535)
This should have been removed around January 2018 with the other functions.pull/723/head
parent
6660982a55
commit
7bd9ffcaca
17
seckey.h
17
seckey.h
|
|
@ -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 ***************
|
||||
|
|
|
|||
Loading…
Reference in New Issue