Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp2969851rdh; Mon, 27 Nov 2023 03:47:23 -0800 (PST) X-Google-Smtp-Source: AGHT+IEfm+EBw3KSv4AiUEVNWOKE8k3k9gLBQLZT4XR7hntbecWWDqnQ6RgxexXIxsP0F11QC0q2 X-Received: by 2002:a05:6808:e8a:b0:3af:e67d:8295 with SMTP id k10-20020a0568080e8a00b003afe67d8295mr14531413oil.40.1701085642806; Mon, 27 Nov 2023 03:47:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701085642; cv=none; d=google.com; s=arc-20160816; b=CCl4gm4WW+lGMKuY0IB3Y7xYX/OCOqApxUxL+4LnkjkHm3p7XOiUDRfswSuyr1xy5S yOwQZ3qq4INyoeAieVIVYsdR0sYXCSz3wl7APvuvQM3inEbyje7SkY7JaFM53MIpJ9S8 HHu51rfhGs102YySOGo4PYIldCFChwnBHe9yxY63BNYrZahcFMhw7SfNy0Zw/AZ/2Znv Qc2bzRN9kFfqJjxSHqD1BcQEwAzrPQdawP9T9TbjMbBslhUCBhz823JqWS6zAvVg6amr xwGLssv/W/d6D6/pv+Q2CydNa7rtMSzg7rtaRcFl1IkliwnSRwJSD+Z0VyAsafoTnlKt cDcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=3tA3boN6EG4yS9sARU9W7D9LN4ahR4KmDV0zSEVrFb0=; fh=fsAFSq3rBMgb+ztZYDdCDUPH6XQVRtySBMwZAEqavHc=; b=gHxwKygS3YPdY3R/+j+PMQPRPHQSS8Z5edbGDUBICkhVAIjqFgJovEbN/jSlGQYzM8 WhkA7K20emlORDT7fhcYL0jVILfj2c6kMzdz9VvV7cNC3e1dm8A+0tuj7RGe2wsVvVxj GU6Ont63yhb8a5qleDDAUyH4ydtYjkVcqMtOc4sJi2GG+lX6SAIncHofo2/RyhVnRNs+ s3fh+QTwZgFeTrWEpQFZbk+k4rB9HcfUzUx68ykEyfPLiY1Q/uaowDvqn8lSFePlt0ZT YAsazUEOgMR2b99Zwch7q9GYJOJSvcuh29NjC9G8MM0reddZNqrqQmMHv72E14GyUcmD EtDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=nEg+V7LB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id bq17-20020a056a02045100b005b8ea21ef39si10508220pgb.267.2023.11.27.03.47.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Nov 2023 03:47:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=nEg+V7LB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 94AD280576D2; Mon, 27 Nov 2023 03:47:18 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233324AbjK0LrB (ORCPT + 99 others); Mon, 27 Nov 2023 06:47:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36514 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233302AbjK0Lq7 (ORCPT ); Mon, 27 Nov 2023 06:46:59 -0500 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1213DB8 for ; Mon, 27 Nov 2023 03:47:05 -0800 (PST) Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-40b34563987so22965095e9.1 for ; Mon, 27 Nov 2023 03:47:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1701085623; x=1701690423; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=3tA3boN6EG4yS9sARU9W7D9LN4ahR4KmDV0zSEVrFb0=; b=nEg+V7LBIaLbiPtIHMYgKvHXwNi2+b7HjwYtp7LGjgmofHn4ps0bc/zPZ52Y3QP0J9 48ODicnGQzPeJ6xxCxxOoS3pnUOpxpZ26+h85QamkTcmylL4kBlbK4zmTO+SA4lNkm/I ldD+0iKWoGLLCiaqbllKuKtBz5BwbnfigdQ+OjLc2tff0ehjZAeERZULXuzZXowcIgEZ 88LWwHs0aQIdiaGpnL3kF7QKjY/bwqJ6kU/vDonUj6MDD3rHlci5/dKC15FaT5+wVisl xAr2ykvWJbdpFrEVNH+B735//7T1pTO9LFMAD1+ayQ+lm7KzGmaq6Dy554aANxr4N0r4 ZBxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701085623; x=1701690423; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=3tA3boN6EG4yS9sARU9W7D9LN4ahR4KmDV0zSEVrFb0=; b=kRTx+xtegivFfBG1DlcskFn12tymgOaOysAJyjHqMlCwuVLD+4QLlb3DRg6OUKXxk/ vJQrgXof0KzSTA5v6ZJlAbe5lKtVZdXkhMQtEN2Ky0elNnA11BvHoAwAFIxXtnW8FE40 CKzgohhHuHyPhAR0BJWV8B6kuJXEzzYAiCmVpvR6kANovzuI33BNuZwKl43+mftV1lZi 7KtHQVB/5OMrGLJH1U/q9/ahwpqTF5jUUTElZIg5ny8hBB5dXEQH8JxzJG4FJTaI36OQ 8dRD/e7ZY9krVkzrq8YF0jLvg5dBtopIFMNQsi5Ozc/Rq/Qox48hw44k6aC6xegJtF5B duGQ== X-Gm-Message-State: AOJu0YxRAFnef1B0Nl6ho22EkQ3n4qXrVy1aelp+PQQOjIpkiwGKEkQ+ mkCPQPw6D3oNV1OM/IomOPcwo+Z4fMRfNosANY0= X-Received: by 2002:a05:600c:6d3:b0:408:37aa:774a with SMTP id b19-20020a05600c06d300b0040837aa774amr12532754wmn.17.1701085623387; Mon, 27 Nov 2023 03:47:03 -0800 (PST) Received: from Red ([2a01:cb1d:3d5:a100:4a02:2aff:fe07:1efc]) by smtp.googlemail.com with ESMTPSA id s8-20020a7bc388000000b0040b4562ee20sm1681859wmj.0.2023.11.27.03.47.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Nov 2023 03:47:03 -0800 (PST) Date: Mon, 27 Nov 2023 12:47:01 +0100 From: Corentin LABBE To: Frank Wunderlich Cc: davem@davemloft.net, heiko@sntech.de, herbert@gondor.apana.org.au, krzysztof.kozlowski+dt@linaro.org, mturquette@baylibre.com, p.zabel@pengutronix.de, robh+dt@kernel.org, sboyd@kernel.org, ricardo@pardini.net, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org Subject: Re: Aw: Re: [PATCH 6/6] crypto: rockchip: add rk3588 driver Message-ID: References: <20231107155532.3747113-1-clabbe@baylibre.com> <20231107155532.3747113-7-clabbe@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Mon, 27 Nov 2023 03:47:18 -0800 (PST) Le Fri, Nov 24, 2023 at 04:05:01PM +0100, Frank Wunderlich a ?crit : > Hi > > > Gesendet: Montag, 20. November 2023 um 13:48 Uhr > > Von: "Corentin LABBE" > > > You are using kcapi-rng but the driver do not support RNG yet. (and probably never if I continue to fail having good results with it). > > So it is normal values does not change. > > which functions does the driver support atm? or how can i test correctly > (and which kernel options i need for this)? > > regards Frank Hello The driver handle AES(ECB CBC XTS) and hashes (MD5 SHAxxx and SM3) For testing you need: CONFIG_CRYPTO_MANAGER_DISABLES_TESTS is not set CONFIG_CRYPTO_MANAGER_EXTRA_TESTS=y Note that I have already got several report of random hashes tests failling, but I am near to have a reproducer. Regards