summaryrefslogtreecommitdiffstats
path: root/crypto/ec
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2021-06-18 11:10:16 +1000
committerPauli <pauli@openssl.org>2021-06-22 18:30:17 +1000
commitb1fa45b01ba55a95bea1a4f05444f40be1b126f5 (patch)
tree248e5ebe72b43e7fbd81e1b4e7690ab40489b8c1 /crypto/ec
parent676efe3116f8275fb7308331078838c93d97d02e (diff)
ec: Only build ecp_nistp521-ppc64.s if enable-ec_nistp_64_gcc_128
Signed-off-by: Martin Schwenke <martin@meltin.net> Signed-off-by: Amitay Isaacs <amitay@ozlabs.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15798)
Diffstat (limited to 'crypto/ec')
-rw-r--r--crypto/ec/build.info10
1 files changed, 7 insertions, 3 deletions
diff --git a/crypto/ec/build.info b/crypto/ec/build.info
index f4314dd896..216139e596 100644
--- a/crypto/ec/build.info
+++ b/crypto/ec/build.info
@@ -30,9 +30,13 @@ IF[{- !$disabled{asm} -}]
$ECASM_parisc20_64=
$ECASM_ppc32=
- $ECASM_ppc64=ecp_nistz256.c ecp_nistz256-ppc64.s ecp_nistp521-ppc64.s x25519-ppc64.s
- $ECDEF_ppc64=ECP_NISTZ256_ASM ECP_NISTP521_ASM X25519_ASM
- INCLUDE[ecp_nistp521.o]=..
+ $ECASM_ppc64=ecp_nistz256.c ecp_nistz256-ppc64.s x25519-ppc64.s
+ $ECDEF_ppc64=ECP_NISTZ256_ASM X25519_ASM
+ IF[{- !$disabled{'ec_nistp_64_gcc_128'} -}]
+ $ECASM_ppc64=$ECASM_ppc64 ecp_nistp521-ppc64.s
+ $ECDEF_ppc64=$ECDEF_ppc64 ECP_NISTP521_ASM
+ INCLUDE[ecp_nistp521.o]=..
+ ENDIF
$ECASM_c64xplus=