On Wed, Jan 26, 2022 at 09:36:09PM -0800, Eric Biggers wrote:
Well, the single block cipher isn't used just in ->setkey(), but also in
->encrypt() and ->decrypt() (not for the bulk of the data, but for 1 block).
So allowing its implementation to be specified might make sense.
The question is is it performance-critical? Including it as a
parameter would be worthwhile if it is. But if its cost is dwarfed
by that of the accompanying operations then it might not be worth
the complexity.
Cheers,
--
Email: Herbert Xu [off-list ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel