From: Horia Geantă Date: Wed, 22 Jul 2020 12:14:57 +0000 (+0300) Subject: crypto: caam - add more RNG hw error codes X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=ee0a6de9aa3755617e12dc5629617d27250b5846;p=linux.git crypto: caam - add more RNG hw error codes In some cases, e.g. when TRNG is not properly configured, the RNG module could issue a "Hardware error" at runtime. "Continuos check" error is emitted when some of the BISTs fail. Signed-off-by: Horia Geantă Signed-off-by: Herbert Xu --- diff --git a/drivers/crypto/caam/error.c b/drivers/crypto/caam/error.c index 17c6108b6d412..72db90176b1a1 100644 --- a/drivers/crypto/caam/error.c +++ b/drivers/crypto/caam/error.c @@ -212,6 +212,9 @@ static const char * const rng_err_id_list[] = { "Prediction resistance and test request", "Uninstantiate", "Secure key generation", + "", + "Hardware error", + "Continuous check" }; static int report_ccb_status(struct device *jrdev, const u32 status,