[PATCH] crypto: arm/aes-neonbs - process 8 blocks in parallel if we can
From: herbert@gondor.apana.org.au (Herbert Xu)
Date: 2016-12-28 09:10:40
Also in:
linux-crypto
From: herbert@gondor.apana.org.au (Herbert Xu)
Date: 2016-12-28 09:10:40
Also in:
linux-crypto
On Tue, Dec 27, 2016 at 06:35:46PM +0000, Ard Biesheuvel wrote:
OK, I will try to hack something up. One thing to keep in mind though is that stacked chaining modes should present the data with the same granularity for optimal performance. E.g., xts(ecb(aes)) should pass 8 blocks at a time. How should this requirement be incorporated according to you?
xts tries to do a page at a time, which should be good enough, no? In general this parameter should be visible to internal API users such as xts so they could use it to determine how it wants to structure its walks. 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