linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: ard.biesheuvel@linaro.org (Ard Biesheuvel)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 0/2] arm64: SHA1 using ARM v8 Crypto Extensions
Date: Thu,  6 Mar 2014 12:12:46 +0800	[thread overview]
Message-ID: <1394079168-27666-1-git-send-email-ard.biesheuvel@linaro.org> (raw)

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

             reply	other threads:[~2014-03-06  4:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-06  4:12 Ard Biesheuvel [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1394079168-27666-1-git-send-email-ard.biesheuvel@linaro.org \
    --to=ard.biesheuvel@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).