Documentation ¶
Index ¶
- func GetInt() *big.Int
- func InitTable()
- func MarshalSig(x, y []byte) []byte
- func PutInt(in *big.Int)
- func Sign_32bit(dgst []byte, reader io.Reader, key []byte) ([]byte, uint8, error)
- func Sm2_32bit() elliptic.Curve
- func Unmarshal(in []byte) (x []byte, y []byte)
- func VerifySignature_32bit(sig, dgst []byte, X []byte, Y []byte) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitTable ¶
func InitTable()
base point &[830053d 328990f 6c04fe1 c0f72e5 1e19f3c 666b093 175a87b ec38276 222cf4b] &[185a1bba 354e593 1295fac1 f2bc469 47c60fa c19b8a9 f63533e 903ae6b c79acba] &[2 0 1fffff00 7ff 0 0 0 2000000 0]
func Sign_32bit ¶
Sign_32bit to sign dgst
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.