Gilles Peskine 997be0aba3 Fix multiplication with negative result and a low-order 0 limb
Fix a bug introduced in "Fix multiplication producing a negative zero" that
caused the sign to be forced to +1 when A > 0, B < 0 and B's low-order limb
is 0.

Add a non-regression test. More generally, systematically test combinations
of leading zeros, trailing zeros and signs.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2021-06-22 12:47:21 +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 Fix multiplication with negative result and a low-order 0 limb 2021-06-22 12:47:21 +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