Menu

#22 Block crypto framework should do multiple blocks per pass

open
nobody
Encryption (2)
5
2013-02-19
2000-02-12
Dean Roddey
No

The block encryption framework in CIDCrypto could allow more than one block to be encrypted or decrypted at once in the call to the derived class.

Doing one at a time does imposes overhead. Allowing a variable number, say up to 8 at a time, will reduce this overhead by a factor of 8 which will probably make it pretty reasonable. Since the derived classes will just look at the number indicated and do them, they won’t be affected later if this number needs to be bumped further.

The problem is that it needs to take into account extended block modes without making derived classes implement that logic!

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.