mbedtls_mpi_core_get_mont_R2_unsafe: Removed NULL input checking
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
diff --git a/library/bignum_core.h b/library/bignum_core.h
index d46aea3..9870da4 100644
--- a/library/bignum_core.h
+++ b/library/bignum_core.h
@@ -426,8 +426,7 @@
* to store the value of Montgomery constant squared.
* \return #MBEDTLS_ERR_MPI_DIVISION_BY_ZERO if \p N modulus is zero.
* \return #MBEDTLS_ERR_MPI_NEGATIVE_VALUE if \p N modulus is negative.
- * \return #MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED \p N, \p X are NULL
- * or other operations fail.
+ * \return #MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED if other operations fail.
*/
int mbedtls_mpi_core_get_mont_R2_unsafe( mbedtls_mpi *X,
mbedtls_mpi const *N );