1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-04-21 23:05:55 +03:00
Janos Follath aadbadbf42 mpi_exp_mod: move X next to the precomputed values
With small exponents (for example, when doing RSA-1024 with CRT, each
prime is 512 bits and we'll use wsize = 5 which may be smaller that the
maximum - or even worse when doing public RSA operations which typically
have a 16-bit exponent so we'll use wsize = 1) the usage of W will have
pre-computed values, then empty space, then the accumulator at the very
end.

Move X next to the precomputed values to make accesses more efficient
and intuitive.

Signed-off-by: Janos Follath <janos.follath@arm.com>
2022-11-21 14:55:05 +00:00
..
2022-10-25 16:47:56 +01:00
2022-10-25 16:47:56 +01:00
2022-07-11 10:43:55 +01:00
2022-10-25 16:47:56 +01:00
2022-05-09 11:03:26 +02:00
2022-10-07 15:47:39 +02:00
2021-12-15 11:55:31 +00:00
2021-03-29 14:20:18 +01:00
2021-04-07 12:45:35 +01:00
2021-03-29 14:20:18 +01:00
2021-04-07 12:45:35 +01:00
2021-12-13 11:14:45 +00:00
2020-11-25 13:10:50 +01:00
2020-11-25 13:10:50 +01:00
2022-10-25 17:20:00 +01:00
2022-10-27 11:39:03 +01:00
2022-10-27 11:38:15 +01:00
2022-03-29 17:56:55 +02:00
2022-10-27 11:45:01 +01:00