Multiplication by negative is now forbidden
This commit is contained in:
parent
8433824d5f
commit
4bdd47d2cb
4 changed files with 29 additions and 20 deletions
|
@ -201,6 +201,7 @@ int ecp_add( const ecp_group *grp, ecp_point *R,
|
|||
*
|
||||
* \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 );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue