qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v3 0/4] target-arm: add SHA-3, SM3 and SHA512 instruction support
@ 2018-01-19 14:17 Ard Biesheuvel
  2018-01-19 14:17 ` [Qemu-devel] [PATCH v3 1/4] target/arm: implement SHA-512 instructions Ard Biesheuvel
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Ard Biesheuvel @ 2018-01-19 14:17 UTC (permalink / raw)
  To: qemu-devel; +Cc: peter.maydell, Ard Biesheuvel

This v3 is a follow-up to the single patch 'target/arm: implement SHA-512
instructions' sent out on the 9th of January.

Changes since v2:
- fix thinko in big-endian aware handling of 64-bit quantities: this is not
  needed given that the NEON registers are represented as arrays of uint64_t
  so they always appear in the correct order.
- add support for SM3 instructions (Chinese SHA derivative)

Changes since v1:
- update SHA512 patch to adhere more closely to the existing style, and to
  the way the instruction encodings are classified in the ARM ARM (#1)
- add patch implementing the new SHA3 instructions EOR3/RAX1/XAR/BCAX (#2)
- enable support for these instructions in user mode emulation (#3)

Ard Biesheuvel (4):
  target/arm: implement SHA-512 instructions
  target/arm: implement SHA-3 instructions
  target/arm: implement SM3 instructions
  target/arm: enable user-mode SHA-3, SM3 and SHA-512 instruction
    support

 linux-user/elfload.c       |  18 ++
 target/arm/cpu.h           |   3 +
 target/arm/cpu64.c         |   3 +
 target/arm/crypto_helper.c | 311 +++++++++++++++++++-
 target/arm/helper.h        |  15 +
 target/arm/translate-a64.c | 255 ++++++++++++++++
 6 files changed, 604 insertions(+), 1 deletion(-)

-- 
2.11.0

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

end of thread, other threads:[~2018-01-22 16:48 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-19 14:17 [Qemu-devel] [PATCH v3 0/4] target-arm: add SHA-3, SM3 and SHA512 instruction support Ard Biesheuvel
2018-01-19 14:17 ` [Qemu-devel] [PATCH v3 1/4] target/arm: implement SHA-512 instructions Ard Biesheuvel
2018-01-19 14:17 ` [Qemu-devel] [PATCH v3 2/4] target/arm: implement SHA-3 instructions Ard Biesheuvel
2018-01-22 16:47   ` Peter Maydell
2018-01-22 16:48     ` Ard Biesheuvel
2018-01-19 14:17 ` [Qemu-devel] [PATCH v3 3/4] target/arm: implement SM3 instructions Ard Biesheuvel
2018-01-19 14:17 ` [Qemu-devel] [PATCH v3 4/4] target/arm: enable user-mode SHA-3, SM3 and SHA-512 instruction support 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).