Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp4670342pxu; Wed, 21 Oct 2020 02:11:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwkKYP3wYn0+JLz623o6RcTiYIa/0RGDTzrkQQAb2Zlkj3zTWSeOjeCSnsbIOhO65IA/tfH X-Received: by 2002:a17:906:5052:: with SMTP id e18mr2372615ejk.530.1603271490783; Wed, 21 Oct 2020 02:11:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603271490; cv=none; d=google.com; s=arc-20160816; b=WffmGu87OM9/rgI/59nicyEPXLuvser27AhwrIT+8eGq8PLKIr9icvi6bWe5h1qw2O LD6tJf7kPL+N/wvB7WrtAfIjWrVN6uGevVCNkYFjfEsLgmBq4zmDK+4d3Dn5JOvdceUz Dg23CX8tPfBGAAJF5VMXUQ+2HSrV6ieFdUD1C3dKWgcJjIiwVqsb70/Y7eFycgQSpk8j i5cjLLJGqOoNpXSbeY+cXh4ygaJnX9zK7jaBhy444nvGM5WtzoCnzohbNm+KQF3AKvIp 0pMNO3NAcQzjKySvpwBhH5/JsbauMBJ2cq9jh4DyLZE7mysMWk+782Mod4wBbPWgFB32 gdEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version; bh=OwZ4lwi8JD+gjWBYBzVuv5GC3TI7NzA2MSpnMdlgWGE=; b=ct1zpJpB79EHs8ZOGcPP+eGw4/T1+q0lDEAatsVC3EbVi2g87qmPipRrgE71aWha32 A1gQ3qhNF3T4mbc/T5vI1A6k1ty/JFlGr3Cd9qg0yGjswstr6Hnz3ovZ+ReIdRZ5xwUC 9eYnwpQJPK2b77ilL2B9SX7sZNC6a6AKD1D8jYdoZph2PN64ekdiwUiWm4qjHU4sYSfa FhulDHYlkD10LpwPk6jbuOuChaMigtr+3UI9J9aLldwr5f9O5R21Uunyu9/CP95+K/Gd ZigQ7keqFzcw6UJaGpT6ro2OadvBmcvRPkJKrXMatLGJbJcIUfOe+dr3yK+MOzZLQWjo IUfw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l90si929595edl.249.2020.10.21.02.11.07; Wed, 21 Oct 2020 02:11:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389120AbgJTSiy (ORCPT + 99 others); Tue, 20 Oct 2020 14:38:54 -0400 Received: from coyote.holtmann.net ([212.227.132.17]:58558 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388540AbgJTSiy (ORCPT ); Tue, 20 Oct 2020 14:38:54 -0400 Received: from marcel-macbook.fritz.box (p5b3d236a.dip0.t-ipconnect.de [91.61.35.106]) by mail.holtmann.org (Postfix) with ESMTPSA id 6F9E0CED0F; Tue, 20 Oct 2020 20:45:56 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Subject: Re: Entropy source based on the RSSI From: Marcel Holtmann In-Reply-To: Date: Tue, 20 Oct 2020 20:38:51 +0200 Cc: Bluez mailing list Content-Transfer-Encoding: 7bit Message-Id: References: To: Alexandre Augusto X-Mailer: Apple Mail (2.3608.120.23.2.4) Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Alexandre, > based on the motivation that IoT devices do not have many entropy > sources available, and also on the fact that trusting in a single > source may be risky, I have researched some additional ways to collect > randomness for the device, using bluetooth technology for that > purpose. > > For those who are interested in: > > Github: https://github.com/AAGiron/Bluerandom > Presentation: https://www.youtube.com/watch?v=iAKaKAmqCFo > > I also want to say thanks in advance to Emil Lenngren for his valuable > comments, here in this mailing list (back in 2019), and also to the > Bluez community. I would integrate as kernel driver. The Bluetooth stack could just use its own LE random generator and an initial passive scan to gather RSSI values. No need to push this into user space. Regards Marcel