A Verifier is used to incrementally verify a signature. It can be obtained from a Signature, using the verifier() function.

Fields

h: Sha512,
a: Curve,
expected_r: Curve,

Functions

fn update(self: *Verifier, msg: []const u8) void

Add new content to the message to be verified.

fn verify(self: *Verifier) SignatureVerificationError || WeakPublicKeyError || IdentityElementError!void

Verify that the signature is valid for the entire message.