Loading drivers/crypto/msm/qce50.c +5 −0 Original line number Diff line number Diff line Loading @@ -4967,6 +4967,11 @@ int qce_aead_req(void *handle, struct qce_req *q_req) else q_req->cryptlen = areq->cryptlen - authsize; if (q_req->cryptlen > UINT_MAX - areq->assoclen) { pr_err("Integer overflow on total aead req length.\n"); return -EINVAL; } totallen = q_req->cryptlen + areq->assoclen; if (pce_dev->support_cmd_dscr) { Loading Loading
drivers/crypto/msm/qce50.c +5 −0 Original line number Diff line number Diff line Loading @@ -4967,6 +4967,11 @@ int qce_aead_req(void *handle, struct qce_req *q_req) else q_req->cryptlen = areq->cryptlen - authsize; if (q_req->cryptlen > UINT_MAX - areq->assoclen) { pr_err("Integer overflow on total aead req length.\n"); return -EINVAL; } totallen = q_req->cryptlen + areq->assoclen; if (pce_dev->support_cmd_dscr) { Loading