summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChenghai Huang <huangchenghai2@huawei.com>2026-07-18 11:05:12 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2026-07-27 10:29:27 +1000
commit67ca4ac78f37b91bffab1c30a0c8afca024eecf4 (patch)
treecbe89948f6b951088f7e7da149d07b103d7db4d0 /tools/perf/scripts/python
parentb0b85837193b106ab4d7beef5991d442694c66da (diff)
crypto: hisilicon/sec2 - fix uninitialized type_supported in sec_create_qp_ctx
sec_create_qp_ctx() reads ctx->type_supported to pick its callback, but sec_skcipher_init() and sec_aead_init() set it after sec_ctx_base_init() has already walked the qp_ctx loop, so the value is uninitialized when first consumed. Set type_supported in sec_ctx_base_init() before the loop; the alg init paths now just select req_op from it. Signed-off-by: Chenghai Huang <huangchenghai2@huawei.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions