Skip to content

AT91SAM9G46/M11: add crypto drivers

Eric Bénard linux-arm-kernel linux-crypto lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5ARM: AT91SAM9G45: add crypto peripheralsarch/arm/mach-at91/at91sam9g45.c arch/arm/mach-at91/at91sam9g45_devices.c arch/arm/mach-at91/include/mach/at91sam9g45.h +1 more+164 -10 replies
2/5crypto: add Atmel AES driverdrivers/crypto/Kconfig drivers/crypto/Makefile drivers/crypto/atmel-aes-regs.h +1 more+1287 -12 replies
3/5crypto: add Atmel DES/TDES driverdrivers/crypto/Kconfig drivers/crypto/Makefile drivers/crypto/atmel-tdes-regs.h +1 more+1321 -00 replies
4/5crypto: add Atmel SHA1/SHA256 driverdrivers/crypto/Kconfig drivers/crypto/Makefile drivers/crypto/atmel-sha-regs.h +1 more+1173 -00 replies
5/5crypto: add new tests to tcryptcrypto/tcrypt.c+45 -50 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchNicolas FerreEric Bénard
1/5A-b A-b T-b
2/5A-b A-b T-b
3/5A-b A-b T-b
4/5A-b A-b T-b
5/5A-b A-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/5] AT91SAM9G46/M11: add crypto drivers

This patch serie adds the support for the crypto engine available in the Atmel SAM9G46 http://www.atmel.com/devices/SAM9G46.aspx and SAM9M11
http://www.atmel.com/devices/SAM9M11.aspx

For each driver the choice between PDC/DMA or PIO was optimized to maximize the performances (benchmarks will soon be available on the linux4sam wiki http://www.at91.com/).

These drivers were tested on both devices : the last patch adds a few missing tests to tcrypt.

This work was sponsored by Atmel.

Nicolas Royer (5):
ARM: AT91SAM9G45: add crypto peripherals
crypto: add Atmel AES driver
crypto: add Atmel DES/TDES driver
crypto: add Atmel SHA1/SHA256 driver
crypto: add new tests to tcrypt

 arch/arm/mach-at91/at91sam9g45.c              |   13 +-
 arch/arm/mach-at91/at91sam9g45_devices.c      |  128 +++
 arch/arm/mach-at91/include/mach/at91sam9g45.h |    2 +
 crypto/tcrypt.c                               |   50 +-
 drivers/crypto/Kconfig                        |   47 +
 drivers/crypto/Makefile                       |    5 +-
 drivers/crypto/atmel-aes-regs.h               |   62 ++
 drivers/crypto/atmel-aes.c                    | 1206 ++++++++++++++++++++++++
 drivers/crypto/atmel-sha-regs.h               |   46 +
 drivers/crypto/atmel-sha.c                    | 1112 ++++++++++++++++++++++
 drivers/crypto/atmel-tdes-regs.h              |   89 ++
 drivers/crypto/atmel-tdes.c                   | 1215 +++++++++++++++++++++++++
 include/linux/platform_data/atmel-aes.h       |   22 +
 13 files changed, 3990 insertions(+), 7 deletions(-)
 create mode 100644 drivers/crypto/atmel-aes-regs.h
 create mode 100644 drivers/crypto/atmel-aes.c
 create mode 100644 drivers/crypto/atmel-sha-regs.h
 create mode 100644 drivers/crypto/atmel-sha.c
 create mode 100644 drivers/crypto/atmel-tdes-regs.h
 create mode 100644 drivers/crypto/atmel-tdes.c
 create mode 100644 include/linux/platform_data/atmel-aes.h
Signature · 1 line
1.7.7.6