Re: [PATCH 2/2] crypto: kpp - Add DH software implementation

2016-04-13 Thread Stephan Mueller
Am Mittwoch, 13. April 2016, 09:07:38 schrieb Benedetto, Salvatore: Hi Salvatore, > > I don't see any particular benefit in replacing this check with a lower > boundary check only. Values other than those listed are very unlikely. > Anyway, if you feel so strong about it and other people think th

RE: [PATCH 2/2] crypto: kpp - Add DH software implementation

2016-04-13 Thread Benedetto, Salvatore
.org > Subject: Re: [PATCH 2/2] crypto: kpp - Add DH software implementation > > > > > > > > include/crypto/dh.h | 23 ++ > > > > 6 files changed, 631 insertions(+) create mode 100644 > > > > crypto/dh.c create mode 100644 include/crypto/dh.h

Re: [PATCH 2/2] crypto: kpp - Add DH software implementation

2016-04-12 Thread Stephan Mueller
: herb...@gondor.apana.org.au; linux-crypto@vger.kernel.org > > Subject: Re: [PATCH 2/2] crypto: kpp - Add DH software implementation > > > > Am Dienstag, 12. April 2016, 11:39:16 schrieb Salvatore Benedetto: > > > > Hi Salvatore, > > > > > * Implem

RE: [PATCH 2/2] crypto: kpp - Add DH software implementation

2016-04-12 Thread Benedetto, Salvatore
Hi Stephan, > -Original Message- > From: Stephan Mueller [mailto:s...@eperm.de] > Sent: Tuesday, April 12, 2016 2:01 PM > To: Benedetto, Salvatore > Cc: herb...@gondor.apana.org.au; linux-crypto@vger.kernel.org > Subject: Re: [PATCH 2/2] crypto: kpp - Add DH softw

Re: [PATCH 2/2] crypto: kpp - Add DH software implementation

2016-04-12 Thread Stephan Mueller
Am Dienstag, 12. April 2016, 11:39:16 schrieb Salvatore Benedetto: Hi Salvatore, > * Implement MPI based Diffie-Hellman under kpp API > * Add test with data generad by OpenSSL > > Signed-off-by: Salvatore Benedetto > --- > crypto/Kconfig | 8 ++ > crypto/Makefile | 2 + > crypto

[PATCH 2/2] crypto: kpp - Add DH software implementation

2016-04-12 Thread Salvatore Benedetto
* Implement MPI based Diffie-Hellman under kpp API * Add test with data generad by OpenSSL Signed-off-by: Salvatore Benedetto --- crypto/Kconfig | 8 ++ crypto/Makefile | 2 + crypto/dh.c | 233 crypto/testmgr.c| 157