Hi All/Wei,
If a CFB decryptor must use a encryption object, is there anything
precluding changing the typedef in CipherModeDocumentation?
Assert in Modes.h:
void TransformRegister()
{
...
// CFB mode needs the "encrypt" direction of the underlying
// block cipher, even to decrypt
assert(m_cipher->IsForwardTransformation());
...
}
Jeff
//! CFB mode, external cipher
struct CFB_Mode_ExternalCipher : public CipherModeDocumentation
{
CipherModeFinalTemplate_ExternalCipher
<ConcretePolicyHolder
<Empty,
CFB_DecryptionTemplate
<AbstractPolicyHolder
<CFB_CipherAbstractPolicy, CFB_ModePolicy> > > > Decryption;
};
If
--~--~---------~--~----~------------~-------~--~----~
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.
-~----------~----~----~----~------~----~------~--~---