commit | 5fb78dba1667d63ab5ebed19724477a2f1e08717 | [log] [tgz] |
---|---|---|
author | Harsh Jain <harsh@chelsio.com> | Tue Mar 06 10:37:50 2018 +0530 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Fri Mar 16 23:35:46 2018 +0800 |
tree | 1408168ec227f1874a015072bcfc3588eb04eaa9 | |
parent | 1d693cf65006d2e15fd19e89d4b364309ca63ec4 [diff] |
crypto: chelsio - Update IV before sending request to HW CBC Decryption requires Last Block as IV. In case src/dst buffer are same last block will be replaced by plain text. This patch copies the Last Block before sending request to HW. Signed-off-by: Harsh Jain <harsh@chelsio.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>