From 7bd9ffcaca0c7a82b7b80569063bcfa07b26a067 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Sun, 14 Oct 2018 08:01:25 -0400 Subject: [PATCH] Remove StaticGetValidBlockSize (GH #535) This should have been removed around January 2018 with the other functions. --- seckey.h | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/seckey.h b/seckey.h index 7a711a65..343bd730 100644 --- a/seckey.h +++ b/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(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(BLOCKSIZE); - } }; // ************** rounds ***************