PLSM2PointOnCurve
Cryptography
Description
Checks that an affine point lies on the standard SM2 curve
Syntax
Delphi
Function PLSM2PointOnCurve(Const Curve: TPLSM2Curve; Const X, Y: TPLSM2Int): Boolean;Parameters
| Curve | The SM2 domain parameters |
|---|---|
| X, Y | The affine coordinates to test |
Return values
| True | The point satisfies the curve equation |
|---|---|
| False | The point is not on the curve |
Part of the pure-Pascal SM2 implementation (GB/T 3295); used to validate public keys and peer points before scalar multiplication