mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2026-03-22 10:52:57 +00:00
Write a simple unit test for mbedtls_ecp_muladd(). Add just one pair of test cases. One of them causes the argument to fix_negative to have an argument with an all-bits-zero least significant limb which briefly triggered a branch in Mbed TLS 2.26+. See https://github.com/ARMmbed/mbedtls/issues/4296 and https://github.com/ARMmbed/mbedtls/pull/4297. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>