MPI structure.

Public Functions#

mbedtls_mpi_uint *

Pointer to limbs.

signed short

Sign: -1 if the mpi is negative, 1 otherwise.

unsigned short

Total number of limbs in p.

Public Function Documentation#

MBEDTLS_PRIVATE#

mbedtls_mpi_uint * mbedtls_mpi::MBEDTLS_PRIVATE (p )

Pointer to limbs.

Parameters
N/A

This may be NULL if n is 0.


Definition at line 224 of file util/third_party/mbedtls/include/mbedtls/bignum.h

MBEDTLS_PRIVATE#

signed short mbedtls_mpi::MBEDTLS_PRIVATE (s )

Sign: -1 if the mpi is negative, 1 otherwise.

Parameters
N/A

The number 0 must be represented with s = +1. Although many library functions treat all-limbs-zero as equivalent to a valid representation of 0 regardless of the sign bit, there are exceptions, so bignum functions and external callers must always set s to +1 for the number zero.

Note that this implies that calloc() or ... = {0} does not create a valid MPI representation. You must call mbedtls_mpi_init().


Definition at line 237 of file util/third_party/mbedtls/include/mbedtls/bignum.h

MBEDTLS_PRIVATE#

unsigned short mbedtls_mpi::MBEDTLS_PRIVATE (n )

Total number of limbs in p.

Parameters
N/A

Definition at line 240 of file util/third_party/mbedtls/include/mbedtls/bignum.h