bn: Make fixed-length Montgomery Multiplication conditional on PPC64
authorMartin Schwenke <martin@meltin.net>
Thu, 1 Jul 2021 06:59:30 +0000 (16:59 +1000)
committerPauli <pauli@openssl.org>
Tue, 6 Jul 2021 00:49:01 +0000 (10:49 +1000)
commit1627a41f1db38c0e762cbbcb452a869924370561
treef0ac728b299c946610815ae0254cf1bf07f8e0f7
parente7370fa016cc3d8a8f2c3a8d0c30a6a656bb622c
bn: Make fixed-length Montgomery Multiplication conditional on PPC64

This code is currently unconditional even though build.info has:

  $BNASM_ppc64=$BNASM_ppc32 ppc64-mont-fixed.s

This causes a build failure on 32-bit systems.

Fixes #15923

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15971)
crypto/bn/bn_ppc.c