SM9 (cryptography standard)
SM9 is a Chinese national cryptography standard for Identity Based Cryptography issued by the Chinese State Cryptographic Authority in March 2016. It is represented by the Chinese National Cryptography Standard (Guo Mi), GM/T 0044-2016 SM9. The standard contains the following components:
- (GM/T 0044.1) The Identity-Based Asymmetric Cryptography Algorithm
- (GM/T 0044.2) The Identity-Based Digital Signature Algorithm which allows one entity to digitally sign a message which can be verified by another entity.
- (GM/T 0044.3) The Identity-Based Key Establishment and Key Wrapping
- (GM/T 0044.4) The Identity Based Public-Key Encryption Key Encapsulation Algorithm which allows one entity to securely send a symmetric key to another entity.
Identity Based Cryptography
Identity Based Cryptography is a type of public key cryptography that uses a widely known representation of an entity's Identity (name, email address, phone number etc) as the entities public key. This eliminates the need to have a separate public key bound by some mechanism (such as a digitally signed public key certificate) to the Identity of an entity. In Identity Based Cryptography (IBC) the public key is often taken as the concatenation of an entity's Identity and a validity period for the public key.
In Identity Based Cryptography, one or more trusted agent's use their private keys to compute an entity's private key from their public key (Identity and Validity Period). The corresponding public keys of the trusted agent or agents are known to everyone using the network. If only one trusted agent is used that trusted agent can compute all the private keys for users in the network. To avoid that state, some researchers propose using multiple trusted agents in such a way that more than one of them need to be compromised in order to compute individual public keys.
Chinese Cryptographic Standards
The SM9 Standard adopted in 2016 is one of a number of Chinese national cryptography standards. Other publicly available Chinese cryptographic standards are:
SM2 - an Elliptic Curve Diffie-Hellman key agreement and signature using a specified 256-bit elliptic curve. GM/T 0003.1: SM2 (published in 2010)
SM9 Identity Based Signature Algorithm
The Identity Based Signature Algorithm in SM9 traces its origins to an Identity Based Signature Algorithm published at Asiacrypt 2005 in the paper: "Efficient and Provably-Secure Identity-Based Signatures and Signcryption from Bilinear Maps" by Barreto, Libert, McCullagh, and Quisquater. It was standardized in IEEE 1363.3 and in ISO/IEC 14888-3:2015.
SM9 Identity Based Key Encapsulation
The Identity Based Key Encapsulation Algorithm in SM9 traces its origins to a 2003 paper by Sakai and Kasahara titled "ID Based Cryptosystems with Pairing on Elliptic Curve." It was standardized in IEEE 1363.3, in ISO/IEC 18033-5:2015 and IETF RFC 6508.
SM9 Identity Based Key Agreement
The Identity Based Key Agreement algorithm in SM9 traces its origins to a 2004 paper by McCullagh and Barreto titled, "A New Two-Party Identity-Based Authenticated Key Agreement" . The International Standards Organization incorporated this identity key exchange protocol algorithm into ISO/IEC 11770-3 in 2015.
Implementations of SM9
An open source implementation of the SM9 algorithms is part of the GMSSL package available on Github. The Shenzhen Aolian Information Security Technology Co (also known as Olym Tech) is also marketing a series of products that implement the SM9 algorithms.
The following links provide more detailed information on the SM9 algorithms in English:
- The SM9 Cryptographic Schemes
- Using Identity as Raw Public Key in Transport Layer Security (TLS) and Datagram Transport Layer Security (DTLS)
- "国家密码管理局关于发布《SM9标识密码算法》等2项密码行业标准公告（国密局公告第30号）_国家密码管理局". www.oscca.gov.cn. Retrieved 2019-03-18.
- Guan, Zhi (2019-03-14), GitHub - guanzhi/GM-Standards: 中华人民共和国密码行业标准(GM/T)文本., retrieved 2019-03-17
- Barreto, Paulo S. L. M.; Libert, Benoît; McCullagh, Noel; Quisquater, Jean-Jacques (2005). Roy, Bimal (ed.). "Efficient and Provably-Secure Identity-Based Signatures and Signcryption from Bilinear Maps". Advances in Cryptology - ASIACRYPT 2005. Lecture Notes in Computer Science. Springer Berlin Heidelberg. 3788: 515–532. doi:10.1007/11593447_28. ISBN 9783540322672.
- "IEEE 1363.3-2013 - IEEE Standard for Identity-Based Cryptographic Techniques using Pairings". standards.ieee.org. Retrieved 2019-03-17.
- 14:00-17:00. "ISO/IEC 14888-3:2016". ISO. Retrieved 2019-03-17.
- SAKAI, Ryuichi; KASAHARA, Masao (2003). "ID based Cryptosystems with Pairing on Elliptic Curve". Cite journal requires
- 14:00-17:00. "ISO/IEC 18033-5:2015". ISO. Retrieved 2019-03-17.
- Groves <email@example.com>, Michael. "Sakai-Kasahara Key Encryption (SAKKE)". tools.ietf.org. Retrieved 2019-03-17.
- McCullagh, Noel; Barreto, Paulo S. L. M. (2004). "A New Two-Party Identity-Based Authenticated Key Agreement". Cite journal requires
- "行业标准-奥联信息安全，SM9算法，基于标识的密码算法，国家商密算法，发改委指定邮件加密算法". myibc.net. Retrieved 2019-03-25.
- Guan, Zhi (2019-03-25), GitHub - guanzhi/GmSSL: 支持国密SM2/SM3/SM4/SM9/ZUC/SSL的OpenSSL分支., retrieved 2019-03-25
- "首页-奥联信息安全，SM9算法，基于标识的密码算法，国家商密算法，发改委指定邮件加密算法". myibc.net. Retrieved 2019-03-25.
- Cheng, Zhaohui (2017). "The SM9 Cryptographic Schemes". Cite journal requires