linux-crypto.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v7 0/3] crypto: ux500 crypto and hash driver
@ 2012-04-30  8:11 Andreas Westin
  2012-04-30  8:11 ` [PATCH v7 1/3] crypto: ux500: Add driver for CRYP hardware Andreas Westin
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Andreas Westin @ 2012-04-30  8:11 UTC (permalink / raw)
  To: Herbert Xu, David S. Miller; +Cc: linux-crypto, kim.phillips, Andreas Westin

Resending, something seems to have gone wrong the first time.

Changed config to depend on correct ARCH, also removed an
unnecessary if statement check in the hash driver.

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: 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/mach-ux500/clock.c                     |   18 +-
 arch/arm/mach-ux500/devices-common.c            |   16 +
 arch/arm/mach-ux500/devices-common.h            |   23 +
 arch/arm/mach-ux500/devices-db5500.h            |    4 +
 arch/arm/mach-ux500/devices-db8500.h            |    4 +
 arch/arm/mach-ux500/include/mach/crypto-ux500.h |   21 +
 arch/arm/mach-ux500/include/mach/devices.h      |    3 +
 arch/arm/mach-ux500/ste-dma40-db5500.h          |    9 +-
 drivers/crypto/Kconfig                          |   11 +
 drivers/crypto/Makefile                         |    1 +
 drivers/crypto/ux500/Kconfig                    |   30 +
 drivers/crypto/ux500/Makefile                   |    8 +
 drivers/crypto/ux500/cryp/Makefile              |   13 +
 drivers/crypto/ux500/cryp/cryp.c                |  391 +++++
 drivers/crypto/ux500/cryp/cryp.h                |  308 ++++
 drivers/crypto/ux500/cryp/cryp_core.c           | 1785 ++++++++++++++++++++
 drivers/crypto/ux500/cryp/cryp_irq.c            |   45 +
 drivers/crypto/ux500/cryp/cryp_irq.h            |   31 +
 drivers/crypto/ux500/cryp/cryp_irqp.h           |  125 ++
 drivers/crypto/ux500/cryp/cryp_p.h              |  124 ++
 drivers/crypto/ux500/hash/Makefile              |   11 +
 drivers/crypto/ux500/hash/hash_alg.h            |  395 +++++
 drivers/crypto/ux500/hash/hash_core.c           | 2019 +++++++++++++++++++++++
 25 files changed, 5480 insertions(+), 11 deletions(-)
 create mode 100644 arch/arm/mach-ux500/include/mach/crypto-ux500.h
 create mode 100644 drivers/crypto/ux500/Kconfig
 create mode 100644 drivers/crypto/ux500/Makefile
 create mode 100644 drivers/crypto/ux500/cryp/Makefile
 create mode 100644 drivers/crypto/ux500/cryp/cryp.c
 create mode 100644 drivers/crypto/ux500/cryp/cryp.h
 create mode 100644 drivers/crypto/ux500/cryp/cryp_core.c
 create mode 100644 drivers/crypto/ux500/cryp/cryp_irq.c
 create mode 100644 drivers/crypto/ux500/cryp/cryp_irq.h
 create mode 100644 drivers/crypto/ux500/cryp/cryp_irqp.h
 create mode 100644 drivers/crypto/ux500/cryp/cryp_p.h
 create mode 100644 drivers/crypto/ux500/hash/Makefile
 create mode 100644 drivers/crypto/ux500/hash/hash_alg.h
 create mode 100644 drivers/crypto/ux500/hash/hash_core.c

-- 
1.7.10

^ permalink raw reply	[flat|nested] 7+ messages in thread
* [PATCH v7 0/3] crypto: ux500 crypto and hash driver
@ 2012-04-30  7:34 Andreas Westin
  0 siblings, 0 replies; 7+ messages in thread
From: Andreas Westin @ 2012-04-30  7:34 UTC (permalink / raw)
  To: Herbert Xu, David S. Miller; +Cc: linux-crypto, kim.phillips, Andreas Westin

Changed config to depend on correct ARCH, also removed an
unnecessary if statement check in the hash driver.

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: 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/mach-ux500/clock.c                     |   18 +-
 arch/arm/mach-ux500/devices-common.c            |   16 +
 arch/arm/mach-ux500/devices-common.h            |   23 +
 arch/arm/mach-ux500/devices-db5500.h            |    4 +
 arch/arm/mach-ux500/devices-db8500.h            |    4 +
 arch/arm/mach-ux500/include/mach/crypto-ux500.h |   21 +
 arch/arm/mach-ux500/include/mach/devices.h      |    3 +
 arch/arm/mach-ux500/ste-dma40-db5500.h          |    9 +-
 drivers/crypto/Kconfig                          |   11 +
 drivers/crypto/Makefile                         |    1 +
 drivers/crypto/ux500/Kconfig                    |   30 +
 drivers/crypto/ux500/Makefile                   |    8 +
 drivers/crypto/ux500/cryp/Makefile              |   13 +
 drivers/crypto/ux500/cryp/cryp.c                |  391 +++++
 drivers/crypto/ux500/cryp/cryp.h                |  308 ++++
 drivers/crypto/ux500/cryp/cryp_core.c           | 1785 ++++++++++++++++++++
 drivers/crypto/ux500/cryp/cryp_irq.c            |   45 +
 drivers/crypto/ux500/cryp/cryp_irq.h            |   31 +
 drivers/crypto/ux500/cryp/cryp_irqp.h           |  125 ++
 drivers/crypto/ux500/cryp/cryp_p.h              |  124 ++
 drivers/crypto/ux500/hash/Makefile              |   11 +
 drivers/crypto/ux500/hash/hash_alg.h            |  395 +++++
 drivers/crypto/ux500/hash/hash_core.c           | 2019 +++++++++++++++++++++++
 25 files changed, 5480 insertions(+), 11 deletions(-)
 create mode 100644 arch/arm/mach-ux500/include/mach/crypto-ux500.h
 create mode 100644 drivers/crypto/ux500/Kconfig
 create mode 100644 drivers/crypto/ux500/Makefile
 create mode 100644 drivers/crypto/ux500/cryp/Makefile
 create mode 100644 drivers/crypto/ux500/cryp/cryp.c
 create mode 100644 drivers/crypto/ux500/cryp/cryp.h
 create mode 100644 drivers/crypto/ux500/cryp/cryp_core.c
 create mode 100644 drivers/crypto/ux500/cryp/cryp_irq.c
 create mode 100644 drivers/crypto/ux500/cryp/cryp_irq.h
 create mode 100644 drivers/crypto/ux500/cryp/cryp_irqp.h
 create mode 100644 drivers/crypto/ux500/cryp/cryp_p.h
 create mode 100644 drivers/crypto/ux500/hash/Makefile
 create mode 100644 drivers/crypto/ux500/hash/hash_alg.h
 create mode 100644 drivers/crypto/ux500/hash/hash_core.c

-- 
1.7.10

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-05-04 23:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-30  8:11 [PATCH v7 0/3] crypto: ux500 crypto and hash driver Andreas Westin
2012-04-30  8:11 ` [PATCH v7 1/3] crypto: ux500: Add driver for CRYP hardware Andreas Westin
2012-04-30  8:11 ` [PATCH v7 2/3] crypto: ux500: Add driver for HASH hardware Andreas Westin
2012-04-30  8:11 ` [PATCH v7 3/3] mach-ux500: Crypto: core support for CRYP/HASH module Andreas Westin
2012-05-04  9:56 ` [PATCH v7 0/3] crypto: ux500 crypto and hash driver Herbert Xu
2012-05-04 23:22   ` Linus Walleij
  -- strict thread matches above, loose matches on Subject: below --
2012-04-30  7:34 Andreas Westin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).