<div dir="ltr"><div>Hi,</div><div>I run "pdcp_autotest"  with --vdev=crypto_snow3g in app/dpdk-test in dpdk v25.11.</div><div>When i = 42 in run_test_for_one_know_vec() in test_pdcp.c,</div><div>It is PDCP control plane Auth snow3g gen + Cipher sonw3g enc,</div><div>the case failed because the last 4 bytes is cleared in</div><div>last for() loop in line 167 in  process_snow3g_cipher_op() in pmd_snow3g.c .</div><div><br></div><div>It can be fixed with following change:</div><div><br></div><div>diff --git a/drivers/crypto/ipsec_mb/pmd_snow3g.c b/drivers/crypto/ipsec_mb/pmd_snow3g.c<br>index b3c3b05a8a..45a8be5fc8 100644<br>--- a/drivers/crypto/ipsec_mb/pmd_snow3g.c<br>+++ b/drivers/crypto/ipsec_mb/pmd_snow3g.c<br>@@ -157,7 +157,7 @@ process_snow3g_cipher_op(struct ipsec_mb_qp *qp, struct rte_crypto_op **ops,<br>        for (i = 0; i < num_ops; i++) {<br>                if ((session->op == IPSEC_MB_OP_HASH_VERIFY_THEN_DECRYPT ||<br>                        session->op == IPSEC_MB_OP_HASH_GEN_THEN_ENCRYPT) &&<br>-                               ops[i]->sym->m_dst != NULL) {<br>+                               ops[i]->sym->m_dst != NULL && ops[i]->sym->m_dst != ops[i]->sym->m_src) {<br>                        digest_appended[i] =<br>                                snow3g_digest_appended_in_src(ops[i]);<br>                        /* Clear unencrypted digest from</div><div><br></div><div><br></div><div><br></div></div>