mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-08-01 10:06:53 +03:00
Allowed point at infinity, supressed ecp_double()
This commit is contained in:
committed by
Paul Bakker
parent
1e8c8ecd95
commit
5179e463d5
@ -44,6 +44,7 @@ void ecp_point_free( ecp_point *pt )
|
||||
if( pt == NULL )
|
||||
return;
|
||||
|
||||
pt->is_zero = 1;
|
||||
mpi_free( &( pt->X ) );
|
||||
mpi_free( &( pt->Y ) );
|
||||
}
|
||||
@ -62,6 +63,8 @@ void ecp_group_free( ecp_group *grp )
|
||||
ecp_point_free( &( grp->G ) );
|
||||
}
|
||||
|
||||
|
||||
|
||||
#if defined(POLARSSL_SELF_TEST)
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user