Whitespace check-in

pull/186/merge
Jeffrey Walton 2017-05-14 15:30:59 -04:00
parent 32ab4af5ff
commit 54ca8b3a16
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
2 changed files with 419 additions and 422 deletions

View File

@ -42,10 +42,7 @@ struct Threefish_Info : public VariableBlockSize<32, 32, 128>
CRYPTOPP_CONSTANT(IV_LENGTH=32)
//! \brief Provides a valid key length for the algorithm provided by a static function.
//! \param keylength the size of the key, in bytes
//! \details The key length depends on the block size. For each block size, 128, 256 and 512,
//! the key length can be either the block size or twice the block size. That means the
//! valid key lengths are 126, 256, 512 and 1024. Additionally, it means a key length of,
//! say, 32 could be used with either 128-block size or 256-block size.
//! \details Threefish uses 256, 512 and 1024-bit keys. The block size follows key length.
CRYPTOPP_STATIC_CONSTEXPR size_t CRYPTOPP_API StaticGetValidKeyLength(size_t keylength)
{
// Valid key lengths are 256, 512 and 1024 bits