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 by the main crypto driver

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 pap

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 > Subject: Re: [PATCH 2/7

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: >> > + case 1536: >> > +

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 rest

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 > crypto/rsa_helper.c | 182 > ++

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 + > drivers/crypto/caam/Makefile | 4 + > drivers/crypto/caam/caampkc.c

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 Hip05 soc. >>> >>> Signed-off-by: Kefeng Wang >>> --- >>>

[PATCH v4 3/3] crypto: add basic driver for the MXC SCC

2016-04-08 Thread Steffen Trumtrar
According to the Freescale GPL driver code, there are two different Security Controller (SCC) versions: SCC and SCC2. The SCC is found on older i.MX SoCs, e.g. the i.MX25. This is the version implemented and tested here. As there is no publicly available documentation for this IP core, all inform

[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 .../devicetree/bindings/crypto/fsl-imx-scc.txt | 21 + 1

[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 6b1f4bbe6ec6..af6af8741fe5 100644 --- a/arch/arm/b

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 k