[][src]Function secp256k1_abc_sys::secp256k1_ec_pubkey_combine

pub unsafe extern "C" fn secp256k1_ec_pubkey_combine(
    ctx: *const secp256k1_context,
    out: *mut secp256k1_pubkey,
    ins: *const *const secp256k1_pubkey,
    n: usize
) -> c_int

Add a number of public keys together. Returns: 1: the sum of the public keys is valid. 0: the sum of the public keys is not valid. Args: ctx: pointer to a context object Out: out: pointer to a public key object for placing the resulting public key (cannot be NULL) In: ins: pointer to array of pointers to public keys (cannot be NULL) n: the number of public keys to add together (must be at least 1)