sm2curve

package
v0.0.0-...-f15b0d3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 2, 2022 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AffineToP256Point

func AffineToP256Point(x, y *big.Int) (out p256Point)

func Hexprint

func Hexprint(in []byte)

func P256

func P256() elliptic.Curve

P256 returns a Curve which implements sm2 curve. The cryptographic operations are implemented using constant-time algorithms.

func Uint64ToAffine

func Uint64ToAffine(in []uint64) (x, y *big.Int)

Types

type SM2PublicKey

type SM2PublicKey ecdsa.PublicKey

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL