Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 37fa11ad authored by Mona Hossain's avatar Mona Hossain Committed by Stephen Boyd
Browse files

crypto: msm: Fix failure in XTS operation



When using PIPE keys, the XTS_DU_SIZE register is hardcoded to
512 Bytes.  For transfers that are smaller than 512 bytes,
the crypto operation hangs waiting for more data.

The fix is to set XTS_DU_SIZE to minimum of packet size and 512
bytes.

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