Re: [PATCH] crypto: hisilicon/trng - add version to adapt new algorithm
From: Herbert Xu
Date: Fri Apr 16 2021 - 07:30:39 EST
On Wed, Apr 07, 2021 at 05:44:33PM +0800, Weili Qian wrote:
> Kunpeng930 supports trng and prng, but Kunpeng920 only supports trng.
>
> Therefore, version information is added to ensure that prng is not
> registered to Crypto subsystem on Kunpeng920.
>
> Signed-off-by: Weili Qian <qianweili@xxxxxxxxxx>
> ---
> drivers/crypto/hisilicon/trng/trng.c | 13 ++++++++++---
> 1 file changed, 10 insertions(+), 3 deletions(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt