Thread (27 messages) 27 messages, 4 authors, 2022-02-07

Re: [RFC PATCH 3/7] crypto: hctr2 - Add HCTR2 support

From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2022-01-27 05:40:37
Also in: linux-crypto

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help