[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20151124103033.GA623@gondor.apana.org.au>
Date: Tue, 24 Nov 2015 18:30:33 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Tom Herbert <tom@...bertland.com>, netdev@...r.kernel.org,
davem@...emloft.net,
Sowmini Varadhan <sowmini.varadhan@...cle.com>,
linux-crypto@...r.kernel.org, linux-kernel@...r.kernel.org,
kernel-team@...com
Subject: Re: [RFC PATCH 1/2] Crypto support aesni rfc5288
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@...dor.apana.org.au>
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists