Skip to content

Commit ee0a6de

Browse files
horiagherbertx
authored andcommitted
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ă <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
1 parent 26c4a51 commit ee0a6de

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/crypto/caam/error.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,9 @@ static const char * const rng_err_id_list[] = {
212212
"Prediction resistance and test request",
213213
"Uninstantiate",
214214
"Secure key generation",
215+
"",
216+
"Hardware error",
217+
"Continuous check"
215218
};
216219

217220
static int report_ccb_status(struct device *jrdev, const u32 status,

0 commit comments

Comments
 (0)