mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-04-07 21:07:20 +02:00
Negative x coordinate was tested with the value -1. It happens to be one of the low order points both for Curve25519 and Curve448 and might be rejected because of that and not because it is negative. Make sure that x < 0 is the only plausible reason for the point to be rejected. Signed-off-by: Janos Follath <janos.follath@arm.com>