Commit 43fd26a5 authored by Mona Hossain's avatar Mona Hossain
Browse files

crypto: Fix AES CCM failure



AES CCM operations (encryptiona dn decryption) was failing
due to incorrect settings of the packet sizes (total lengths
and padding).
DM OUT interrupt was not being fired as the data in
the CE OUT FIFO was not completely drained. The pad length
set did not account for the already padded data by HW.

Fix was to set the pad lengths correctly for the OUT
channel (for encryption and decryption) taking into account
the additional padding already appended to the data by the
CE hardware.

Change-Id: I83eed8c903d7fa09d8b7d2b471892efacbaba00a
Signed-off-by: default avatarMona Hossain <mhossain@codeaurora.org>
parent 72a92bf7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment