Hi Everyone,
I'm trying to cut-in a stream cipher where the IV is optional. The
implementation is OK when the *_Info describes an IV:
struct RabbitInfo : public FixedKeyLength<16,
SimpleKeyingInterface::UNIQUE_IV>
{
std::string StaticAlgorithmName() { return "Rabbit"; }
};
But when we run it without an IV:
Testing SymmetricCipher algorithm Rabbit.
Exception caught: Rabbit: this object requires an IV
And going the other way:
struct RabbitInfo : public FixedKeyLength<16,
SimpleKeyingInterface::NOT_RESYNCHRONIZABLE>
{
std::string StaticAlgorithmName() { return "Rabbit"; }
};
Results in the IV being skipped.
My question is, has anyone implemented a cipher with an optional IV? If so,
how was it implemented?
Jeff
--
You received this message because you are subscribed to "Crypto++ Users". More
information about Crypto++ and this group is available at
http://www.cryptopp.com and
http://groups.google.com/forum/#!forum/cryptopp-users.
---
You received this message because you are subscribed to the Google Groups
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.