Re: crash in ppc4xx-rng on canyonland

2016-04-08 Thread Christian Lamparter
On Tuesday, April 05, 2016 08:11:19 PM Herbert Xu wrote: > Christian Lamparter wrote: > > > > The crash is caused by a bad read in ppc4xx_rng_enable [0]. From what I > > can tell, the driver is mapping the crypto control registers. The > > problem is that they are claimed

FROM: MR. OLIVER SENO!!

2016-04-08 Thread AKINWUMI
Dear Sir. I bring you greetings. My name is Mr.Oliver Seno Lim, I am a staff of Abbey National Plc. London and heading our regional office in West Africa. Our late customer named Engr.Ben W.westland, made a fixed deposit amount of US$7Million.He did not declare any next of kin in any of his

RE: [PATCH 2/7] crypto: sha256-mb - SHA256 multibuffer job manager and glue code

2016-04-08 Thread Yu, Fenghua
> From: Herbert Xu [mailto:herb...@gondor.apana.org.au] > Sent: Tuesday, April 05, 2016 5:04 AM > To: megha@linux.intel.com > Cc: da...@davemloft.net; linux-crypto@vger.kernel.org; linux- > ker...@vger.kernel.org; tim.c.c...@linux.intel.com; Yu, Fenghua > ; Dey, Megha

Re: [PATCH v3 2/3] crypto: rsa_helper - add raw integer parser actions

2016-04-08 Thread Stephan Mueller
Am Freitag, 8. April 2016, 13:09:02 schrieb Jeffrey Walton: Hi Jeffrey, > On Fri, Apr 8, 2016 at 12:55 PM, Stephan Mueller wrote: > > Am Freitag, 8. April 2016, 12:54:10 schrieb Jeffrey Walton: > > > > Hi Jeffrey, > > > >> > +int rsa_check_key_length(unsigned int len) >

Re: [PATCH v3 2/3] crypto: rsa_helper - add raw integer parser actions

2016-04-08 Thread Jeffrey Walton
On Fri, Apr 8, 2016 at 12:55 PM, Stephan Mueller wrote: > Am Freitag, 8. April 2016, 12:54:10 schrieb Jeffrey Walton: > > Hi Jeffrey, > >> > +int rsa_check_key_length(unsigned int len) >> > +{ >> > + switch (len) { >> > + case 512: >> > + case 1024: >> > +

Re: [PATCH v3 2/3] crypto: rsa_helper - add raw integer parser actions

2016-04-08 Thread Stephan Mueller
Am Freitag, 8. April 2016, 12:54:10 schrieb Jeffrey Walton: Hi Jeffrey, > > +int rsa_check_key_length(unsigned int len) > > +{ > > + switch (len) { > > + case 512: > > + case 1024: > > + case 1536: > > + case 2048: > > + case 3072: > > + case 4096: > > +

Re: [PATCH v3 2/3] crypto: rsa_helper - add raw integer parser actions

2016-04-08 Thread Jeffrey Walton
> +int rsa_check_key_length(unsigned int len) > +{ > + switch (len) { > + case 512: > + case 1024: > + case 1536: > + case 2048: > + case 3072: > + case 4096: > + return 0; > + } > + > + return -EINVAL; > +} That's an unusual

Re: [PATCH v3 2/3] crypto: rsa_helper - add raw integer parser actions

2016-04-08 Thread Stephan Mueller
Am Mittwoch, 6. April 2016, 16:37:05 schrieb Tudor Ambarus: Hi Tudor, > Dedicated to RSA (hardware) implementations that want to use > raw integers instead of MPI keys. > > Signed-off-by: Tudor Ambarus > --- > crypto/rsa.c | 15 >

Re: [PATCH v3 3/3] crypto: caam - add support for RSA algorithm

2016-04-08 Thread Stephan Mueller
Am Mittwoch, 6. April 2016, 16:37:56 schrieb Tudor Ambarus: Hi Tudor, > Add RSA support to caam driver. > > Coauthored-by: Yashpal Dutta > > Signed-off-by: Tudor Ambarus > --- > drivers/crypto/caam/Kconfig| 12 + >

Re: [PATCH v2 2/2] hwrng: hisi: Add support for Hisilicon SoC RNG

2016-04-08 Thread Mathieu Poirier
On 7 April 2016 at 20:03, Kefeng Wang wrote: > > > On 2016/4/7 22:55, Mathieu Poirier wrote: >> On 7 April 2016 at 02:23, Kefeng Wang wrote: >>> This adds the Hisilicon Random Number Generator(RNG) support, >>> which is found in Hip04 and

[PATCH v4 1/3] Documentation: devicetree: add Freescale SCC bindings

2016-04-08 Thread Steffen Trumtrar
Add documentation for the Freescale Security Controller (SCC) found on i.MX25 SoCs. Signed-off-by: Steffen Trumtrar Acked-by: Rob Herring --- Changes in v2: - add clocks to required properties - add Acked-by

[PATCH v4 2/3] ARM: i.MX25: add scc module to dtsi

2016-04-08 Thread Steffen Trumtrar
Add the Security Controller (SCC) module to the dtsi. Signed-off-by: Steffen Trumtrar --- arch/arm/boot/dts/imx25.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/imx25.dtsi b/arch/arm/boot/dts/imx25.dtsi index

ppc/talitos oops on call to crypto_alloc_aead

2016-04-08 Thread Jonas Eymann
Hi all, running a current 4.4.6 kernel on a board using a Freescale P1020, I ran into an oops when calling crypto_alloc_aead using the talitos driver. I could also reproduce this using the run-time self tests: [...] [1.141095] talitos ffe3.crypto: hwrng [1.145381] Unable to handle

RE: [PATCH V2] crypto: implement DH primitives under akcipher API

2016-04-08 Thread Benedetto, Salvatore
Hi Herbert, > -Original Message- > From: Herbert Xu [mailto:herb...@gondor.apana.org.au] > Sent: Tuesday, April 5, 2016 12:09 PM > To: Marcel Holtmann > Cc: Benedetto, Salvatore ; linux- > cry...@vger.kernel.org > Subject: Re: [PATCH