mbedtls_ecp_point_cmp() is only used within mbedTLS.
 
Symbols
loading...
Files
loading...

mbedtls_ecp_point_cmp() function

This function compares two points.

Syntax

int mbedtls_ecp_point_cmp( const mbedtls_ecp_point *P,     const mbedtls_ecp_point *Q );
Implemented in ecp.c:696

Arguments

P

The first point to compare. This must be initialized.

Q

The second point to compare. This must be initialized.

Return value

\c 0 if the points are equal. #MBEDTLS_ERR_ECP_BAD_INPUT_DATA if the points are not equal.

Notes

This assumes that the points are normalized. Otherwise, they may compare as "not equal" even if they are.

References

LocationText
ecp.c:696
int mbedtls_ecp_point_cmp( const mbedtls_ecp_point *P,
ecp.h:602
int mbedtls_ecp_point_cmp( const mbedtls_ecp_point *P,

Call Tree

Functions called by mbedtls_ecp_point_cmp()
mbedtls_ecp_point_cmp()
all items filtered out
Data read by mbedtls_ecp_point_cmp()
mbedtls_ecp_point_cmp()