Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp14334ybj; Fri, 8 May 2020 05:31:56 -0700 (PDT) X-Google-Smtp-Source: APiQypJBLitfVo8IEYhuiMZRRhoRPJeX6Sv7h1ubC+r+QWDKAY1qDc2FvPbpqMI9vpbSQL6n95Kz X-Received: by 2002:a17:906:328c:: with SMTP id 12mr1539408ejw.69.1588941115837; Fri, 08 May 2020 05:31:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588941115; cv=none; d=google.com; s=arc-20160816; b=UfbROJC2+a6aSFpwp18kAjEIwpQ8a7r7REjH/vuone1cFxaQTqQkURvUI4CJzYJAa1 2RBrOtV5Zbcr6d2vlLy1Bbpa+QiSDteYwT1ib1vvejCpM0/VEGD0B6TUWLO2UxlKDA42 GOxu6y9Vnqm3rUESBB5/w33HZdyaK/LrPuuZth28NAP2to8WxnEVCZvbc8KqsQpP8ef3 PkBWOpYWNaIK+hNF9fHtmnWPbVoCFlf9nm0vG5x2eOjM8jOjv+JBMZKgZphdABKR07kU A1NbG6P3Lm1kdxc/rTwP7k7XKu5GxEcNQ2/h87cgjN4EDVriUcMGaRwg96POcPfnx/Jc MW+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=qlLfPHVlrCRGCHJwPAmHIg3OIWLDKZ6MsIUQoaaBUx8=; b=DVH/mNA6duTDtovV860AG1sCUM/P9r4jbD+Wormz9hZ8MWUDOiAJaUDHY1cDSL3Bf9 tdgwvDvniAJBbNMI+9jahemj/sgMtOQk2UOlMHZblUdv74O+hdwbOnJXj8Tm/4kFuzqX pkg+JZO8Y0NSSS40Mn4465ssyr9yDiBUuj8yoPRBMIFw69/oBBHxk8jXzzely/ZXls5N 6YW8zzDxRspSMCzgVk1huQk3DOp8mAMHv2uyvp6JWOR61gHw5GzQlhWJyKw7jxPtysk5 FZbLpAJc0MUNoMr8lsVnzsDwEB6MuvfXAy7sa9P478yyZFhnv1hvYzPrA+cvcWV8RPyl rzLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@chronox.de header.s=strato-dkim-0002 header.b="df3F939/"; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-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 v11si898975edy.483.2020.05.08.05.31.31; Fri, 08 May 2020 05:31:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@chronox.de header.s=strato-dkim-0002 header.b="df3F939/"; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726616AbgEHMau (ORCPT + 99 others); Fri, 8 May 2020 08:30:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57524 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726863AbgEHMau (ORCPT ); Fri, 8 May 2020 08:30:50 -0400 Received: from mo6-p01-ob.smtp.rzone.de (mo6-p01-ob.smtp.rzone.de [IPv6:2a01:238:20a:202:5301::11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 92AE3C05BD43 for ; Fri, 8 May 2020 05:30:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1588941047; s=strato-dkim-0002; d=chronox.de; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=qlLfPHVlrCRGCHJwPAmHIg3OIWLDKZ6MsIUQoaaBUx8=; b=df3F939/NGJVRpHonDW/SjHx7sPjhrnY/UEbibXS+SuaZM11y6+IbDhutffpbZqTSh 3fNwB5r2xAnBc5Hz/9iHrZ9xOLz9CIFcxyWfryS3+/BMjGZUwhPFT+hX1q+4d0+UmxCN N1mvh55b+RMX0uZYbVAgp0SYVLGZ6VJIgO3JkY42kXF1c7zsPEmb6hiWCGmYYBJeVmgA HXRkg+VCVaOjtqbW3o4m23fNmsTebyVOZ07NgsGbnkyb4YVKRBU7JxwtLabLnI6n3VMr 3HfAXkHXiH787ALXtftzRo9WrIx7x/osvbesFpEilgJljQwu8yIxdX+x4GwvPebct8BE vMcQ== X-RZG-AUTH: ":P2ERcEykfu11Y98lp/T7+hdri+uKZK8TKWEqNyiHySGSa9k9xmwdNnzGHXPaJfSfJdtJ" X-RZG-CLASS-ID: mo00 Received: from tauon.chronox.de by smtp.strato.de (RZmta 46.6.2 DYNA|AUTH) with ESMTPSA id u08bf3w48CUlQh9 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Fri, 8 May 2020 14:30:47 +0200 (CEST) From: Stephan Mueller To: Alexander Dahl Cc: linux-crypto@vger.kernel.org Subject: Re: jitterentropy_rng on armv5 embedded target Date: Fri, 08 May 2020 14:30:47 +0200 Message-ID: <6708214.Ppv1U3N1OP@tauon.chronox.de> In-Reply-To: <2904279.2zIEgBPu8l@ada> References: <2567555.LKkejuagh6@ada> <8028774.qcRHhbuxM6@tauon.chronox.de> <2904279.2zIEgBPu8l@ada> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Am Freitag, 8. Mai 2020, 14:26:41 CEST schrieb Alexander Dahl: Hi Alexander, > Hello, > > Am Freitag, 8. Mai 2020, 14:22:02 CEST schrieb Stephan Mueller: > > Am Freitag, 8. Mai 2020, 14:17:25 CEST schrieb Alexander Dahl: > > > Okay and DRBG has nothing to do with /dev/random ? > > > > Nope, it is used as part of the kernel crypto API and its use cases. > > > > > Then where do the random > > > numbers for that come from (in the current or previous kernels without > > > your > > > new lrng)? > > > > The DRBG is seeded from get_random_bytes and the Jitter RNG. > > Oh, I was not precise enough. I wanted to know where /dev/random gets its > numbers from. As far as I understood now: not from DRBG? (Which is > sufficient knowledge for my current problem.) Interrupts, HID events, block device events, external sources. For a full analysis, see [1] [1] https://bsi.bund.de/SharedDocs/Downloads/EN/BSI/Publications/Studies/ LinuxRNG/LinuxRNG_EN.pdf Ciao Stephan