Re: [Suit] Fwd: Firmware Update Paper

Szymon Słupik <simon@silvair.com> Thu, 05 December 2019 01:31 UTC

Return-Path: <simon@silvair.com>
X-Original-To: suit@ietfa.amsl.com
Delivered-To: suit@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EEC45120111 for <suit@ietfa.amsl.com>; Wed, 4 Dec 2019 17:31:15 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=silvair-com.20150623.gappssmtp.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 5VF0olOZiqSW for <suit@ietfa.amsl.com>; Wed, 4 Dec 2019 17:31:13 -0800 (PST)
Received: from mail-lj1-x232.google.com (mail-lj1-x232.google.com [IPv6:2a00:1450:4864:20::232]) (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 C140B120058 for <suit@ietf.org>; Wed, 4 Dec 2019 17:31:12 -0800 (PST)
Received: by mail-lj1-x232.google.com with SMTP id d20so1503587ljc.12 for <suit@ietf.org>; Wed, 04 Dec 2019 17:31:12 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=silvair-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=WA5oefA5xy8dbkjZf/rHjLDRRJPeTBb7duejxevNB2U=; b=HI+ynHtvZ2uZhRHSD5KDxKiJY2uAaxJ2p3COdgCcL7yzBF4bafV/vmmwVrSRKF6DhO a+jBkaWyTqxga7S3yE6/vKBdPxmLYwu/i8RNfqUJjA75d5f1XUsO3wFX3dRMh85GQBn4 TvnoXE64rdDfCjdOjeNT5ywH2OkjdfgTr4fTeHsSSJ5RBrBAYG1QJy7AKeb7YJPJRltw vD0Bc8vsJbUg9KjBMs5pmIEd97hS25UIsW406TqXX0wWzfey3V0t0G3yrRVzHThyQg+h bTbyV2DNo5YfvHvCInu8Ms4ORXZRlWBw7fqptYVzd3m1T4F8t9O+/IRh6rYe6WlSBKVX LHIg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=WA5oefA5xy8dbkjZf/rHjLDRRJPeTBb7duejxevNB2U=; b=Fk16pMhEScX7Ewmwm7Ilcn9qO1TSlpkudnNrbCS0TI170LHVr7gPe7/95NylNOCWwU XzcOeWcJ4tawd//B9ln3IzUfbduHzw9fiFfM05VLEzMIY6XdfZhuHrwiX3OUwQaYlJfh 75WMWlx8ZwZhMSvlQFYhRGnkt9rPfUmuZiN9l+R9hLay2704E7RnwajGsC3zvZ6DQeNR th801hrvwonwAbjqkvxsPtAuzM9QXygJNjz2KdO6BkeWuyQd+J1yKCxjecGVkQ7W5NTt 9ThGYfzDuBIJCQhUIG+6xL3/2lsKY5b5SmjmkZsk5Awb+uOv760pMdciifbPNatb3RAh Qg1w==
X-Gm-Message-State: APjAAAUN8Am4GyAcCJkz+C3h4HZ1TIF8m2Jdw6fUfP1A80wcG2t/Ya+b JJh2L0Mkjy2viKNDorncjU19DPOnhHhgpl4gEi9FYA==
X-Google-Smtp-Source: APXvYqzKQbUIcjDiItoYJHhmo8eG422qwZ19TYLYiBzZ5Z7J2fEBhijqpjq2DXWVHhWOy80qVR/SG8H2TmgV/dSW4Nc=
X-Received: by 2002:a2e:9758:: with SMTP id f24mr3890191ljj.105.1575509470817; Wed, 04 Dec 2019 17:31:10 -0800 (PST)
MIME-Version: 1.0
References: <VI1PR08MB53600B1D1A194F49B67B90DFFAC60@VI1PR08MB5360.eurprd08.prod.outlook.com> <20191127203651.GA117656@davidb.org> <CANK0pbaWkn7w2swRgkOqsTubE1os=rDo2BLjrTZ5eW6ePv3WnA@mail.gmail.com> <20191129183627.GA16289@davidb.org> <DB6PR0801MB1879D9742622EA0AE08A8B72EA430@DB6PR0801MB1879.eurprd08.prod.outlook.com> <CABNHR1yEFvgEzHjBhpqTW-FX+LQTVYuSJE_9SP9OMwzjWsdORQ@mail.gmail.com> <CANK0pbaf8TTtMOSKHD0D-73+MCzSdjk7p+6hVO0WzpSxhF2fVg@mail.gmail.com> <CABNHR1z4N=uH9d5DvyYi17DCULqu3T6Ve9k-_EJr-37zUjF-uw@mail.gmail.com> <CANK0pbYGbzu8VAr7ZuzUOY1yQ75qkMKQ6PAncZCfkH2=RZWNUQ@mail.gmail.com> <CABNHR1wOXx6QRYMMFgnNs12qtc5Ofs8MdR-Oe=d4KRCzXtaiQA@mail.gmail.com> <CANK0pbagZtjzE4vsW6ez76aT2sFeNj_vMr=fKP8Xo6kvCcSF9A@mail.gmail.com> <VI1PR08MB5360CF7EFDF7C550D0D7E755FA5D0@VI1PR08MB5360.eurprd08.prod.outlook.com> <5719.1575486149@localhost>
In-Reply-To: <5719.1575486149@localhost>
From: Szymon Słupik <simon@silvair.com>
Date: Thu, 05 Dec 2019 10:30:30 +0900
Message-ID: <CABNHR1zPxMcgSg0cpci8zs-zR5v38bYZjE8Hyu2OOw67-vuXMQ@mail.gmail.com>
To: Michael Richardson <mcr+ietf@sandelman.ca>
Cc: Hannes Tschofenig <Hannes.Tschofenig@arm.com>, Emmanuel Baccelli <Emmanuel.Baccelli@inria.fr>, "suit@ietf.org" <suit@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000005942bb0598eae218"
Archived-At: <https://mailarchive.ietf.org/arch/msg/suit/csvxxzInDQ2NhbLhKfBlqlnXUJI>
Subject: Re: [Suit] Fwd: Firmware Update Paper
X-BeenThere: suit@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Software Updates for Internet of Things <suit.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/suit>, <mailto:suit-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/suit/>
List-Post: <mailto:suit@ietf.org>
List-Help: <mailto:suit-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/suit>, <mailto:suit-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 05 Dec 2019 01:31:16 -0000

All,

Thanks for the helpful answers.

Michael,


>
>
>
> *It occurs to me now that the development of an update protocol over
> 802.15.4(which I mentioned in another email in this thread) might be
> appropriatelydone in the 6tisch WG, since I actually think that the
> bandwidth andscheduling of the update is probably the critical part.SUIT
> has the security done... so we have the HOW.  We just have the WHEN.*


One other approach to explore, very applicable to FW updates, is multi-hop
multicast, as in many scenarios you are updating more than one device, and
many of them are identical (like lights on a big parking lot).

--Simon

On Thu, Dec 5, 2019 at 4:02 AM Michael Richardson <mcr+ietf@sandelman.ca>
wrote:

>
> Hannes Tschofenig <Hannes.Tschofenig@arm.com> wrote:
>     > The signature verification was performed with the HACL library
> (ed25519) on
>     > an ARM Cortex-M0+ and took approx. 7 seconds -- so yes, pretty long
> indeed,
>     > in this case.
>
>     > [SS] Does that scale linearly with image size? Do memory
> requirements (RAM
>     > usage) increase with the image size?
>
> I guess what we want to know is how much of that 7s time was the ED25519
> operation, and
> how much time was the hash calculation.  Only the hash calculation would
> scale with the image size.
>
> --
> Michael Richardson <mcr+IETF@sandelman.ca>, Sandelman Software Works
>  -= IPv6 IoT consulting =-
>
>
>
> _______________________________________________
> Suit mailing list
> Suit@ietf.org
> https://www.ietf.org/mailman/listinfo/suit
>