crypto: msm: Add checks for input parameters

Add checks for incorrect inputs for hash and cipher
operation.  Add error logs for incorrect input parameters.

Change-Id: Ifced6a3388621fd2b051e06de8f02d36636f2ebb
Signed-off-by: Mona Hossain <mhossain@codeaurora.org>
1 file changed