[PATCH 2/8] mpi:ec: Keep A untouched in ec_get_a_is_pminus3.

NIIBE Yutaka gniibe at fsij.org
Thu Mar 27 06:19:05 CET 2025


* mpi/ec.c (ec_get_a_is_pminus3): Change the calculation
so that it keeps the MPI of A untouched.

--

Note that mpi_cmp with A may normalize the MPI.

Signed-off-by: NIIBE Yutaka <gniibe at fsij.org>
---
 mpi/ec.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-mpi-ec-Keep-A-untouched-in-ec_get_a_is_pminus3.patch
Type: text/x-patch
Size: 434 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gcrypt-devel/attachments/20250327/68aa43b7/attachment.bin>


More information about the Gcrypt-devel mailing list