Commit bec2f45c authored by Manuel Pégourié-Gonnard's avatar Manuel Pégourié-Gonnard
Browse files

Add ecdsa_context structure

parent 44618dd7
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment