Re: [Ace] [EXTERNAL] Re: EST over CoAP: Randomness

"Damm, Benjamin" <Benjamin.Damm@itron.com> Wed, 15 May 2019 14:28 UTC

Return-Path: <Benjamin.Damm@itron.com>
X-Original-To: ace@ietfa.amsl.com
Delivered-To: ace@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CE87D12004B for <ace@ietfa.amsl.com>; Wed, 15 May 2019 07:28:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=itron.com
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 BB_pgzAA8mEi for <ace@ietfa.amsl.com>; Wed, 15 May 2019 07:28:43 -0700 (PDT)
Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-eopbgr790059.outbound.protection.outlook.com [40.107.79.59]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B27F8120019 for <ace@ietf.org>; Wed, 15 May 2019 07:28:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=itron.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/fbLW+xPURkZic4RQqCmQzZilyvf5kXgtdFzzuMpBg4=; b=cTT9lnTlKM+L7v0HVNvBIZRhAnN3kNNsF0L57o1fy7ujAB1F0ICb6ilor04438O0KzjKj1WWkcyKfPBpnMtZtEZdAZMZUXcL0biCAubh+aEsJ1URVpis4CIkjwnYZe1gqM11GA4tElOgashIQhaheVBr+sxP66y5LutdACdZZQs=
Received: from SN6PR04MB5165.namprd04.prod.outlook.com (52.135.116.211) by SN6PR04MB4896.namprd04.prod.outlook.com (52.135.114.77) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1900.16; Wed, 15 May 2019 14:28:40 +0000
Received: from SN6PR04MB5165.namprd04.prod.outlook.com ([fe80::7d72:f582:bf3b:302]) by SN6PR04MB5165.namprd04.prod.outlook.com ([fe80::7d72:f582:bf3b:302%4]) with mapi id 15.20.1900.010; Wed, 15 May 2019 14:28:40 +0000
From: "Damm, Benjamin" <Benjamin.Damm@itron.com>
To: Hannes Tschofenig <hannes.tschofenig@arm.com>, Paul Duffy <paduffy@cisco.com>, "ace@ietf.org" <ace@ietf.org>
Thread-Topic: [EXTERNAL] Re: [Ace] EST over CoAP: Randomness
Thread-Index: AdUGcOnxX76zbRm2S2qe/nEWIh3V6AEMI0QAAAJINfAAH7kBBA==
Date: Wed, 15 May 2019 14:28:40 +0000
Message-ID: <SN6PR04MB516505FF98223DDEFC4FC256F8090@SN6PR04MB5165.namprd04.prod.outlook.com>
References: <DBBPR08MB45393CDF71E7DB02F6C6938CFA330@DBBPR08MB4539.eurprd08.prod.outlook.com> <0a75faf6-0968-d266-b99e-cf400b311477@cisco.com>, <fac2c92b-ca2b-492f-82ee-82b67cfda10e@sjc-ex16-04.silverspringnet.com>
In-Reply-To: <fac2c92b-ca2b-492f-82ee-82b67cfda10e@sjc-ex16-04.silverspringnet.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=Benjamin.Damm@itron.com;
x-originating-ip: [20.41.63.67]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: a4f1576b-ae68-4bca-21af-08d6d941a084
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(4618075)(2017052603328)(7193020); SRVR:SN6PR04MB4896;
x-ms-traffictypediagnostic: SN6PR04MB4896:
x-ms-exchange-purlcount: 2
x-microsoft-antispam-prvs: <SN6PR04MB4896E9E214E4BBAA58BBF40EF8090@SN6PR04MB4896.namprd04.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:8882;
x-forefront-prvs: 0038DE95A2
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(136003)(366004)(39860400002)(396003)(346002)(376002)(13464003)(40434004)(199004)(189003)(316002)(9686003)(55016002)(7736002)(6306002)(54896002)(2906002)(68736007)(6116002)(3846002)(7696005)(110136005)(76176011)(52536014)(33656002)(99286004)(74316002)(6436002)(102836004)(66066001)(6506007)(5660300002)(25786009)(53546011)(229853002)(186003)(91956017)(81166006)(81156014)(5024004)(8676002)(53936002)(64756008)(76116006)(66446008)(86362001)(66946007)(73956011)(26005)(66476007)(446003)(11346002)(486006)(476003)(71200400001)(8936002)(71190400001)(66556008)(14454004)(6246003)(2501003)(966005)(478600001)(72206003)(256004)(14444005); DIR:OUT; SFP:1101; SCL:1; SRVR:SN6PR04MB4896; H:SN6PR04MB5165.namprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: itron.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: pmgawGWn5raHi72AwTkvssm9jZQL70JeQ/verJy8sECrW1zieBgLPPGZleAg0qGpvwEcdtwDkNcVsoNDQz/wEH+SYu1ulglW5mj/B9LmBx1NyjAlM1CWSt+3aKlQ/cOJjK5NatWV1zSLF4N8c44jKIygYhUpgXo6yKBAuxsR5E4BVkwX8rjiraMT4kFAgY4uLCRa05thskTfM1hHVP3K0bCpZyRDyue6rO7v71FW8mQFOPkB22tQj5QQFBkwrBbIzS0O8E5UTWgYs3T9pBJZtJi3tFU6L0AsWY6QD0qCH3QaAJlnknjqgK1xQA8ox6EIqd1effqkL+z2Farky45bsSLoeoUOErpAduSwUkGI/tII6ibL7LaUJ84e8B8T7ll/j7dDZpptOHRWVSku3NyvA+W1c0WcQhWNyzG4Cm+TgpQ=
Content-Type: multipart/alternative; boundary="_000_SN6PR04MB516505FF98223DDEFC4FC256F8090SN6PR04MB5165namp_"
MIME-Version: 1.0
X-OriginatorOrg: itron.com
X-MS-Exchange-CrossTenant-Network-Message-Id: a4f1576b-ae68-4bca-21af-08d6d941a084
X-MS-Exchange-CrossTenant-originalarrivaltime: 15 May 2019 14:28:40.7590 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5818bd20-bf25-47b1-b996-d419d7e6e8ba
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR04MB4896
Archived-At: <https://mailarchive.ietf.org/arch/msg/ace/Gz9rgOzaJHZjjykW78Nn6d82IXw>
Subject: Re: [Ace] [EXTERNAL] Re: EST over CoAP: Randomness
X-BeenThere: ace@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Authentication and Authorization for Constrained Environments \(ace\)" <ace.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ace>, <mailto:ace-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ace/>
List-Post: <mailto:ace@ietf.org>
List-Help: <mailto:ace-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ace>, <mailto:ace-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 15 May 2019 14:28:46 -0000

Low-throughput RNG should be a must for IoT. Certainly in our environment devices that are unable to generate keys would be unacceptable. Hopefully we won’t codify such an abomination in any protocol.
-Ben


Benjamin Damm
Cell: +1-415-297-5474
Web: https://Itron.com

________________________________
From: Ace <ace-bounces@ietf.org> on behalf of Hannes Tschofenig <hannes.tschofenig@arm.com>
Sent: Tuesday, May 14, 2019 4:29 PM
To: Paul Duffy; ace@ietf.org
Subject: [EXTERNAL] Re: [Ace] EST over CoAP: Randomness

Hi Paul,

My understanding from reading the draft text was that the "cost" was actually talking about "energy cost" rather than "monetary cost".
The monetary cost may also be interesting.

It is difficult to judge the extra cost of a RNG in an MCU because
(a) you rarely find an MCU with and without MCU (keeping all other features the same),
(b) even if you find one there are other factors that impact the cost (such as popularity of a particular MCU),
(c) RNG features are often provided with other features (such as SHA256 and AES in hardware), and
(d) cost and price of an MCU are different aspects.

Ciao
Hannes

-----Original Message-----
From: Paul Duffy <paduffy@cisco.com>
Sent: Dienstag, 14. Mai 2019 15:08
To: Hannes Tschofenig <Hannes.Tschofenig@arm.com>; ace@ietf.org
Subject: Re: [Ace] EST over CoAP: Randomness


On 5/9/2019 10:42 AM, Hannes Tschofenig wrote:
> I believe we should encourage developers to pick the correct hardware for the task rather than making them believe we have come up with solutions that allow them to get away without a hardware-based RNG.
>
> I also do not believe the statement that random number key generation is costly. Can you give me some number?

Strong agreement. The added cost for hw based RNG is ever decreasing. Last time I checked it was on the order of 50 cents @ Q 10k? It has likely fallen since. Confirm with Atmel etc.

Cheers


IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
_______________________________________________
Ace mailing list
Ace@ietf.org
https://urldefense.proofpoint.com/v2/url?u=https-3A__www.ietf.org_mailman_listinfo_ace&d=DwICAg&c=pqcuzKEN_84c78MOSc5_fw&r=GYGBKg0XeEBnyXmKSs4zZ6DBOYB5tLwwWSrFtYahCvs&m=dH_774yB0_IzrwFvyY1Iio9qthZz-eV34lbAEv3Y3kY&s=WChHRMoeN8IO06GYZPU1yk3uh76KEHoR7q9Hx7nhGcs&e=