diff options
author | Martin Schwenke <martin@meltin.net> | 2021-04-14 14:31:58 +1000 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2021-05-08 20:39:29 +1000 |
commit | 0d40ca47bd86e74a95c3a2f5fb6c67cdbee93c79 (patch) | |
tree | d5939a2a1b410da4a696461e7724da37bfa9697e /providers/fips.checksum | |
parent | 531df8185ff4a083aca550b2c8a56d7993b2c60d (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.checksum')
-rw-r--r-- | providers/fips.checksum | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/providers/fips.checksum b/providers/fips.checksum index e5ff9a8040..e9adf327b3 100644 --- a/providers/fips.checksum +++ b/providers/fips.checksum @@ -1 +1 @@ -2e67c3ed3222fedf2d26e91f47b2b7708a95f39a74bd1489412f324f84daa57d providers/fips-sources.checksums +4fcfc6375eef7bed6219191cce24513be04a6ebb8b2d5da8e404150a2ecc0eba providers/fips-sources.checksums |