Re: [PATCH v2 4/6] crypto/fsl: don't regenerate secure keys

2020-06-17 Thread Michael Walle
Am 2020-06-17 20:03, schrieb Horia Geantă: On 6/4/2020 6:47 PM, Michael Walle wrote: The secure keys (TDKEK, JDKEK, TDSK) can only be generated once after a POR. Otherwise the RNG4 will throw an error. Signed-off-by: Michael Walle Reviewed-by: Horia Geantă Did you meet this problem in prac

Re: [PATCH v2 4/6] crypto/fsl: don't regenerate secure keys

2020-06-17 Thread Horia Geantă
On 6/4/2020 6:47 PM, Michael Walle wrote: > The secure keys (TDKEK, JDKEK, TDSK) can only be generated once after a > POR. Otherwise the RNG4 will throw an error. > > Signed-off-by: Michael Walle Reviewed-by: Horia Geantă Did you meet this problem in practice? Horia

[PATCH v2 4/6] crypto/fsl: don't regenerate secure keys

2020-06-04 Thread Michael Walle
The secure keys (TDKEK, JDKEK, TDSK) can only be generated once after a POR. Otherwise the RNG4 will throw an error. Signed-off-by: Michael Walle --- drivers/crypto/fsl/jobdesc.c | 4 ++-- drivers/crypto/fsl/jobdesc.h | 2 +- drivers/crypto/fsl/jr.c | 9 + include/fsl_sec.h