Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp4679593pxu; Wed, 21 Oct 2020 02:30:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzDW0GNqo5/rQu4j6Ul9Z3Vkaf0+T4Fxo58d2Kuc6qgpfDO3VU5eK0MeR+XXDksOJ7Kybe+ X-Received: by 2002:a17:906:d1ce:: with SMTP id bs14mr2480257ejb.548.1603272607041; Wed, 21 Oct 2020 02:30:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603272607; cv=none; d=google.com; s=arc-20160816; b=dNCsXd0oEB+lZ4WCh8SAzrIibWuR7kXGDi5TC2p8IaSR+OoDqseVJ7sGdkZ4BIs0yK P0Fkp5h6nY46b2yvZu2F2UT/qFR7C10UCa6QIw5TKTcd+0kFna6QI1zaS7etJMvkyNE/ QNVm1b35uoLQjwVd4HpKsAw1yivPVtAOa5snw3Ltu9Ap9Sv3V9vDnHph5gapP8TJR0qH TNskCRoGpD3PEYW5I/o5Cf1dytdwRpBjniCaeKLPLIccti05sgT+SAHPQzzkdZikR5zJ xa6JrDe62BT350Mw3WFpsRbaiWy50D+r7tacLGWNjIQ5LIldyCNIYa27ssCFH5R/orgF BC9A== 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=7GU1H0h9UBubdWAWqWMxlmAZQoK+Olw+C+P1XGiZZQE=; b=wRCjYLV59zMxjWG65XA8ZasGsUTOIC6hRvAYVUY4HJYEMi+vAhyNfveg4LFlKwv4Sq AXtO1HWnwdW9sK3Bx1YYTnTazLb4w+CZ9VAGI0tLawLB4yutpotmcDS21la0rHGFT5S3 yhYGd5xyAs3Hej5sVfkpZ7rJpWELIpcU+/SUy6qVupPdnEzTD7Zhn4Rt+0Q51xwnmJgv X6ZhxFqOwd57YJv0EqWyhag2uJfzh4rPsf1L8q2yVblsyCylUZcIjdC/3yRZxJg9DT9f KHzCFzge7GARopcS5G6WvBZ8mCRcCh6u57nOeu38vDzr9nFWxfUpQS6dyCzzYoPjnHYG OOYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=rJoI2FaQ; 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 i26si1040485eja.557.2020.10.21.02.29.42; Wed, 21 Oct 2020 02:30:07 -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=rJoI2FaQ; 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 S2391719AbgJTTUO (ORCPT + 99 others); Tue, 20 Oct 2020 15:20:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57126 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391532AbgJTTUO (ORCPT ); Tue, 20 Oct 2020 15:20:14 -0400 Received: from mail-lj1-x231.google.com (mail-lj1-x231.google.com [IPv6:2a00:1450:4864:20::231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CFF39C0613CE for ; Tue, 20 Oct 2020 12:20:12 -0700 (PDT) Received: by mail-lj1-x231.google.com with SMTP id a28so3246523ljn.3 for ; Tue, 20 Oct 2020 12:20:12 -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=7GU1H0h9UBubdWAWqWMxlmAZQoK+Olw+C+P1XGiZZQE=; b=rJoI2FaQ3pkxI7xH6L3mHmcjOwBSF2V4W3WJJaeCNiY4P/QOtOKIVCS5KWKWD9Tvsk m6PWSWFQLaVnFRg/eYnR2YA/IvoMtZQ96boy6GcZcY0kFQ3ukrDAycpbf8jzetR7krtK Ok2RgfBUcxOyjl4dFhT9zccT/1Uh/j/JH+9G8p/k/4oZXa/BET0BMpvfilAQK6Hn9McX QMXeWLzSadm/ieuGytCak30Q1FellkT4y7p8YHiMTehGejxKHbGvRTyz4DRC+vebuRhP RPAW3Eo16i06mAhFA4CXwSH3DWveZknPTKPY9prZKtLWEPcixQADHeYVIu4JwtTmPVY6 XlNg== 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=7GU1H0h9UBubdWAWqWMxlmAZQoK+Olw+C+P1XGiZZQE=; b=Eoyp2+ve8N188Fd1SknDSJCpFqHFS+WbFlm8VFnOnjso7tKbQrwQ4kKD42sUSf098h 0JXUVPxCqWyEIden2TTd8Kn7RGnwbAQc0S7VOXyghUfxDkhgcT9w5QP4czdBtuSFBxkU GhlnOQCA/HsJrzX/3Tac/pOBmNqRr07Vw2IITLh7HASKfJYO7H7euyccnVRbm7IcRPGX 1QojWHbMVoINTPkrBTxzbrL0CQRTTKIlCk68wFtNXYgP2IGDkk8Ec0BdcS2YHacjF00s 2OuTw5ZZ64H2zzZ89VioiLKkBc5H0JSndArPFQh7O129L9+IuAjmTrqfAvfls705/NwA hGBg== X-Gm-Message-State: AOAM533ox25t++736UUMHPHccyWuAVQ41lSL8Fp532uXi5rpDIovDYhf laO9p5kCErEm3JCloL6jVGcZDT8SIXgtQzjDYa8y9edoBXM= X-Received: by 2002:a2e:b528:: with SMTP id z8mr1803374ljm.205.1603221611161; Tue, 20 Oct 2020 12:20:11 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Alexandre Augusto Date: Tue, 20 Oct 2020 16:19:59 -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 Sorry, I think I misunderstood your email Marcel, apologies for that. But yes, I have a sketch for this as a kernel driver (but still non functional). Nevertheless, in my repo there is a proof-of-concept version that I used in the experiments presented in the video. Thanks for the feedback. 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)