bignum_mod: Added mbedtls_mpi_opt_red_struct structure.

Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
This commit is contained in:
Minos Galanakis 2023-06-09 14:43:55 +01:00
parent 0f718c9ed0
commit c6e68ed85d

View File

@ -123,7 +123,9 @@ typedef struct {
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;