mbedtls_ecdsa_from_keypair() function
This function sets up an ECDSA context from an EC key pair. \see ecp.h
Arguments
ctx
The ECDSA context to setup. This must be initialized.
key
The EC key to use. This must be initialized and hold a private-public key pair or a public key. In the former case, the ECDSA context may be used for signature creation and verification after this call. In the latter case, it may be used for signature verification.
Return value
\c 0 on success. An \c MBEDTLS_ERR_ECP_XXX code on failure.
Functions calling mbedtls_ecdsa_from_keypair()
Functions called by mbedtls_ecdsa_from_keypair()
mbedtls_ecdsa_from_keypair()
Data read by mbedtls_ecdsa_from_keypair()
Data written by mbedtls_ecdsa_from_keypair()
mbedtls_ecdsa_from_keypair()::ret all items filtered out
mbedtls_ecdsa_from_keypair()
mbedtls_ecdsa_from_keypair()::ret all items filtered out