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

Herbert Xu
2022-01-27T06:31:18Z

On Thu, Jan 27, 2022 at 04:40:16PM +1100, Herbert Xu wrote:
>
> 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.

It looks like this is similar to the situation in XTS where I chose
not to make it a full parameter during the skcipher conversion:

commit f1c131b45410a202eb45cc55980a7a9e4e4b4f40
Author: Herbert Xu <herbert@gondor.apana.org.au>
Date: Tue Nov 22 20:08:19 2016 +0800

crypto: xts - Convert to skcipher

Cheers,
--
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt