2020-03-20 15:50:28

by Horia Geanta

[permalink] [raw]
Subject: Re: [PATCH v9 8/9] crypto: caam - enable prediction resistance in HRWNG

On 3/19/2020 6:13 PM, Andrey Smirnov wrote:
> Instantiate CAAM RNG with prediction resistance enabled to improve its
> quality (with PR on DRNG is forced to reseed from TRNG every time
> random data is generated).
>
> Management Complex firmware with version lower than 10.20.0
> doesn't provide prediction resistance support. Consider this
> and only instantiate rng when mc f/w version is lower.
>
> Signed-off-by: Andrey Smirnov <[email protected]>
> Signed-off-by: Andrei Botila <[email protected]>
> Cc: Chris Healy <[email protected]>
> Cc: Lucas Stach <[email protected]>
> Cc: Horia Geantă <[email protected]>
> Cc: Herbert Xu <[email protected]>
> Cc: Iuliana Prodan <[email protected]>
> Cc: [email protected]
> Cc: [email protected]
> Cc: [email protected]
Reviewed-by: Horia Geantă <[email protected]>

Thanks,
Horia