mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-23 15:55:10 +01:00
Some operations are not supported with Curve25519
This commit is contained in:
parent
3d7053a2bb
commit
97871ef236
3 changed files with 20 additions and 0 deletions
|
|
@ -444,6 +444,9 @@ int ecp_tls_write_group( const ecp_group *grp, size_t *olen,
|
|||
*
|
||||
* \return 0 if successful,
|
||||
* POLARSSL_ERR_MPI_MALLOC_FAILED if memory allocation failed
|
||||
*
|
||||
* \note This function does not support Montgomery curves, such as
|
||||
* Curve25519.
|
||||
*/
|
||||
int ecp_add( const ecp_group *grp, ecp_point *R,
|
||||
const ecp_point *P, const ecp_point *Q );
|
||||
|
|
@ -458,6 +461,9 @@ int ecp_add( const ecp_group *grp, ecp_point *R,
|
|||
*
|
||||
* \return 0 if successful,
|
||||
* POLARSSL_ERR_MPI_MALLOC_FAILED if memory allocation failed
|
||||
*
|
||||
* \note This function does not support Montgomery curves, such as
|
||||
* Curve25519.
|
||||
*/
|
||||
int ecp_sub( const ecp_group *grp, ecp_point *R,
|
||||
const ecp_point *P, const ecp_point *Q );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue