mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2026-03-23 23:12:57 +00:00
The MPI_VALIDATE_RET() macro cannot be used for parameter validation of mbedtls_mpi_lsb() because this function returns a size_t. Use the underlying MBEDTLS_INTERNAL_VALIDATE_RET() insteaed, returning 0 on failure. Also, add a test for this behaviour.
40 KiB
40 KiB