Add documentation
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
diff --git a/library/ecp_invasive.h b/library/ecp_invasive.h
index a0c678d..0844c49 100644
--- a/library/ecp_invasive.h
+++ b/library/ecp_invasive.h
@@ -78,6 +78,12 @@
#if defined(MBEDTLS_ECP_DP_SECP192R1_ENABLED)
+/** Fast quasi-reduction modulo p192 (FIPS 186-3 D.2.1)
+ *
+ * \param[in,out] Np The address of the MPI to be converted.
+ * Must have the double the limbs than \p Nn.
+ * \param[in] Nn The address of the modulus.
+ */
MBEDTLS_STATIC_TESTABLE
int ecp_mod_p192_raw(mbedtls_mpi_uint *Np, size_t Nn);