MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / ScalarBaseMult

Method ScalarBaseMult

crypto/secp256k1/curve.go:280–282  ·  view source on GitHub ↗

ScalarBaseMult returns k*G, where G is the base point of the group and k is an integer in big-endian form.

(k []byte)

Source from the content-addressed store, hash-verified

278// ScalarBaseMult returns k*G, where G is the base point of the group and k is
279// an integer in big-endian form.
280func (BitCurve *BitCurve) ScalarBaseMult(k []byte) (*big.Int, *big.Int) {
281 return BitCurve.ScalarMult(BitCurve.Gx, BitCurve.Gy, k)
282}
283
284// Marshal converts a point into the form specified in section 4.3.6 of ANSI
285// X9.62.

Callers 1

PrivKeyFromBytesFunction · 0.80

Calls 1

ScalarMultMethod · 0.95

Tested by

no test coverage detected