Internet-Draft | ECDHE-Kyber | May 2023 |
Kwiatkowski & Kampanakis | Expires 2 December 2023 | [Page] |
This draft defines a hybrid key agreement for TLS 1.3 that combines a post-quantum KEM with elliptic curve Diffie-Hellman (ECDHE).¶
This note is to be removed before publishing as an RFC.¶
The latest revision of this draft can be found at https://post-quantum-cryptography.github.io/draft-kwiatkowski-tls-ecdhe-kyber/. Status information for this document may be found at https://datatracker.ietf.org/doc/draft-kwiatkowski-tls-ecdhe-kyber/.¶
Source for this draft and an issue tracker can be found at https://github.com/https://github.com/post-quantum-cryptography/draft-kwiatkowski-tls-ecdhe-kyber.¶
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 2 December 2023.¶
Copyright (c) 2023 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 to this document. Code Components extracted from this document must include Revised BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Revised BSD License.¶
Kyber is a key encapsulation method (KEM) designed to be resistant to cryptanalytic attacks with quantum computers. Standardization of Kyber KEM is expected to be finalized in 2024.¶
Experimentation and early deployments are crucial part of the migration to post-quantum cryptography. To promote interoperability of those deployments this document provides specification of preliminary hybrid post-quantum key agreement to be used in TLS 1.3 protocol.¶
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here.¶
This document defines an additional supported group which can be used for hybrid post-quantum key agreements. The hybrid key agreement for TLS 1.3 is detailed in the [hybrid] draft. We compose the hybrid scheme with the Kyber KEM as defined in [kyber] draft, and the ECDHE scheme parametrized with elliptic curves defined in ANSI X9.62 [ECDSA] and NIST SP 800-186 [DSS].¶
The new group allows deriving TLS session keys by using FIPS-approved schemes. NIST's special publication 800-56Cr2 [SP56C] approves the usage of HKDF [HKDF] with two distinct shared secrets as long as the first one is computed by a FIPS-approved key-establishment scheme. Both ECDHE and a curve secp256r1 (NIST P-256) are FIPS-approved by NIST SP 800-56Ar3 [SP56A] and NIST SP 800-186 [DSS] correspondingly.¶
The name of the new supported hybrid post-quantum group is SecP256r1Kyber768Draft00.¶
When this group is negotiated, the client's share is a fixed-size concatenation of the ECDHE share and Kyber's public key. The ECDHE share is the serialized value of the uncompressed ECDH point representation as defined in Section 4.2.8.2 of [RFC8446]. The Kyber's ephemeral share is the public key of the KeyGen step (see [kyber]) represented as an octet string. The size of client share is 1249 bytes (65 bytes of ECDHE part and 1184 of Kyber part).¶
The server's share is a fixed-size concatenation of ECDHE share and Kyber's ciphertext returned from encapsulation (see [kyber]). The server ECDHE share is the serialized value of the uncompressed ECDH point representation as defined in Section 4.2.8.2 of [RFC8446]. The server share is the Kyber's ciphertext returned from the Encapsulate step (see [kyber]) represented as an octet string. The size of server's share is 1153 bytes (65 bytes of ECDHE part and 1088 of Kyber part).¶
Finally, the shared secret is a concatenation of the ECDHE and the Kyber shared secrets. The ECDHE shared secret is the x-coordinate of the ECDH shared secret elliptic curve point represented as an octet string as defined in Section 7.4.2 of [RFC8446]. The Kyber shared secret is the value returned from either encapsulation (on the server side) or decapsulation (on the client side) represented as an octet string. The size of a shared secret is 64 bytes.¶
The same security considerations as those described in [hybrid] apply to the approach used by this document. Implementers are encouraged to use implementations resistant to side-channel attacks, especially those that can be applied by remote attackers.¶
This document requests/registers a new entry to the TLS Named Group (or Supported Group) registry, according to the procedures in Section 6 of [tlsiana]. These identifiers are to be used with the point-in-time specified versions of Kyber in the third round of NIST's Post-quantum Project which is specified in [kyber]. The identifiers used with the final, ratified by NIST, version of Kyber will be specified later with in a different draft. [ EDNOTE: The identifiers for the final, ratified version of Kyber should preferrably by different that the commonly used OQS codepoints ]¶
[RFC Editor: Please remove this section]¶