[PATCH 6/6 v2] crypto:s5p-sss: validate iv before memcpy

2014-01-08 Thread Naveen Krishna Chatradhi
This patch adds code to validate "iv" buffer before trying to memcpy the contents Signed-off-by: Naveen Krishna Chatradhi --- Changes since v1: None drivers/crypto/s5p-sss.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/crypto/s5p-sss.c b/drivers/crypto/s5p

[PATCH 5/6 v2] ARM: dts: exynos5420: add dt node for sss module

2014-01-08 Thread Naveen Krishna Chatradhi
This patch adds the device tree node for SSS module found on Exynos5420 Signed-off-by: Naveen Krishna Chatradhi TO: CC: Kukjin Kim CC: --- Changes since v1: Modified dt node name from sss to sss@1083 arch/arm/boot/dts/exynos5420.dtsi | 10 ++ 1 file changed, 10 insertions(+) d

[PATCH 3/6 v2] crypto:s5p-sss: Add support for SSS module on Exynos

2014-01-08 Thread Naveen Krishna Chatradhi
This patch adds new compatible and varient to support the SSS module on Exynos4 (Exynos4210), Exynos5 (Exynos5420 and Exynos5250) for which 1. AES register are at an offset of 0x200 and 2. hash interrupt is not available Signed-off-by: Naveen Krishna Ch CC: Herbert Xu CC: David S. Miller CC: Vl

[PATCH 2/6 v2] crypto:s5p-sss: Add device tree support

2014-01-08 Thread Naveen Krishna Chatradhi
This patch adds device tree support to the s5p-sss.c crypto driver. Implements a varient struct to address the changes in SSS hardware on various SoCs from Samsung. Also, Documentation under devicetree/bindings added. Signed-off-by: Naveen Krishna Ch CC: Herbert Xu CC: David S. Miller CC: Vlad

[PATCH 4/6 v2] crypto:s5p-sss: Kconfig: Let Exynos SoCs select SSS driver

2014-01-08 Thread Naveen Krishna Chatradhi
From: Naveen Krishna Ch This patch modifies Kconfig such that ARCH_EXYNOS SoCs which includes (Exynos4210, Exynos5250 and Exynos5420) can also select Samsung SSS(Security SubSystem) driver. Signed-off-by: Naveen Krishna Ch CC: Herbert Xu CC: David S. Miller CC: Vladimir Zapolskiy TO: CC: -

[PATCH 1/6 v2] crypto:s5p-sss: Use platform_get_irq() instead of _byname()

2014-01-08 Thread Naveen Krishna Chatradhi
From: Naveen Krishna Ch This patch uses the platform_get_irq() instead of the platform_get_irq_byname(). Making feeder control interrupt as resource "0" and hash interrupt as "1". reasons for this change. 1. Cannot find any Arch which is currently using this driver 2. Samsung Exynos4 and 5 SoCs

Re: [PATCH 4/5] crypto:s5p-sss: Exynos5 SoCs too can select SSS driver

2014-01-08 Thread Naveen Krishna Ch
Hello Tomasz, On 8 January 2014 06:00, Tomasz Figa wrote: > On Tuesday 07 of January 2014 17:21:48 Naveen Krishna Ch wrote: >> This patch modifies Kconfig such that ARCH_EXYNOS5 SoCs >> can also select Samsung SSS(Security SubSystem) driver. >> >> Signed-off-by: Naveen Krishna Ch >> CC: Herbert

Re: [PATCH 5/5] ARM: exynos5420: add dt node for sss module

2014-01-08 Thread Naveen Krishna Ch
Hello Tomasz, On 8 January 2014 06:02, Tomasz Figa wrote: > On Tuesday 07 of January 2014 17:21:49 Naveen Krishna Ch wrote: >> From: Naveen Krishna Chatradhi >> >> this patch adds the device tree nodes for SSS module found on Exynos5420 > > nit: Sentences in English start with a capital letter.

[PATCH -next] crypto: mxs - Fix sparse non static symbol warning

2014-01-08 Thread Wei Yongjun
From: Wei Yongjun Fixes the following sparse warning: drivers/crypto/mxs-dcp.c:103:1: warning: symbol 'global_mutex' was not declared. Should it be static? Signed-off-by: Wei Yongjun --- drivers/crypto/mxs-dcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cryp