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"
Merge "Merge "crypto: msm: check potential integer overflow""
Merge 996700f68704cc6c5a4999aafce67c5e15c31051 on remote branch

Change-Id: I6b742de0564c32bfef7f1838092216beb80a89ff
Merge "Merge 996700f68704cc6c5a4999aafce67c5e15c31051 on remote branch"
Revert "msm: mdss: Allow smp change during composition switch"

This reverts commit 6dc56c52c3e1c65d89202daada4bc547d5cf6e2f

Change-Id: I7a1d384510cf60765a334ca692aab60660106e9e
Merge "Revert "msm: mdss: Allow smp change during composition switch""