diff options
author | Tero Kristo <t-kristo@ti.com> | 2016-08-04 13:28:39 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-09-13 20:20:56 +0800 |
commit | 5a793bcadbe97df7823598b429c0af052e50df1c (patch) | |
tree | ac6f0219ae6ca838436f68ab78c0224eb57b9146 /mm/z3fold.c | |
parent | 4e7813a0b2aebb210416a418595ceb91ba4e5a37 (diff) | |
download | op-kernel-dev-5a793bcadbe97df7823598b429c0af052e50df1c.zip op-kernel-dev-5a793bcadbe97df7823598b429c0af052e50df1c.tar.gz |
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>
Diffstat (limited to 'mm/z3fold.c')
0 files changed, 0 insertions, 0 deletions