BPVerify
Cryptography
Description
Verifies an ECDSA signature over a Brainpool curve
Syntax
Delphi
Function BPVerify(Const R, S: TBPValue; Const E, PubX, PubY: TBPValue; Const Curve: TBPCurve): Boolean;Parameters
| R, S | ECDSA signature components to verify |
|---|---|
| E | Message digest integer |
| PubX, PubY | Signer affine public key coordinates on Curve |
| Curve | Curve parameters loaded via BPLoadCurve |
Return values
| False | R or S is out of 1 .. N-1, (PubX, PubY) is not on the curve, or verification fails |
|---|---|
| True | The signature is valid for E under (PubX, PubY) |
Remarks
Part of the pure-Pascal Brainpool ECDSA suite covering brainpoolP256r1, brainpoolP384r1 and brainpoolP512r1 (RFC 5639). Arithmetic runs on a shared 528-bit limb core; group operations use Jacobian coordinates. Signing takes the nonce from the caller so random or deterministic (RFC 6979) policies remain in the integrator's control