Message Size Overhead of CoAP Security Protocols
draft-mattsson-core-security-overhead-01

Document Type Active Internet-Draft (individual)
Last updated 2017-09-30
Stream (None)
Intended RFC status (None)
Formats plain text xml pdf html bibtex
Stream Stream state (No stream defined)
Consensus Boilerplate Unknown
RFC Editor Note (None)
IESG IESG state I-D Exists
Telechat date
Responsible AD (None)
Send notices to (None)
Network Working Group                                        J. Mattsson
Internet-Draft                                               Ericsson AB
Intended status: Informational                        September 30, 2017
Expires: April 3, 2018

            Message Size Overhead of CoAP Security Protocols
                draft-mattsson-core-security-overhead-01

Abstract

   This document analyzes and compares per-packet message size overheads
   when using different security protocols to secure CoAP.  The analyzed
   security protocols are DTLS 1.2, DTLS 1.3, TLS 1.2, TLS 1.3, and
   OSCORE.  DTLS and TLS are analyzed with and without compression.
   DTLS are analyzed with two different alternatives for header
   compression.

Status of This Memo

   This Internet-Draft is submitted in full conformance with the
   provisions of BCP 78 and BCP 79.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF).  Note that other groups may also distribute
   working documents as Internet-Drafts.  The list of current Internet-
   Drafts is at https://datatracker.ietf.org/drafts/current/.

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any
   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."

   This Internet-Draft will expire on April 3, 2018.

Copyright Notice

   Copyright (c) 2017 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents
   (https://trustee.ietf.org/license-info) in effect on the date of
   publication of this document.  Please review these documents
   carefully, as they describe your rights and restrictions with respect
   to this document.  Code Components extracted from this document must
   include Simplified BSD License text as described in Section 4.e of

Mattsson                  Expires April 3, 2018                 [Page 1]
Internet-Draft           CoAP Security Overhead           September 2017

   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   2
   2.  Overhead of Security Protocols  . . . . . . . . . . . . . . .   2
     2.1.  DTLS 1.2  . . . . . . . . . . . . . . . . . . . . . . . .   3
     2.2.  DTLS 1.2 with 6LoWPAN-GHC . . . . . . . . . . . . . . . .   3
     2.3.  DTLS 1.2 with raza-6lo-compressed-dtls  . . . . . . . . .   4
     2.4.  DTLS 1.3  . . . . . . . . . . . . . . . . . . . . . . . .   4
     2.5.  DTLS 1.3 with 6LoWPAN-GHC . . . . . . . . . . . . . . . .   5
     2.6.  DTLS 1.3 with raza-6lo-compressed-dtls  . . . . . . . . .   6
     2.7.  TLS 1.2 . . . . . . . . . . . . . . . . . . . . . . . . .   6
     2.8.  TLS 1.2 with 6LoWPAN-GHC  . . . . . . . . . . . . . . . .   7
     2.9.  TLS 1.3 . . . . . . . . . . . . . . . . . . . . . . . . .   7
     2.10. TLS 1.3 with 6LoWPAN-GHC  . . . . . . . . . . . . . . . .   8
     2.11. OSCORE  . . . . . . . . . . . . . . . . . . . . . . . . .   8
   3.  OSCORE  . . . . . . . . . . . . . . . . . . . . . . . . . . .  10
   4.  Overhead with Different Sequence Numbers  . . . . . . . . . .  10
   5.  Summary . . . . . . . . . . . . . . . . . . . . . . . . . . .  11
   6.  Security Considerations . . . . . . . . . . . . . . . . . . .  12
   7.  Acknowledgments . . . . . . . . . . . . . . . . . . . . . . .  12
   8.  Informative References  . . . . . . . . . . . . . . . . . . .  12
   Author's Address  . . . . . . . . . . . . . . . . . . . . . . . .  13

1.  Introduction

   This document analyzes and compares per-packet message size overheads
   when using different security protocols to secure CoAP over UPD
   [RFC7252] and TCP [I-D.ietf-core-coap-tcp-tls].  The analyzed
   security protocols are DTLS 1.2 [RFC6347], DTLS 1.3
   [I-D.rescorla-tls-dtls13], TLS 1.2 [RFC5246], TLS 1.3
   [I-D.ietf-tls-tls13], and OSCORE [I-D.ietf-core-object-security].
   The DTLS and TLS record layers are analyzed with and without
   compression.  DTLS are analyzed with two different alternatives
   ([RFC7400] and [raza-6lo-compressed-dtls]) for header compression.

2.  Overhead of Security Protocols

   To enable comparison, all the overhead calculations in this section
   use AES-CCM with a tag length of 8 bytes, a plaintext of 6 bytes, and
   the sequence number '05'.  This follows the example in [RFC7400],
   Figure 16.

Mattsson                  Expires April 3, 2018                 [Page 2]
Internet-Draft           CoAP Security Overhead           September 2017
Show full document text