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 <andrew.smirnov@xxxxxxxxx> > Signed-off-by: Andrei Botila <andrei.botila@xxxxxxx> > Cc: Chris Healy <cphealy@xxxxxxxxx> > Cc: Lucas Stach <l.stach@xxxxxxxxxxxxxx> > Cc: Horia Geantă <horia.geanta@xxxxxxx> > Cc: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> > Cc: Iuliana Prodan <iuliana.prodan@xxxxxxx> > Cc: linux-crypto@xxxxxxxxxxxxxxx > Cc: linux-kernel@xxxxxxxxxxxxxxx > Cc: linux-imx@xxxxxxx Reviewed-by: Horia Geantă <horia.geanta@xxxxxxx> Thanks, Horia