diff --git a/speck.h b/speck.h index 95784768..108c82ec 100644 --- a/speck.h +++ b/speck.h @@ -24,18 +24,18 @@ NAMESPACE_BEGIN(CryptoPP) //! \class SPECK_Info //! \brief SPECK block cipher information -//! \tparam BS block size of the cipher, in bytes +//! \tparam L block size of the cipher, in bytes //! \tparam D default key length, in bytes //! \tparam N minimum key length, in bytes //! \tparam M maximum key length, in bytes //! \since Crypto++ 6.0 -template -struct SPECK_Info : public FixedBlockSize, VariableKeyLength +template +struct SPECK_Info : public FixedBlockSize, VariableKeyLength { static const std::string StaticAlgorithmName() { // Format is Cipher-Blocksize(Keylength) - return "SPECK-" + IntToString(BS*8); + return "SPECK-" + IntToString(L*8); } };