From 0b4b8e3c5e63499982de15acf8febc8048ce95ec Mon Sep 17 00:00:00 2001 From: Gabor Mezei Date: Tue, 14 Feb 2023 16:36:38 +0100 Subject: [PATCH] Update documentation Signed-off-by: Gabor Mezei --- library/ecp_invasive.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/library/ecp_invasive.h b/library/ecp_invasive.h index bf31f0c1d5..3ee238ee53 100644 --- a/library/ecp_invasive.h +++ b/library/ecp_invasive.h @@ -84,8 +84,10 @@ int mbedtls_ecp_gen_privkey_mx(size_t n_bits, * is a 192 bit MPI. * * \param[in,out] Np The address of the MPI to be converted. - * Must have twice as many limbs as the modulus so - * 384 bits in length. + * Must have twice as many limbs as the modulus. + * Upon return this holds the reduced value. The bitlength + * of the reduced value is the same as that of the modulus + * (192 bits). * \param[in] Nn The length of \p Np in limbs. */ MBEDTLS_STATIC_TESTABLE