linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] arm64: SHA1 using ARM v8 Crypto Extensions
@ 2014-03-06  4:12 Ard Biesheuvel
  2014-03-06  4:12 ` [PATCH 1/2] arm64: add kernel emulation for AES and SHA1 instructions Ard Biesheuvel
  2014-03-06  4:12 ` [PATCH 2/2] arm64: Add support for SHA1 using ARMv8 Crypto Extensions Ard Biesheuvel
  0 siblings, 2 replies; 3+ messages in thread
From: Ard Biesheuvel @ 2014-03-06  4:12 UTC (permalink / raw)
  To: linux-arm-kernel

This implements the SHA1 hash using ARM v8 Crypto Instructions.

Note that these patches depend on the modalias patch and NEON optimization
patches posted to the list over the past weeks. 

The first patch is included for reference *only*. It implements emulation of
the SHA1 instructions in the kernel. (You need this patch to test the code if
your emulator or hardware has no support for Crypto Extensions)

Ard Biesheuvel (2):
  arm64: add kernel emulation for AES and SHA1 instructions
  arm64: Add support for SHA1 using ARMv8 Crypto Extensions

 arch/arm64/Makefile              |   1 +
 arch/arm64/crypto/Makefile       |   2 +
 arch/arm64/crypto/sha1-ce-core.S | 121 +++++++++++
 arch/arm64/crypto/sha1-ce-glue.c | 149 ++++++++++++++
 arch/arm64/emu/Makefile          |  11 +
 arch/arm64/emu/ce-emu.c          | 430 +++++++++++++++++++++++++++++++++++++++
 arch/arm64/include/asm/traps.h   |  10 +
 arch/arm64/kernel/entry.S        |   4 +-
 arch/arm64/kernel/traps.c        |  49 +++++
 crypto/Kconfig                   |   6 +
 10 files changed, 782 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm64/crypto/sha1-ce-core.S
 create mode 100644 arch/arm64/crypto/sha1-ce-glue.c
 create mode 100644 arch/arm64/emu/Makefile
 create mode 100644 arch/arm64/emu/ce-emu.c

-- 
1.8.3.2

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

end of thread, other threads:[~2014-03-06  4:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-06  4:12 [PATCH 0/2] arm64: SHA1 using ARM v8 Crypto Extensions Ard Biesheuvel
2014-03-06  4:12 ` [PATCH 1/2] arm64: add kernel emulation for AES and SHA1 instructions Ard Biesheuvel
2014-03-06  4:12 ` [PATCH 2/2] arm64: Add support for SHA1 using ARMv8 Crypto Extensions Ard Biesheuvel

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).