class CRYPTOPP_DLL CRYPTOPP_NO_VTABLE CFB_ModePolicy : public
ModePolicyCommonTemplate<CFB_CipherAbstractPolicy>
{
public:
        IV_Requirement IVRequirement() const {return RANDOM_IV;}
        static const char * CRYPTOPP_API StaticAlgorithmName() {return
"CFB";}

protected:
        unsigned int GetBytesPerIteration() const {return m_feedbackSize;}
        byte * GetRegisterBegin() {return m_register + BlockSize() -
m_feedbackSize;}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: use of overloaded operator '+' is ambiguous [2]
         byte * GetRegisterBegin() {return m_register + BlockSize() -
m_feedbackSize;}
                                           ~~~~~~~~~~ ^ ~~~~~~~~~~~
cryptopp/modes.h:103:47: note: built-in candidate operator+(unsigned
char *, long) [2]
cryptopp/modes.h:103:47: note: built-in candidate operator+(volatile
unsigned char *, long) [2]
cryptopp/modes.h:103:47: note: built-in candidate operator+(const
restrict unsigned char *, long) [2]
cryptopp/modes.h:103:47: note: built-in candidate operator+(const
volatile unsigned char *, long) [2]
cryptopp/modes.h:103:47: note: built-in candidate operator+(restrict
unsigned char *, long) [2]
cryptopp/modes.h:103:47: note: built-in candidate operator+(volatile
restrict unsigned char *, long) [2]
cryptopp/modes.h:103:47: note: built-in candidate operator+(const
volatile restrict unsigned char *, long) [2]
cryptopp/modes.h:103:47: note: built-in candidate operator+(void *,
long) [2]
cryptopp/modes.h:103:47: note: built-in candidate operator+(const void
*, long) [2]
cryptopp/modes.h:103:47: note: built-in candidate operator+(restrict
void *, long) [2]
cryptopp/modes.h:103:47: note: built-in candidate operator+(const
restrict void *, long) [2]
cryptopp/modes.h:103:47: note: built-in candidate operator+(volatile
void *, long) [2]
cryptopp/modes.h:103:47: note: built-in candidate operator+(const
volatile void *, long) [2]
cryptopp/modes.h:103:47: note: built-in candidate operator+(const
unsigned char *, long) [2]
cryptopp/modes.h:103:47: note: built-in candidate operator+(volatile
restrict void *, long) [2]
cryptopp/modes.h:103:47: note: built-in candidate operator+(const
volatile restrict void *, long) [2]

-- 
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to [email protected].
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.

Reply via email to