commit | 3e133c8bf6a6723377d94bc97aa52596e49a4090 | [log] [tgz] |
---|---|---|
author | Dmitry Kasatkin <dmitry.kasatkin@nokia.com> | Fri Nov 19 16:04:24 2010 +0200 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Sat Nov 27 16:37:17 2010 +0800 |
tree | e04e9dfcfbfc95ad5a529dd10b504c1dce22ae66 | |
parent | c8eb54041acc4dedeaf0d9da34b91b8658386751 [diff] |
crypto: omap-sham - error handling improved Introduces DMA error handling. DMA error is returned as a result code of the hash request. Clients needs to handle error codes and may repeat hash calculation attempt. Also in the case of DMA error, SHAM module is set to be re-initialized again. It significantly improves stability against possible HW failures. Signed-off-by: Dmitry Kasatkin <dmitry.kasatkin@nokia.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>