Gilles Peskine fc1eeefc99 Overhaul testing of mbedtls_mpi_swap
Similarly to "Overhaul testing of mbedtls_mpi_copy", simplify the code
to test mbedtls_mpi_swap to have just one function for distinct MPIs
and one function for swapping an MPI with itself, covering all cases
of size (0, 1, >1) and sign (>0, <0).

The test cases are exactly the same as for mbedtls_mpi_copy with the
following replacements:
* `Copy` -> `Swap`
* ` to ` -> ` with `
* `_copy` -> `_swap`

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2021-06-22 12:44:05 +02:00
..
2021-06-21 09:10:55 +01:00
2015-04-08 13:25:31 +02:00
2021-06-18 12:59:38 +02:00
2020-11-26 15:54:35 +01:00
2021-06-18 12:59:38 +02:00
2021-03-09 16:09:18 +00:00
2021-06-18 12:59:38 +02:00