package
2.0.0+incompatible
Repository: https://github.com/zhongshuwen/gmsm.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
*sm2密文转asn.1编码格式 *sm2密文结构如下: * x * y * hash * CipherText */.
sm2密文asn.1编码格式转C1|C3|C2拼接格式 */.
No description provided by the author
No description provided by the author
No description provided by the author
sm2解密,解析asn.1编码格式的密文内容 */.
* sm2密文结构如下: * x * y * hash * CipherText */.
sm2加密,返回asn.1编码格式的密文内容 */.
No description provided by the author
KeyExchangeA 协商第二部,用户A调用,返回共享密钥k.
**************************Key agreement algorithm**************************// KeyExchangeB 协商第二部,用户B调用, 返回共享密钥k.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
za, err := ZA(pub, uid) if err != nil { return } e, err := msgHash(za, msg) hash=e.getBytes() */.
No description provided by the author
ZA = H256(ENTLA || IDA || a || b || xG || yG || xA || yA).

# Variables

No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author