Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp4676187pxu; Wed, 21 Oct 2020 02:23:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw4cZDPyXb/S2S0J+98v9WLpmHpaRyS79zqoiR1trzHMwrhjX8QGJrmtJX+t/siQEXWxLAn X-Received: by 2002:aa7:c2c4:: with SMTP id m4mr2244756edp.172.1603272185475; Wed, 21 Oct 2020 02:23:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603272185; cv=none; d=google.com; s=arc-20160816; b=Seo6EMs6zbvl/1lr3KNi9JghWAvjjeDv/uUMrl/njTtrsKsvBpMWwMS/XtqbdqkxWg GBPLn3DrXM+uvryXmiZMzUSRvAa1YM92FFiihQi8KayBruiBfz+vVMTF9qZnTO6MMKSV N/igM7C4acwq0mOKMm4xKgdCfWe9T3P2t4aWhEPabT1gvfno0UQMBkGyVrNTWVvHTBFC kAnDE3k/m1U1uV3fOYxpf96igslKPmrb0Itw/JJ1Ji9gdUnsQfH8b5XUOi4ITeSEy3aL QwOAziC/riFE+0ke6CyI78OJuFMb0yGILFoJhkDpwJ9mpF+wzVJZnT+bj8EnV7Wta8CQ q/+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=kjdokkT+bfPPVpMzenHKs7+Qeyx8aKmmkfXa9e6xoIQ=; b=W0P7sDs7YE22B5o4ZiKNTspvUmosszCeI0yDDjKU3V6hSSSdcS2tNsnWC2MkliERwJ PyRXA5SQGeRW6rxpq9SuCHgZBl/9NRlyVYwUxDSTWRG6DmREfnQ218SD9ROI7WZurJok LGs1K7m1sG0MsFwOydX5b0BkGFCb27J2Zs15vk/nuaXWkr6F7TFxnu06s2q7ORfIYpHV j+0HBe5bsmdU1vj9z774eejc7uLRBe33h6HXHpzDgUqhaRRAVkICu/dRauKpwbpZnFjw pqCi8kIVLOe2+HKPCyrjuOUtXPdnuoLK/w3f/9qegc2g976gpOajkPyi1mWnHbaY6Sf2 mSQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=CIBnvO4X; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z93si996741ede.272.2020.10.21.02.22.35; Wed, 21 Oct 2020 02:23:05 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=CIBnvO4X; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2437915AbgJTS5T (ORCPT + 99 others); Tue, 20 Oct 2020 14:57:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53596 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2437914AbgJTS5T (ORCPT ); Tue, 20 Oct 2020 14:57:19 -0400 Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C7DFDC0613CE for ; Tue, 20 Oct 2020 11:57:18 -0700 (PDT) Received: by mail-lj1-x234.google.com with SMTP id a28so3182231ljn.3 for ; Tue, 20 Oct 2020 11:57:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=kjdokkT+bfPPVpMzenHKs7+Qeyx8aKmmkfXa9e6xoIQ=; b=CIBnvO4XIBKlsGH83odMJ6ahjguUIej/QMsOMG7sgigECFTWstjR+ArtFDKrblpQxP 8aHnKK4oVPIzSd9ycwEszdlS7zq9KaIVP7D7W9dnFqNTXN2QIiq05lmHtj6pKKjL3H+5 dpTaNcHU7j7zNr4ZpXKSOh1vJ0b9kyCgl3hgxsbVRs+1VUGMMtn9QSXd8NiUwkY/n6Hu 9MZ2r5/72vb3n2OU0EdFe5BnwafNtixe94/eWv7KbpTwAfvMsJqHgAvye2dwCNR8cYX5 oPnjSlOpQMgbfvrvCddDGkuwAZFoxPFwa8Wl02kYCRV3z1k77GIXpl5rkSfdKhnPE3QZ YY4Q== 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:content-transfer-encoding; bh=kjdokkT+bfPPVpMzenHKs7+Qeyx8aKmmkfXa9e6xoIQ=; b=VvCMxqtCrMppvBXowd55LS2vIYAhby5PRZcz2L+v506yTVdXmKap4IeOKuUiCBpUTj e8HCG9+jtyUwTSxzQmvC3wXRzhhB+NXdgzLEQUAlaAkQMxMedI8cH7QC74DgDYDDHKMr a+qhL+IHE3mW2GGRIXd2azpkhfKIUCFWJR922/Romy5CmFVhfgjBZfMvUNNwA0Tu/H9h A7zrNqQIDLKV72AGjBB90+HMOKciBnYi0bZ6zKctWFYNuKB5JVeLHcZjxCbgcoMRuFPK j1OR6gdV2qOR0GwfvIeQmw7kJekqVvsZGBrFu/fvcgbf+x3eHQw+eS9IWSTC4oR6j/fO IQuA== X-Gm-Message-State: AOAM530Q+5qZT0K0M6QZN+R5NjaY7MDoj5I5CU0rAj1kf4yNhFArFmHs sy8UkHwAOmQ8OZDftnbUSU3wchApZArzkp1UeZ+/vlmQ0DI= X-Received: by 2002:a2e:145c:: with SMTP id 28mr1839345lju.68.1603220237109; Tue, 20 Oct 2020 11:57:17 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Alexandre Augusto Date: Tue, 20 Oct 2020 15:57:04 -0300 Message-ID: Subject: Re: Entropy source based on the RSSI To: Marcel Holtmann Cc: Bluez mailing list Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Marcel, excellent. Let me know if any clarification is needed. Best regards Em ter., 20 de out. de 2020 =C3=A0s 15:38, Marcel Holtmann escreveu: > > 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=3DiAKaKAmqCFo > > > > 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 it= s > own LE random generator and an initial passive scan to gather RSSI values= . > No need to push this into user space. > > Regards > > Marcel > --=20 Alexandre Augusto Giron Professor da UTFPR Doutorando em Ci=C3=AAncia da Computa=C3=A7=C3=A3o (UFSC)