mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-30 22:43:08 +03:00
Got started on ecp_add(): generic case done
This commit is contained in:
committed by
Paul Bakker
parent
883f313516
commit
ae180d0f20
@ -36,6 +36,8 @@
|
||||
|
||||
/**
|
||||
* \brief ECP point structure (affine coordinates)
|
||||
*
|
||||
* Note: if the point is zero, X and Y are irrelevant and should be freed.
|
||||
*/
|
||||
typedef struct
|
||||
{
|
||||
@ -145,6 +147,11 @@ ecp_group;
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* \brief Initialize a point
|
||||
*/
|
||||
void ecp_point_init( ecp_point *pt );
|
||||
|
||||
/**
|
||||
* \brief Free the components of a point
|
||||
*/
|
||||
@ -155,6 +162,11 @@ void ecp_point_free( ecp_point *pt );
|
||||
*/
|
||||
void ecp_group_free( ecp_group *grp );
|
||||
|
||||
/**
|
||||
* \brief Set a point to zero
|
||||
*/
|
||||
void ecp_set_zero( ecp_point *pt );
|
||||
|
||||
/**
|
||||
* \brief Copy the contents of point Q into P
|
||||
*
|
||||
|
Reference in New Issue
Block a user