Function EC_KEY_set_group

Source
pub unsafe extern "C" fn EC_KEY_set_group(
    key: *mut ec_key_st,
    group: *const ec_group_st,
) -> i32
Expand description

Sets the EC_GROUP of a EC_KEY object. \param key EC_KEY object \param group EC_GROUP to use in the EC_KEY object (note: the EC_KEY object will use an own copy of the EC_GROUP). \return 1 on success and 0 if an error occurred.