Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2856212ybc; Mon, 25 Nov 2019 05:23:02 -0800 (PST) X-Google-Smtp-Source: APXvYqzl3wHXviT0uiXor3V3rCPgGv0BPDPyFA9I9L5jqNzuvfYCE2pc7fdPC2d0MeDyDSZiM+61 X-Received: by 2002:a17:906:5959:: with SMTP id g25mr36278341ejr.248.1574688181911; Mon, 25 Nov 2019 05:23:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574688181; cv=none; d=google.com; s=arc-20160816; b=tBWRkNtVASjDPYAN+OKXBHAMktoLPLsAKoLvbDEzH+7mu+2uaLK02MpUcObK9vuJ1G ZH57snorTO18BImCQzPnTLxnMuCNPKgr6AH62c32IPbJWLLA+odssHsPh2aGG+rhoul8 xmNuqLtdXjXD1mA0N4sfX4Ex7So4zdEb4LKsn8Kbo7fIa/ST07wjv3hxbwzsVEITC2Dk /dVqVwqdzniUr+9t0C/Aw3iCEDN2pAKv5mEPYGO9u+dVujxLm3wTDKtIPgJaER15CTSS YkYWErv+vtAwJ506cNcgw0ppcz9jv9CmCAztCYeg4nLVw5dHJfhhrjYMCZ0LVzUaFow3 GYtg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=XisBj+SHJbeFlx51siwRmqy/2+k3IdPy2jfS+lbX+WU=; b=kUWJyzlaJTGAbVgLh/VwuuKsXrSziZV5LtUcqW9FsouHw/2mfo10/wimTSZ2JmSXKQ AyRduX62d6Ls5CIUqDO8bVJKTYzEUEbkmxHycn9Kcf3vwkrsi7xccqqK8andd1QP/wKN C5L+aSYrDk7SK1/JQhNd0vHHOXgxLecqBQ5x+ViVZiUEXStjlKXfQQmlRODHuvyBHqCq SwMMQO959c++JBdgyyk/1CHdW3b4h6utapD4hWWtVgtse0LptNvYMe+VQOUfp0eacHuL JFPFpUH68hncvsVHhdDaNjJHWNC9O4syvDeR5v7HMZLwcbN+3XggJnWCV446/p+JctEy o8EA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Hpo3eFol; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-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. [209.132.180.67]) by mx.google.com with ESMTP id a13si4328307ejy.365.2019.11.25.05.22.27; Mon, 25 Nov 2019 05:23:01 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Hpo3eFol; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-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 S1727642AbfKYNV7 (ORCPT + 99 others); Mon, 25 Nov 2019 08:21:59 -0500 Received: from mail-wm1-f67.google.com ([209.85.128.67]:39201 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725823AbfKYNV7 (ORCPT ); Mon, 25 Nov 2019 08:21:59 -0500 Received: by mail-wm1-f67.google.com with SMTP id t26so15936134wmi.4; Mon, 25 Nov 2019 05:21:57 -0800 (PST) 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; bh=XisBj+SHJbeFlx51siwRmqy/2+k3IdPy2jfS+lbX+WU=; b=Hpo3eFole4LX3/xR2wq8eIO9zNvhWa7DApoERFxPKn741QUXhIZEJFt+omGwMoUeQO 0RJsSRyALTAqaU3p6ls7mZIrs3gL3WI/jf3uKyhnpinMfqVDUN4lOlfKigs9zgGLkp5J WzVhjDLtZbroOh/rH1/uYeyCWd8PBFbSK+G2pi7CkaV2ORBPYA3iX3CzerHUxs4imMDl i/m5vsp/OLPyiKq+3RHhhlXts2mVdo5SQWU+VEuhib43Dux/sFkB3jkUTVK7jwQN3RUn FOW5Dh0ysE3z7s7NJBuvpAwBDGLj8Q1NYFiY3tOhflaas7LTVE0p+t+XPcH4NLKYqzGI X5iA== 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=XisBj+SHJbeFlx51siwRmqy/2+k3IdPy2jfS+lbX+WU=; b=pxFGLg1Q7zTlgH88NQzuVZKv9gX8vAxors5WiLpQLzrVJ/s32dR8EidR5jgSzsYgDd FjATzzEERqdxZzKW7g9OCl0Cx+aDwjVY9mnTTxJUoAy9om1t4Rqolbll0faJcDkKj2oP Ie5yCYrrsyF6l9+fpxabeuFt+edBLPdIUSZt0xmQfmMGALwTk+0/TM5vC/vbXXlezkR3 AkUBf74yZ/wjaKPr3cKZbqB9QIwYdQbObQxmWRYGkkJLHVRICL8nDrmp2vn9eyMUmu5D 9YJKi+dimhIXWdCuCF/1WGp+Va00F3LVV2GC8Yw1W2Vmb+ZpvVafWdfIVHIQLuA8hK4K b49A== X-Gm-Message-State: APjAAAVfuUHtsV8uyU1AoeoE1RlvByUelPesNaLzuzPTLyRVssV1EX08 BbBpuRwcRRF2bwAFy1kTBcsj/S/DKum5NWHe2sRi9zxQ X-Received: by 2002:a1c:720b:: with SMTP id n11mr26892459wmc.60.1574688117019; Mon, 25 Nov 2019 05:21:57 -0800 (PST) MIME-Version: 1.0 References: <20191121155554.1227-1-andrew.smirnov@gmail.com> <20191121155554.1227-2-andrew.smirnov@gmail.com> In-Reply-To: From: Andrey Smirnov Date: Mon, 25 Nov 2019 05:21:45 -0800 Message-ID: Subject: Re: [PATCH v4 1/6] crypto: caam - RNG4 TRNG errata To: Horia Geanta Cc: "linux-crypto@vger.kernel.org" , Aymen Sghaier , Vipul Kumar , Chris Healy , Lucas Stach , Herbert Xu , Iuliana Prodan , "linux-kernel@vger.kernel.org" , dl-linux-imx Content-Type: text/plain; charset="UTF-8" Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Mon, Nov 25, 2019 at 12:02 AM Horia Geanta wrote: > > On 11/21/2019 5:56 PM, Andrey Smirnov wrote: > > The TRNG as used in RNG4, used in CAAM has a documentation issue. The > I assume the "erratum" consists in RTMCTL[TRNG_ACC] bit > not being documented, correct? > > Is there an ID of the erratum? > Or at least do you know what parts / SoCs have incorrect documentation? > > > effect is that it is possible that the entropy used to instantiate the > > DRBG may be old entropy, rather than newly generated entropy. There is > > proper programming guidance, but it is not in the documentation. > > > Is the "programming guidance" public? > I don't know the answers to any of those questions. I am not the original author of this change, just ported if from NXP tree because it seemed important. More than happy to drop this if you think it's bogus. Thanks, Andrey Smirnov