mirror of
https://github.com/LineageOS/android_kernel_samsung_msm8226.git
synced 2026-10-04 00:00:35 +02:00
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: Mona Hossain <mhossain@codeaurora.org>