diff options
author | Horia Geanta <horia.geanta@freescale.com> | 2012-09-14 20:33:54 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2012-09-27 01:32:14 -0400 |
commit | 39ab735835818b12c05b6ae7282630000cd50fe8 (patch) | |
tree | b5b62d3a9c3ed4507ac973c728358fa79fbeff3a /drivers/crypto/caam | |
parent | 821873abc20e28fe3faa98591dab91d9b00700a5 (diff) |
crypto: caam - fix error IDs for SEC v5.x RNG4
According to SEC v5.0-v5.3 reference manuals.
Signed-off-by: Horia Geanta <horia.geanta@freescale.com>
Acked-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/caam')
-rw-r--r-- | drivers/crypto/caam/error.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/crypto/caam/error.c b/drivers/crypto/caam/error.c index 9955ed9643e6..30b8f74833d4 100644 --- a/drivers/crypto/caam/error.c +++ b/drivers/crypto/caam/error.c | |||
@@ -77,10 +77,8 @@ static void report_ccb_status(u32 status, char *outstr) | |||
77 | "Not instantiated", | 77 | "Not instantiated", |
78 | "Test instantiate", | 78 | "Test instantiate", |
79 | "Prediction resistance", | 79 | "Prediction resistance", |
80 | "", | ||
81 | "Prediction resistance and test request", | 80 | "Prediction resistance and test request", |
82 | "Uninstantiate", | 81 | "Uninstantiate", |
83 | "", | ||
84 | "Secure key generation", | 82 | "Secure key generation", |
85 | }; | 83 | }; |
86 | u8 cha_id = (status & JRSTA_CCBERR_CHAID_MASK) >> | 84 | u8 cha_id = (status & JRSTA_CCBERR_CHAID_MASK) >> |