bignum_mod_raw: Added conversion methods for internal/public data representation

Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
diff --git a/library/bignum_mod_raw.h b/library/bignum_mod_raw.h
index 30648d3..38415f4 100644
--- a/library/bignum_mod_raw.h
+++ b/library/bignum_mod_raw.h
@@ -163,7 +163,25 @@
 /* END MERGE SLOT 6 */
 
 /* BEGIN MERGE SLOT 7 */
+/** Convert from internal to public (little endian) data presentation
+ *
+ * \param X      The address of the MPI.
+ * \param m      The address of a modulus.
+ *
+ * \return       \c 0 if successful.
+ */
+int mbedtls_mpi_mod_raw_conv_inv( mbedtls_mpi_uint *X,
+                                  const mbedtls_mpi_mod_modulus *modulus );
 
+/** Convert from public (little endian) to internal data presentation.
+ *
+ * \param X      The address of the MPI.
+ * \param m      The address of a modulus.
+ *
+ * \return       \c 0 if successful.
+ */
+int mbedtls_mpi_mod_raw_conv_fwd( mbedtls_mpi_uint *X,
+                                  const mbedtls_mpi_mod_modulus *modulus );
 /* END MERGE SLOT 7 */
 
 /* BEGIN MERGE SLOT 8 */