mbedtls_ecp_check_privkey() is only used within mbedTLS.
 
Symbols
loading...
Files
loading...
SummarySyntaxArgumentsRelatedReferences

Return value

\c 0 if the point is a valid private key. #MBEDTLS_ERR_ECP_INVALID_KEY if the point is not a valid private key for the given curve. Another negative error code on other kinds of failure.

Notes

This function uses bare components rather than an ::mbedtls_ecp_keypair structure to ease use with other structures, such as ::mbedtls_ecdh_context or ::mbedtls_ecdsa_context.

References

from examples