All of lore.kernel.org
 help / color / mirror / Atom feed
From: Corentin LABBE <clabbe@baylibre.com>
To: Frank Wunderlich <frank-w@public-files.de>
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
Date: Mon, 27 Nov 2023 12:47:01 +0100	[thread overview]
Message-ID: <ZWSBtZAwn_58UtcD@Red> (raw)
In-Reply-To: <trinity-a9a71294-1396-43e4-9ed5-9ee2914ef093-1700838301802@3c-app-gmx-bs48>

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" <clabbe@baylibre.com>
> 
> > 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

WARNING: multiple messages have this Message-ID (diff)
From: Corentin LABBE <clabbe@baylibre.com>
To: Frank Wunderlich <frank-w@public-files.de>
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
Date: Mon, 27 Nov 2023 12:47:01 +0100	[thread overview]
Message-ID: <ZWSBtZAwn_58UtcD@Red> (raw)
In-Reply-To: <trinity-a9a71294-1396-43e4-9ed5-9ee2914ef093-1700838301802@3c-app-gmx-bs48>

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" <clabbe@baylibre.com>
> 
> > 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

_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip

WARNING: multiple messages have this Message-ID (diff)
From: Corentin LABBE <clabbe@baylibre.com>
To: Frank Wunderlich <frank-w@public-files.de>
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
Date: Mon, 27 Nov 2023 12:47:01 +0100	[thread overview]
Message-ID: <ZWSBtZAwn_58UtcD@Red> (raw)
In-Reply-To: <trinity-a9a71294-1396-43e4-9ed5-9ee2914ef093-1700838301802@3c-app-gmx-bs48>

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" <clabbe@baylibre.com>
> 
> > 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

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  reply	other threads:[~2023-11-27 11:47 UTC|newest]

Thread overview: 97+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-07 15:55 [PATCH 0/6] crypto: rockchip: add support for rk3588/rk3568 Corentin Labbe
2023-11-07 15:55 ` Corentin Labbe
2023-11-07 15:55 ` Corentin Labbe
2023-11-07 15:55 ` [PATCH 1/6] dt-bindings: crypto: add support for rockchip,crypto-rk3588 Corentin Labbe
2023-11-07 15:55   ` Corentin Labbe
2023-11-07 15:55   ` Corentin Labbe
2023-11-07 16:40   ` Krzysztof Kozlowski
2023-11-07 16:40     ` Krzysztof Kozlowski
2023-11-07 16:40     ` Krzysztof Kozlowski
2023-11-20 12:37     ` Corentin LABBE
2023-11-20 12:37       ` Corentin LABBE
2023-11-20 12:37       ` Corentin LABBE
2023-11-21  9:04       ` Krzysztof Kozlowski
2023-11-21  9:04         ` Krzysztof Kozlowski
2023-11-21  9:04         ` Krzysztof Kozlowski
2023-11-07 15:55 ` [PATCH 2/6] MAINTAINERS: add new dt-binding doc to the right entry Corentin Labbe
2023-11-07 15:55   ` Corentin Labbe
2023-11-07 15:55   ` Corentin Labbe
2023-11-07 16:20   ` Krzysztof Kozlowski
2023-11-07 16:20     ` Krzysztof Kozlowski
2023-11-07 16:20     ` Krzysztof Kozlowski
2023-11-20 12:37     ` Corentin LABBE
2023-11-20 12:37       ` Corentin LABBE
2023-11-20 12:37       ` Corentin LABBE
2023-11-07 15:55 ` [PATCH 3/6] ARM64: dts: rk3588: add crypto node Corentin Labbe
2023-11-07 15:55   ` Corentin Labbe
2023-11-07 15:55   ` Corentin Labbe
2023-11-07 15:59   ` Heiko Stübner
2023-11-07 15:59     ` Heiko Stübner
2023-11-07 15:59     ` Heiko Stübner
2023-11-20 12:38     ` Corentin LABBE
2023-11-20 12:38       ` Corentin LABBE
2023-11-20 12:38       ` Corentin LABBE
2023-11-07 16:20   ` Krzysztof Kozlowski
2023-11-07 16:20     ` Krzysztof Kozlowski
2023-11-07 16:20     ` Krzysztof Kozlowski
2023-11-20 12:38     ` Corentin LABBE
2023-11-20 12:38       ` Corentin LABBE
2023-11-20 12:38       ` Corentin LABBE
2023-11-07 15:55 ` [PATCH 4/6] ARM64: dts: rk356x: " Corentin Labbe
2023-11-07 15:55   ` Corentin Labbe
2023-11-07 15:55   ` Corentin Labbe
2023-11-07 16:00   ` Heiko Stübner
2023-11-07 16:00     ` Heiko Stübner
2023-11-07 16:00     ` Heiko Stübner
2023-11-07 16:21   ` Krzysztof Kozlowski
2023-11-07 16:21     ` Krzysztof Kozlowski
2023-11-07 16:21     ` Krzysztof Kozlowski
2023-11-07 15:55 ` [PATCH 5/6] reset: rockchip: secure reset must be used by SCMI Corentin Labbe
2023-11-07 15:55   ` Corentin Labbe
2023-11-07 15:55   ` Corentin Labbe
2023-11-07 16:21   ` Krzysztof Kozlowski
2023-11-07 16:21     ` Krzysztof Kozlowski
2023-11-07 16:21     ` Krzysztof Kozlowski
2023-11-07 17:35     ` Heiko Stübner
2023-11-07 17:35       ` Heiko Stübner
2023-11-07 17:35       ` Heiko Stübner
2023-11-07 17:45       ` Krzysztof Kozlowski
2023-11-07 17:45         ` Krzysztof Kozlowski
2023-11-07 17:45         ` Krzysztof Kozlowski
2023-11-11 20:51         ` Sebastian Reichel
2023-11-11 20:51           ` Sebastian Reichel
2023-11-11 20:51           ` Sebastian Reichel
2023-11-11 21:28           ` Krzysztof Kozlowski
2023-11-11 21:28             ` Krzysztof Kozlowski
2023-11-11 21:28             ` Krzysztof Kozlowski
2023-11-12 20:26             ` Sebastian Reichel
2023-11-12 20:26               ` Sebastian Reichel
2023-11-12 20:26               ` Sebastian Reichel
2023-11-20 12:42               ` Corentin LABBE
2023-11-20 12:42                 ` Corentin LABBE
2023-11-20 12:42                 ` Corentin LABBE
2023-11-07 15:55 ` [PATCH 6/6] crypto: rockchip: add rk3588 driver Corentin Labbe
2023-11-07 15:55   ` Corentin Labbe
2023-11-07 15:55   ` Corentin Labbe
2023-11-07 16:35   ` Krzysztof Kozlowski
2023-11-07 16:35     ` Krzysztof Kozlowski
2023-11-07 16:35     ` Krzysztof Kozlowski
2023-11-07 16:42     ` Krzysztof Kozlowski
2023-11-07 16:42       ` Krzysztof Kozlowski
2023-11-07 16:42       ` Krzysztof Kozlowski
2023-11-07 16:56       ` Krzysztof Kozlowski
2023-11-07 16:56         ` Krzysztof Kozlowski
2023-11-07 16:56         ` Krzysztof Kozlowski
2023-11-08  2:51   ` kernel test robot
2023-11-12 14:04   ` Aw: " Frank Wunderlich
2023-11-12 14:04     ` Frank Wunderlich
2023-11-12 14:04     ` Frank Wunderlich
2023-11-20 12:48     ` Corentin LABBE
2023-11-20 12:48       ` Corentin LABBE
2023-11-20 12:48       ` Corentin LABBE
2023-11-24 15:05       ` Aw: " Frank Wunderlich
2023-11-24 15:05         ` Frank Wunderlich
2023-11-24 15:05         ` Frank Wunderlich
2023-11-27 11:47         ` Corentin LABBE [this message]
2023-11-27 11:47           ` Corentin LABBE
2023-11-27 11:47           ` Corentin LABBE

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZWSBtZAwn_58UtcD@Red \
    --to=clabbe@baylibre.com \
    --cc=davem@davemloft.net \
    --cc=devicetree@vger.kernel.org \
    --cc=frank-w@public-files.de \
    --cc=heiko@sntech.de \
    --cc=herbert@gondor.apana.org.au \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-crypto@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rockchip@lists.infradead.org \
    --cc=mturquette@baylibre.com \
    --cc=p.zabel@pengutronix.de \
    --cc=ricardo@pardini.net \
    --cc=robh+dt@kernel.org \
    --cc=sboyd@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.