[PATCH] crypto: arm/aes-neonbs - process 8 blocks in parallel if we can

Ard Biesheuvel ard.biesheuvel at linaro.org
Wed Dec 28 11:50:44 PST 2016


On 28 December 2016 at 09:23, Herbert Xu <herbert at gondor.apana.org.au> wrote:
> On Wed, Dec 28, 2016 at 09:19:32AM +0000, Ard Biesheuvel wrote:
>>
>> Ok, so that implies a field in the skcipher algo struct then, rather than some definition internal to the driver?
>
> Oh yes it should definitely be visible to other crypto API drivers
> and algorithms.  It's just that we don't want to export it outside
> of the crypto API, e.g., to IPsec or algif.
>

Understood.

So about this chunksize, is it ever expected to assume other values
than 1 (for stream ciphers) or the block size (for block ciphers)?
Having block size, IV size *and* chunk size fields may be confusing to
some already, so if the purpose of chunk size can be fulfilled by a
single 'stream cipher' flag, perhaps we should change that first.



More information about the linux-arm-kernel mailing list