Re: [Cose] Key management for MACs (was Re: Review of draft-schaad-cose-msg-01)

Brian Campbell <bcampbell@pingidentity.com> Fri, 10 July 2015 22:34 UTC

Return-Path: <bcampbell@pingidentity.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 857D41A00B4 for <cose@ietfa.amsl.com>; Fri, 10 Jul 2015 15:34:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.378
X-Spam-Level:
X-Spam-Status: No, score=-1.378 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1eWavDoKvv-l for <cose@ietfa.amsl.com>; Fri, 10 Jul 2015 15:34:35 -0700 (PDT)
Received: from mail-ig0-x230.google.com (mail-ig0-x230.google.com [IPv6:2607:f8b0:4001:c05::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 970191A009E for <cose@ietf.org>; Fri, 10 Jul 2015 15:34:35 -0700 (PDT)
Received: by igcqs7 with SMTP id qs7so22622745igc.0 for <cose@ietf.org>; Fri, 10 Jul 2015 15:34:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pingidentity.com; s=gmail; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=IGK6kppwBA4sV373sDqklVb5PWYqn9jO4nR30om6bY0=; b=B3nKJPnCQhLOe6gQPiGZsG/HwWLsiHrZNNrQ5Uk1tRrzDWiCiW3prQbNbSs5wEa5n6 cxF4SribPlnihLsxomod2qoSZWNz+cHixp9Ry9oLurCDR1KncgfRxIqixGikfmx6GxSJ KWgbLzo+GWwODtVgCe/KaCM5ffwQPbatwdyhU=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=IGK6kppwBA4sV373sDqklVb5PWYqn9jO4nR30om6bY0=; b=bd1UnBLNEgyaYh3v760WFvtmSpq7/6YwMxD+WBmtKTnusqhXfSONLZXy2Ew0kaCnLF x2Bb+gVOv34Mil6Iu1xSZk1yuU78ZHIUDB2j/HepLhd4rUdN1B8xsMN+pPsl6hN+GAqx HtSxZ2LIltftW3Hn6fG4dISSaEQ0bXvtA7WJW4hMqSr+knT8bBfb9dOU1FcMUASksy61 C0CTykn/1DuDyyLTFEKCk01+TqdihrOzEZyHGEwsvwXUH5GKd1v82kw+XM3VXLOQ4Ih3 NRI5DA67leAjdOgoREHTJrhmgLdgrtjxKq0PMwiYtp/wgdy3KwEolJnq0SEuMXFrcmjD +//A==
X-Gm-Message-State: ALoCoQlfeb85nqFUqV05TdJv0iML3RYDuAwLbk/H4MaUMIAEjc5KVL3I3GLUbq60y/jx4yg4LQ6W
X-Received: by 10.50.30.226 with SMTP id v2mr1017471igh.3.1436567674968; Fri, 10 Jul 2015 15:34:34 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.79.96.199 with HTTP; Fri, 10 Jul 2015 15:34:05 -0700 (PDT)
In-Reply-To: <001401d0bb5f$a98fdf90$fcaf9eb0$@augustcellars.com>
References: <CA+k3eCQUPxZfWM9XcKaTLN-WOx2cHEi9SAGSRFTtv71iSCUqdQ@mail.gmail.com> <559576A9.9090002@gmx.net> <BY2PR03MB442C02F758E34B29BBD0CEAF5970@BY2PR03MB442.namprd03.prod.outlook.com> <001001d0b90c$3c874af0$b595e0d0$@augustcellars.com> <00c501d0b9a5$c8f869d0$5ae93d70$@augustcellars.com> <CA+k3eCS-7UK9RDfnkKCLK0ApTdNhSamYY3LL73+e1=rBvz7vDA@mail.gmail.com> <000f01d0baad$8a781b20$9f685160$@augustcellars.com> <CA+k3eCSHOjdWyqbRAWR8AitEA5Z-vekUcCY7XQpFj=n2vhsi=A@mail.gmail.com> <001401d0bb5f$a98fdf90$fcaf9eb0$@augustcellars.com>
From: Brian Campbell <bcampbell@pingidentity.com>
Date: Fri, 10 Jul 2015 16:34:05 -0600
Message-ID: <CA+k3eCRe+OimGD3n_m59EogP5geeCq4SSNQu6k_ECuj_63c5pA@mail.gmail.com>
To: Jim Schaad <ietf@augustcellars.com>
Content-Type: multipart/alternative; boundary="047d7b86d502f67ece051a8cf91c"
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/nHcOx7XvjwFAUrV-BPC2vRnooXE>
Cc: cose@ietf.org
Subject: Re: [Cose] Key management for MACs (was Re: Review of draft-schaad-cose-msg-01)
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 10 Jul 2015 22:34:36 -0000

Really, there's no overhead from the key management part?



> I've admittedly not done the comparison but the message size overhead
> seems like it'd be similar with something like ECDSA (admittedly not RSA).
>
>
>
> ECDSA = 2 * SHA-256 or 32 bytes
>
> Truncated AES-CMAC is 8 bytes (64 bits)
>
>
>