mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-31 00:32:50 +00:00
bignum_mod: Added mbedtls_mpi_opt_red_struct
structure.
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
This commit is contained in:
parent
0f718c9ed0
commit
c6e68ed85d
@ -123,7 +123,9 @@ typedef struct {
|
|||||||
mbedtls_mpi_uint mm; /* Montgomery const for -N^{-1} mod 2^{ciL} */
|
mbedtls_mpi_uint mm; /* Montgomery const for -N^{-1} mod 2^{ciL} */
|
||||||
} mbedtls_mpi_mont_struct;
|
} 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 {
|
typedef struct {
|
||||||
const mbedtls_mpi_uint *p;
|
const mbedtls_mpi_uint *p;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user