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
..
2015-06-25 10:59:56 +02:00
2019-11-12 03:23:51 -05:00
2016-05-23 14:29:28 +01:00
2016-05-23 14:29:32 +01:00
2016-10-13 13:54:14 +01:00
2019-02-11 21:10:48 +00:00
2017-02-15 23:31:07 +02:00
2020-06-09 11:53:46 +02:00
2016-05-23 14:29:32 +01:00
2016-06-07 14:52:35 +01:00
2018-07-30 11:43:08 +03:00
2020-02-04 09:52:27 +01:00
2018-06-21 14:03:14 +03:00
2020-01-22 19:09:05 +01:00
2018-06-27 11:11:34 +01:00
2020-04-08 17:22:51 +01:00
2020-01-15 16:59:10 +00:00
2018-08-23 14:57:39 +01:00
2016-05-23 14:29:32 +01:00
2018-01-26 18:43:04 +00:00
2019-02-21 18:17:05 +01:00
2019-10-25 09:01:34 +01:00
2019-07-08 15:26:09 +02:00
2017-05-11 22:42:14 +01:00
2020-04-01 11:28:08 +02:00
2018-11-05 12:17:15 +00:00
2018-01-25 17:28:31 +00:00
2019-02-18 15:57:54 +00:00
2018-01-02 16:24:29 +01:00
2019-07-05 11:33:10 +02:00
2019-10-23 18:01:25 +02:00
2019-02-18 15:57:54 +00:00
2018-02-22 08:20:42 +00:00
2018-02-22 08:20:42 +00:00
2018-07-12 10:18:37 +02:00
2018-01-22 11:54:42 +01:00
2018-01-25 17:28:31 +00:00
2018-05-23 16:32:33 +01:00
2019-06-20 16:28:10 +01:00
2018-02-08 17:18:15 +08:00
2015-09-04 14:21:07 +02:00
2018-03-12 23:44:56 +01:00
2018-03-30 18:43:16 +02:00
2017-08-04 13:32:15 +01:00
2018-10-16 13:53:58 +01:00
2015-09-04 14:21:07 +02:00
2018-10-16 13:53:50 +01:00
2020-02-18 11:27:08 +01:00
2018-09-04 11:22:08 +02:00
2018-10-11 11:10:14 +01:00
2018-02-22 08:20:42 +00:00
2018-01-03 09:27:40 +00:00
2020-01-29 13:13:04 -05:00
2018-07-12 10:18:37 +02:00
2018-07-12 10:18:37 +02:00
2018-07-12 10:18:37 +02:00
2017-10-29 17:53:52 +02:00
2019-02-13 09:52:46 +00:00
2020-04-09 11:57:18 +02:00
2017-03-02 12:26:11 +00:00
2019-02-18 15:57:54 +00:00
2018-10-26 10:08:29 +01:00
2020-03-31 13:04:19 +02:00
2018-03-21 15:13:08 +00:00
2019-06-20 16:28:10 +01:00
2019-02-13 09:52:46 +00:00
2015-09-04 14:21:07 +02:00
2015-10-21 12:50:45 +02:00
2019-06-04 14:03:27 +01:00
2020-04-17 11:30:21 +02:00
2018-12-05 23:23:39 +00:00
2020-03-28 00:43:40 +00:00
2019-06-06 13:06:46 +02:00
2020-01-22 19:06:32 +01:00
2015-09-04 14:21:07 +02:00