Re: [RFC PATCH 1/2] Crypto support aesni rfc5288
From: Herbert Xu
Date: Tue Nov 24 2015 - 05:31:08 EST
On Mon, Nov 23, 2015 at 09:42:44AM -0800, Dave Watson wrote:
> Support rfc5288 using intel aesni routines. See also rfc5246.
>
> AAD length is 13 bytes padded out to 16. Padding bytes have to be
> passed in in scatterlist currently, which probably isn't quite the
> right fix.
>
> The assoclen checks were moved to the individual rfc stubs, and the
> common routines support all assoc lengths.
I know this is just an RFC. But if we were going to add an rfc5288
template then you should add a C version first, then followed by the
aesni optimised version.
Thanks,
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/