Re: Crypto Update for 4.2

2015-06-24 Thread Herbert Xu
On Tue, Jun 23, 2015 at 07:11:19PM -0700, Linus Torvalds wrote: > On Mon, Jun 22, 2015 at 1:44 AM, Herbert Xu > wrote: > > > > Here is the crypto update for 4.2: > > Hmm. I noticed a new annoyance: > > I get this at bootup: > > [ +0.001504] alg: No te

Re: Crypto Update for 4.2

2015-06-23 Thread Linus Torvalds
On Mon, Jun 22, 2015 at 1:44 AM, Herbert Xu wrote: > > Here is the crypto update for 4.2: Hmm. I noticed a new annoyance: I get this at bootup: [ +0.001504] alg: No test for __gcm-aes-aesni (__driver-gcm-aes-aesni) [ +0.002233] alg: aead: setkey failed on test 1 for rfc4106-gcm

Re: Crypto Update for 4.2

2015-06-22 Thread Herbert Xu
On Mon, Jun 22, 2015 at 09:26:51PM -0700, Linus Torvalds wrote: > > So it looks to me like those AEAD interface changes already make sure > to use the full 64 bits of the sequence number. > > But if I'm wrong, please holler. You clearly know both sides of this, > since you wrote all the patches in

Re: Crypto Update for 4.2

2015-06-22 Thread Linus Torvalds
On Mon, Jun 22, 2015 at 1:44 AM, Herbert Xu wrote: > > Here is the crypto update for 4.2: So this generates conflicts with your earlier changes (that I got through the networking tree - they are your patches, but they went through Steffen Klassert and then David Miller). I resolved them,

Crypto Update for 4.2

2015-06-22 Thread Herbert Xu
Hi Linus: Here is the crypto update for 4.2: API: * Convert RNG interface to new style. * New AEAD interface with one SG list for AD and plain/cipher text. All external AEAD users have been converted. * New asymmetric key interface (akcipher). Algorithms: * Chacha20, Poly1305 and RFC7539