Simplify ecdsa_context
diff --git a/include/mbedtls/ecdsa.h b/include/mbedtls/ecdsa.h
index a5a535a..2a3b215 100644
--- a/include/mbedtls/ecdsa.h
+++ b/include/mbedtls/ecdsa.h
@@ -52,18 +52,8 @@
/**
* \brief ECDSA context structure
- *
- * \note Purposefully begins with the same members as struct ecp_keypair.
*/
-typedef struct
-{
- ecp_group grp; /*!< elliptic curve used */
- mpi d; /*!< secret signature key */
- ecp_point Q; /*!< public signature key */
- mpi r; /*!< first integer from signature */
- mpi s; /*!< second integer from signature */
-}
-ecdsa_context;
+typedef ecp_keypair ecdsa_context;
#ifdef __cplusplus
extern "C" {