mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2024-11-26 19:30:21 +00:00
Avoid cast in PtrDiff
ptrdiff_t is the return type
This commit is contained in:
parent
9e50eae673
commit
3b6872a8cd
3
modes.h
3
modes.h
@ -166,8 +166,9 @@ class CRYPTOPP_DLL CRYPTOPP_NO_VTABLE CFB_ModePolicy : public ModePolicyCommonTe
|
||||
{
|
||||
public:
|
||||
CRYPTOPP_STATIC_CONSTEXPR const char* CRYPTOPP_API StaticAlgorithmName() {return "CFB";}
|
||||
virtual ~CFB_ModePolicy() {}
|
||||
|
||||
virtual ~CFB_ModePolicy() {}
|
||||
CFB_ModePolicy() : m_feedbackSize(0) {}
|
||||
IV_Requirement IVRequirement() const {return RANDOM_IV;}
|
||||
|
||||
protected:
|
||||
|
Loading…
Reference in New Issue
Block a user