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)? Have a

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

2014-11-18 Thread James Hartley
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: Add Imagination Technologies hw hash

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 clabbe.montj...@gmail.com 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 = { +

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 compile

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 =

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

2014-11-11 Thread James Hartley
; 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 accelerator that provides hardware acceleration for SHA1 SHA224 SHA256 and MD5

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

2014-11-11 Thread Vladimir Zapolskiy
...@hellion.org.uk; 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 accelerator that provides

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

2014-11-11 Thread James Hartley
...@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, thanks for the review! -Original Message- From: Vladimir Zapolskiy

[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 james.hart...@imgtec.com --- MAINTAINERS |5 + drivers/crypto/Kconfig| 13 + drivers/crypto/Makefile

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 james.hart...@imgtec.com --- [snip] diff --git