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

mbedtls_ecp_is_zero() function

This function checks if a point is the point at infinity.

Syntax

int mbedtls_ecp_is_zero( mbedtls_ecp_point *pt );
Implemented in ecp.c:686

Arguments

pt

The point to test. This must be initialized.

Return value

\c 1 if the point is zero. \c 0 if the point is non-zero. A negative error code on failure.

References

LocationReferrerText
ecp.c:686
int mbedtls_ecp_is_zero( mbedtls_ecp_point *pt )
ecp.h:588
int mbedtls_ecp_is_zero( mbedtls_ecp_point *pt );
ecdh.c:125ecdh_compute_shared_restartable()
if( mbedtls_ecp_is_zero( &P ) )
ecdsa.c:563ecdsa_verify_restartable()
if( mbedtls_ecp_is_zero( &R ) )

Call Tree

Functions calling mbedtls_ecp_is_zero()
Functions called by mbedtls_ecp_is_zero()
mbedtls_ecp_is_zero()
all items filtered out
Data read by mbedtls_ecp_is_zero()
all items filtered out
mbedtls_ecp_is_zero()