summaryrefslogtreecommitdiffstats
path: root/providers/fips.module.sources
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2021-04-14 14:31:58 +1000
committerPauli <pauli@openssl.org>2021-05-08 20:39:29 +1000
commit0d40ca47bd86e74a95c3a2f5fb6c67cdbee93c79 (patch)
treed5939a2a1b410da4a696461e7724da37bfa9697e /providers/fips.module.sources
parent531df8185ff4a083aca550b2c8a56d7993b2c60d (diff)
bn: Add fixed length (n=6), unrolled PPC Montgomery Multiplication
Overall improvement for p384 of ~18% on Power 9, compared to existing Power assembling code. See comment in code for more details. Multiple unrolled versions could be generated for values other than 6. However, for TLS 1.3 the only other ECC algorithms that might use Montgomery Multiplication are p256 and p521, but these have custom algorithms that don't use Montgomery Multiplication. Non-ECC algorithms are likely to use larger key lengths that won't fit into the n <= 10 length limitation of this code. Signed-off-by: Amitay Isaacs <amitay@ozlabs.org> Signed-off-by: Alastair D'Silva <alastair@d-silva.org> 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/15175)
Diffstat (limited to 'providers/fips.module.sources')
-rw-r--r--providers/fips.module.sources1
1 files changed, 1 insertions, 0 deletions
diff --git a/providers/fips.module.sources b/providers/fips.module.sources
index 7e17658602..416a2b97f7 100644
--- a/providers/fips.module.sources
+++ b/providers/fips.module.sources
@@ -42,6 +42,7 @@ crypto/bn/asm/mips.pl
crypto/bn/asm/parisc-mont.pl
crypto/bn/asm/ppc-mont.pl
crypto/bn/asm/ppc.pl
+crypto/bn/asm/ppc64-mont-fixed.pl
crypto/bn/asm/ppc64-mont.pl
crypto/bn/asm/rsaz-avx2.pl
crypto/bn/asm/rsaz-avx512.pl