[PATCH v2 0/5] ARM: crypto: ARMv8 Crypto Extensions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is v2 of the ARM crypto series I sent out yesterday, erroneously without
a cover letter.

Patch #1 moves all the ARM specific crypto options to arch/arm/crypto/Kconfig.

Patches #2 - #5 implement SHA1, SHA-224/256, AES-ECB/CBC/CTR/XTS and GHASH,
respectively.

Changes since v1:
- fixes for BE (currently still untested)
- added alignment hints where appropriate (e,g., [rX, :128])
- various minor tweaks

There are all tested on LE using the respective tcrypt tests.

Ard Biesheuvel (5):
  crypto/arm: move ARM specific Kconfig definitions to a dedicated file
  crypto/arm: add support for SHA1 using ARMv8 Crypto Instructions
  crypto/arm: add support for SHA-224/256 using ARMv8 Crypto Extensions
  crypto/arm: AES in ECB/CBC/CTR/XTS modes using ARMv8 Crypto Extensions
  crypto/arm: add support for GHASH using ARMv8 Crypto Extensions

 arch/arm/Kconfig                |   3 +
 arch/arm/crypto/Kconfig         | 123 ++++++++++
 arch/arm/crypto/Makefile        |   8 +
 arch/arm/crypto/aes-ce-core.S   | 518 +++++++++++++++++++++++++++++++++++++++
 arch/arm/crypto/aes-ce-glue.c   | 520 ++++++++++++++++++++++++++++++++++++++++
 arch/arm/crypto/ghash-ce-core.S |  94 ++++++++
 arch/arm/crypto/ghash-ce-glue.c | 318 ++++++++++++++++++++++++
 arch/arm/crypto/sha1-ce-core.S  | 134 +++++++++++
 arch/arm/crypto/sha1-ce-glue.c  | 150 ++++++++++++
 arch/arm/crypto/sha2-ce-core.S  | 134 +++++++++++
 arch/arm/crypto/sha2-ce-glue.c  | 203 ++++++++++++++++
 crypto/Kconfig                  |  75 ------
 12 files changed, 2205 insertions(+), 75 deletions(-)
 create mode 100644 arch/arm/crypto/Kconfig
 create mode 100644 arch/arm/crypto/aes-ce-core.S
 create mode 100644 arch/arm/crypto/aes-ce-glue.c
 create mode 100644 arch/arm/crypto/ghash-ce-core.S
 create mode 100644 arch/arm/crypto/ghash-ce-glue.c
 create mode 100644 arch/arm/crypto/sha1-ce-core.S
 create mode 100644 arch/arm/crypto/sha1-ce-glue.c
 create mode 100644 arch/arm/crypto/sha2-ce-core.S
 create mode 100644 arch/arm/crypto/sha2-ce-glue.c

-- 
1.8.3.2

--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux