1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-28 00:21:48 +03:00

Clean up mpi_mod_init/free

Signed-off-by: Janos Follath <janos.follath@arm.com>
This commit is contained in:
Janos Follath
2022-07-19 13:14:36 +01:00
parent 5005edb36c
commit 281ccda8a5
2 changed files with 13 additions and 7 deletions

View File

@ -56,8 +56,12 @@ typedef enum
MBEDTLS_MPI_MOD_REP_OPT_RED
} mbedtls_mpi_mod_rep_selector;
#define MBEDTLS_MPI_MOD_EXT_REP_LE 0x1
#define MBEDTLS_MPI_MOD_EXT_REP_BE 0x2
typedef enum
{
MBEDTLS_MPI_MOD_EXT_REP_INVALID = 0,
MBEDTLS_MPI_MOD_EXT_REP_LE,
MBEDTLS_MPI_MOD_EXT_REP_BE
} mbedtls_mpi_mod_ext_rep;
void mbedtls_mpi_mod_residue_release( mbedtls_mpi_mod_residue *r );