[PATCH v2 6/7] crypto: omap-sham: Add code to use dmaengine API

2012-10-23 Thread Mark A. Greer
From: "Mark A. Greer" Add code to use the new dmaengine API alongside the existing DMA code that uses the private OMAP DMA API. The API to use is chosen by defining or undefining 'OMAP_SHAM_DMA_PRIVATE'. CC: Russell King CC: Dmitry Kasatkin Signed-off-by: Mark A. Greer --- drivers/crypto/om

[PATCH v2 7/7] crypto: omap_sham: Remove usage of private DMA API

2012-10-23 Thread Mark A. Greer
From: "Mark A. Greer" Remove usage of the private OMAP DMA API. The dmaengine API will be used instead. CC: Russell King CC: Dmitry Kasatkin Signed-off-by: Mark A. Greer --- drivers/crypto/omap-sham.c | 117 - 1 file changed, 117 deletions(-) diff

[PATCH v2 5/7] crypto: omap-sham: Convert to use pm_runtime API

2012-10-23 Thread Mark A. Greer
From: "Mark A. Greer" Convert the omap-sham crypto driver to use the pm_runtime API instead of the clk API. CC: Kevin Hilman CC: Paul Walmsley CC: Dmitry Kasatkin Signed-off-by: Mark A. Greer --- drivers/crypto/omap-sham.c | 25 +++-- 1 file changed, 7 insertions(+), 18

[PATCH v2 3/7] ARM: OMAP3xxx: hwmod: Convert SHAM crypto device data to hwmod

2012-10-23 Thread Mark A. Greer
From: "Mark A. Greer" Convert the device data for the OMAP3 SHAM2 (SHA1/MD5) crypto IP from explicit platform_data to hwmod. CC: Paul Walmsley Signed-off-by: Mark A. Greer --- arch/arm/mach-omap2/clock3xxx_data.c | 1 + arch/arm/mach-omap2/devices.c | 42 ++

[PATCH v2 2/7] ARM: OMAP2xxx: hwmod: Add DMA support for SHAM module

2012-10-23 Thread Mark A. Greer
From: "Mark A. Greer" The current OMAP2 SHAM support doesn't enable DMA so add that support so it can use DMA just like OMAP3. CC: Paul Walmsley Signed-off-by: Mark A. Greer --- arch/arm/mach-omap2/omap_hwmod_2xxx_interconnect_data.c | 2 +- arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c

[PATCH v2 1/7] ARM: OMAP2xxx: hwmod: Convert SHAM crypto device data to hwmod

2012-10-23 Thread Mark A. Greer
From: "Mark A. Greer" Convert the device data for the OMAP2 SHAM crypto IP from explicit platform_data to hwmod. CC: Paul Walmsley Signed-off-by: Mark A. Greer --- arch/arm/mach-omap2/clock2430_data.c | 1 + arch/arm/mach-omap2/devices.c | 34 --

[PATCH v2 4/7] ARM: OMAP2+: Remove unnecessary message when no SHA IP is present

2012-10-23 Thread Mark A. Greer
From: "Mark A. Greer" Remove the error message that prints when there is no SHA IP present to make it consistent with all the other IPs. CC: Paul Walmsley Signed-off-by: Mark A. Greer --- arch/arm/mach-omap2/devices.c | 19 +++ 1 file changed, 7 insertions(+), 12 deletions(-)

[PATCH v2 0/7] crypto: omap-sham updates

2012-10-23 Thread Mark A. Greer
From: "Mark A. Greer" Changes since v1: - Removed the check of CM_IDLEST to see if the module exists and instead add the hwmod data for all omap2's and omap3 GP's. - Placed new sha_ick clk entries after the 'omap-sham' entry in the clockxxx_data.c files

Re: [PATCH 3/3] crypto: camellia - add AES-NI/AVX/x86_64 assembler implementation of camellia cipher

2012-10-23 Thread David Miller
From: Jussi Kivilinna Date: Tue, 23 Oct 2012 21:03:02 +0300 > This patch adds AES-NI/AVX/x86_64 assembler implementation of Camellia block > cipher. Implementation process data in sixteen block chunks, which are > byte-sliced and AES SubBytes is reused for Camellia s-box with help of pre- > and p

Re: [PATCH 1/3] crypto: tcrypt - add async speed test for camellia cipher

2012-10-23 Thread David Miller
From: Jussi Kivilinna Date: Tue, 23 Oct 2012 21:02:51 +0300 > Signed-off-by: Jussi Kivilinna Acked-by: David S. Miller -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org

Re: [PATCH 2/3] crypto: camellia-x86_64 - share common functions and move structures and function definitions to header file

2012-10-23 Thread David Miller
From: Jussi Kivilinna Date: Tue, 23 Oct 2012 21:02:57 +0300 > Prepare camellia-x86_64 functions to be reused from AVX/AESNI implementation > module. > > Signed-off-by: Jussi Kivilinna Acked-by: David S. Miller -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the b

Re: [PATCH 2/2] crypto: camellia - add AES-NI/AVX/x86_64 assembler implementation of camellia cipher

2012-10-23 Thread David Miller
From: Jussi Kivilinna Date: Tue, 23 Oct 2012 20:58:01 +0300 > This patch adds AES-NI/AVX/x86_64 assembler implementation of Camellia block > cipher. Implementation process data in sixteen block chunks, which are > byte-sliced and AES SubBytes is reused for Camellia s-box with help of pre- > and p

Re: [PATCH 1/2] crypto: tcrypt - add async speed test for camellia cipher

2012-10-23 Thread David Miller
From: Jussi Kivilinna Date: Tue, 23 Oct 2012 20:57:55 +0300 > Signed-off-by: Jussi Kivilinna Acked-by: David S. Miller -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org

[PATCH 3/3] crypto: camellia - add AES-NI/AVX/x86_64 assembler implementation of camellia cipher

2012-10-23 Thread Jussi Kivilinna
This patch adds AES-NI/AVX/x86_64 assembler implementation of Camellia block cipher. Implementation process data in sixteen block chunks, which are byte-sliced and AES SubBytes is reused for Camellia s-box with help of pre- and post-filtering. Patch has been tested with tcrypt and automated filesy

[PATCH 2/3] crypto: camellia-x86_64 - share common functions and move structures and function definitions to header file

2012-10-23 Thread Jussi Kivilinna
Prepare camellia-x86_64 functions to be reused from AVX/AESNI implementation module. Signed-off-by: Jussi Kivilinna --- arch/x86/crypto/camellia_glue.c | 80 +++ 1 file changed, 23 insertions(+), 57 deletions(-) diff --git a/arch/x86/crypto/camellia_glue.c

[PATCH 1/3] crypto: tcrypt - add async speed test for camellia cipher

2012-10-23 Thread Jussi Kivilinna
Signed-off-by: Jussi Kivilinna --- crypto/tcrypt.c | 23 +++ 1 file changed, 23 insertions(+) diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c index 71b58c6..7ae2130 100644 --- a/crypto/tcrypt.c +++ b/crypto/tcrypt.c @@ -1728,6 +1728,29 @@ static int do_test(int m)

Re: [PATCH 2/2] crypto: camellia - add AES-NI/AVX/x86_64 assembler implementation of camellia cipher

2012-10-23 Thread Jussi Kivilinna
Please ignore this patchset, it's missing one important patch. -Jussi Quoting Jussi Kivilinna : This patch adds AES-NI/AVX/x86_64 assembler implementation of Camellia block cipher. Implementation process data in sixteen block chunks, which are byte-sliced and AES SubBytes is reused for Camelli

[PATCH 2/2] crypto: camellia - add AES-NI/AVX/x86_64 assembler implementation of camellia cipher

2012-10-23 Thread Jussi Kivilinna
This patch adds AES-NI/AVX/x86_64 assembler implementation of Camellia block cipher. Implementation process data in sixteen block chunks, which are byte-sliced and AES SubBytes is reused for Camellia s-box with help of pre- and post-filtering. Patch has been tested with tcrypt and automated filesy

[PATCH 1/2] crypto: tcrypt - add async speed test for camellia cipher

2012-10-23 Thread Jussi Kivilinna
Signed-off-by: Jussi Kivilinna --- crypto/tcrypt.c | 23 +++ 1 file changed, 23 insertions(+) diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c index 71b58c6..7ae2130 100644 --- a/crypto/tcrypt.c +++ b/crypto/tcrypt.c @@ -1728,6 +1728,29 @@ static int do_test(int m)

Re: [PATCH 0/2] Fixes for MV_CESA with IDMA or TDMA

2012-10-23 Thread Phil Sutter
Hey, On Tue, Jul 31, 2012 at 08:12:02PM +0800, cloudy.linux wrote: > Sorry for taking so long time to try the latest code. Just came back > from a vacation and tried several days to get a tight sleep. My apologies for having a ~3months lag. Somehow I have totally forgotten about your mail in my