projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5fb78db
)
crypto: chelsio - Fix iv passed in fallback path for rfc3686
author
Harsh Jain
<harsh@chelsio.com>
Tue, 6 Mar 2018 05:07:51 +0000
(10:37 +0530)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Fri, 16 Mar 2018 15:35:46 +0000
(23:35 +0800)
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>
drivers/crypto/chelsio/chcr_algo.c
patch
|
blob
|
history
diff --git
a/drivers/crypto/chelsio/chcr_algo.c
b/drivers/crypto/chelsio/chcr_algo.c
index 002e0c298fb5f93242a62ebf1a798ac797eb937f..85070760333de322ffb7d3e28e80d1234f8904b9 100644
(file)
--- 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
,
+ req
ctx->iv
,
op_type);
goto error;
}