summaryrefslogtreecommitdiffstats
path: root/crypto/asymmetric_keys
diff options
context:
space:
mode:
authorTom Lendacky <thomas.lendacky@amd.com>2016-05-20 17:33:03 -0500
committerHerbert Xu <herbert@gondor.apana.org.au>2016-05-25 18:33:47 +0800
commitab6a11a7c8ef47f996974dd3c648c2c0b1a36ab1 (patch)
tree84aa3f31e7291587899264a30cbce7169a0af18c /crypto/asymmetric_keys
parentbad6a185b4d6f81d0ed2b6e4c16307969f160b95 (diff)
downloadlinux-ab6a11a7c8ef47f996974dd3c648c2c0b1a36ab1.tar.bz2
crypto: ccp - Fix AES XTS error for request sizes above 4096
The ccp-crypto module for AES XTS support has a bug that can allow requests greater than 4096 bytes in size to be passed to the CCP hardware. The CCP hardware does not support request sizes larger than 4096, resulting in incorrect output. The request should actually be handled by the fallback mechanism instantiated by the ccp-crypto module. Add a check to insure the request size is less than or equal to the maximum supported size and use the fallback mechanism if it is not. Cc: <stable@vger.kernel.org> # 3.14.x- Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/asymmetric_keys')
0 files changed, 0 insertions, 0 deletions