diff --git a/include/polarssl/ecdsa.h b/include/polarssl/ecdsa.h index e709b405c..bc1afbbed 100644 --- a/include/polarssl/ecdsa.h +++ b/include/polarssl/ecdsa.h @@ -39,7 +39,6 @@ typedef struct ecp_point Q; /*!< public signature key */ mpi r; /*!< first integer from signature */ mpi s; /*!< second integer from signature */ - int point_format; /*!< format for point export */ } ecdsa_context; diff --git a/library/ecdsa.c b/library/ecdsa.c index 10748506d..e87bc6527 100644 --- a/library/ecdsa.c +++ b/library/ecdsa.c @@ -197,8 +197,6 @@ void ecdsa_init( ecdsa_context *ctx ) ecp_point_init( &ctx->Q ); mpi_init( &ctx->r ); mpi_init( &ctx->s ); - mpi_init( &ctx->d ); - ctx->point_format = POLARSSL_ECP_PF_UNCOMPRESSED; } /* @@ -211,8 +209,6 @@ void ecdsa_free( ecdsa_context *ctx ) ecp_point_free( &ctx->Q ); mpi_free( &ctx->r ); mpi_free( &ctx->s ); - mpi_free( &ctx->d ); - ctx->point_format = POLARSSL_ECP_PF_UNCOMPRESSED; } #if defined(POLARSSL_SELF_TEST)