fix StaticAlgorithmName() for CTR mode
parent
b52d9be85c
commit
1c25799598
2
modes.h
2
modes.h
|
|
@ -151,7 +151,7 @@ public:
|
||||||
bool IsRandomAccess() const {return true;}
|
bool IsRandomAccess() const {return true;}
|
||||||
IV_Requirement IVRequirement() const {return STRUCTURED_IV;}
|
IV_Requirement IVRequirement() const {return STRUCTURED_IV;}
|
||||||
void GetNextIV(byte *IV);
|
void GetNextIV(byte *IV);
|
||||||
static const char * CRYPTOPP_API StaticAlgorithmName() {return "Counter-BE";}
|
static const char * CRYPTOPP_API StaticAlgorithmName() {return "CTR";}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
unsigned int GetBytesPerIteration() const {return BlockSize();}
|
unsigned int GetBytesPerIteration() const {return BlockSize();}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue