Add ecdsa_init and ecdsa_free

This commit is contained in:
Manuel Pégourié-Gonnard 2013-06-27 12:54:02 +02:00
parent bec2f45cfc
commit 7c8934ea0e
2 changed files with 41 additions and 0 deletions

View file

@ -84,6 +84,20 @@ int ecdsa_verify( const ecp_group *grp,
const unsigned char *buf, size_t blen,
const ecp_point *Q, const mpi *r, const mpi *s);
/**
* \brief Initialize context
*
* \param ctx Context to initialize
*/
void ecdsa_init( ecdsa_context *ctx );
/**
* \brief Free context
*
* \param ctx Context to free
*/
void ecdsa_free( ecdsa_context *ctx );
/**
* \brief Checkup routine
*