Documentation ¶
Index ¶
Constants ¶
View Source
const SM2_DEFAULT_USER_ID = "1234567812345678"
View Source
const (
SM4_BlockSize = 16
)
Variables ¶
View Source
var (
OidNamedCurveSm2 = asn1.ObjectIdentifier{1, 2, 156, 10197, 1, 301}
)
View Source
var (
OidSM2 = asn1.ObjectIdentifier{1, 2, 840, 10045, 2, 1} // SM2 id
)
curve
Functions ¶
func OidFromNamedCurve ¶
func OidFromNamedCurve(curve elliptic.Curve) (asn1.ObjectIdentifier, bool)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.