Hi, all,
I'm fairly new to Crypto++, so I expect I'm missing something that may
be obvious to others. On the other hand, it might be a bug, so I
thought I would bring it up here.
I'm creating a CBC_Mode AES decryptor. Depending on how I create it,
I get different results:
CryptoPP::CBC_Mode<CryptoPP::AES>::Decryption Decryptor;
Decryptor.SetKeyWithIV(key, sizeof(key), iv, sizeof(iv));
works fine. If I try to use the constructor to set the key and IV
like this:
CryptoPP::CBC_Mode<CryptoPP::AES>::Decryption Decryptor(key,
sizeof(key), iv, sizeof(iv));
I get an exception:
"Failure in TestEncryption2: Unhandled exception:
AlgorithmParametersBase: parameter "FeedbackSize" not used"
I haven't been able to find any documentation on the parameters, so I
don't know if this is expected or not, so I thought I'd put it out
here.
For now, I'm simply going with the SetKeyWithIV method instead.
tj
--
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.