mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-12-04 23:42:42 +03:00
The function appears to be safe, since grow() is called with sensible arguments in previous functions. Ideally Clang would be clever enough to realise this. Even if N has size MBEDTLS_MPI_MAX_LIMBS, which will cause the grow to fail, the affected lines in montmul won't be reached. Having this sanity check can hardly hurt though.
57 KiB
57 KiB