ScalarBaseMult returns k*G, where G is the base point of the group and k is an integer in big-endian form.
(k []byte)
| 278 | // ScalarBaseMult returns k*G, where G is the base point of the group and k is |
| 279 | // an integer in big-endian form. |
| 280 | func (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. |
no test coverage detected