pub unsafe extern "C" fn EC_KEY_set_public_key(
key: *mut ec_key_st,
pub_: *const ec_point_st,
) -> i32
Expand description
Sets the public key of a EC_KEY object. \param key EC_KEY object \param pub EC_POINT object with the public key (note: the EC_KEY object will use an own copy of the EC_POINT object). \return 1 on success and 0 if an error occurred.