RE: [PATCH 2/2] crypto: inside-secure - Add support for the Chacha20-Poly1305 AEAD

2019-09-11 Thread Pascal Van Leeuwen
[PATCH 2/2] crypto: inside-secure - Add support for the > Chacha20-Poly1305 > AEAD > > On Wed, Sep 11, 2019 at 03:37:25PM +, Pascal Van Leeuwen wrote: > > > On Tue, Sep 10, 2019 at 04:38:13PM +0200, Pascal van Leeuwen wrote: > > > > @@ -43,8 +44,8 @@ s

Re: [PATCH 2/2] crypto: inside-secure - Add support for the Chacha20-Poly1305 AEAD

2019-09-11 Thread Antoine Tenart
On Wed, Sep 11, 2019 at 03:37:25PM +, Pascal Van Leeuwen wrote: > > On Tue, Sep 10, 2019 at 04:38:13PM +0200, Pascal van Leeuwen wrote: > > > @@ -43,8 +44,8 @@ struct safexcel_cipher_ctx { > > > > > > u32 mode; > > > enum safexcel_cipher_alg alg; > > > - bool aead; > > > - int xcm; /* 0=au

RE: [PATCH 2/2] crypto: inside-secure - Add support for the Chacha20-Poly1305 AEAD

2019-09-11 Thread Pascal Van Leeuwen
: Re: [PATCH 2/2] crypto: inside-secure - Add support for the > Chacha20-Poly1305 > AEAD > > Hello Pascal, > > On Tue, Sep 10, 2019 at 04:38:13PM +0200, Pascal van Leeuwen wrote: > > @@ -43,8 +44,8 @@ struct safexcel_cipher_ctx { > > > > u32 mode; > >

Re: [PATCH 2/2] crypto: inside-secure - Add support for the Chacha20-Poly1305 AEAD

2019-09-11 Thread Antoine Tenart
Hello Pascal, On Tue, Sep 10, 2019 at 04:38:13PM +0200, Pascal van Leeuwen wrote: > @@ -43,8 +44,8 @@ struct safexcel_cipher_ctx { > > u32 mode; > enum safexcel_cipher_alg alg; > - bool aead; > - int xcm; /* 0=authenc, 1=GCM, 2 reserved for CCM */ > + char aead; /* !=0=A

[PATCH 2/2] crypto: inside-secure - Add support for the Chacha20-Poly1305 AEAD

2019-09-10 Thread Pascal van Leeuwen
This patch adds support for the Chacha20-Poly1305 cipher suite. It adds both the basic rfc7539(chacha20,poly1305) as well as the rfc7539esp(chacha20,poly1305) variant for IPsec ESP acceleration. Signed-off-by: Pascal van Leeuwen --- drivers/crypto/inside-secure/safexcel.c| 2 + drivers