bignum_mod: Added `mbedtls_mpi_opt_red_struct` structure.

Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
diff --git a/library/bignum_mod.h b/library/bignum_mod.h
index ccf86c0..a3512eb 100644
--- a/library/bignum_mod.h
+++ b/library/bignum_mod.h
@@ -123,7 +123,9 @@
     mbedtls_mpi_uint mm;         /* Montgomery const for -N^{-1} mod 2^{ciL} */
 } mbedtls_mpi_mont_struct;
 
-typedef void *mbedtls_mpi_opt_red_struct;
+typedef struct {
+    int (*modp)(mbedtls_mpi *);  /* The optimised reduction function pointer */
+} mbedtls_mpi_opt_red_struct;
 
 typedef struct {
     const mbedtls_mpi_uint *p;