commit | 5179e463d5c7d3e542eb3797ddaf9cbfe176784a | [log] [tgz] |
---|---|---|
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Wed Oct 31 19:37:54 2012 +0100 |
committer | Paul Bakker <p.j.bakker@polarssl.org> | Wed Jan 16 16:31:49 2013 +0100 |
tree | 10b90e5ea2959958fb17a297adcc3abab7929062 | |
parent | 1e8c8ecd9509121e6a024c564373a6cb4be82392 [diff] [blame] |
Allowed point at infinity, supressed ecp_double()
diff --git a/library/ecp.c b/library/ecp.c index 7f15737..2173e24 100644 --- a/library/ecp.c +++ b/library/ecp.c
@@ -44,6 +44,7 @@ if( pt == NULL ) return; + pt->is_zero = 1; mpi_free( &( pt->X ) ); mpi_free( &( pt->Y ) ); } @@ -62,6 +63,8 @@ ecp_point_free( &( grp->G ) ); } + + #if defined(POLARSSL_SELF_TEST) /*