Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2799430pxp; Tue, 22 Mar 2022 06:23:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyBaIV4PnisAiA/Rp94ghqqDDmMcf/5pexmlJxSopLBFIebACJQfPQ4vd6aHDlcLw8OUuU4 X-Received: by 2002:a05:6a00:1501:b0:4f7:5773:f3f6 with SMTP id q1-20020a056a00150100b004f75773f3f6mr29346681pfu.31.1647955409179; Tue, 22 Mar 2022 06:23:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647955409; cv=none; d=google.com; s=arc-20160816; b=FflMbSHwlDwX/aIRx44dbcFldBb/qpuplR2pjKQ+0q2lT8BJb3+sB+DNVA3xoBPK9q y1hKaeOSIGQDWnJF2vVsbkNE1K1kiHPNNdiY8QSRDaLLmeA4isdeix/5+zUNtFL3CBRT O2VzxnEdBdvIi82zKXAHkP5JN+WcV+7nzGRLZVOtIv8GpnPGKTRiFB6I0ljq0Niin9FJ V68D09G4SVNy+RvtPhCQjp7HkRhSp34w4GCtkxRAT3XWTfWfdE1BwUJDcU+lZTkdMX3q oxREJoOJHELX3vlIlT8MfvrURcHoRiudZfxd4kafqUez098ZY4xCn5gDS46Jx5BMPbUK kfZA== 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=uJzve08biZhB4r1QtUm+S3/m2cJlwVKYr43Is/lArT8=; b=xJSd4e2rNDIPpWYM7e9Oi1onOU0YYxTA+OysrcZ2VAEd0w9qdywkkAOOUduBkEGL76 5mwK0lOkKsdHjQ6DEVw3gDowKRqB+1m7rD4hlxIx0moywllpkGCl6lrAe+RIJoKEV6w9 Zu68uzvAl4wCGggFmLc9WbqDQ2hIeCkDFvbKWzhM4cELh/gXh/jckv134LzQvXKHmXjq VUjryzEsOJvHgvgANRwgV/9H50O5aBUq124vfkrwXiv1BXqXn7lX1AOJxqpFmOFhe20h 7B9HwILFTD3BTHcbsTmxruw9dyBuAe+3PKjoBvAOKIgqro/O/38RenUP3h3Alldr/0td CofQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=isioKpIL; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d22-20020a170902b71600b00153b2d16548si13242799pls.336.2022.03.22.06.23.03; Tue, 22 Mar 2022 06:23:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=isioKpIL; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S231882AbiCVNV0 (ORCPT + 99 others); Tue, 22 Mar 2022 09:21:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38834 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235360AbiCVNVZ (ORCPT ); Tue, 22 Mar 2022 09:21:25 -0400 Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 05F716A014 for ; Tue, 22 Mar 2022 06:19:58 -0700 (PDT) Received: by mail-ed1-x529.google.com with SMTP id c62so2130276edf.5 for ; Tue, 22 Mar 2022 06:19:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=uJzve08biZhB4r1QtUm+S3/m2cJlwVKYr43Is/lArT8=; b=isioKpILG85LIxzS8L9QmbzGpxJlwVCT5xcPWHLWbkBQGWRo5XDALH1PPTy8OuKuBa wlp/ixRVWxUf0hzgva2gcrlpBrUsELB2vigN/BHh7wGlFQmnB06rRQB74hf6DN8Ytn4Q Q2sS9PZyTFY3KfT5h6s1dM8/u/JR61e0kMJ/Iqq99Z8+SiTmvRbqCVHocMRWsG+4z6o3 T88Sphrs+/90nNPGvmf7RnKJXHA2KoXkry5mn6iuPzzDhv8hWqAzYEPOz5R9iY41jWpV o1RxdbJXiDDTgPJc81ResXiYMYiKlyt8kth+McPO1Gw1l+Q32Tw8DKjllrv8KVNpYuPb wRhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=uJzve08biZhB4r1QtUm+S3/m2cJlwVKYr43Is/lArT8=; b=qgJfhN0ucEHDWbQbbzVvrqlQ0eMTM4d1V0uvnK9kZwAnwfgxW5qThYHNvYyyHZs1zp uOJZDSnNMmc4/6n7Bn7kN7IlJBgSFVw+TG0NcHZ/8xMnhUaUANlJ89JXZMT2l/QnAtS6 a6OMVYa9cv+ceIovFW4/pwshbvD9f41wKuT9tD6f0miHTZX/s3NAl5djEerSL3EYdQye TCqf537SV3D0cA6CdD6GSQ8qhJM6drNhnzwLuQhjikuwDbC0IvXtsnhxV76IEAUJ4f8p u3e61pjTBzM9V0cfq+yWRR3+fCX7m7RJ6GXfHJ8CLEhwsRLbmQStEecZtKjFWHYfBT6b M7WA== X-Gm-Message-State: AOAM530eAYKfACC+FghALpeMUj508mDfzBsiabqQHkAB8MmACRHVpbEn khQMO8Ba/T5w0pKOlENK4EC5MqyT13qy8LN8hJ85EdRj X-Received: by 2002:aa7:cf08:0:b0:418:e5f7:b2a1 with SMTP id a8-20020aa7cf08000000b00418e5f7b2a1mr27878480edy.76.1647955196602; Tue, 22 Mar 2022 06:19:56 -0700 (PDT) MIME-Version: 1.0 References: <20220111124104.2379295-1-festevam@gmail.com> In-Reply-To: From: Fabio Estevam Date: Tue, 22 Mar 2022 10:19:44 -0300 Message-ID: Subject: Re: [PATCH] crypto: caam - enable prediction resistance conditionally To: =?UTF-8?Q?Horia_Geant=C4=83?= , Varun Sethi Cc: Herbert Xu , Andrei Botila , "andrew.smirnov@gmail.com" , "fredrik.yhlen@endian.se" , "hs@denx.de" , "linux-crypto@vger.kernel.org" , Fabio Estevam Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Hi Horia and Varun, On Fri, Jan 28, 2022 at 4:44 AM Horia Geant=C4=83 wr= ote: > We've been in contact with Fabio and we're working on a solution. > Now I realize the list hasn't been Cc-ed - sorry for the confusion > and for not providing an explicit Nack. > > Herbert, could you please revert this patch? > > It's doing more harm than good, since it's making the internal CAAM RNG > work like a DRBG / PRNG (instead of TRNG) while the driver registers > to hwrng as an entropy source. Any progress on the proper fix for this issue? Thanks