[PATCH] mpi: Introduce mpi_tfr and use it for point_tfr.

NIIBE Yutaka gniibe at fsij.org
Wed Nov 19 02:48:28 CET 2025


* mpi/ec.c (point_tfr): New.
(mpi_ec_mul_point_lli): Use point_tfr.
* mpi/mpiutil.c (_gcry_mpi_tfr): New.
* src/mpi.h (mpi_tfr): New.
(_gcry_mpi_tfr): New.

--

The intention is to decrese EM signal and to increse EM noise, wrt the
Hamming distance signal for memory write operation.

Signed-off-by: NIIBE Yutaka <gniibe at fsij.org>
---
 mpi/ec.c      | 28 +++++++++++++++++++++++++--
 mpi/mpiutil.c | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++
 src/mpi.h     |  2 ++
 3 files changed, 81 insertions(+), 2 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-mpi-Introduce-mpi_tfr-and-use-it-for-point_tfr.patch
Type: text/x-patch
Size: 4734 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gcrypt-devel/attachments/20251119/528006a7/attachment.bin>


More information about the Gcrypt-devel mailing list