Re: [PATCH 1/2] crypto: Add Imagination Technologies hw hash accelerator

2014-11-24 Thread Herbert Xu
On Sat, Nov 15, 2014 at 08:55:58AM +0100, Corentin LABBE wrote: > > and then get it via > struct crypto_priv *cp = req->base.tfm->__crt_alg->data; > (a function will be better than that) > > So what is the recommended way to get driver structure inside the cryptoAPI > function (init/udpate/final)

RE: [PATCH 1/2] crypto: Add Imagination Technologies hw hash accelerator

2014-11-18 Thread James Hartley
@linux-foundation.org; Greg Kroah-Hartman; j...@perches.com; > mche...@osg.samsung.com; Antti Palosaari; jg1@samsung.com; linux- > cry...@vger.kernel.org; devicet...@vger.kernel.org; Pawel Moll; Mark > Rutland; Ian Campbell; Kumar Gala; Ezequiel Garcia > Subject: Re: [PATCH 1/2] crypto

Re: [PATCH 1/2] crypto: Add Imagination Technologies hw hash accelerator

2014-11-17 Thread Andrew Bresticker
On Fri, Nov 14, 2014 at 11:55 PM, Corentin LABBE wrote: > Le 15/11/2014 00:59, Andrew Bresticker a écrit : >> Hi James, >> >>> + >>> +struct img_hash_drv { >>> + struct list_head dev_list; >>> + spinlock_t lock; >>> +}; >>> + >>> +static struct img_hash_drv img_hash = { >>> + .de

Re: [PATCH 1/2] crypto: Add Imagination Technologies hw hash accelerator

2014-11-15 Thread Arnd Bergmann
On Friday 14 November 2014 15:59:02 Andrew Bresticker wrote: > > diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig > > index 2fb0fdf..4b931eb 100644 > > --- a/drivers/crypto/Kconfig > > +++ b/drivers/crypto/Kconfig > > @@ -436,4 +436,17 @@ config CRYPTO_DEV_QCE > > hardware. To

Re: [PATCH 1/2] crypto: Add Imagination Technologies hw hash accelerator

2014-11-14 Thread Corentin LABBE
Le 15/11/2014 00:59, Andrew Bresticker a écrit : > Hi James, > >> + >> +struct img_hash_drv { >> + struct list_head dev_list; >> + spinlock_t lock; >> +}; >> + >> +static struct img_hash_drv img_hash = { >> + .dev_list = LIST_HEAD_INIT(img_hash.dev_list), >> + .lock = __SPI

Re: [PATCH 1/2] crypto: Add Imagination Technologies hw hash accelerator

2014-11-14 Thread Andrew Bresticker
Hi James, On Mon, Nov 10, 2014 at 4:10 AM, James Hartley wrote: > This adds support for the Imagination Technologies hash > accelerator that provides hardware acceleration for > SHA1 SHA224 SHA256 and MD5 Hashes. > > Signed-off-by: James Hartley It's going to take me a little longer to get thro

RE: [PATCH 1/2] crypto: Add Imagination Technologies hw hash accelerator

2014-11-11 Thread James Hartley
t; ijc+devicet...@hellion.org.uk; ga...@codeaurora.org; > abres...@chromium.org; Ezequiel Garcia > Subject: Re: [PATCH 1/2] crypto: Add Imagination Technologies hw hash > accelerator > > Hi James, > > On 11.11.2014 16:59, James Hartley wrote: > > Hi Vladimir, thank

Re: [PATCH 1/2] crypto: Add Imagination Technologies hw hash accelerator

2014-11-11 Thread Vladimir Zapolskiy
vger.kernel.org; pawel.m...@arm.com; >> mark.rutl...@arm.com; ijc+devicet...@hellion.org.uk; >> ga...@codeaurora.org; abres...@chromium.org; Ezequiel Garcia >> Subject: Re: [PATCH 1/2] crypto: Add Imagination Technologies hw hash >> accelerator >> >> Hello

RE: [PATCH 1/2] crypto: Add Imagination Technologies hw hash accelerator

2014-11-11 Thread James Hartley
> ga...@codeaurora.org; abres...@chromium.org; Ezequiel Garcia > Subject: Re: [PATCH 1/2] crypto: Add Imagination Technologies hw hash > accelerator > > Hello James, > > On 10.11.2014 14:10, James Hartley wrote: > > This adds support for the Imagination Technologies hash acceler

Re: [PATCH 1/2] crypto: Add Imagination Technologies hw hash accelerator

2014-11-10 Thread Vladimir Zapolskiy
Hello James, On 10.11.2014 14:10, James Hartley wrote: > This adds support for the Imagination Technologies hash > accelerator that provides hardware acceleration for > SHA1 SHA224 SHA256 and MD5 Hashes. > > Signed-off-by: James Hartley > --- [snip] > diff --git a/drivers/crypto/img-hash.c b/d

[PATCH 1/2] crypto: Add Imagination Technologies hw hash accelerator

2014-11-10 Thread James Hartley
This adds support for the Imagination Technologies hash accelerator that provides hardware acceleration for SHA1 SHA224 SHA256 and MD5 Hashes. Signed-off-by: James Hartley --- MAINTAINERS |5 + drivers/crypto/Kconfig| 13 + drivers/crypto/Makefile |1 + drivers/cryp