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@xxxxxxxxxxxxxxxxxxx> Date: Tue Nov 22 20:08:19 2016 +0800 crypto: xts - Convert to skcipher Cheers, -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt