Documentation ¶
Index ¶
Constants ¶
View Source
const SM2_DEFAULT_USER_ID = "1234567812345678"
SM2_DEFAULT_USER_ID is the default uid of sm2 algorithm
View Source
const (
// SM4_BlockSize represents sm4 block size
SM4_BlockSize = 16
)
Variables ¶
View Source
var ( // OidNamedCurveSm2 is sm2 curve asn1 object identifier 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 ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.