Skip to content

Add VMX module for PPC64

Leonidas S. Barbosa linux-crypto lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 of 7 patches 1 replyIn review
  2. v12 of 7 patches 2 repliesSuperseded

2 of 7 patches are in this archive. The cover letter announces 7.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
6/7Add support for VMS instructions by ASMdrivers/crypto/vmx/aesp8-ppc.pl drivers/crypto/vmx/ghashp8-ppc.pl drivers/crypto/vmx/ppc-xlate.pl+2400 -00 replies
7/7Enabling VMX module for PPC64drivers/crypto/Kconfig drivers/crypto/Makefile drivers/crypto/vmx/Kconfig +1 more+37 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCHv2 0/7] Add VMX module for PPC64

VMX cryptographic acceleration instructions were added to the POWER8 CPU. These instructions implement portions of AES and GHASH in hardware.

This patch set adds a new module for PPC64, vmx, that support cryptographic routines such as AES and GHASH on hardware. In order to access VMX instructions on Power 8 CPU this module uses scripts implemented in colaboration with OpenSSL.

Changelog[v2]
1. Patch style fixes
2. Redo unecessary conditions on drivers/crypto/Kconfig and vmx/Makefile in previous [Patch 7/7]

Leonidas S. Barbosa (2):
Add support for VMS instructions by ASM
Enabling VMX module for PPC64

Marcelo H. Cerri (5):
Adding VMX module for Power 8
Adding AES routines for VMX module
Adding CBC routines for VMX module
Adding CTR routines for VMX module
Adding GHASH routines for VMX module

 drivers/crypto/Kconfig            |    9 +
 drivers/crypto/Makefile           |    1 +
 drivers/crypto/vmx/Kconfig        |    8 +
 drivers/crypto/vmx/Makefile       |   19 +
 drivers/crypto/vmx/aes.c          |  139 +++
 drivers/crypto/vmx/aes_cbc.c      |  184 ++++
 drivers/crypto/vmx/aes_ctr.c      |  167 ++++
 drivers/crypto/vmx/aesp8-ppc.h    |   20 +
 drivers/crypto/vmx/aesp8-ppc.pl   | 1940 +++++++++++++++++++++++++++++++++++++
 drivers/crypto/vmx/ghash.c        |  214 ++++
 drivers/crypto/vmx/ghashp8-ppc.pl |  234 +++++
 drivers/crypto/vmx/ppc-xlate.pl   |  226 +++++
 drivers/crypto/vmx/vmx.c          |   88 ++
 13 files changed, 3249 insertions(+)
 create mode 100644 drivers/crypto/vmx/Kconfig
 create mode 100644 drivers/crypto/vmx/Makefile
 create mode 100644 drivers/crypto/vmx/aes.c
 create mode 100644 drivers/crypto/vmx/aes_cbc.c
 create mode 100644 drivers/crypto/vmx/aes_ctr.c
 create mode 100644 drivers/crypto/vmx/aesp8-ppc.h
 create mode 100755 drivers/crypto/vmx/aesp8-ppc.pl
 create mode 100644 drivers/crypto/vmx/ghash.c
 create mode 100755 drivers/crypto/vmx/ghashp8-ppc.pl
 create mode 100755 drivers/crypto/vmx/ppc-xlate.pl
 create mode 100644 drivers/crypto/vmx/vmx.c
Signature · 1 line
2.1.0