Thanks Jamaal
The simple answer for AES is you can't. AES allows three key lengths (128, 192, 256 bits), but only one block size (128 bits). AES prototype Rijndael allowed three block sizes as well.
Perhaps by Rijndael-256 they meant only the key length? In that case I would check the encryption mode, padding, etc. match what that server is set up with.
--
Regards,
Mouse
--
You received this message because you are subscribed to the "Crypto++ Users" Google Group.
To unsubscribe, send an email to cryptopp-user...@googlegroups.com.
More information about Crypto++ and this group is available at http://www.cryptopp.com.
Rijndael specification allows 32-byte block size (AES standard doesn't), don't know about Rijndael Crypto++ implementation (since in general this block size is supported by the library, see no reason why not).
If CFB mode is used, it is not recommended to use less than the full block feedback for cryptographic reasons.
I recall that PGP used to have a weird modification of CFB back when.
To the Original Poster: you can't do what you want with AES, period. If you can't reconfigure that server to use a standard algorithm - you're stuck with Rijndael, which is supported by Crypto ++.
--
Regards,
Mouse
To unsubscribe, send an email to cryptopp-user...@googlegroups.com.
AES is not Rijndael. It's a shame if Wei collapsed the two into one. Since Rijndael supports any combination of key and block sizes from the set
{128, 192, 256} (with algorithmic implications), the only correct solution in my opinion is to divorce the code bases for them and provide separate implementations.
--
Regards,
Mouse
After checking the docs for Crypto++ I regret to report that this library (currently) does NOT support Rijndael, but only AES - using two names for the same algorithm (AES).
Disappointing...
--
Regards,
Mouse
It doesn't have to be "completely separate code", but clearly AES must not allow any block size besides 16 bytes (must not offer this option), and Rijndael must support three block sizes selectable at the time of use.
I will keep to myself what I think about the suggestion to "point out in the documentation" in general, and especially when cryptographic issues are involved.
Template instantiation could be a good solution.
--
Regards,
Mouse