Fix AlgorithmName() for 128-bit block SIMON and SPECK
parent
0fab2a188f
commit
c14e054ed8
2
simon.h
2
simon.h
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue