[RFC PATCH] arm64: add support for AES in CCM mode using Crypto Extensions
Ard Biesheuvel
ard.biesheuvel at linaro.org
Tue Feb 25 05:11:21 EST 2014
On 25 February 2014 10:08, Herbert Xu <herbert at gondor.apana.org.au> wrote:
> On Tue, Feb 25, 2014 at 08:21:22AM +0100, Ard Biesheuvel wrote:
>>
>> For the authenticate-only data, this is manageable as you are only
>> dealing with input, but when dealing with both in- and output, as in
>> the core of CCM, it becomes very tedious.
>> So instead, I have opted for an inner blkcipher instance which takes
>> care of all of that. Could you suggest another approach that if
>> preferable?
>
> I don't think the walk helper actually needs the tfm apart from
> getting a couple of parameters out of it, so perhaps we can just
> change the helper to not depend on a tfm.
>
That seems like a less hacky approach.
I'll cook something up and put it on the list.
Cheers,
Ard.
More information about the linux-arm-kernel
mailing list