commit | 9312fe28b1d78ed915cae14afe2aa70633bccb19 | [log] [tgz] |
---|---|---|
author | Mona Hossain <mhossain@codeaurora.org> | Mon Apr 08 21:00:59 2013 -0700 |
committer | Mona Hossain <mhossain@codeaurora.org> | Tue Apr 09 11:48:15 2013 -0700 |
tree | dac7834d221dd483690f0b157118a7fa9f9d0aa2 | |
parent | 02409497efbbfc0006cc92667b0ee6502673a90c [diff] |
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: Mona Hossain <mhossain@codeaurora.org>