256-bit Rijndael blocksize?
I am trying to port a decryption routine from C# program to C++ using cryptopp, but I have a problem. In the C# program, the key and IV are both 256 bits. So I tried to do something like this: char *hash1 = "......"; std::string hash2; CryptoPP::StringSource(hash1, true,new CryptoPP::Base64Decoder(new CryptoPP::StringSink(hash2))); CryptoPP::Rijndael::Decryption decryptor(key, 32); CryptoPP::CBC_Mode_ExternalCipher::Decryption cbcDecryption( decryptor, iv); CryptoPP::StreamTransformationFilter stfDecryptor(cbcDecryption, (new CryptoPP::StringSink( decryptedData ) )); stfDecryptor.Put(