mbedtls/tests
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
..
.jenkins
configs
data_files Removal of RC4 certs and fixes to docs and tests 2021-06-21 13:27:29 +02:00
docker/bionic
git-scripts
include New test helper mbedtls_test_read_mpi 2021-06-22 12:43:00 +02:00
scripts Merge pull request #4685 from mpg/improve-all-sh-robustness 2021-06-22 11:14:49 +02:00
src New test helper mbedtls_test_read_mpi 2021-06-22 12:43:00 +02:00
suites Overhaul testing of mbedtls_mpi_swap 2021-06-22 12:44:05 +02:00
.gitignore
CMakeLists.txt Remove MD2, MD4, RC4, Blowfish and XTEA 2021-06-16 10:34:25 +02:00
compat-in-docker.sh
compat.sh
context-info.sh Modifies tests in context-info.sh 2021-06-16 16:19:53 +01:00
Descriptions.txt
make-in-docker.sh
Makefile
ssl-opt-in-docker.sh
ssl-opt.sh Merge pull request #4604 from gilles-peskine-arm/default-hashes-curves-3.0 2021-06-22 12:08:37 +02:00