/* Create an MPI from embedded constants (assumes len is an exact multiple of sizeof mbedtls_mpi_uint) Allocate a new memory as well so that it can be freed.  */
static void ecp_mpi_load(mbedtls_mpi *X, const mbedtls_mpi_uint *p, size_t len)
/* Create an MPI from embedded constants (assumes len is an exact multiple of sizeof mbedtls_mpi_uint) Allocate a new memory as well so that it can be freed.  */
static void ecp_mpi_load(mbedtls_mpi *X, const mbedtls_mpi_uint *p, size_t len)
{
    X->s = 1;
    X->n = len / sizeof( mbedtls_mpi_uint );
    X->p = os_zalloc(len);
    memcpy(X->p, (void *)p, len);
}