Skip to content

Commit b2143a8

Browse files
authored
Merge pull request #8965 from SparkiDev/ppc32_sha256_spe
PPC32 ARM ASM SHA-256: SPE impl, tidy up original
2 parents 98adb33 + d6a72e2 commit b2143a8

File tree

3 files changed

+7546
-2598
lines changed

3 files changed

+7546
-2598
lines changed

configure.ac

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3562,6 +3562,9 @@ then
35623562
small)
35633563
ENABLED_PPC32_ASM_SMALL=yes
35643564
;;
3565+
spe)
3566+
ENABLED_PPC32_ASM_SPE=yes
3567+
;;
35653568
*)
35663569
AC_MSG_ERROR([Invalid RISC-V option [yes,inline,small]: $ENABLED_PPC32_ASM.])
35673570
break
@@ -3582,6 +3585,10 @@ if test "$ENABLED_PPC32_ASM_SMALL" = "yes"; then
35823585
AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_PPC32_ASM_SMALL"
35833586
AM_CCASFLAGS="$AM_CCASFLAGS -DWOLFSSL_PPC32_ASM_SMALL"
35843587
fi
3588+
if test "$ENABLED_PPC32_ASM_SPE" = "yes"; then
3589+
AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_PPC32_ASM_SPE"
3590+
AM_CCASFLAGS="$AM_CCASFLAGS -DWOLFSSL_PPC32_ASM_SPE"
3591+
fi
35853592

35863593
# Xilinx hardened crypto
35873594
AC_ARG_ENABLE([xilinx],

0 commit comments

Comments
 (0)