1
0
mirror of https://github.com/ARMmbed/mbedtls.git synced 2025-06-27 15:53:57 +08:00
Gilles Peskine cc6a6bfda7 Simplify the final reduction in mpi_montmul
There was some confusion during review about when A->p[n] could be
nonzero. In fact, there is no need to set A->p[n]: only the
intermediate result d might need to extend to n+1 limbs, not the final
result A. So never access A->p[n]. Rework the explanation of the
calculation in a way that should be easier to follow.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2020-06-09 11:53:46 +02:00
..
2019-02-11 21:10:48 +00:00
2020-02-04 09:52:27 +01:00
2018-06-21 14:03:14 +03:00
2020-04-08 17:22:51 +01:00
2019-10-25 09:01:34 +01:00
2019-07-08 15:26:09 +02:00
2018-11-05 12:17:15 +00:00
2018-02-22 08:20:42 +00:00
2018-02-22 08:20:42 +00:00
2015-09-04 14:21:07 +02:00
2015-09-04 14:21:07 +02:00
2020-02-18 11:27:08 +01:00
2017-10-29 17:53:52 +02:00
2018-10-26 10:08:29 +01:00
2019-06-20 16:28:10 +01:00
2015-09-04 14:21:07 +02:00
2018-12-05 23:23:39 +00:00
2015-09-04 14:21:07 +02:00