Add ecdsa_context structure
This commit is contained in:
parent
44618dd798
commit
bec2f45cfc
@ -29,6 +29,20 @@
|
||||
|
||||
#include "polarssl/ecp.h"
|
||||
|
||||
/**
|
||||
* \brief ECDSA context structure
|
||||
*/
|
||||
typedef struct
|
||||
{
|
||||
ecp_group grp; /*!< ellipitic 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 */
|
||||
int point_format; /*!< format for point export */
|
||||
}
|
||||
ecdsa_context;
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user