[][src]Function secp256k1_abc_sys::secp256k1_schnorr_verify

pub unsafe extern "C" fn secp256k1_schnorr_verify(
    ctx: *const secp256k1_context,
    sig64: *const c_uchar,
    msg32: *const c_uchar,
    pubkey: *const secp256k1_pubkey
) -> c_int

Verify a signature created by secp256k1_schnorr_sign. Returns: 1: correct signature 0: incorrect signature Args: ctx: a secp256k1 context object, initialized for verification. In: sig64: the 64-byte signature being verified (cannot be NULL) msg32: the 32-byte message hash being verified (cannot be NULL) pubkey: the public key to verify with (cannot be NULL)