<?xml version="1.0" encoding="UTF-8"?>
  <?xml-stylesheet type="text/xsl" href="rfc2629.xslt" ?>
  <!-- generated by https://github.com/cabo/kramdown-rfc2629 version 1.3.24 -->

<!DOCTYPE rfc SYSTEM "rfc2629.dtd" [
]>

<?rfc toc="yes"?>
<?rfc sortrefs="yes"?>
<?rfc symrefs="yes"?>

<rfc ipr="trust200902" docName="draft-cem-compressed-curves-00" category="info">

  <front>
    <title abbrev="Compressed Curve Code Points">TLS Compressed Elliptic Curve Code Points</title>

    <author initials="C." surname="Mehner" fullname="Carl Mehner">
      <organization>USAA</organization>
      <address>
        <email>carl.mehner@usaa.com</email>
      </address>
    </author>

    <date year="2021" month="October" day="25"/>

    <area>General</area>
    <workgroup>TLS</workgroup>
    <keyword>Internet-Draft</keyword>

    <abstract>


<t>This document defines new Transport Layer Security (TLS) Supported Groups to allow negotiation in TLS for encoding certain elliptic curve public keys in a compressed form rather than the more verbose method specified in <xref target="RFC8446"/> and <xref target="RFC8422"/>.</t>



    </abstract>


  </front>

  <middle>


<section anchor="intro" title="Introduction">

<t>Versions of TLS prior to 1.3 allowed for Elliptic Curve Cryptography (ECC) Point Compression negotiation, by sending a however in TLS 1.3 and Section 5.1.2 of <xref target="RFC8422"/>, that mechinism was depricated in favor of having one point encoding format for each negotiated curve. Utilizing point compression is important to reduce the size of negotiated curves within TLS in general, but expecially with <xref target="I-D.draft-ietf-tls-ctls"/>.</t>

<t>The code points defined in this document are intended for use in TLS, dTLS, cTLS, and other similar protocols that negotiate Elliptic Curve Groups for key exchange.</t>

<section anchor="conventions-and-definitions" title="Conventions and Definitions">

<t>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 <xref target="RFC2119"/> <xref target="RFC8174"/> when, and only when, they
appear in all capitals, as shown here.</t>

<t>All TLS notation comes from Section 3 of <xref target="RFC8446"/>.</t>

</section>
</section>
<section anchor="supported-groups" title="Supported Groups">

<t>This document defines three new new TLS Supported Groups for the compressed forms of secp256r1, secp384r1, and secp521r1 (collectivly colloquially called the NIST Curves). The compressed forms of these groups are indicated by adding a letter ‘c’ at the end of the descriptive name. The new groups are secp256r1c, secp384r1c, and secp521r1c. TLS groups using compressed NIST curves MUST use these newly defined group idtentifiers.</t>

<t>The “TLS Supported Groups” name space is maintained by IANA.</t>

<figure><artwork><![CDATA[
enum {
  secp256r1c(tbd1), secp384r1c(tbd2), secp521r1c(tbd3)
} NamedGroup;

struct {
  NamedGroup named_group_list<2..2^16-1>;
} NamedGroupList;
]]></artwork></figure>

<section anchor="ecdhe-parameters" title="ECDHE Parameters">

<t>In Section 4.2.8.2 of <xref target="RFC8446"/> the encoding method for ECDHE Parameters is described, this document adds a new struct to serialize the new parameters. The method for determining the values for the elements of the serialized structure are documented in <xref target="SEC1"/>.</t>

<t>For secp256r1c, secp384r1c, and secp521r1c, the contents are the serialized value of the following struct defined using the presentation language in Section 3 of <xref target="RFC8446"/>:</t>

<figure><artwork><![CDATA[
struct {
  CompressedY;
  opaque X[coordinate_length];
} CompressedPointRepresentation;

enum { evenY(2), oddY(3) } CompressedY
]]></artwork></figure>

</section>
</section>
<section anchor="iana-considerations" title="IANA Considerations">

<t>IANA is requested to assign the value tbd1 to secp256r1c, the value tbd2 to secp384r1c, and the value tbd3 to secp521r1c in the “TLS Supported Groups” registry. For these three new supported groups the “DTLS OK” is set to ‘Y’. For tbd1 and tbd2 the “Recommended” column is set to ‘Y’ and for tbd3 the “Recommended” column is set to ‘N’.</t>

</section>
<section anchor="security-considerations" title="Security Considerations">

<t>The security considerations of <xref target="RFC8422"/> and <xref target="RFC8422"/> apply to the selection of TLS named groups and the use of the curves specified in this document.</t>

</section>


  </middle>

  <back>

    <references title='Normative References'>





<reference  anchor="RFC8446" target='https://www.rfc-editor.org/info/rfc8446'>
<front>
<title>The Transport Layer Security (TLS) Protocol Version 1.3</title>
<author initials='E.' surname='Rescorla' fullname='E. Rescorla'><organization /></author>
<date year='2018' month='August' />
<abstract><t>This document specifies version 1.3 of the Transport Layer Security (TLS) protocol.  TLS allows client/server applications to communicate over the Internet in a way that is designed to prevent eavesdropping, tampering, and message forgery.</t><t>This document updates RFCs 5705 and 6066, and obsoletes RFCs 5077, 5246, and 6961.  This document also specifies new requirements for TLS 1.2 implementations.</t></abstract>
</front>
<seriesInfo name='RFC' value='8446'/>
<seriesInfo name='DOI' value='10.17487/RFC8446'/>
</reference>



<reference  anchor="RFC8422" target='https://www.rfc-editor.org/info/rfc8422'>
<front>
<title>Elliptic Curve Cryptography (ECC) Cipher Suites for Transport Layer Security (TLS) Versions 1.2 and Earlier</title>
<author initials='Y.' surname='Nir' fullname='Y. Nir'><organization /></author>
<author initials='S.' surname='Josefsson' fullname='S. Josefsson'><organization /></author>
<author initials='M.' surname='Pegourie-Gonnard' fullname='M. Pegourie-Gonnard'><organization /></author>
<date year='2018' month='August' />
<abstract><t>This document describes key exchange algorithms based on Elliptic Curve Cryptography (ECC) for the Transport Layer Security (TLS) protocol.  In particular, it specifies the use of Ephemeral Elliptic Curve Diffie-Hellman (ECDHE) key agreement in a TLS handshake and the use of the Elliptic Curve Digital Signature Algorithm (ECDSA) and Edwards-curve Digital Signature Algorithm (EdDSA) as authentication mechanisms.</t><t>This document obsoletes RFC 4492.</t></abstract>
</front>
<seriesInfo name='RFC' value='8422'/>
<seriesInfo name='DOI' value='10.17487/RFC8422'/>
</reference>


<reference anchor="SEC1" target="https://www.secg.org/sec1-v2.pdf">
  <front>
    <title>Standards for Efficient Cryptography 1 (SEC 1)</title>
    <author initials="D." surname="Brown" fullname="Daniel R. L. Brown">
      <organization>Certicom Research</organization>
    </author>
    <date year="2009" month="May" day="21"/>
  </front>
  <seriesInfo name="Standards for Efficient Cryptography Group" value=""/>
  <format type="pdf" target="https://www.secg.org/sec1-v2.pdf"/>
</reference>




<reference  anchor="RFC2119" target='https://www.rfc-editor.org/info/rfc2119'>
<front>
<title>Key words for use in RFCs to Indicate Requirement Levels</title>
<author initials='S.' surname='Bradner' fullname='S. Bradner'><organization /></author>
<date year='1997' month='March' />
<abstract><t>In many standards track documents several words are used to signify the requirements in the specification.  These words are often capitalized. This document defines these words as they should be interpreted in IETF documents.  This document specifies an Internet Best Current Practices for the Internet Community, and requests discussion and suggestions for improvements.</t></abstract>
</front>
<seriesInfo name='BCP' value='14'/>
<seriesInfo name='RFC' value='2119'/>
<seriesInfo name='DOI' value='10.17487/RFC2119'/>
</reference>



<reference  anchor="RFC8174" target='https://www.rfc-editor.org/info/rfc8174'>
<front>
<title>Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words</title>
<author initials='B.' surname='Leiba' fullname='B. Leiba'><organization /></author>
<date year='2017' month='May' />
<abstract><t>RFC 2119 specifies common key words that may be used in protocol  specifications.  This document aims to reduce the ambiguity by clarifying that only UPPERCASE usage of the key words have the  defined special meanings.</t></abstract>
</front>
<seriesInfo name='BCP' value='14'/>
<seriesInfo name='RFC' value='8174'/>
<seriesInfo name='DOI' value='10.17487/RFC8174'/>
</reference>




    </references>

    <references title='Informative References'>




<reference anchor="I-D.draft-ietf-tls-ctls">
   <front>
      <title>Compact TLS 1.3</title>
      <author fullname="Eric Rescorla">
	 <organization>Mozilla</organization>
      </author>
      <author fullname="Richard Barnes">
	 <organization>Cisco</organization>
      </author>
      <author fullname="Hannes Tschofenig">
	 <organization>Arm Limited</organization>
      </author>
      <date month="October" day="25" year="2021" />
      <abstract>
	 <t>   This document specifies a &quot;compact&quot; version of TLS 1.3.  It is
   isomorphic to TLS 1.3 but saves space by trimming obsolete material,
   tighter encoding, a template-based specialization technique, and
   alternative cryptographic techniques. cTLS is not directly
   interoperable with TLS 1.3, but it should eventually be possible for
   a cTLS/TLS 1.3 server to exist and successfully interoperate.

	 </t>
      </abstract>
   </front>
   <seriesInfo name="Internet-Draft" value="draft-ietf-tls-ctls-04" />
   <format type="TXT" target="https://www.ietf.org/archive/id/draft-ietf-tls-ctls-04.txt" />
</reference>




    </references>



  </back>

<!-- ##markdown-source:
H4sIAAkod2EAA41X2W4bRxZ9r6+4oR8kAeq2SMmO0x4MopB0LESLR5QGIwQZ
o9RdJAvpLVXVZGhD/pZ8y3zZnFvVzc0RYD00a73rueeWoigSTrtcJXR3OaFh
VdRGWasyGue5rp1OadiYhcJOpuhDpUtnhXx8NGqRbJ/++lBWpaUsIDczcuqi
VBVRuj4fpXzeRicnIpVOzSqzSkiX00oIXZuEnGmsG5yc/HAyENIomdDPqlRG
5mJZmd9npmpqb7D4Xa2wkiV0UTplSuWiEasTwjpZZh9lXpUwYaWsqHVCv7oq
PSZbGWfU1GK0KnjwmxCycfPKJIIiQeFPlxYexnSl5tDcrQaXhtLkexuVmclS
f5JOV2VC95Pz825HFVLnCaW4Exf+zo+NlTJGNIQoK1PgzkJBNd2+G745O3ud
UDceDPx4Mh72Ey/OSTNTLqG5c7VNXr5cLpexVekshvqXGPSjxSCus2k4HPI6
4UhIk1maVobG06lOtSodDc2qdtXMyHq+oj4dQgv1j/zNdTQ2kRjF9JOplqXY
jsMILqucbmO63N2GOYiSMsBPVdCtskqadE5+N0PCE+LkRievokHfL1pltLKM
gG80+GfGgL869SFMqFUN778hPoJVbYX+IhrFAahauWnkchul+CRCRFFE8tE6
I1PA6m6uLQHaTcEWZWqqS2WpVEu6M7K0NaBFl3KlDE0UMK7dig6B0yOaNDVv
olS85ZZcRTLPqyUuzyqnPXAQal+G7Lcq0yrT5YxShFFiQ3UF6WuH6uYxxwQF
YPmapE11+ZCQkW4OO9xclvgoKiqjaKHMY2UxUchwRrZWqZ5qXIGIz59bAD49
ETLQzQeDp6dYhEAUOstyJcQLrjdTZU3qzf78QvP0SYh/K2OxYqmaek9qo+EL
fO3Hp8HfYN5X9LKd28PxcHgUeGTNMaxmK1LH9LgCaEofIUlzyIVrXfy8MniA
HHj7XsX9eMAmbbl0zJFxCEQ616W2BS0lMqtgMDOSD8hULmAprs3lgvWAS6j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