openssl/crypto/ec/asm
Danny Tsen 85cabd9495 Fix Minerva timing side-channel signal for P-384 curve on PPC
1. bn_ppc.c: Used bn_mul_mont_int() instead of bn_mul_mont_300_fixed_n6()
   for Montgomery multiplication.
2. ecp_nistp384-ppc64.pl:
   - Re-wrote p384_felem_mul and p384_felem_square for easier maintenance with
     minumum perl wrapper.
   - Implemented p384_felem_reduce, p384_felem_mul_reduce and p384_felem_square_reduce.
   - Implemented p384_felem_diff64, felem_diff_128_64 and felem_diff128 in assembly.
3. ecp_nistp384.c:
   - Added wrapper function for p384_felem_mul_reduce and p384_felem_square_reduce.

Signed-off-by: Danny Tsen <dtsen@us.ibm.com>

Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/26709)
2025-03-14 17:20:52 +01:00
..
ecp_nistp384-ppc64.pl Fix Minerva timing side-channel signal for P-384 curve on PPC 2025-03-14 17:20:52 +01:00
ecp_nistp521-ppc64.pl Copyright year updates 2023-09-07 09:59:15 +01:00
ecp_nistz256-armv4.pl Fix: ecp_nistz256-armv4.S bad arguments 2020-09-20 14:21:15 +02:00
ecp_nistz256-armv8.pl Copyright year updates 2025-03-12 13:35:59 +00:00
ecp_nistz256-ppc64.pl Update copyright year 2020-04-23 13:55:52 +01:00
ecp_nistz256-sparcv9.pl Update copyright year 2021-07-29 15:41:35 +01:00
ecp_nistz256-x86.pl Update copyright year 2020-04-23 13:55:52 +01:00
ecp_nistz256-x86_64.pl Copyright year updates 2024-09-05 09:35:49 +02:00
ecp_sm2p256-armv8.pl Copyright year updates 2025-03-12 13:35:59 +00:00
x25519-ppc64.pl Update copyright year 2020-04-23 13:55:52 +01:00
x25519-x86_64.pl Ignore vendor name in Clang version number. 2020-08-27 20:27:26 -07:00