mbedtls_ecp_keypair_free() function
This function frees the components of a key pair.
Arguments
key
The key pair to free. This may be \c NULL, in which case this function returns immediately. If it is not \c NULL, it must point to an initialized ECP key pair.