Hi, I have recently switched to Crypto++ 5.6.0 (from 5.5.2) and I found a problem using AES/CTR. I choose the CRT mode because it supports a null IV, as reported by Wei Dai here http://www.mail-archive.com/[email protected]/msg00557.html "In CTR mode, the IV is being used as the initial counter value. If you want to use a initial counter value of 0, pass in a NULL pointer for the IV. And yes, IV size is still the size of the cipher block." This is the code I'm actually using:
typename CTR_Mode<AES>::Encryption encryptor(key_buff, key_len, NULL); Using Crypto++ 5.5.2 it works fine, but with version 5.6.0 it throws the exception: "AES/CTR: this object cannot use a null IV" I tried the overloaded constructor that takes 2 params too, but it throws the same exception... Is this a bug in 5.6.0? Plz help -- 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.
