diff options
author | Jeffrey Walton <noloader@gmail.com> | 2017-11-21 06:40:02 -0500 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2017-11-21 06:40:02 -0500 |
commit | c14e054ed80cabb5e773446ab173105e68d3c9b7 (patch) | |
tree | c32a67151bc1eab7047b706d9176492f500d7e8f /speck.h | |
parent | 0fab2a188f2817c349c781272ae18b972daedaf0 (diff) | |
download | cryptopp-git-c14e054ed80cabb5e773446ab173105e68d3c9b7.tar.gz |
Fix AlgorithmName() for 128-bit block SIMON and SPECK
Diffstat (limited to 'speck.h')
-rw-r--r-- | speck.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -115,7 +115,7 @@ public: {
public:
std::string AlgorithmName() const {
- return StaticAlgorithmName() + "(" + IntToString(sizeof(word64)*8) + ")";
+ return StaticAlgorithmName() + "(" + IntToString(m_kwords*sizeof(word64)*8) + ")";
}
protected:
|