common/dpaax/caamflib: update ZUC-ZUC descriptor sharing
authorAkhil Goyal <akhil.goyal@nxp.com>
Thu, 14 Jan 2021 07:05:00 +0000 (12:35 +0530)
committerAkhil Goyal <akhil.goyal@nxp.com>
Tue, 19 Jan 2021 17:05:45 +0000 (18:05 +0100)
The descriptor sharing needed to be changed for ZUC+ZUC as we
were getting invalid CHA combination error due to sharing
being done on DECOs simultaneously.

Signed-off-by: Akhil Goyal <akhil.goyal@nxp.com>
drivers/common/dpaax/caamflib/desc/pdcp.h

index f084cf1..659e289 100644 (file)
@@ -3282,7 +3282,7 @@ cnstr_shdsc_pdcp_u_plane_encap(uint32_t *descbuf,
                        SHR_ALWAYS,     /* NULL */
                        SHR_WAIT,       /* SNOW f9 */
                        SHR_WAIT,       /* AES CMAC */
-                       SHR_ALWAYS      /* ZUC-I */
+                       SHR_WAIT        /* ZUC-I */
                },
        };
        LABEL(pdb_end);
@@ -3485,7 +3485,7 @@ cnstr_shdsc_pdcp_u_plane_decap(uint32_t *descbuf,
                        SHR_ALWAYS,     /* NULL */
                        SHR_WAIT,       /* SNOW f9 */
                        SHR_WAIT,       /* AES CMAC */
-                       SHR_ALWAYS      /* ZUC-I */
+                       SHR_WAIT        /* ZUC-I */
                },
        };