Gilles Peskine e6cb45e68e mbedtls_mpi_exp_mod: remove spurious copy of the output variable
Clear some confusion between `X` as the output variable and "X" as a name
given to the accumulator. Previous iterations of the code used the variable
`X` as the accumulator, but now that the accumulator is `W[x_index]`, some
of the comments didn't make sense.

Remove the copy of the initial value of `X` into `W[x_index]`, which was
meaningless: the initial value of an output variable should not, and did
not, matter. `W[x_index]` is later overridden unconditionally to take the
value `RR`.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2023-08-10 15:59:28 +02:00
..
2023-05-12 13:58:05 +02:00
2023-07-13 17:32:11 +08:00
2023-06-16 20:18:36 +01:00
2023-07-11 14:06:37 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-05-18 20:49:03 +01:00
2023-01-23 19:10:26 +01:00
2023-01-11 14:50:10 +01:00
2023-06-24 13:37:28 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-06-24 13:37:28 +01:00
2023-01-11 14:50:10 +01:00
2023-04-12 06:07:23 +00:00
2023-06-06 10:33:54 +02:00
2023-08-02 10:32:21 +01:00
2023-08-02 12:33:01 +01:00
2023-01-11 14:50:10 +01:00
2023-03-24 10:43:40 +01:00
2023-07-13 15:57:20 +01:00
2023-01-11 14:50:10 +01:00
2023-08-02 12:33:01 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-06-24 13:37:28 +01:00
2023-01-11 14:50:10 +01:00
2023-07-06 12:42:33 +02:00
2023-07-06 12:42:33 +02:00
2023-07-06 12:42:33 +02:00
2023-03-13 12:15:49 +00:00
2023-07-06 12:42:33 +02:00
2023-07-06 12:42:33 +02:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-02-02 12:40:50 +00:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-06-07 19:59:05 +01:00
2023-07-13 10:40:29 +08:00
2023-07-13 10:40:29 +08:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00
2023-01-11 14:50:10 +01:00