Function EC_GROUP_get_cofactor

Source
pub unsafe extern "C" fn EC_GROUP_get_cofactor(
    group: *const ec_group_st,
    cofactor: *mut bignum_st,
    ctx: *mut bignum_ctx,
) -> i32
Expand description

Gets the cofactor of a EC_GROUP \param group EC_GROUP object \param cofactor BIGNUM to which the cofactor is copied \param ctx unused \return 1 on success and 0 if an error occurred