[PATCH v2 3/3] crypto: ux500: Cleanup hardware identification

2012-05-10 Thread Andreas Westin
Don't use SOC specific functions to identify which crypto hardware we are talking to and use the ID provided in the module instead. Acked-by: Linus Walleij Signed-off-by: Andreas Westin --- drivers/crypto/ux500/cryp/cryp.c | 10 -- drivers/crypto/ux500/cryp/cryp_p.h|

[PATCH v2 1/3] mach-ux500: Crypto: core support for CRYP/HASH module.

2012-05-10 Thread Andreas Westin
This adds the required platform data and calls to enable the CRYP/HASH driver. Acked-by: Linus Walleij Signed-off-by: Andreas Westin --- arch/arm/mach-ux500/board-mop500.c | 48 arch/arm/mach-ux500/clock.c | 18 arch/arm/mach

[PATCH v2 2/3] crypto: ux500: Update DMA handling for 3.4

2012-05-10 Thread Andreas Westin
An update to the DMA framework added a new parameter to the device_prep_slave_sg call. Acked-by: Linus Walleij Signed-off-by: Andreas Westin --- drivers/crypto/ux500/cryp/cryp_core.c |5 ++--- drivers/crypto/ux500/hash/hash_core.c |2 +- 2 files changed, 3 insertions(+), 4 deletions

[PATCH v2 0/3] Update for ux500 CRYP and HASH

2012-05-10 Thread Andreas Westin
. The hardware identification patch applies cleanly to the cryptodev tree. Regards Andreas Andreas Westin (3): mach-ux500: Crypto: core support for CRYP/HASH module. crypto: ux500: Update DMA handling for 3.4 crypto: ux500: Cleanup hardware identification arch/arm/mach-ux500/board-mop500.c

Re: [PATCH 1/2] mach-ux500: Crypto: core support for CRYP/HASH module.

2012-05-09 Thread Andreas WESTIN
On 2012-05-09 15:47, Arnd Bergmann wrote: Yes, exactly. Ok so I assumed wrong, I will look into it. Cheers Andreas -- 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 1/2] mach-ux500: Crypto: core support for CRYP/HASH module.

2012-05-09 Thread Andreas WESTIN
On 2012-05-09 15:09, Linus Walleij wrote: How about using distinct identification strings for each version of the crypto hardware? The driver should really only care about what kind of device it is talking to, not which SoC it is built into. Do you mean like this (from a recent pinctrl drive

Re: [PATCH 1/2] mach-ux500: Crypto: core support for CRYP/HASH module.

2012-05-09 Thread Andreas WESTIN
On 2012-05-09 10:36, Linus Walleij wrote: This needs an explanation! Why do you export an internal data structure to non-GPL modules? This does not look like it's needed at all, none of the other two patches use it. Andreas can you just drop this hunk of the patch? It is needed if you compi

[PATCH 0/2] Update for ux500 CRYP and HASH

2012-05-08 Thread Andreas Westin
this and we send it during the merge window or another way ? Cheers Andreas Andreas Westin (2): mach-ux500: Crypto: core support for CRYP/HASH module. crypto: ux500: Update DMA handling for 3.4 arch/arm/mach-ux500/board-mop500.c | 48 arch/arm/mach-ux500

[PATCH 1/2] mach-ux500: Crypto: core support for CRYP/HASH module.

2012-05-08 Thread Andreas Westin
This adds the required platform data and calls to enable the CRYP/HASH driver. Acked-by: Linus Walleij Signed-off-by: Andreas Westin --- arch/arm/mach-ux500/board-mop500.c | 48 arch/arm/mach-ux500/clock.c | 18 arch/arm/mach

[PATCH 2/2] crypto: ux500: Update DMA handling for 3.4

2012-05-08 Thread Andreas Westin
An update to the DMA framework added a new parameter to the device_prep_slave_sg call. Acked-by: Linus Walleij Signed-off-by: Andreas Westin --- drivers/crypto/ux500/cryp/cryp_core.c |5 ++--- drivers/crypto/ux500/hash/hash_core.c |2 +- 2 files changed, 3 insertions(+), 4 deletions

[PATCH v7 3/3] mach-ux500: Crypto: core support for CRYP/HASH module.

2012-04-30 Thread Andreas Westin
This adds the required platform data and calls to enable the CRYP/HASH driver. Acked-by: Linus Walleij Signed-off-by: Andreas Westin --- arch/arm/mach-ux500/board-mop500.c | 48 arch/arm/mach-ux500/board-u5500.c | 48

[PATCH v7 0/3] crypto: ux500 crypto and hash driver

2012-04-30 Thread Andreas Westin
support for AES-ECB,CBC and CTR. Patches are also available at: http://www.df.lth.se/~triad/ux500-crypto/ Andreas Westin (3): crypto: ux500: Add driver for CRYP hardware. crypto: ux500: Add driver for HASH hardware mach-ux500: Crypto: core support for CRYP/HASH module. arch/arm/mach-ux500

[PATCH v7 3/3] mach-ux500: Crypto: core support for CRYP/HASH module.

2012-04-30 Thread Andreas Westin
This adds the required platform data and calls to enable the CRYP/HASH driver. Acked-by: Linus Walleij Signed-off-by: Andreas Westin --- arch/arm/mach-ux500/board-mop500.c | 48 arch/arm/mach-ux500/board-u5500.c | 48

[PATCH v7 0/3] crypto: ux500 crypto and hash driver

2012-04-30 Thread Andreas Westin
: http://www.df.lth.se/~triad/ux500-crypto/ Andreas Westin (3): crypto: ux500: Add driver for CRYP hardware. crypto: ux500: Add driver for HASH hardware mach-ux500: Crypto: core support for CRYP/HASH module. arch/arm/mach-ux500/board-mop500.c | 48 + arch/arm/mach-ux500/board

[PATCH v6 3/3] mach-ux500: Crypto: core support for CRYP/HASH module.

2012-04-23 Thread Andreas Westin
This adds the required platform data and calls to enable the CRYP/HASH driver. Acked-by: Linus Walleij Signed-off-by: Andreas Westin --- arch/arm/mach-ux500/board-mop500.c | 48 arch/arm/mach-ux500/board-u5500.c | 48

[PATCH v6 0/3] crypto: ux500 crypto and hash driver

2012-04-23 Thread Andreas Westin
/ Andreas Westin (3): crypto: ux500: Add driver for CRYP hardware. crypto: ux500: Add driver for HASH hardware mach-ux500: Crypto: core support for CRYP/HASH module. arch/arm/mach-ux500/board-mop500.c | 48 + arch/arm/mach-ux500/board-u5500.c | 48 + arch/arm

Re: [PATCH 2/3 v5] crypto: ux500: Add driver for HASH hardware

2012-04-18 Thread Andreas WESTIN
On 2012-04-18 09:49, Herbert Xu wrote: Hmm, if this buffer is written to by the update function, then this doesn't work because the buffer resides in the tfm which can be used by multiple entities simultaneously. All writable data must reside in the request, not the tfm. I'm looking into it

[PATCH 0/3 v5] crypto: ux500 crypto and hash driver

2012-04-10 Thread Andreas Westin
Removed incorrect comments. This adds a driver for the ST-Ericsson ux500 crypto hardware module. It supports AES, DES and 3DES, the driver implements support for AES-ECB,CBC and CTR. Patches are also available at: http://www.df.lth.se/~triad/ux500-crypto/ Andreas Westin (3): crypto: ux500

[PATCH 3/3 v5] mach-ux500: Crypto: core support for CRYP/HASH module.

2012-04-10 Thread Andreas Westin
This adds the required platform data and calls to enable the CRYP/HASH driver. Acked-by: Linus Walleij Signed-off-by: Andreas Westin --- arch/arm/mach-ux500/board-mop500.c | 48 arch/arm/mach-ux500/board-u5500.c | 48

Re: [PATCH 2/3 v4] crypto: ux500: Add driver for HASH hardware

2012-04-10 Thread Andreas WESTIN
On 2012-04-09 09:09, Herbert Xu wrote: On Fri, Mar 30, 2012 at 11:02:47AM +0200, Andreas Westin wrote: +/** + * hash_hw_update - Updates current HASH computation hashing another part of + * the message. + * @req: Byte array containing the message to be hashed (caller

[PATCH 0/3 v4] crypto: ux500 crypto and hash driver

2012-03-30 Thread Andreas Westin
This is an update based on Kim Phillips comments. This adds a driver for the ST-Ericsson ux500 crypto hardware module. It supports AES, DES and 3DES, the driver implements support for AES-ECB,CBC and CTR. Andreas Westin (3): crypto: ux500: Add driver for CRYP hardware. crypto: ux500: Add

[PATCH 3/3 v4] mach-ux500: Crypto: core support for CRYP/HASH module.

2012-03-30 Thread Andreas Westin
This adds the required platform data and calls to enable the CRYP/HASH driver. Acked-by: Linus Walleij Signed-off-by: Andreas Westin --- arch/arm/mach-ux500/board-mop500.c | 48 arch/arm/mach-ux500/board-u5500.c | 48

Re: [PATCH 2/3] crypto: ux500: Add driver for HASH hardware

2012-03-22 Thread Andreas WESTIN
On 2012-03-21 01:35, Kim Phillips wrote: On Wed, 14 Mar 2012 09:45:47 +0100 Andreas Westin wrote: diff --git a/drivers/crypto/ux500/hash/hash_alg_p.h b/drivers/crypto/ux500/hash/hash_alg_p.h new file mode 100644 index 000..a44047a --- /dev/null +++ b/drivers/crypto/ux500/hash

Re: [PATCH 1/3] crypto: ux500: Add driver for CRYP hardware.

2012-03-22 Thread Andreas WESTIN
Hi Kim, On 2012-03-21 01:35, Kim Phillips wrote: On Wed, 14 Mar 2012 09:45:46 +0100 Andreas Westin wrote: +config CRYPTO_DEV_UX500 + tristate "Driver for ST-Ericsson UX500 crypto hardware acceleration" + #depends on ARCH_U8500 guessing this should be either removed o

Re: [PATCH 0/3 v3] crypto: ux500 crypto and hash driver

2012-03-16 Thread Andreas WESTIN
On 2012-03-14 09:45, Andreas WESTIN wrote: Hi, I've split the driver into two parts one for hash and one for crypto, hopefully it gets through this time. So it didn't get through this time either, I've put the patches at: http://www.df.lth.se/~triad/ux500-crypto/

[PATCH 3/3] mach-ux500: Crypto: core support for CRYP/HASH module.

2012-03-14 Thread Andreas Westin
This adds the required platform data and calls to enable the CRYP/HASH driver. Acked-by: Linus Walleij Signed-off-by: Andreas Westin --- arch/arm/mach-ux500/board-mop500.c | 48 arch/arm/mach-ux500/board-u5500.c | 48

[PATCH 0/3 v3] crypto: ux500 crypto and hash driver

2012-03-14 Thread Andreas Westin
1 and SHA-256 Two patches for the driver and one for core support. /Andreas Andreas Westin (3): crypto: ux500: Add driver for CRYP hardware. crypto: ux500: Add driver for HASH hardware mach-ux500: Crypto: core support for CRYP/HASH module. arch/arm/mach-ux500/board-mop

Re: [PATCH 0/2 v2] crypto: ux500 crypto and hash driver

2012-02-28 Thread Andreas WESTIN
On 2012-02-27 20:28, Kim Phillips wrote: On Mon, 27 Feb 2012 10:32:16 +0100 Andreas Westin wrote: Andreas Westin (2): crypto: ux500 - Add driver for CRYP/HASH hardware. so I haven't been able to receive and review patch 1/2, presumably due to mailing list size limits...rese

[PATCH 0/2 v2] crypto: ux500 crypto and hash driver

2012-02-27 Thread Andreas Westin
patch for the driver and one for core support. /Andreas Andreas Westin (2): crypto: ux500 - Add driver for CRYP/HASH hardware. mach-ux500: Crypto: core support for CRYP/HASH module. arch/arm/mach-ux500/board-mop500.c | 48 + arch/arm/mach-ux500/board-u5500.c

[PATCH 2/2 v2] mach-ux500: Crypto: core support for CRYP/HASH module.

2012-02-27 Thread Andreas Westin
This adds the required platform data and calls to enable the CRYP/HASH driver. Acked-by: Linus Walleij Signed-off-by: Andreas Westin --- arch/arm/mach-ux500/board-mop500.c | 48 arch/arm/mach-ux500/board-u5500.c | 48

[PATCH 2/2] mach-ux500: Crypto: core support for CRYP/HASH module.

2012-02-24 Thread Andreas Westin
This adds the required platform data and calls to enable the CRYP/HASH driver. Acked-by: Linus Walleij Signed-off-by: Andreas Westin --- arch/arm/mach-ux500/board-mop500.c | 48 arch/arm/mach-ux500/board-u5500.c | 48

[PATCH 0/2] crypto: ux500 crypto and hash driver

2012-02-24 Thread Andreas Westin
core support. /Andreas Andreas Westin (2): crypto: ux500 - Add driver for CRYP/HASH hardware. mach-ux500: Crypto: core support for CRYP/HASH module. arch/arm/mach-ux500/board-mop500.c | 48 + arch/arm/mach-ux500/board-u5500.c | 48 + arch/arm/mach-ux500/cl

[PATCH 2/2] mach-ux500: Crypto: core support for CRYP/HASH module.

2012-02-23 Thread Andreas Westin
This adds the required platform data and calls to enable the CRYP/HASH driver. Acked-by: Linus Walleij Signed-off-by: Andreas Westin --- arch/arm/mach-ux500/board-mop500.c | 48 arch/arm/mach-ux500/board-u5500.c | 48

[PATCH 0/2] crypto: ux500 crypto and hash driver

2012-02-23 Thread Andreas Westin
Hi, This adds a driver for the ST-Ericsson ux500 hardware crypto and hash module. It supports: * AES with 128, 192 and 256bit keysize and ECB, CBC and CTR modes. * DES and 3DES * SHA-1 and SHA-256 One patch for the driver and one for core support. /Andreas Andreas Westin (2): crypto: ux500