commit | 5a793bcadbe97df7823598b429c0af052e50df1c | [log] [tgz] |
---|---|---|
author | Tero Kristo <t-kristo@ti.com> | Thu Aug 04 13:28:39 2016 +0300 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Tue Sep 13 20:20:56 2016 +0800 |
tree | ac6f0219ae6ca838436f68ab78c0224eb57b9146 | |
parent | 4e7813a0b2aebb210416a418595ceb91ba4e5a37 [diff] |
crypto: omap-sham - fix software fallback handling If we have processed any data with the hardware accelerator (digcnt > 0), we must complete the entire hash by using it. This is because the current hash value can't be imported to the software fallback algorithm. Otherwise we end up with wrong hash results. Signed-off-by: Tero Kristo <t-kristo@ti.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>