commit | 2885e39e949e41a72af928d22c345f08559a3aed | [log] [tgz] |
---|---|---|
author | Mona Hossain <mhossain@codeaurora.org> | Wed Apr 10 11:26:10 2013 -0700 |
committer | Mona Hossain <mhossain@codeaurora.org> | Wed Apr 10 14:11:40 2013 -0700 |
tree | edbcaa5f67ab0257ecdbd6d5bb211179079a3a9f | |
parent | 87544c6d8d691af9a0177504714bd373fb1e834a [diff] |
crypto: msm: Fix failure to process AES-XTS 256 key For AES-XTS 256 mode, key size is 64 bytes (twice the AES key size of 32 bytes). The driver only checks for AES key size and not specifically for xts key size. The driver checks for AES key size and return a failure for AES XTS 256 where key size is 64 bytes Fix is to check for valid keys for XTS algorithm. Change-Id: Ia7bafa5b5c13eab018a2e1d729a82c8d329a092e Signed-off-by: Mona Hossain <mhossain@codeaurora.org>