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|
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
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
.
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
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
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
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
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
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
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
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
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
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
: 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
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
/
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
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
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
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
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
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
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
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
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
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/
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
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
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 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
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
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
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
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
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
34 matches
Mail list logo