Block crypto framework should do multiple blocks per pass
Brought to you by:
droddey
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 wont 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!