mbedtls_asn1_get_mpi() function
Retrieve a MPI value from an integer ASN.1 tag. Updates the pointer to immediately behind the full tag.
Syntax
int mbedtls_asn1_get_mpi( unsigned char **p,
const unsigned char *end,
mbedtls_mpi *X );
Arguments
p
The position in the ASN.1 data
X
The MPI that will receive the value
Return value
0 if successful or a specific ASN.1 or MPI error code.