MCPcopy
hub / github.com/OpenNHP/opennhp / Curve

Interface Curve

endpoints/kgc/curve/curve.go:25–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23}
24
25type Curve interface {
26 Params() *CurveParams
27 IsOnCurve(x, y *big.Int) bool
28 Add(x1, y1, x2, y2 *big.Int) (x, y *big.Int)
29 ScalarMult(x1, y1 *big.Int, k []byte) (x, y *big.Int)
30 ScalarBaseMult(k []byte) (x, y *big.Int)
31}
32
33type CustomStandardCurve struct {
34 *CurveParams

Callers 22

ParamsMethod · 0.65
IsOnCurveMethod · 0.65
WatchFileFunction · 0.65
RequestFunction · 0.65
StartMethod · 0.65
AddLocalTransactionMethod · 0.65
AddRemoteTransactionMethod · 0.65
VerifySignatureFunction · 0.65
StartMethod · 0.65
TestUdpConnectionFunction · 0.65
VerifySignatureFunction · 0.65

Implementers 2

CustomStandardCurveendpoints/kgc/curve/curve.go
OfficialSM2Curveendpoints/kgc/curve/curve.go

Calls

no outgoing calls

Tested by

no test coverage detected