Re: [RFC PATCH 1/2] Crypto support aesni rfc5288

2015-11-24 Thread Herbert Xu
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 ch

[RFC PATCH 1/2] Crypto support aesni rfc5288

2015-11-23 Thread Dave Watson
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 suppor