ShangMi (SM) Cipher Suites for Transport Layer Security (TLS) Protocol Version 1.3
draft-yang-tls-tls13-sm-suites-06
TLS P. Yang
Internet-Draft Ant Group
Intended status: Informational September 27, 2020
Expires: March 31, 2021
ShangMi (SM) Cipher Suites for Transport Layer Security (TLS) Protocol
Version 1.3
draft-yang-tls-tls13-sm-suites-06
Abstract
This document specifies how to use the ShangMi (SM) cryptographic
algorithms with Transport Layer Security (TLS) protocol version 1.3.
The use of these algorithms with TLSv1.3 is not endorsed by the IETF.
The SM algorithms are becoming mandatory in China, and so this
document provides a description of how to use the SM algorithms with
TLSv1.3 and specifies a profile of TLSv1.3 so that implementers can
produce interworking implementations.
Status of This Memo
This Internet-Draft is submitted in full conformance with the
provisions of BCP 78 and BCP 79.
Internet-Drafts are working documents of the Internet Engineering
Task Force (IETF). Note that other groups may also distribute
working documents as Internet-Drafts. The list of current Internet-
Drafts is at https://datatracker.ietf.org/drafts/current/.
Internet-Drafts are draft documents valid for a maximum of six months
and may be updated, replaced, or obsoleted by other documents at any
time. It is inappropriate to use Internet-Drafts as reference
material or to cite them other than as "work in progress."
This Internet-Draft will expire on March 31, 2021.
Copyright Notice
Copyright (c) 2020 IETF Trust and the persons identified as the
document authors. All rights reserved.
This document is subject to BCP 78 and the IETF Trust's Legal
Provisions Relating to IETF Documents
(https://trustee.ietf.org/license-info) in effect on the date of
publication of this document. Please review these documents
carefully, as they describe your rights and restrictions with respect
Yang Expires March 31, 2021 [Page 1]
Internet-Draft TLSv1.3 SM Cipher Suites September 2020
to this document. Code Components extracted from this document must
include Simplified BSD License text as described in Section 4.e of
the Trust Legal Provisions and are provided without warranty as
described in the Simplified BSD License.
Table of Contents
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2
1.1. The SM Algorithms . . . . . . . . . . . . . . . . . . . . 3
1.2. Terminology . . . . . . . . . . . . . . . . . . . . . . . 3
2. Algorithm Identifiers . . . . . . . . . . . . . . . . . . . . 4
3. Algorithm Definitions . . . . . . . . . . . . . . . . . . . . 4
3.1. TLS Versions . . . . . . . . . . . . . . . . . . . . . . 4
3.2. Authentication . . . . . . . . . . . . . . . . . . . . . 4
3.2.1. SM2 Signature Scheme . . . . . . . . . . . . . . . . 4
3.3. Key Exchange . . . . . . . . . . . . . . . . . . . . . . 6
3.3.1. Hello Messages . . . . . . . . . . . . . . . . . . . 6
3.3.2. CertificateRequest . . . . . . . . . . . . . . . . . 7
3.3.3. Certificate . . . . . . . . . . . . . . . . . . . . . 7
3.3.4. CertificateVerify . . . . . . . . . . . . . . . . . . 7
3.4. Key Scheduling . . . . . . . . . . . . . . . . . . . . . 7
3.5. Cipher . . . . . . . . . . . . . . . . . . . . . . . . . 8
3.5.1. AEAD_SM4_GCM . . . . . . . . . . . . . . . . . . . . 8
3.5.2. AEAD_SM4_CCM . . . . . . . . . . . . . . . . . . . . 9
4. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 10
5. Security Considerations . . . . . . . . . . . . . . . . . . . 10
6. References . . . . . . . . . . . . . . . . . . . . . . . . . 11
6.1. Normative References . . . . . . . . . . . . . . . . . . 11
6.2. Informative References . . . . . . . . . . . . . . . . . 12
Appendix A. Test Vectors . . . . . . . . . . . . . . . . . . . . 13
A.1. SM4-GCM Test Vectors . . . . . . . . . . . . . . . . . . 13
A.2. SM4-CCM Test Vectors . . . . . . . . . . . . . . . . . . 13
Appendix B. Contributors . . . . . . . . . . . . . . . . . . . . 13
Author's Address . . . . . . . . . . . . . . . . . . . . . . . . 14
1. Introduction
This document describes two new cipher suites, a signature algorithm,
and a key-exchange mechanism for the Transport Layer Security (TLS)
protocol version 1.3 (TLSv1.3, [RFC8446]). These all utilize several
ShangMi (SM) cryptographic algorithms to fulfil the authentication
and confidentiality requirements of TLS 1.3. The new cipher suites
are (see also Section 2):
CipherSuite TLS_SM4_GCM_SM3 = { 0x00, 0xC6 };
CipherSuite TLS_SM4_CCM_SM3 = { 0x00, 0xC7 };
Yang Expires March 31, 2021 [Page 2]
Show full document text