1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-29 11:41:15 +03:00

Rename structure elements

Use better names for structure elements and adopting the convention of
the other modules.

Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
This commit is contained in:
Gabor Mezei
2022-08-12 18:09:12 +02:00
parent 7f0817884e
commit fd65e82753
3 changed files with 17 additions and 17 deletions

View File

@ -46,7 +46,7 @@ typedef enum
typedef struct
{
mbedtls_mpi_uint *p;
size_t n;
size_t limbs;
} mbedtls_mpi_mod_residue;
typedef void *mbedtls_mpi_mont_struct;
@ -54,8 +54,8 @@ typedef void *mbedtls_mpi_opt_red_struct;
typedef struct {
mbedtls_mpi_uint *p;
size_t n; // number of limbs
size_t plen; // bitlen of p
size_t limbs; // number of limbs
size_t bits; // bitlen of p
mbedtls_mpi_mod_ext_rep ext_rep; // signals external representation (eg. byte order)
mbedtls_mpi_mod_rep_selector int_rep; // selector to signal the active member of the union
union rep