mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2026-03-07 18:16:28 +00:00
Simplify ecdsa_context
This commit is contained in:
@@ -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" {
|
||||
|
||||
Reference in New Issue
Block a user