BPLoadCurve

Cryptography

Description

Loads one of the three RFC 5639 Brainpool curve parameter sets

Syntax

Delphi

Function BPLoadCurve(Id: TBPCurveId): TBPCurve;

Parameters

IdCurve identifier: bpP256r1, bpP384r1, or bpP512r1

Return values

TBPCurveLoaded RFC 5639 domain parameters (prime P, coefficients A and B, generator Gx/Gy, order N, and the curve Name)

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

See also

BPSignFixedK, BPVerify