diff options
author | Harsh Jain <harsh@chelsio.com> | 2018-03-06 08:07:51 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2018-03-16 18:35:46 +0300 |
commit | 7ffb911882a34a0d1f05ba64d78bf9b61d1e4179 (patch) | |
tree | e5d4d30e584f63df9dd9e37354d255cec897a3bc /drivers | |
parent | 5fb78dba1667d63ab5ebed19724477a2f1e08717 (diff) | |
download | linux-7ffb911882a34a0d1f05ba64d78bf9b61d1e4179.tar.xz |
crypto: chelsio - Fix iv passed in fallback path for rfc3686
We use ctr(aes) to fallback rfc3686(ctr) request. Send updated IV to fallback path.
Signed-off-by: Harsh Jain <harsh@chelsio.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/crypto/chelsio/chcr_algo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/chelsio/chcr_algo.c b/drivers/crypto/chelsio/chcr_algo.c index 002e0c298fb5..85070760333d 100644 --- a/drivers/crypto/chelsio/chcr_algo.c +++ b/drivers/crypto/chelsio/chcr_algo.c @@ -1292,7 +1292,7 @@ static int process_cipher(struct ablkcipher_request *req, req->src, req->dst, req->nbytes, - req->info, + reqctx->iv, op_type); goto error; } |