mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2024-11-23 01:49:41 +00:00
Use non-virtual IteratedHashWithStaticTransform::Init in ctor (GH #147)
This commit is contained in:
parent
926543ef66
commit
26a819d5c2
@ -191,7 +191,8 @@ public:
|
||||
unsigned int DigestSize() const {return DIGESTSIZE;}
|
||||
|
||||
protected:
|
||||
IteratedHashWithStaticTransform() {this->Init();}
|
||||
// https://github.com/weidai11/cryptopp/issues/147#issuecomment-766231864
|
||||
IteratedHashWithStaticTransform() {IteratedHashWithStaticTransform::Init();}
|
||||
void HashEndianCorrectedBlock(const T_HashWordType *data) {T_Transform::Transform(this->m_state, data);}
|
||||
void Init() {T_Transform::InitState(this->m_state);}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user