<?xml version='1.0' encoding='utf-8'?>
<rfc xmlns:xi="http://www.w3.org/2001/XInclude" version="3" category="std" consensus="true" docName="draft-ietf-avtcore-cryptex-08" indexInclude="true" ipr="trust200902" number="9335" prepTime="2023-01-25T11:20:29" scripts="Common,Latin" sortRefs="true" submissionType="IETF" symRefs="true" tocDepth="3" tocInclude="true" updates="3711" xml:lang="en">
  <link href="https://datatracker.ietf.org/doc/draft-ietf-avtcore-cryptex-08" rel="prev"/>
  <link href="https://dx.doi.org/10.17487/rfc9335" rel="alternate"/>
  <link href="urn:issn:2070-1721" rel="alternate"/>
  <front>
    <title abbrev="Completely Encrypting RTP Header Extensions and CSRCs">Completely Encrypting RTP Header Extensions and Contributing Sources</title>
    <seriesInfo name="RFC" value="9335" stream="IETF"/>
    <author initials="J." surname="Uberti" fullname="Justin Uberti">
      <organization showOnFrontPage="true"/>
      <address>
        <email>justin@uberti.name</email>
      </address>
    </author>
    <author initials="C." surname="Jennings" fullname="Cullen Jennings">
      <organization showOnFrontPage="true">Cisco</organization>
      <address>
        <email>fluffy@iii.ca</email>
      </address>
    </author>
    <author initials="S." surname="Garcia Murillo" fullname="Sergio Garcia Murillo">
      <organization showOnFrontPage="true">Millicast</organization>
      <address>
        <email>sergio.garcia.murillo@cosmosoftware.io</email>
      </address>
    </author>
    <date month="01" year="2023"/>
    <area>ART</area>
    <workgroup>AVTCORE</workgroup>
    <keyword>SRTP</keyword>
    <abstract pn="section-abstract">
      <t indent="0" pn="section-abstract-1">While the Secure Real-time Transport Protocol (SRTP) provides confidentiality
for the contents of a media packet, a significant amount of metadata is left
unprotected, including RTP header extensions and contributing sources (CSRCs).
However, this data can be moderately sensitive in many applications. While
there have been previous attempts to protect this data, they have had limited
deployment, due to complexity as well as technical limitations.</t>
      <t indent="0" pn="section-abstract-2">This document updates RFC 3711, the SRTP specification, and defines Cryptex as a new mechanism that completely encrypts
header extensions and CSRCs and uses simpler Session Description Protocol (SDP) signaling with the goal of
facilitating deployment.</t>
    </abstract>
    <boilerplate>
      <section anchor="status-of-memo" numbered="false" removeInRFC="false" toc="exclude" pn="section-boilerplate.1">
        <name slugifiedName="name-status-of-this-memo">Status of This Memo</name>
        <t indent="0" pn="section-boilerplate.1-1">
            This is an Internet Standards Track document.
        </t>
        <t indent="0" pn="section-boilerplate.1-2">
            This document is a product of the Internet Engineering Task Force
            (IETF).  It represents the consensus of the IETF community.  It has
            received public review and has been approved for publication by
            the Internet Engineering Steering Group (IESG).  Further
            information on Internet Standards is available in Section 2 of 
            RFC 7841.
        </t>
        <t indent="0" pn="section-boilerplate.1-3">
            Information about the current status of this document, any
            errata, and how to provide feedback on it may be obtained at
            <eref target="https://www.rfc-editor.org/info/rfc9335" brackets="none"/>.
        </t>
      </section>
      <section anchor="copyright" numbered="false" removeInRFC="false" toc="exclude" pn="section-boilerplate.2">
        <name slugifiedName="name-copyright-notice">Copyright Notice</name>
        <t indent="0" pn="section-boilerplate.2-1">
            Copyright (c) 2023 IETF Trust and the persons identified as the
            document authors. All rights reserved.
        </t>
        <t indent="0" pn="section-boilerplate.2-2">
            This document is subject to BCP 78 and the IETF Trust's Legal
            Provisions Relating to IETF Documents
            (<eref target="https://trustee.ietf.org/license-info" brackets="none"/>) 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.
        </t>
      </section>
    </boilerplate>
    <toc>
      <section anchor="toc" numbered="false" removeInRFC="false" toc="exclude" pn="section-toc.1">
        <name slugifiedName="name-table-of-contents">Table of Contents</name>
        <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1">
          <li pn="section-toc.1-1.1">
            <t indent="0" pn="section-toc.1-1.1.1"><xref derivedContent="1" format="counter" sectionFormat="of" target="section-1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-introduction">Introduction</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.1.2">
              <li pn="section-toc.1-1.1.2.1">
                <t indent="0" keepWithNext="true" pn="section-toc.1-1.1.2.1.1"><xref derivedContent="1.1" format="counter" sectionFormat="of" target="section-1.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-problem-statement">Problem Statement</xref></t>
              </li>
              <li pn="section-toc.1-1.1.2.2">
                <t indent="0" keepWithNext="true" pn="section-toc.1-1.1.2.2.1"><xref derivedContent="1.2" format="counter" sectionFormat="of" target="section-1.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-previous-solutions">Previous Solutions</xref></t>
              </li>
              <li pn="section-toc.1-1.1.2.3">
                <t indent="0" keepWithNext="true" pn="section-toc.1-1.1.2.3.1"><xref derivedContent="1.3" format="counter" sectionFormat="of" target="section-1.3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-goals">Goals</xref></t>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.2">
            <t indent="0" pn="section-toc.1-1.2.1"><xref derivedContent="2" format="counter" sectionFormat="of" target="section-2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-terminology">Terminology</xref></t>
          </li>
          <li pn="section-toc.1-1.3">
            <t indent="0" pn="section-toc.1-1.3.1"><xref derivedContent="3" format="counter" sectionFormat="of" target="section-3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-design">Design</xref></t>
          </li>
          <li pn="section-toc.1-1.4">
            <t indent="0" pn="section-toc.1-1.4.1"><xref derivedContent="4" format="counter" sectionFormat="of" target="section-4"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-sdp-considerations">SDP Considerations</xref></t>
          </li>
          <li pn="section-toc.1-1.5">
            <t indent="0" pn="section-toc.1-1.5.1"><xref derivedContent="5" format="counter" sectionFormat="of" target="section-5"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-rtp-header-processing">RTP Header Processing</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.5.2">
              <li pn="section-toc.1-1.5.2.1">
                <t indent="0" pn="section-toc.1-1.5.2.1.1"><xref derivedContent="5.1" format="counter" sectionFormat="of" target="section-5.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-sending">Sending</xref></t>
              </li>
              <li pn="section-toc.1-1.5.2.2">
                <t indent="0" pn="section-toc.1-1.5.2.2.1"><xref derivedContent="5.2" format="counter" sectionFormat="of" target="section-5.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-receiving">Receiving</xref></t>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.6">
            <t indent="0" pn="section-toc.1-1.6.1"><xref derivedContent="6" format="counter" sectionFormat="of" target="section-6"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-encryption-and-decryption">Encryption and Decryption</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.6.2">
              <li pn="section-toc.1-1.6.2.1">
                <t indent="0" pn="section-toc.1-1.6.2.1.1"><xref derivedContent="6.1" format="counter" sectionFormat="of" target="section-6.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-packet-structure">Packet Structure</xref></t>
              </li>
              <li pn="section-toc.1-1.6.2.2">
                <t indent="0" pn="section-toc.1-1.6.2.2.1"><xref derivedContent="6.2" format="counter" sectionFormat="of" target="section-6.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-encryption-procedure">Encryption Procedure</xref></t>
              </li>
              <li pn="section-toc.1-1.6.2.3">
                <t indent="0" pn="section-toc.1-1.6.2.3.1"><xref derivedContent="6.3" format="counter" sectionFormat="of" target="section-6.3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-decryption-procedure">Decryption Procedure</xref></t>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.7">
            <t indent="0" pn="section-toc.1-1.7.1"><xref derivedContent="7" format="counter" sectionFormat="of" target="section-7"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-backward-compatibility">Backward Compatibility</xref></t>
          </li>
          <li pn="section-toc.1-1.8">
            <t indent="0" pn="section-toc.1-1.8.1"><xref derivedContent="8" format="counter" sectionFormat="of" target="section-8"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-security-considerations">Security Considerations</xref></t>
          </li>
          <li pn="section-toc.1-1.9">
            <t indent="0" pn="section-toc.1-1.9.1"><xref derivedContent="9" format="counter" sectionFormat="of" target="section-9"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-iana-considerations">IANA Considerations</xref></t>
          </li>
          <li pn="section-toc.1-1.10">
            <t indent="0" pn="section-toc.1-1.10.1"><xref derivedContent="10" format="counter" sectionFormat="of" target="section-10"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-references">References</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.10.2">
              <li pn="section-toc.1-1.10.2.1">
                <t indent="0" pn="section-toc.1-1.10.2.1.1"><xref derivedContent="10.1" format="counter" sectionFormat="of" target="section-10.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-normative-references">Normative References</xref></t>
              </li>
              <li pn="section-toc.1-1.10.2.2">
                <t indent="0" pn="section-toc.1-1.10.2.2.1"><xref derivedContent="10.2" format="counter" sectionFormat="of" target="section-10.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-informative-references">Informative References</xref></t>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.11">
            <t indent="0" pn="section-toc.1-1.11.1"><xref derivedContent="Appendix A" format="default" sectionFormat="of" target="section-appendix.a"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-test-vectors">Test Vectors</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.11.2">
              <li pn="section-toc.1-1.11.2.1">
                <t indent="0" pn="section-toc.1-1.11.2.1.1"><xref derivedContent="A.1" format="counter" sectionFormat="of" target="section-appendix.a.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-aes-ctr">AES-CTR</xref></t>
                <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.11.2.1.2">
                  <li pn="section-toc.1-1.11.2.1.2.1">
                    <t indent="0" pn="section-toc.1-1.11.2.1.2.1.1"><xref derivedContent="A.1.1" format="counter" sectionFormat="of" target="section-appendix.a.1.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-rtp-packet-with-one-byte-he">RTP Packet with One-Byte Header Extension</xref></t>
                  </li>
                  <li pn="section-toc.1-1.11.2.1.2.2">
                    <t indent="0" pn="section-toc.1-1.11.2.1.2.2.1"><xref derivedContent="A.1.2" format="counter" sectionFormat="of" target="section-appendix.a.1.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-rtp-packet-with-two-byte-he">RTP Packet with Two-Byte Header Extension</xref></t>
                  </li>
                  <li pn="section-toc.1-1.11.2.1.2.3">
                    <t indent="0" pn="section-toc.1-1.11.2.1.2.3.1"><xref derivedContent="A.1.3" format="counter" sectionFormat="of" target="section-appendix.a.1.3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-rtp-packet-with-one-byte-hea">RTP Packet with One-Byte Header Extension and CSRC Fields</xref></t>
                  </li>
                  <li pn="section-toc.1-1.11.2.1.2.4">
                    <t indent="0" pn="section-toc.1-1.11.2.1.2.4.1"><xref derivedContent="A.1.4" format="counter" sectionFormat="of" target="section-appendix.a.1.4"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-rtp-packet-with-two-byte-hea">RTP Packet with Two-Byte Header Extension and CSRC Fields</xref></t>
                  </li>
                  <li pn="section-toc.1-1.11.2.1.2.5">
                    <t indent="0" pn="section-toc.1-1.11.2.1.2.5.1"><xref derivedContent="A.1.5" format="counter" sectionFormat="of" target="section-appendix.a.1.5"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-rtp-packet-with-empty-one-b">RTP Packet with Empty One-Byte Header Extension and CSRC Fields</xref></t>
                  </li>
                  <li pn="section-toc.1-1.11.2.1.2.6">
                    <t indent="0" pn="section-toc.1-1.11.2.1.2.6.1"><xref derivedContent="A.1.6" format="counter" sectionFormat="of" target="section-appendix.a.1.6"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-rtp-packet-with-empty-two-b">RTP Packet with Empty Two-Byte Header Extension and CSRC Fields</xref></t>
                  </li>
                </ul>
              </li>
              <li pn="section-toc.1-1.11.2.2">
                <t indent="0" pn="section-toc.1-1.11.2.2.1"><xref derivedContent="A.2" format="counter" sectionFormat="of" target="section-appendix.a.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-aes-gcm">AES-GCM</xref></t>
                <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.11.2.2.2">
                  <li pn="section-toc.1-1.11.2.2.2.1">
                    <t indent="0" pn="section-toc.1-1.11.2.2.2.1.1"><xref derivedContent="A.2.1" format="counter" sectionFormat="of" target="section-appendix.a.2.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-rtp-packet-with-one-byte-head">RTP Packet with One-Byte Header Extension</xref></t>
                  </li>
                  <li pn="section-toc.1-1.11.2.2.2.2">
                    <t indent="0" pn="section-toc.1-1.11.2.2.2.2.1"><xref derivedContent="A.2.2" format="counter" sectionFormat="of" target="section-appendix.a.2.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-rtp-packet-with-two-byte-head">RTP Packet with Two-Byte Header Extension</xref></t>
                  </li>
                  <li pn="section-toc.1-1.11.2.2.2.3">
                    <t indent="0" pn="section-toc.1-1.11.2.2.2.3.1"><xref derivedContent="A.2.3" format="counter" sectionFormat="of" target="section-appendix.a.2.3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-rtp-packet-with-one-byte-heade">RTP Packet with One-Byte Header Extension and CSRC Fields</xref></t>
                  </li>
                  <li pn="section-toc.1-1.11.2.2.2.4">
                    <t indent="0" pn="section-toc.1-1.11.2.2.2.4.1"><xref derivedContent="A.2.4" format="counter" sectionFormat="of" target="section-appendix.a.2.4"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-rtp-packet-with-two-byte-heade">RTP Packet with Two-Byte Header Extension and CSRC Fields</xref></t>
                  </li>
                  <li pn="section-toc.1-1.11.2.2.2.5">
                    <t indent="0" pn="section-toc.1-1.11.2.2.2.5.1"><xref derivedContent="A.2.5" format="counter" sectionFormat="of" target="section-appendix.a.2.5"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-rtp-packet-with-empty-one-by">RTP Packet with Empty One-Byte Header Extension and CSRC Fields</xref></t>
                  </li>
                  <li pn="section-toc.1-1.11.2.2.2.6">
                    <t indent="0" pn="section-toc.1-1.11.2.2.2.6.1"><xref derivedContent="A.2.6" format="counter" sectionFormat="of" target="section-appendix.a.2.6"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-rtp-packet-with-empty-two-by">RTP Packet with Empty Two-Byte Header Extension and CSRC Fields</xref></t>
                  </li>
                </ul>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.12">
            <t indent="0" pn="section-toc.1-1.12.1"><xref derivedContent="" format="none" sectionFormat="of" target="section-appendix.b"/><xref derivedContent="" format="title" sectionFormat="of" target="name-acknowledgements">Acknowledgements</xref></t>
          </li>
          <li pn="section-toc.1-1.13">
            <t indent="0" pn="section-toc.1-1.13.1"><xref derivedContent="" format="none" sectionFormat="of" target="section-appendix.c"/><xref derivedContent="" format="title" sectionFormat="of" target="name-authors-addresses">Authors' Addresses</xref></t>
          </li>
        </ul>
      </section>
    </toc>
  </front>
  <middle>
    <section anchor="introduction" numbered="true" removeInRFC="false" toc="include" pn="section-1">
      <name slugifiedName="name-introduction">Introduction</name>
      <section anchor="problem-statement" numbered="true" removeInRFC="false" toc="include" pn="section-1.1">
        <name slugifiedName="name-problem-statement">Problem Statement</name>
        <t indent="0" pn="section-1.1-1">The Secure Real-time Transport Protocol (SRTP) <xref target="RFC3711" format="default" sectionFormat="of" derivedContent="RFC3711"/> mechanism provides message
authentication for the entire RTP packet but only encrypts the RTP payload.
This has not historically been a problem, as much of the information carried
in the header has minimal sensitivity (e.g., RTP timestamp); in addition,
certain fields need to remain as cleartext because they are used for key
scheduling (e.g., RTP synchronization source (SSRC) and sequence number).</t>
        <t indent="0" pn="section-1.1-2">However, as noted in <xref target="RFC6904" format="default" sectionFormat="of" derivedContent="RFC6904"/>, the security requirements can be different for
information carried in RTP header extensions, including the per-packet sound
levels defined in <xref target="RFC6464" format="default" sectionFormat="of" derivedContent="RFC6464"/> and <xref target="RFC6465" format="default" sectionFormat="of" derivedContent="RFC6465"/>, which are specifically noted as
being sensitive in the Security Considerations sections of those RFCs.</t>
        <t indent="0" pn="section-1.1-3">In addition to the contents of the header extensions, there are now enough
header extensions in active use that the header extension identifiers
themselves can provide meaningful information in terms of determining the
identity of the endpoint and/or application. Accordingly, these identifiers
can be considered a fingerprinting issue.</t>
        <t indent="0" pn="section-1.1-4">Finally, the CSRCs included in RTP packets can also be sensitive, potentially
allowing a network eavesdropper to determine who was speaking and when during
an otherwise secure conference call.</t>
      </section>
      <section anchor="previous-solutions" numbered="true" removeInRFC="false" toc="include" pn="section-1.2">
        <name slugifiedName="name-previous-solutions">Previous Solutions</name>
        <t indent="0" pn="section-1.2-1">Encryption of Header Extensions in SRTP <xref target="RFC6904" format="default" sectionFormat="of" derivedContent="RFC6904"/> was proposed in 2013 as a solution to the problem of unprotected
header extension values. However, it has not seen significant adoption and
has a few technical shortcomings.</t>
        <t indent="0" pn="section-1.2-2">First, the mechanism is complicated. Since it allows encryption to be
negotiated on a per-extension basis, a fair amount of signaling logic is
required. And in the SRTP layer, a somewhat complex transform is required
to allow only the selected header extension values to be encrypted. One of
the most popular SRTP implementations had a significant bug in this area
that was not detected for five years.</t>
        <t indent="0" pn="section-1.2-3">Second, the mechanism only protects the header extension values and not their identifiers or
lengths. It also does not protect the CSRCs. As noted above, this leaves
a fair amount of potentially sensitive information exposed.</t>
        <t indent="0" pn="section-1.2-4">Third, the mechanism bloats the header extension space. Because each extension must
be offered in both unencrypted and encrypted forms, twice as many header
extensions must be offered, which will in many cases push implementations
past the 14-extension limit for the use of one-byte extension headers
defined in <xref target="RFC8285" format="default" sectionFormat="of" derivedContent="RFC8285"/>. Accordingly, in many cases, implementations will need to use
two-byte headers, which are not supported well by some
existing implementations.</t>
        <t indent="0" pn="section-1.2-5">Finally, the header extension bloat combined with the need for backward
compatibility results in additional wire overhead. Because two-byte
extension headers may not be handled well by existing implementations,
one-byte extension identifiers will need to be used for the unencrypted
(backward-compatible) forms, and two-byte for the encrypted forms.
Thus, deployment of encryption for header extensions <xref target="RFC6904" format="default" sectionFormat="of" derivedContent="RFC6904"/> will
typically result in multiple extra bytes in each RTP packet, compared
to the present situation.</t>
      </section>
      <section anchor="goals" numbered="true" removeInRFC="false" toc="include" pn="section-1.3">
        <name slugifiedName="name-goals">Goals</name>
        <t indent="0" pn="section-1.3-1">From the previous analysis, the desired properties of a solution are:</t>
        <ul spacing="normal" bare="false" empty="false" indent="3" pn="section-1.3-2">
          <li pn="section-1.3-2.1">Built on the existing SRTP framework <xref target="RFC3711" format="default" sectionFormat="of" derivedContent="RFC3711"/> (simple to understand)</li>
          <li pn="section-1.3-2.2">Built on the existing header extension framework <xref target="RFC8285" format="default" sectionFormat="of" derivedContent="RFC8285"/> (simple to implement)</li>
          <li pn="section-1.3-2.3">Protection of header extension identifiers, lengths, and values</li>
          <li pn="section-1.3-2.4">Protection of CSRCs when present</li>
          <li pn="section-1.3-2.5">Simple signaling</li>
          <li pn="section-1.3-2.6">Simple crypto transform and SRTP interactions</li>
          <li pn="section-1.3-2.7">Backward compatibility with unencrypted endpoints, if desired</li>
          <li pn="section-1.3-2.8">Backward compatibility with existing RTP tooling</li>
        </ul>
        <t indent="0" pn="section-1.3-3">The last point deserves further discussion.  While other possible
	solutions that would have encrypted more of the RTP
	header (e.g., the number of CSRCs) were considered, the inability to parse the
	resultant packets with current tools and a generally higher level of
	complexity outweighed the slight improvement in confidentiality in
	these solutions.  Hence, a more pragmatic approach was taken to solve
	the problem described in <xref target="problem-statement" format="default" sectionFormat="of" derivedContent="Section 1.1"/>.</t>
      </section>
    </section>
    <section anchor="terminology" numbered="true" removeInRFC="false" toc="include" pn="section-2">
      <name slugifiedName="name-terminology">Terminology</name>
      <t indent="0" pn="section-2-1">
    The key words "<bcp14>MUST</bcp14>", "<bcp14>MUST NOT</bcp14>", "<bcp14>REQUIRED</bcp14>", "<bcp14>SHALL</bcp14>", "<bcp14>SHALL NOT</bcp14>", "<bcp14>SHOULD</bcp14>", "<bcp14>SHOULD NOT</bcp14>", "<bcp14>RECOMMENDED</bcp14>", "<bcp14>NOT RECOMMENDED</bcp14>",
    "<bcp14>MAY</bcp14>", and "<bcp14>OPTIONAL</bcp14>" in this document are to be interpreted as
    described in BCP 14 <xref target="RFC2119" format="default" sectionFormat="of" derivedContent="RFC2119"/> <xref target="RFC8174" format="default" sectionFormat="of" derivedContent="RFC8174"/> 
    when, and only when, they appear in all capitals, as shown here.
      </t>
    </section>
    <section anchor="design" numbered="true" removeInRFC="false" toc="include" pn="section-3">
      <name slugifiedName="name-design">Design</name>
      <t indent="0" pn="section-3-1">This specification proposes a mechanism to negotiate encryption of all
RTP header extensions (ids, lengths, and values) as well as CSRC values. It
reuses the existing SRTP framework, is accordingly simple to implement, and
is backward compatible with existing RTP packet parsing code, even when
support for the mechanism has been negotiated.</t>
      <t indent="0" pn="section-3-2">Except when explicitly stated otherwise, Cryptex reuses all the framework procedures, transforms, and considerations described in <xref target="RFC3711" format="default" sectionFormat="of" derivedContent="RFC3711"/>.</t>
    </section>
    <section anchor="sdp-considerations" numbered="true" removeInRFC="false" toc="include" pn="section-4">
      <name slugifiedName="name-sdp-considerations">SDP Considerations</name>
      <t indent="0" pn="section-4-1">Cryptex support is indicated via a new "a=cryptex" SDP attribute defined in this specification.</t>
      <t indent="0" pn="section-4-2">The new "a=cryptex" attribute is a property attribute as defined in <xref target="RFC8866" sectionFormat="of" section="5.13" format="default" derivedLink="https://rfc-editor.org/rfc/rfc8866#section-5.13" derivedContent="RFC8866"/>; it therefore takes no value and can be used at the session level or media level.</t>
      <t indent="0" pn="section-4-3">The presence of the "a=cryptex" attribute in the SDP (in either an offer or an answer) indicates that
the endpoint is capable of receiving RTP packets encrypted with Cryptex, as defined below.</t>
      <t indent="0" pn="section-4-4">Once each peer has verified that the other party supports receiving RTP packets encrypted with Cryptex, senders can unilaterally decide whether or not to use the Cryptex mechanism on a per-packet basis.</t>
      <t indent="0" pn="section-4-5">If BUNDLE is in use as per <xref target="RFC9143" format="default" sectionFormat="of" derivedContent="RFC9143"/> and the "a=cryptex" attribute is present for a media line, it <bcp14>MUST</bcp14> be present for all RTP-based "m=" sections belonging to the same bundle group. This ensures that the encrypted Media Identifier (MID) header extensions can be processed, allowing RTP streams to be associated with the correct "m=" section in each BUNDLE group as specified in <xref target="RFC9143" sectionFormat="of" section="9.2" format="default" derivedLink="https://rfc-editor.org/rfc/rfc9143#section-9.2" derivedContent="RFC9143"/>. When used with BUNDLE, this attribute is assigned to the TRANSPORT category <xref target="RFC8859" format="default" sectionFormat="of" derivedContent="RFC8859"/>.</t>
      <t indent="0" pn="section-4-6">Both endpoints can change the Cryptex support status by modifying the session as specified in  <xref target="RFC3264" sectionFormat="of" section="8" format="default" derivedLink="https://rfc-editor.org/rfc/rfc3264#section-8" derivedContent="RFC3264"/>. Generating subsequent SDP offers and answers <bcp14>MUST</bcp14> use the same procedures for including the "a=cryptex" attribute as the ones on the initial offer and answer.</t>
    </section>
    <section anchor="rtp-header-processing" numbered="true" removeInRFC="false" toc="include" pn="section-5">
      <name slugifiedName="name-rtp-header-processing">RTP Header Processing</name>
      <t indent="0" pn="section-5-1">A General Mechanism for RTP Header Extensions <xref target="RFC8285" format="default" sectionFormat="of" derivedContent="RFC8285"/> defines two values for the "defined by profile" field for carrying
one-byte and two-byte header extensions. In order to allow a receiver to determine
if an incoming RTP packet is using the encryption scheme in this specification,
two new values are defined:</t>
      <ul spacing="normal" bare="false" empty="false" indent="3" pn="section-5-2">
        <li pn="section-5-2.1">0xC0DE for the encrypted version of the one-byte header extensions (instead of 0xBEDE).</li>
        <li pn="section-5-2.2">0xC2DE for the encrypted versions of the two-byte header extensions (instead of 0x100).</li>
      </ul>
      <t indent="0" pn="section-5-3">In the case of using two-byte header extensions, the extension identifier with value 256 <bcp14>MUST NOT</bcp14>
be negotiated, as the value of this identifier is meant to be contained in the "appbits" of the
"defined by profile" field, which are not available when using the values above.</t>
      <t indent="0" pn="section-5-4">Note that as per <xref target="RFC8285" format="default" sectionFormat="of" derivedContent="RFC8285"/>, it is not possible to mix one-byte and two-byte headers on the same RTP packet. Mixing one-byte and two-byte headers on the same RTP stream requires negotiation of the "extmap-allow-mixed" SDP attribute as defined in <xref target="RFC8285" sectionFormat="of" section="6" format="default" derivedLink="https://rfc-editor.org/rfc/rfc8285#section-6" derivedContent="RFC8285"/>.</t>
      <t indent="0" pn="section-5-5">Peers <bcp14>MAY</bcp14> negotiate both Cryptex and the Encryption of Header Extensions mechanism defined in <xref target="RFC6904" format="default" sectionFormat="of" derivedContent="RFC6904"/> via SDP offer/answer as described in <xref target="sdp-considerations" format="default" sectionFormat="of" derivedContent="Section 4"/>, and if both mechanisms are supported, either one can be used for any given packet. However, if a packet is encrypted with Cryptex, it <bcp14>MUST NOT</bcp14> also use header extension encryption <xref target="RFC6904" format="default" sectionFormat="of" derivedContent="RFC6904"/>, and vice versa.</t>
      <t indent="0" pn="section-5-6"> If one of the peers has advertised the ability to receive both Cryptex and
header extensions encrypted as per <xref target="RFC6904" format="default" sectionFormat="of" derivedContent="RFC6904"/> in the SDP
exchange, it is <bcp14>RECOMMENDED</bcp14> that the other peer use Cryptex
rather than the mechanism in <xref target="RFC6904" format="default" sectionFormat="of" derivedContent="RFC6904"/> when sending RTP packets
so that all the header extensions and CSRCS are encrypted. However, if there is a
compelling reason to use the mechanism in <xref target="RFC6904" format="default" sectionFormat="of" derivedContent="RFC6904"/> (e.g., a
need for some header extensions to be sent in the clear so that so they are
processable by RTP middleboxes), the other peer <bcp14>SHOULD</bcp14> use
the mechanism in <xref target="RFC6904" format="default" sectionFormat="of" derivedContent="RFC6904"/> instead.</t>
      <section anchor="sending" numbered="true" removeInRFC="false" toc="include" pn="section-5.1">
        <name slugifiedName="name-sending">Sending</name>
        <t indent="0" pn="section-5.1-1">When the mechanism defined by this specification has been negotiated,
sending an RTP packet that has any CSRCs or contains any header extensions <xref target="RFC8285" format="default" sectionFormat="of" derivedContent="RFC8285"/> follows the steps below. This mechanism <bcp14>MUST NOT</bcp14> be
used with header extensions other than the variety described in <xref target="RFC8285" format="default" sectionFormat="of" derivedContent="RFC8285"/>.</t>
        <t indent="0" pn="section-5.1-2">If the RTP packet contains one-byte headers, the 16-bit RTP header
        extension tag <bcp14>MUST</bcp14> be set to 0xC0DE to indicate that the encryption
        has been applied and the one-byte framing is being used. If the RTP
        packet contains two-byte headers, the header extension tag
        <bcp14>MUST</bcp14> be set to 0xC2DE to indicate encryption has been applied and the
        two-byte framing is being used.
	
        </t>
        <t indent="0" pn="section-5.1-3">If the packet contains CSRCs but no header extensions, an empty extension block
consisting of the 0xC0DE tag and a 16-bit length field set to zero (explicitly
permitted by <xref target="RFC3550" format="default" sectionFormat="of" derivedContent="RFC3550"/>) <bcp14>MUST</bcp14> be appended, and the X bit <bcp14>MUST</bcp14> be set to 1 to
indicate an extension block is present. This is necessary to provide the receiver
an indication that the CSRCs in the packet are encrypted.</t>
        <t indent="0" pn="section-5.1-4">The RTP packet <bcp14>MUST</bcp14> then be encrypted as described in <xref target="encryption-procedure" format="default" sectionFormat="of" derivedContent="Section 6.2"/> ("Encryption Procedure").</t>
      </section>
      <section anchor="receiving" numbered="true" removeInRFC="false" toc="include" pn="section-5.2">
        <name slugifiedName="name-receiving">Receiving</name>
        <t indent="0" pn="section-5.2-1">When receiving an RTP packet that contains header extensions, the
"defined by profile" field <bcp14>MUST</bcp14> be checked to ensure the payload is
formatted according to this specification. If the field does not match
one of the values defined above, the implementation <bcp14>MUST</bcp14> instead
handle it according to the specification that defines that value.</t>
        <t indent="0" pn="section-5.2-2">Alternatively, if the implementation considers the use of this specification mandatory and the "defined by profile" field does not match one of the values defined above, it <bcp14>MUST</bcp14> stop the processing of the RTP packet and report an error for the RTP stream.</t>
        <t indent="0" pn="section-5.2-3">If the RTP packet passes this check, it is then decrypted as described in
<xref target="decryption-procedure" format="default" sectionFormat="of" derivedContent="Section 6.3"/> ("Decryption Procedure") and passed to the next layer to process
the packet and its extensions. In the event that a zero-length extension
block was added as indicated above, it can be left as is and will be
processed normally.</t>
      </section>
    </section>
    <section anchor="encryption-and-decryption" numbered="true" removeInRFC="false" toc="include" pn="section-6">
      <name slugifiedName="name-encryption-and-decryption">Encryption and Decryption</name>
      <section anchor="packet-structure" numbered="true" removeInRFC="false" toc="include" pn="section-6.1">
        <name slugifiedName="name-packet-structure">Packet Structure</name>
        <t indent="0" pn="section-6.1-1">When this mechanism is active, the SRTP packet is protected as follows:</t>
        <figure anchor="srtp-packet" align="left" suppress-title="false" pn="figure-1">
          <name slugifiedName="name-a-protected-srtp-packet">A Protected SRTP Packet</name>
          <artwork align="center" pn="section-6.1-2.1">
   0                   1                   2                   3
   0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+&lt;+
  |V=2|P|X|  CC   |M|     PT      |       sequence number         | |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |
  |                           timestamp                           | |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |
  |           synchronization source (SSRC) identifier            | |
+&gt;+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ |
| |            contributing source (CSRC) identifiers             | |
| |                               ....                            | |
+&gt;+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |
X |  0xC0 or 0xC2 |    0xDE       |           length              | |
+&gt;+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |
| |                  RFC 8285 header extensions                   | |
| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |
| |                          payload  ...                         | |
| |                               +-------------------------------+ |
| |                               | RTP padding   | RTP pad count | |
+&gt;+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+&lt;+
| ~          SRTP Master Key Identifier (MKI) (OPTIONAL)          ~ |
| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |
| :                 authentication tag (RECOMMENDED)              : |
| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |
|                                                                   |
+- Encrypted Portion                       Authenticated Portion ---+
</artwork>
        </figure>
        <t indent="0" pn="section-6.1-3">Note that, as required by <xref target="RFC8285" format="default" sectionFormat="of" derivedContent="RFC8285"/>, the 4 bytes at the start of the extension block are not encrypted.</t>
        <t indent="0" pn="section-6.1-4">Specifically, the Encrypted Portion <bcp14>MUST</bcp14> include any CSRC identifiers, any
RTP header extension (except for the first 4 bytes), and the RTP payload.</t>
      </section>
      <section anchor="encryption-procedure" numbered="true" removeInRFC="false" toc="include" pn="section-6.2">
        <name slugifiedName="name-encryption-procedure">Encryption Procedure</name>
        <t indent="0" pn="section-6.2-1">The encryption procedure is identical to that of <xref target="RFC3711" format="default" sectionFormat="of" derivedContent="RFC3711"/> except for the
	Encrypted Portion of the SRTP packet. The plaintext input to the cipher is as follows:</t>
        <artwork align="left" pn="section-6.2-2">
Plaintext = CSRC identifiers (if used) || header extension data || 
     RTP payload || RTP padding (if used) || RTP pad count (if used)
</artwork>
        <t indent="0" pn="section-6.2-3">Here "header extension data" refers to the content of the RTP extension field,
excluding the first four bytes (the extension header <xref target="RFC8285" format="default" sectionFormat="of" derivedContent="RFC8285"/>).  The first <tt>4 * CSRC count (CC)</tt> bytes of the ciphertext are placed in the CSRC field of the RTP header.
The remainder of the ciphertext is the RTP payload of the encrypted packet.</t>
        <t indent="0" pn="section-6.2-4">To minimize changes to surrounding code, the encryption mechanism can choose
to replace a "defined by profile" field from <xref target="RFC8285" format="default" sectionFormat="of" derivedContent="RFC8285"/> with its counterpart
defined in <xref target="rtp-header-processing" format="default" sectionFormat="of" derivedContent="Section 5"/> ("RTP Header Processing") and encrypt at the same time.</t>
        <t indent="0" pn="section-6.2-5">For Authenticated Encryption with Associated Data (AEAD) ciphers (e.g., AES-GCM), the 12-byte fixed header and the four-byte header
extension header (the "defined by profile" field and the length) are considered
additional authenticated data (AAD), even though they are non-contiguous in the packet if CSRCs are present.</t>
        <artwork align="left" pn="section-6.2-6">
Associated Data: fixed header || extension header (if X=1)
</artwork>
        <t indent="0" pn="section-6.2-7">Here "fixed header" refers to the 12-byte fixed portion of the RTP header, and
"extension header" refers to the four-byte extension header <xref target="RFC8285" format="default" sectionFormat="of" derivedContent="RFC8285"/> ("defined
by profile" and extension length).</t>
        <t indent="0" pn="section-6.2-8">Implementations can rearrange a packet so that the AAD and plaintext are
contiguous by swapping the order of the extension header and the CSRC
identifiers, resulting in an intermediate representation of the form shown in
<xref target="intermediate-packet" format="default" sectionFormat="of" derivedContent="Figure 2"/>.  After encryption, the CSRCs (now encrypted) and
extension header would need to be swapped back to their original positions. A
similar operation can be done when decrypting to create contiguous ciphertext
and AAD inputs.</t>
        <figure anchor="intermediate-packet" align="left" suppress-title="false" pn="figure-2">
          <name slugifiedName="name-an-rtp-packet-transformed-t">An RTP Packet Transformed to Make Cryptex Cipher Inputs Contiguous</name>
          <artwork align="center" pn="section-6.2-9.1">
   0                   1                   2                   3
   0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+&lt;+
  |V=2|P|X|  CC   |M|     PT      |       sequence number         | |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |
  |                           timestamp                           | |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |
  |           synchronization source (SSRC) identifier            | |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |
  |  0xC0 or 0xC2 |    0xDE       |           length              | |
+&gt;+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+&lt;+
| |            contributing source (CSRC) identifiers             | |
| |                               ....                            | |
| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |
| |                  RFC 8285 header extensions                   | |
| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |
| |                          payload  ...                         | |
| |                               +-------------------------------+ |
| |                               | RTP padding   | RTP pad count | |
+&gt;+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |
|                                                                   |
+- Plaintext Input                                     AAD Input ---+
</artwork>
        </figure>
        <t indent="0" pn="section-6.2-10">Note that this intermediate representation is only displayed as reference for implementations and is not meant to be sent on the wire.</t>
      </section>
      <section anchor="decryption-procedure" numbered="true" removeInRFC="false" toc="include" pn="section-6.3">
        <name slugifiedName="name-decryption-procedure">Decryption Procedure</name>
        <t indent="0" pn="section-6.3-1">The decryption procedure is identical to that of <xref target="RFC3711" format="default" sectionFormat="of" derivedContent="RFC3711"/> except
for the Encrypted Portion of the SRTP packet, which is as shown in the section above.</t>
        <t indent="0" pn="section-6.3-2">To minimize changes to surrounding code, the decryption mechanism can choose
to replace the "defined by profile" field with its no-encryption counterpart
from <xref target="RFC8285" format="default" sectionFormat="of" derivedContent="RFC8285"/> and decrypt at the same time.</t>
      </section>
    </section>
    <section anchor="backwards-compatibility" numbered="true" removeInRFC="false" toc="include" pn="section-7">
      <name slugifiedName="name-backward-compatibility">Backward Compatibility</name>
      <t indent="0" pn="section-7-1">This specification attempts to encrypt as much as possible without interfering
with backward compatibility for systems that expect a certain structure from
an RTPv2 packet, including systems that perform demultiplexing based on packet
headers. Accordingly, the first two bytes of the RTP packet are not encrypted.</t>
      <t indent="0" pn="section-7-2">This specification also attempts to reuse the key scheduling from SRTP, which
depends on the RTP packet sequence number and SSRC identifier. Accordingly,
these values are also not encrypted.</t>
    </section>
    <section anchor="security-considerations" numbered="true" removeInRFC="false" toc="include" pn="section-8">
      <name slugifiedName="name-security-considerations">Security Considerations</name>
      <t indent="0" pn="section-8-1">All security considerations in <xref target="RFC3711" sectionFormat="of" section="9" format="default" derivedLink="https://rfc-editor.org/rfc/rfc3711#section-9" derivedContent="RFC3711"/> are applicable to this specification; the exception is Section <xref target="RFC3711" sectionFormat="bare" section="9.4" format="default" derivedLink="https://rfc-editor.org/rfc/rfc3711#section-9.4" derivedContent="RFC3711"/>, because confidentiality of the RTP Header is the purpose of this specification.</t>
      <t indent="0" pn="section-8-2">The risks of using weak or NULL authentication with SRTP, described in <xref target="RFC3711" sectionFormat="of" section="9.5" format="default" derivedLink="https://rfc-editor.org/rfc/rfc3711#section-9.5" derivedContent="RFC3711"/>, apply to encrypted header extensions as well.</t>
      <t indent="0" pn="section-8-3">This specification extends SRTP by expanding the Encrypted Portion of the RTP packet,
as shown in <xref target="packet-structure" format="default" sectionFormat="of" derivedContent="Section 6.1"/> ("Packet Structure"). It does not change how SRTP authentication
works in any way. Given that more of the packet is being encrypted than before,
this is necessarily an improvement.</t>
      <t indent="0" pn="section-8-4">The RTP fields that are left unencrypted (see rationale above) are as follows:</t>
      <ul spacing="normal" bare="false" empty="false" indent="3" pn="section-8-5">
        <li pn="section-8-5.1">RTP version</li>
        <li pn="section-8-5.2">padding bit</li>
        <li pn="section-8-5.3">extension bit</li>
        <li pn="section-8-5.4">number of CSRCs</li>
        <li pn="section-8-5.5">marker bit</li>
        <li pn="section-8-5.6">payload type</li>
        <li pn="section-8-5.7">sequence number</li>
        <li pn="section-8-5.8">timestamp</li>
        <li pn="section-8-5.9">SSRC identifier</li>
        <li pn="section-8-5.10">number of header extensions <xref target="RFC8285" format="default" sectionFormat="of" derivedContent="RFC8285"/></li>
      </ul>
      <t indent="0" pn="section-8-6">These values contain a fixed set (i.e., one that won't be changed by
extensions) of information that, at present, is observed to have low
sensitivity. In the event any of these values need to be encrypted, SRTP
is likely the wrong protocol to use and a fully encapsulating protocol
such as DTLS is preferred (with its attendant per-packet overhead).</t>
    </section>
    <section anchor="iana-considerations" numbered="true" removeInRFC="false" toc="include" pn="section-9">
      <name slugifiedName="name-iana-considerations">IANA Considerations</name>
      <t indent="0" pn="section-9-1">This document updates the "attribute-name (formerly "att-field")" subregistry of the "Session Description Protocol (SDP) Parameters" registry (see <xref target="RFC8866" sectionFormat="of" section="8.2.4" format="default" derivedLink="https://rfc-editor.org/rfc/rfc8866#section-8.2.4" derivedContent="RFC8866"/>). Specifically, it adds the SDP "a=cryptex" attribute for use at both the media level and the session level.</t>
      <dl spacing="normal" indent="3" newline="false" pn="section-9-2">
        <dt pn="section-9-2.1">Contact name:</dt>
        <dd pn="section-9-2.2">IETF AVT Working Group or IESG if the AVT Working Group is closed</dd>
        <dt pn="section-9-2.3">Contact email address:</dt>
        <dd pn="section-9-2.4">avt@ietf.org</dd>
        <dt pn="section-9-2.5">Attribute name:</dt>
        <dd pn="section-9-2.6">cryptex</dd>
        <dt pn="section-9-2.7">Attribute syntax:</dt>
        <dd pn="section-9-2.8">This attribute takes no values.</dd>
        <dt pn="section-9-2.9">Attribute semantics:</dt>
        <dd pn="section-9-2.10">N/A</dd>
        <dt pn="section-9-2.11">Attribute value:</dt>
        <dd pn="section-9-2.12">N/A</dd>
        <dt pn="section-9-2.13">Usage level:</dt>
        <dd pn="section-9-2.14">session, media</dd>
        <dt pn="section-9-2.15">Charset dependent:</dt>
        <dd pn="section-9-2.16">No</dd>
        <dt pn="section-9-2.17">Purpose:</dt>
        <dd pn="section-9-2.18">The presence of this attribute in the SDP indicates that the
	  endpoint is capable of receiving RTP packets encrypted with Cryptex
	  as described in this document.</dd>
        <dt pn="section-9-2.19">O/A procedures:</dt>
        <dd pn="section-9-2.20">SDP O/A procedures are described in Section <xref target="sdp-considerations" format="counter" sectionFormat="of" derivedContent="4"/> of this
	  document.</dd>
        <dt pn="section-9-2.21">Mux Category:</dt>
        <dd pn="section-9-2.22">TRANSPORT</dd>
      </dl>
    </section>
  </middle>
  <back>
    <references pn="section-10">
      <name slugifiedName="name-references">References</name>
      <references pn="section-10.1">
        <name slugifiedName="name-normative-references">Normative References</name>
        <reference anchor="RFC2119" target="https://www.rfc-editor.org/info/rfc2119" quoteTitle="true" derivedAnchor="RFC2119">
          <front>
            <title>Key words for use in RFCs to Indicate Requirement Levels</title>
            <author fullname="S. Bradner" initials="S." surname="Bradner"/>
            <date month="March" year="1997"/>
            <abstract>
              <t indent="0">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"/>
          <format target="https://www.rfc-editor.org/info/rfc2119" type="TXT"/>
        </reference>
        <reference anchor="RFC3264" target="https://www.rfc-editor.org/info/rfc3264" quoteTitle="true" derivedAnchor="RFC3264">
          <front>
            <title>An Offer/Answer Model with Session Description Protocol (SDP)</title>
            <author fullname="J. Rosenberg" initials="J." surname="Rosenberg"/>
            <author fullname="H. Schulzrinne" initials="H." surname="Schulzrinne"/>
            <date month="June" year="2002"/>
            <abstract>
              <t indent="0">This document defines a mechanism by which two entities can make use of the Session Description Protocol (SDP) to arrive at a common view of a multimedia session between them.  In the model, one participant offers the other a description of the desired session from their perspective, and the other participant answers with the desired session from their perspective.  This offer/answer model is most useful in unicast sessions where information from both participants is needed for the complete view of the session.  The offer/answer model is used by protocols like the Session Initiation Protocol (SIP). [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="3264"/>
          <seriesInfo name="DOI" value="10.17487/RFC3264"/>
          <format target="https://www.rfc-editor.org/info/rfc3264" type="TXT"/>
        </reference>
        <reference anchor="RFC3550" target="https://www.rfc-editor.org/info/rfc3550" quoteTitle="true" derivedAnchor="RFC3550">
          <front>
            <title>RTP: A Transport Protocol for Real-Time Applications</title>
            <author fullname="H. Schulzrinne" initials="H." surname="Schulzrinne"/>
            <author fullname="S. Casner" initials="S." surname="Casner"/>
            <author fullname="R. Frederick" initials="R." surname="Frederick"/>
            <author fullname="V. Jacobson" initials="V." surname="Jacobson"/>
            <date month="July" year="2003"/>
            <abstract>
              <t indent="0">This memorandum describes RTP, the real-time transport protocol.  RTP provides end-to-end network transport functions suitable for applications transmitting real-time data, such as audio, video or simulation data, over multicast or unicast network services.  RTP does not address resource reservation and does not guarantee quality-of- service for real-time services.  The data transport is augmented by a control protocol (RTCP) to allow monitoring of the data delivery in a manner scalable to large multicast networks, and to provide minimal control and identification functionality.  RTP and RTCP are designed to be independent of the underlying transport and network layers.  The protocol supports the use of RTP-level translators and mixers.  Most of the text in this memorandum is identical to RFC 1889 which it obsoletes.  There are no changes in the packet formats on the wire, only changes to the rules and algorithms governing how the protocol is used.  The biggest change is an enhancement to the scalable timer algorithm for calculating when to send RTCP packets in order to minimize transmission in excess of the intended rate when many participants join a session simultaneously. [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name="STD" value="64"/>
          <seriesInfo name="RFC" value="3550"/>
          <seriesInfo name="DOI" value="10.17487/RFC3550"/>
          <format target="https://www.rfc-editor.org/info/rfc3550" type="TXT"/>
        </reference>
        <reference anchor="RFC3711" target="https://www.rfc-editor.org/info/rfc3711" quoteTitle="true" derivedAnchor="RFC3711">
          <front>
            <title>The Secure Real-time Transport Protocol (SRTP)</title>
            <author fullname="M. Baugher" initials="M." surname="Baugher"/>
            <author fullname="D. McGrew" initials="D." surname="McGrew"/>
            <author fullname="M. Naslund" initials="M." surname="Naslund"/>
            <author fullname="E. Carrara" initials="E." surname="Carrara"/>
            <author fullname="K. Norrman" initials="K." surname="Norrman"/>
            <date month="March" year="2004"/>
            <abstract>
              <t indent="0">This document describes the Secure Real-time Transport Protocol (SRTP), a profile of the Real-time Transport Protocol (RTP), which can provide confidentiality, message authentication, and replay protection to the RTP traffic and to the control traffic for RTP, the Real-time Transport Control Protocol (RTCP). [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="3711"/>
          <seriesInfo name="DOI" value="10.17487/RFC3711"/>
          <format target="https://www.rfc-editor.org/info/rfc3711" type="TXT"/>
        </reference>
        <reference anchor="RFC8174" target="https://www.rfc-editor.org/info/rfc8174" quoteTitle="true" derivedAnchor="RFC8174">
          <front>
            <title>Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words</title>
            <author fullname="B. Leiba" initials="B." surname="Leiba"/>
            <date month="May" year="2017"/>
            <abstract>
              <t indent="0">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"/>
          <format target="https://www.rfc-editor.org/info/rfc8174" type="TXT"/>
        </reference>
        <reference anchor="RFC8285" target="https://www.rfc-editor.org/info/rfc8285" quoteTitle="true" derivedAnchor="RFC8285">
          <front>
            <title>A General Mechanism for RTP Header Extensions</title>
            <author fullname="D. Singer" initials="D." surname="Singer"/>
            <author fullname="H. Desineni" initials="H." surname="Desineni"/>
            <author fullname="R. Even" initials="R." role="editor" surname="Even"/>
            <date month="October" year="2017"/>
            <abstract>
              <t indent="0">This document provides a general mechanism to use the header extension feature of RTP (the Real-time Transport Protocol).  It provides the option to use a small number of small extensions in each RTP packet, where the universe of possible extensions is large and registration is decentralized.  The actual extensions in use in a session are signaled in the setup information for that session.  This document obsoletes RFC 5285.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="8285"/>
          <seriesInfo name="DOI" value="10.17487/RFC8285"/>
          <format target="https://www.rfc-editor.org/info/rfc8285" type="TXT"/>
        </reference>
        <reference anchor="RFC8859" target="https://www.rfc-editor.org/info/rfc8859" quoteTitle="true" derivedAnchor="RFC8859">
          <front>
            <title>A Framework for Session Description Protocol (SDP) Attributes When Multiplexing</title>
            <author fullname="S. Nandakumar" initials="S." surname="Nandakumar"/>
            <date month="January" year="2021"/>
            <abstract>
              <t indent="0">The purpose of this specification is to provide a framework for analyzing the multiplexing characteristics of Session Description Protocol (SDP) attributes when SDP is used to negotiate the usage of a single 5-tuple for sending and receiving media associated with multiple media descriptions.</t>
              <t indent="0">This specification also categorizes the existing SDP attributes based on the framework described herein.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="8859"/>
          <seriesInfo name="DOI" value="10.17487/RFC8859"/>
          <format target="https://www.rfc-editor.org/info/rfc8859" type="TXT"/>
        </reference>
        <reference anchor="RFC8866" target="https://www.rfc-editor.org/info/rfc8866" quoteTitle="true" derivedAnchor="RFC8866">
          <front>
            <title>SDP: Session Description Protocol</title>
            <author fullname="A. Begen" initials="A." surname="Begen"/>
            <author fullname="P. Kyzivat" initials="P." surname="Kyzivat"/>
            <author fullname="C. Perkins" initials="C." surname="Perkins"/>
            <author fullname="M. Handley" initials="M." surname="Handley"/>
            <date month="January" year="2021"/>
            <abstract>
              <t indent="0">This memo defines the Session Description Protocol (SDP).  SDP is intended for describing multimedia sessions for the purposes of session announcement, session invitation, and other forms of multimedia session initiation.  This document obsoletes RFC 4566.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="8866"/>
          <seriesInfo name="DOI" value="10.17487/RFC8866"/>
          <format target="https://www.rfc-editor.org/info/rfc8866" type="TXT"/>
        </reference>
        <reference anchor="RFC9143" target="https://www.rfc-editor.org/info/rfc9143" quoteTitle="true" derivedAnchor="RFC9143">
          <front>
            <title>Negotiating Media Multiplexing Using the Session Description Protocol (SDP)</title>
            <author fullname="C. Holmberg" initials="C." surname="Holmberg"/>
            <author fullname="H. Alvestrand" initials="H." surname="Alvestrand"/>
            <author fullname="C. Jennings" initials="C." surname="Jennings"/>
            <date month="February" year="2022"/>
            <abstract>
              <t indent="0">This specification defines a new Session Description Protocol (SDP) Grouping Framework extension called 'BUNDLE'. The extension can be used with the SDP offer/answer mechanism to negotiate the usage of a single transport (5-tuple) for sending and receiving media described by multiple SDP media descriptions ("m=" sections). Such transport is referred to as a "BUNDLE transport", and the media is referred to as "bundled media". The "m=" sections that use the BUNDLE transport form a BUNDLE group.</t>
              <t indent="0">This specification defines a new RTP Control Protocol (RTCP) Source Description (SDES) item and a new RTP header extension.</t>
              <t indent="0">This specification updates RFCs 3264, 5888, and 7941.</t>
              <t indent="0">This specification obsoletes RFC 8843.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="9143"/>
          <seriesInfo name="DOI" value="10.17487/RFC9143"/>
          <format target="https://www.rfc-editor.org/info/rfc9143" type="TXT"/>
        </reference>
      </references>
      <references pn="section-10.2">
        <name slugifiedName="name-informative-references">Informative References</name>
        <reference anchor="RFC6464" target="https://www.rfc-editor.org/info/rfc6464" quoteTitle="true" derivedAnchor="RFC6464">
          <front>
            <title>A Real-time Transport Protocol (RTP) Header Extension for Client-to-Mixer Audio Level Indication</title>
            <author fullname="J. Lennox" initials="J." role="editor" surname="Lennox"/>
            <author fullname="E. Ivov" initials="E." surname="Ivov"/>
            <author fullname="E. Marocco" initials="E." surname="Marocco"/>
            <date month="December" year="2011"/>
            <abstract>
              <t indent="0">This document defines a mechanism by which packets of Real-time Transport Protocol (RTP) audio streams can indicate, in an RTP header extension, the audio level of the audio sample carried in the RTP packet.  In large conferences, this can reduce the load on an audio mixer or other middlebox that wants to forward only a few of the loudest audio streams, without requiring it to decode and measure every stream that is received. [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="6464"/>
          <seriesInfo name="DOI" value="10.17487/RFC6464"/>
          <format target="https://www.rfc-editor.org/info/rfc6464" type="TXT"/>
        </reference>
        <reference anchor="RFC6465" target="https://www.rfc-editor.org/info/rfc6465" quoteTitle="true" derivedAnchor="RFC6465">
          <front>
            <title>A Real-time Transport Protocol (RTP) Header Extension for Mixer-to-Client Audio Level Indication</title>
            <author fullname="E. Ivov" initials="E." role="editor" surname="Ivov"/>
            <author fullname="E. Marocco" initials="E." role="editor" surname="Marocco"/>
            <author fullname="J. Lennox" initials="J." surname="Lennox"/>
            <date month="December" year="2011"/>
            <abstract>
              <t indent="0">This document describes a mechanism for RTP-level mixers in audio conferences to deliver information about the audio level of individual participants.  Such audio level indicators are transported in the same RTP packets as the audio data they pertain to. [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="6465"/>
          <seriesInfo name="DOI" value="10.17487/RFC6465"/>
          <format target="https://www.rfc-editor.org/info/rfc6465" type="TXT"/>
        </reference>
        <reference anchor="RFC6904" target="https://www.rfc-editor.org/info/rfc6904" quoteTitle="true" derivedAnchor="RFC6904">
          <front>
            <title>Encryption of Header Extensions in the Secure Real-time Transport Protocol (SRTP)</title>
            <author fullname="J. Lennox" initials="J." surname="Lennox"/>
            <date month="April" year="2013"/>
            <abstract>
              <t indent="0">The Secure Real-time Transport Protocol (SRTP) provides authentication, but not encryption, of the headers of Real-time Transport Protocol (RTP) packets. However, RTP header extensions may carry sensitive information for which participants in multimedia sessions want confidentiality. This document provides a mechanism, extending the mechanisms of SRTP, to selectively encrypt RTP header extensions in SRTP.</t>
              <t indent="0">This document updates RFC 3711, the Secure Real-time Transport Protocol specification, to require that all future SRTP encryption transforms specify how RTP header extensions are to be encrypted.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="6904"/>
          <seriesInfo name="DOI" value="10.17487/RFC6904"/>
          <format target="https://www.rfc-editor.org/info/rfc6904" type="TXT"/>
        </reference>
        <reference anchor="RFC7714" target="https://www.rfc-editor.org/info/rfc7714" quoteTitle="true" derivedAnchor="RFC7714">
          <front>
            <title>AES-GCM Authenticated Encryption in the Secure Real-time Transport Protocol (SRTP)</title>
            <author fullname="D. McGrew" initials="D." surname="McGrew"/>
            <author fullname="K. Igoe" initials="K." surname="Igoe"/>
            <date month="December" year="2015"/>
            <abstract>
              <t indent="0">This document defines how the AES-GCM Authenticated Encryption with Associated Data family of algorithms can be used to provide confidentiality and data authentication in the Secure Real-time Transport Protocol (SRTP).</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="7714"/>
          <seriesInfo name="DOI" value="10.17487/RFC7714"/>
          <format target="https://www.rfc-editor.org/info/rfc7714" type="TXT"/>
        </reference>
      </references>
    </references>
    <section anchor="test-vectors" numbered="true" removeInRFC="false" toc="include" pn="section-appendix.a">
      <name slugifiedName="name-test-vectors">Test Vectors</name>
      <t indent="0" pn="section-appendix.a-1">All values are in hexadecimal and represented in network order (big endian).</t>
      <section anchor="aes-ctr" numbered="true" removeInRFC="false" toc="include" pn="section-appendix.a.1">
        <name slugifiedName="name-aes-ctr">AES-CTR</name>
        <t indent="0" pn="section-appendix.a.1-1">The following subsections list the test vectors for using Cryptex with AES-CTR as per <xref target="RFC3711" format="default" sectionFormat="of" derivedContent="RFC3711"/>.</t>
        <t indent="0" pn="section-appendix.a.1-2">Common values are organized as follows:</t>
        <artwork align="left" pn="section-appendix.a.1-3">
Rollover Counter:          00000000
Master Key:                e1f97a0d3e018be0d64fa32c06de4139
Master Salt:               0ec675ad498afeebb6960b3aabe6
Crypto Suite:              AES_CM_128_HMAC_SHA1_80
Session Key:               c61e7a93744f39ee10734afe3ff7a087
Session Salt:              30cbbc08863d8c85d49db34a9ae1
Authentication Key:        cebe321f6ff7716b6fd4ab49af256a156d38baa4
</artwork>
        <section anchor="rtp-packet-with-1-byte-header-extension" numbered="true" removeInRFC="false" toc="include" pn="section-appendix.a.1.1">
          <name slugifiedName="name-rtp-packet-with-one-byte-he">RTP Packet with One-Byte Header Extension</name>
          <t indent="0" pn="section-appendix.a.1.1-1">RTP Packet:</t>
          <sourcecode type="test-vectors" markers="false" pn="section-appendix.a.1.1-2">
    900f1235
    decafbad
    cafebabe
    bede0001
    51000200
    abababab
    abababab
    abababab
    abababab
</sourcecode>
          <t indent="0" pn="section-appendix.a.1.1-3">Encrypted RTP Packet:</t>
          <sourcecode type="test-vectors" markers="false" pn="section-appendix.a.1.1-4">
    900f1235
    decafbad
    cafebabe
    c0de0001
    eb923652
    51c3e036
    f8de27e9
    c27ee3e0
    b4651d9f
    bc4218a7
    0244522f
    34a5
</sourcecode>
        </section>
        <section anchor="rtp-packet-with-2-byte-header-extension" numbered="true" removeInRFC="false" toc="include" pn="section-appendix.a.1.2">
          <name slugifiedName="name-rtp-packet-with-two-byte-he">RTP Packet with Two-Byte Header Extension</name>
          <t indent="0" pn="section-appendix.a.1.2-1">RTP Packet:</t>
          <sourcecode type="test-vectors" markers="false" pn="section-appendix.a.1.2-2">
    900f1236
    decafbad
    cafebabe
    10000001
    05020002
    abababab
    abababab
    abababab
    abababab
</sourcecode>
          <t indent="0" pn="section-appendix.a.1.2-3">Encrypted RTP Packet:</t>
          <sourcecode type="test-vectors" markers="false" pn="section-appendix.a.1.2-4">
    900f1236
    decafbad
    cafebabe
    c2de0001
    4ed9cc4e
    6a712b30
    96c5ca77
    339d4204
    ce0d7739
    6cab6958
    5fbce381
    94a5
</sourcecode>
        </section>
        <section anchor="rtp-packet-with-1-byte-header-extension-and-csrc-fields" numbered="true" removeInRFC="false" toc="include" pn="section-appendix.a.1.3">
          <name slugifiedName="name-rtp-packet-with-one-byte-hea">RTP Packet with One-Byte Header Extension and CSRC Fields</name>
          <t indent="0" pn="section-appendix.a.1.3-1">RTP Packet:</t>
          <sourcecode type="test-vectors" markers="false" pn="section-appendix.a.1.3-2">
    920f1238
    decafbad
    cafebabe
    0001e240
    0000b26e
    bede0001
    51000200
    abababab
    abababab
    abababab
    abababab
</sourcecode>
          <t indent="0" pn="section-appendix.a.1.3-3">Encrypted RTP Packet:</t>
          <sourcecode type="test-vectors" markers="false" pn="section-appendix.a.1.3-4">
    920f1238
    decafbad
    cafebabe
    8bb6e12b
    5cff16dd
    c0de0001
    92838c8c
    09e58393
    e1de3a9a
    74734d67
    45671338
    c3acf11d
    a2df8423
    bee0
</sourcecode>
        </section>
        <section anchor="rtp-packet-with-2-byte-header-extension-and-csrc-fields" numbered="true" removeInRFC="false" toc="include" pn="section-appendix.a.1.4">
          <name slugifiedName="name-rtp-packet-with-two-byte-hea">RTP Packet with Two-Byte Header Extension and CSRC Fields</name>
          <t indent="0" pn="section-appendix.a.1.4-1">RTP Packet:</t>
          <sourcecode type="test-vectors" markers="false" pn="section-appendix.a.1.4-2">
    920f1239
    decafbad
    cafebabe
    0001e240
    0000b26e
    10000001
    05020002
    abababab
    abababab
    abababab
    abababab
</sourcecode>
          <t indent="0" pn="section-appendix.a.1.4-3">Encrypted RTP Packet:</t>
          <sourcecode type="test-vectors" markers="false" pn="section-appendix.a.1.4-4">
    920f1239
    decafbad
    cafebabe
    f70e513e
    b90b9b25
    c2de0001
    bbed4848
    faa64466
    5f3d7f34
    125914e9
    f4d0ae92
    3c6f479b
    95a0f7b5
    3133
</sourcecode>
        </section>
        <section anchor="rtp-packet-with-empty-1-byte-header-extension-and-csrc-fields" numbered="true" removeInRFC="false" toc="include" pn="section-appendix.a.1.5">
          <name slugifiedName="name-rtp-packet-with-empty-one-b">RTP Packet with Empty One-Byte Header Extension and CSRC Fields</name>
          <t indent="0" pn="section-appendix.a.1.5-1">RTP Packet:</t>
          <sourcecode type="test-vectors" markers="false" pn="section-appendix.a.1.5-2">
    920f123a
    decafbad
    cafebabe
    0001e240
    0000b26e
    bede0000
    abababab
    abababab
    abababab
    abababab
</sourcecode>
          <t indent="0" pn="section-appendix.a.1.5-3">Encrypted RTP Packet:</t>
          <sourcecode type="test-vectors" markers="false" pn="section-appendix.a.1.5-4">
    920f123a
    decafbad
    cafebabe
    7130b6ab
    fe2ab0e3
    c0de0000
    e3d9f64b
    25c9e74c
    b4cf8e43
    fb92e378
    1c2c0cea
    b6b3a499
    a14c
</sourcecode>
        </section>
        <section anchor="rtp-packet-with-empty-2-byte-header-extension-and-csrc-fields" numbered="true" removeInRFC="false" toc="include" pn="section-appendix.a.1.6">
          <name slugifiedName="name-rtp-packet-with-empty-two-b">RTP Packet with Empty Two-Byte Header Extension and CSRC Fields</name>
          <t indent="0" pn="section-appendix.a.1.6-1">RTP Packet:</t>
          <sourcecode type="test-vectors" markers="false" pn="section-appendix.a.1.6-2">
    920f123b
    decafbad
    cafebabe
    0001e240
    0000b26e
    10000000
    abababab
    abababab
    abababab
    abababab
</sourcecode>
          <t indent="0" pn="section-appendix.a.1.6-3">Encrypted RTP Packet:</t>
          <sourcecode type="test-vectors" markers="false" pn="section-appendix.a.1.6-4">
    920f123b
    decafbad
    cafebabe
    cbf24c12
    4330e1c8
    c2de0000
    599dd45b
    c9d687b6
    03e8b59d
    771fd38e
    88b170e0
    cd31e125
    eabe
</sourcecode>
        </section>
      </section>
      <section anchor="aes-gcm" numbered="true" removeInRFC="false" toc="include" pn="section-appendix.a.2">
        <name slugifiedName="name-aes-gcm">AES-GCM</name>
        <t indent="0" pn="section-appendix.a.2-1">The following subsections list the test vectors for using Cryptex with AES-GCM as per <xref target="RFC7714" format="default" sectionFormat="of" derivedContent="RFC7714"/>.</t>
        <t indent="0" pn="section-appendix.a.2-2">Common values are organized as follows:</t>
        <artwork align="left" pn="section-appendix.a.2-3">
    Rollover Counter:          00000000
    Master Key:                000102030405060708090a0b0c0d0e0f
    Master Salt:               a0a1a2a3a4a5a6a7a8a9aaab
    Crypto Suite:              AEAD_AES_128_GCM
    Session Key:               077c6143cb221bc355ff23d5f984a16e
    Session Salt:              9af3e95364ebac9c99c5a7c4
</artwork>
        <section anchor="rtp-packet-with-1-byte-header-extension-1" numbered="true" removeInRFC="false" toc="include" pn="section-appendix.a.2.1">
          <name slugifiedName="name-rtp-packet-with-one-byte-head">RTP Packet with One-Byte Header Extension</name>
          <t indent="0" pn="section-appendix.a.2.1-1">RTP Packet:</t>
          <sourcecode type="test-vectors" markers="false" pn="section-appendix.a.2.1-2">
    900f1235
    decafbad
    cafebabe
    bede0001
    51000200
    abababab
    abababab
    abababab
    abababab
</sourcecode>
          <t indent="0" pn="section-appendix.a.2.1-3">Encrypted RTP Packet:</t>
          <sourcecode type="test-vectors" markers="false" pn="section-appendix.a.2.1-4">
    900f1235
    decafbad
    cafebabe
    c0de0001
    39972dc9
    572c4d99
    e8fc355d
    e743fb2e
    94f9d8ff
    54e72f41
    93bbc5c7
    4ffab0fa
    9fa0fbeb
</sourcecode>
        </section>
        <section anchor="rtp-packet-with-2-byte-header-extension-1" numbered="true" removeInRFC="false" toc="include" pn="section-appendix.a.2.2">
          <name slugifiedName="name-rtp-packet-with-two-byte-head">RTP Packet with Two-Byte Header Extension</name>
          <t indent="0" pn="section-appendix.a.2.2-1">RTP Packet:</t>
          <sourcecode type="test-vectors" markers="false" pn="section-appendix.a.2.2-2">
    900f1236
    decafbad
    cafebabe
    10000001
    05020002
    abababab
    abababab
    abababab
    abababab
</sourcecode>
          <t indent="0" pn="section-appendix.a.2.2-3">Encrypted RTP Packet:</t>
          <sourcecode type="test-vectors" markers="false" pn="section-appendix.a.2.2-4">
    900f1236
    decafbad
    cafebabe
    c2de0001
    bb75a4c5
    45cd1f41
    3bdb7daa
    2b1e3263
    de313667
    c9632490
    81b35a65
    f5cb6c88
    b394235f
</sourcecode>
        </section>
        <section anchor="rtp-packet-with-1-byte-header-extension-and-csrc-fields-1" numbered="true" removeInRFC="false" toc="include" pn="section-appendix.a.2.3">
          <name slugifiedName="name-rtp-packet-with-one-byte-heade">RTP Packet with One-Byte Header Extension and CSRC Fields</name>
          <t indent="0" pn="section-appendix.a.2.3-1">RTP Packet:</t>
          <sourcecode type="test-vectors" markers="false" pn="section-appendix.a.2.3-2">
    920f1238
    decafbad
    cafebabe
    0001e240
    0000b26e
    bede0001
    51000200
    abababab
    abababab
    abababab
    abababab
</sourcecode>
          <t indent="0" pn="section-appendix.a.2.3-3">Encrypted RTP Packet:</t>
          <sourcecode type="test-vectors" markers="false" pn="section-appendix.a.2.3-4">
    920f1238
    decafbad
    cafebabe
    63bbccc4
    a7f695c4
    c0de0001
    8ad7c71f
    ac70a80c
    92866b4c
    6ba98546
    ef913586
    e95ffaaf
    fe956885
    bb0647a8
    bc094ac8
</sourcecode>
        </section>
        <section anchor="rtp-packet-with-2-byte-header-extension-and-csrc-fields-1" numbered="true" removeInRFC="false" toc="include" pn="section-appendix.a.2.4">
          <name slugifiedName="name-rtp-packet-with-two-byte-heade">RTP Packet with Two-Byte Header Extension and CSRC Fields</name>
          <t indent="0" pn="section-appendix.a.2.4-1">RTP Packet:</t>
          <sourcecode type="test-vectors" markers="false" pn="section-appendix.a.2.4-2">
    920f1239
    decafbad
    cafebabe
    0001e240
    0000b26e
    10000001
    05020002
    abababab
    abababab
    abababab
    abababab
</sourcecode>
          <t indent="0" pn="section-appendix.a.2.4-3">Encrypted RTP Packet:</t>
          <sourcecode type="test-vectors" markers="false" pn="section-appendix.a.2.4-4">
    920f1239
    decafbad
    cafebabe
    3680524f
    8d312b00
    c2de0001
    c78d1200
    38422bc1
    11a7187a
    18246f98
    0c059cc6
    bc9df8b6
    26394eca
    344e4b05
    d80fea83
</sourcecode>
        </section>
        <section anchor="rtp-packet-with-empty-1-byte-header-extension-and-csrc-fields-1" numbered="true" removeInRFC="false" toc="include" pn="section-appendix.a.2.5">
          <name slugifiedName="name-rtp-packet-with-empty-one-by">RTP Packet with Empty One-Byte Header Extension and CSRC Fields</name>
          <t indent="0" pn="section-appendix.a.2.5-1">RTP Packet:</t>
          <sourcecode type="test-vectors" markers="false" pn="section-appendix.a.2.5-2">
    920f123a
    decafbad
    cafebabe
    0001e240
    0000b26e
    bede0000
    abababab
    abababab
    abababab
    abababab
</sourcecode>
          <t indent="0" pn="section-appendix.a.2.5-3">Encrypted RTP Packet:</t>
          <sourcecode type="test-vectors" markers="false" pn="section-appendix.a.2.5-4">
    920f123a
    decafbad
    cafebabe
    15b6bb43
    37906fff
    c0de0000
    b7b96453
    7a2b03ab
    7ba5389c
    e9331712
    6b5d974d
    f30c6884
    dcb651c5
    e120c1da
</sourcecode>
        </section>
        <section anchor="rtp-packet-with-empty-2-byte-header-extension-and-csrc-fields-1" numbered="true" removeInRFC="false" toc="include" pn="section-appendix.a.2.6">
          <name slugifiedName="name-rtp-packet-with-empty-two-by">RTP Packet with Empty Two-Byte Header Extension and CSRC Fields</name>
          <t indent="0" pn="section-appendix.a.2.6-1">RTP Packet:</t>
          <sourcecode type="test-vectors" markers="false" pn="section-appendix.a.2.6-2">
    920f123b
    decafbad
    cafebabe
    0001e240
    0000b26e
    10000000
    abababab
    abababab
    abababab
    abababab
</sourcecode>
          <t indent="0" pn="section-appendix.a.2.6-3">Encrypted RTP Packet:</t>
          <sourcecode type="test-vectors" markers="false" pn="section-appendix.a.2.6-4">
    920f123b
    decafbad
    cafebabe
    dcb38c9e
    48bf95f4
    c2de0000
    61ee432c
    f9203170
    76613258
    d3ce4236
    c06ac429
    681ad084
    13512dc9
    8b5207d8
</sourcecode>
        </section>
      </section>
    </section>
    <section anchor="acknowledgements" numbered="false" removeInRFC="false" toc="include" pn="section-appendix.b">
      <name slugifiedName="name-acknowledgements">Acknowledgements</name>
      <t indent="0" pn="section-appendix.b-1">The authors wish to thank <contact fullname="Lennart Grahl"/> for
      pointing out many of the issues with the existing header encryption
      mechanism, as well as suggestions for this proposal.  Thanks also to
      <contact fullname="Jonathan Lennox"/>, <contact fullname="Inaki       Castillo"/>, and <contact fullname="Bernard Aboba"/> for their reviews
      and suggestions.</t>
    </section>
    <section anchor="authors-addresses" numbered="false" removeInRFC="false" toc="include" pn="section-appendix.c">
      <name slugifiedName="name-authors-addresses">Authors' Addresses</name>
      <author initials="J." surname="Uberti" fullname="Justin Uberti">
        <organization showOnFrontPage="true"/>
        <address>
          <email>justin@uberti.name</email>
        </address>
      </author>
      <author initials="C." surname="Jennings" fullname="Cullen Jennings">
        <organization showOnFrontPage="true">Cisco</organization>
        <address>
          <email>fluffy@iii.ca</email>
        </address>
      </author>
      <author initials="S." surname="Garcia Murillo" fullname="Sergio Garcia Murillo">
        <organization showOnFrontPage="true">Millicast</organization>
        <address>
          <email>sergio.garcia.murillo@cosmosoftware.io</email>
        </address>
      </author>
    </section>
  </back>
</rfc>
