mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-01-28 04:22:19 +01:00
Public API wc_ecc_is_point() needs to validate the parameters. Ensure that the x and y are in range [0, p-1] and z is one (affine ordinates). Made the API a wrapper around existing calculation code. When x-ordinate is a large negative, then it will spend large amounts of time adding the prime to a large negative intermediate value.