summaryrefslogtreecommitdiff
path: root/src/hwfeatures.c
diff options
context:
space:
mode:
authorDanny Tsen <dtsen@us.ibm.com>2021-12-14 20:03:06 +0200
committerJussi Kivilinna <jussi.kivilinna@iki.fi>2021-12-21 17:31:34 +0200
commit7205c715b3e0f6fd0b853e8916d174048f43c03b (patch)
treebb4a936fbc03a58d3dfb1167adcbb861536c710c /src/hwfeatures.c
parentf23634f9141b204ecaffffa563f7dd1497adf06f (diff)
downloadlibgcrypt-7205c715b3e0f6fd0b853e8916d174048f43c03b.tar.gz
AES-GCM: Bulk implementation of AES-GCM acceleration for ppc64le
* configure.ac: Added p10 assembly implementation file and assiciated file. * cipher/Makefile.am: Added p10 assembly implementation file and associated file. * cipher/rijndael.c: Added p10 function. * cipher/rijndael-p10le.c: New wrapper file for AES-GCM call. * cipher/rijndael-gcm-p10le.s: New implementation of AES-GCM bulk function in Power Assembly. * src/g10lib.h: Added Power arch 3.1 definition for p10. * src/hwf-ppc.c: Added Power arch 3.1 definition for p10. * src/hwfeatures.c: Added Power arch 3.1 definition for p10. -- GnuPG-bug-id: 5700 Signed-off-by: Danny Tsen <dtsen@us.ibm.com> [jk: fixes for C coding style] [jk: prefix assembly functions with '_gcry_ppc10'] [jk: add assert check for gcm_table size] Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>
Diffstat (limited to 'src/hwfeatures.c')
-rw-r--r--src/hwfeatures.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/hwfeatures.c b/src/hwfeatures.c
index a605c0ab..97e67b3c 100644
--- a/src/hwfeatures.c
+++ b/src/hwfeatures.c
@@ -72,6 +72,7 @@ static struct
{ HWF_PPC_VCRYPTO, "ppc-vcrypto" },
{ HWF_PPC_ARCH_3_00, "ppc-arch_3_00" },
{ HWF_PPC_ARCH_2_07, "ppc-arch_2_07" },
+ { HWF_PPC_ARCH_3_10, "ppc-arch_3_10" },
#elif defined(HAVE_CPU_ARCH_S390X)
{ HWF_S390X_MSA, "s390x-msa" },
{ HWF_S390X_MSA_4, "s390x-msa-4" },