crypto: msm: check potential integer overflow

According to the specification of AEAD, AEAD request crypt length is
not a fixed maximum and associated length is also same. This could
lead to potential integer overflow, thus allocating less memory. So
we need to check potential integer overflow on AEAD request length.

CRs-Fixed: 726872
Change-Id: Ie7708000bfd8c57e2fba8e02230a7ce9cdc9634c
Signed-off-by: William Clark <wclark@codeaurora.org>
Merge "crypto: msm: check potential integer overflow"
Revert "msm: mdss: protect command mode BW votes by tracking HW/SW states"

This reverts commit eed775ce1268b60817bba16ca8b4efcb8f78d159.

Change-Id: I7ad61f03c0d027a23aa31700ba22b2fbaa1b6511
Signed-off-by: Vinay Verma <vvinay@codeaurora.org>
Merge "Revert "msm: mdss: protect command mode BW votes by tracking HW/SW states""
Revert "msm: mdss: release mdp bandwidth voting for command mode when idle"

This reverts commit 964efc22d11732daf996dd07d7c930c523200143.

Change-Id: I9a1d42130dfbce80e2e9879b19581cbee612bb8f
Signed-off-by: Vinay Verma <vvinay@codeaurora.org>
Revert "ARM: dts: Increase the ib fudge factor to 2"

This reverts commit fee8674d032d609bd6137ab3877372d729aac5d6.

Change-Id: Ib8f61c2c544942b0c9a70e0be65e56ee1949605b
Signed-off-by: Vinay Verma <vvinay@codeaurora.org>
Revert "ARM: dts: set ab fudge factor to 1"

This reverts commit f406f3196d97aa1cf56e7459cf45a082a188665e.

Change-Id: Id9f70a31a22389600c1483635b2bb34a7da90a16
Signed-off-by: Vinay Verma <vvinay@codeaurora.org>
Revert "msm: mdss: fix issue of overlapping BW for two adjacent surfaces"

This reverts commit e333804dd4f7cb497064918a9c7a1b6394a297e1.

Change-Id: I95fc276978ede4ea2f2fc89382745005a5af7192
Signed-off-by: Vinay Verma <vvinay@codeaurora.org>
Merge "Revert "msm: mdss: release mdp bandwidth voting for command mode when idle""
Merge "Revert "ARM: dts: Increase the ib fudge factor to 2""
Merge "Revert "ARM: dts: set ab fudge factor to 1""
Merge "Revert "msm: mdss: fix issue of overlapping BW for two adjacent surfaces""