BPPointOnCurve

Cryptography

Description

Checks that a point lies on a Brainpool curve

Syntax

Delphi

Function BPPointOnCurve(Const X, Y: TBPValue; Const Curve: TBPCurve): Boolean;

Parameters

X, YThe affine coordinates to test
CurveCurve parameters from BPLoadCurve

Return values

TrueThe point satisfies the curve equation
FalseThe point is not on the curve

Validate external public points before key agreement or verification; the ECDH primitive performs this check itself

See also

BPECDH, BPLoadCurve, BPVerify