projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3867cae
)
crypto: akcipher - Set request tfm on sync path
author
Herbert Xu
<herbert@gondor.apana.org.au>
Mon, 26 Jun 2023 10:20:25 +0000
(18:20 +0800)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Tue, 27 Jun 2023 07:40:24 +0000
(15:40 +0800)
The request tfm needs to be set.
Fixes: addde1f2c966 ("crypto: akcipher - Add sync interface without SG lists")
Reported-by: kernel test robot <oliver.sang@intel.com>
Closes: https://lore.kernel.org/oe-lkp/202306261421.2ac744fa-oliver.sang@intel.com
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/akcipher.c
patch
|
blob
|
history
diff --git
a/crypto/akcipher.c
b/crypto/akcipher.c
index 152cfba1346c9c8d8be11e02d13f42dbc2151279..8ffd31c44cf6c15777704c1385493c41d412e4f0 100644
(file)
--- a/
crypto/akcipher.c
+++ b/
crypto/akcipher.c
@@
-207,6
+207,7
@@
int crypto_akcipher_sync_prep(struct crypto_akcipher_sync_data *data)
return -ENOMEM;
data->req = req;
+ akcipher_request_set_tfm(req, data->tfm);
buf = (u8 *)(req + 1) + reqsize;
data->buf = buf;