commit | 4bdd47d2cb65646b6b4555a0e79c8151afd00fbd | [log] [tgz] |
---|---|---|
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Sun Nov 11 14:33:59 2012 +0100 |
committer | Paul Bakker <p.j.bakker@polarssl.org> | Wed Jan 16 16:31:52 2013 +0100 |
tree | cdd917229758268aac06d49c1eaa01ffc233582a | |
parent | 8433824d5f64beefbb3b1f82f0d0442f93e53977 [diff] [blame] |
Multiplication by negative is now forbidden
diff --git a/include/polarssl/ecp.h b/include/polarssl/ecp.h index a7f6258..55aa282 100644 --- a/include/polarssl/ecp.h +++ b/include/polarssl/ecp.h
@@ -201,6 +201,7 @@ * * \return 0 if successful, * POLARSSL_ERR_MPI_MALLOC_FAILED if memory allocation failed + * POLARSSL_ERR_ECP_GENERIC if m < 0 */ int ecp_mul( const ecp_group *grp, ecp_point *R, const mpi *m, const ecp_point *P );