urve calculated by multiplying the generator for the curve by the private key.</p>

<p>EC_KEY_check_key() performs various sanity checks on the EC_KEY object to confirm that it is valid.</p>

<p>EC_KEY_set_public_key_affine_coordinates() sets the public key for <i>key</i> based on its affine coordinates; i.e., it constructs an EC_POINT object based on the supplied <i>x</i> and <i>y</i> values and sets the public key to be this EC_POINT. It also performs certain sanity checks on the key to confirm that it is