Skip to content

Commit 53be69b

Browse files
committed
crypto: octeontx2 - suppress auth failure screaming due to negative tests
JIRA: https://issues.redhat.com/browse/RHEL-74336 Upstream Status: merged into the linux.git commit 64b7871 Author: Shashank Gupta <shashankg@marvell.com> Date: Wed Mar 5 13:27:05 2025 +0530 crypto: octeontx2 - suppress auth failure screaming due to negative tests This patch addresses an issue where authentication failures were being erroneously reported due to negative test failures in the "ccm(aes)" selftest. pr_debug suppress unnecessary screaming of these tests. Signed-off-by: Shashank Gupta <shashankg@marvell.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Vladis Dronov <vdronov@redhat.com>
1 parent 06974a8 commit 53be69b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

drivers/crypto/marvell/octeontx2/otx2_cptvf_reqmgr.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -264,9 +264,10 @@ static int cpt_process_ccode(struct otx2_cptlfs_info *lfs,
264264
break;
265265
}
266266

267-
dev_err(&pdev->dev,
268-
"Request failed with software error code 0x%x\n",
269-
cpt_status->s.uc_compcode);
267+
pr_debug("Request failed with software error code 0x%x: algo = %s driver = %s\n",
268+
cpt_status->s.uc_compcode,
269+
info->req->areq->tfm->__crt_alg->cra_name,
270+
info->req->areq->tfm->__crt_alg->cra_driver_name);
270271
otx2_cpt_dump_sg_list(pdev, info->req);
271272
break;
272273
}

0 commit comments

Comments
 (0)