summaryrefslogtreecommitdiffstats
path: root/fs/notify
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2015-06-11 11:28:34 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2015-06-12 22:45:09 +0800
commit81781e681551ed3f56c9202e9adc7ef941cba654 (patch)
tree9f9577f0edb591a80e6d5c39b23061839f5dca30 /fs/notify
parent1a5b951f256d772a4ab758bda3a0667b788c0d2a (diff)
downloadop-kernel-dev-81781e681551ed3f56c9202e9adc7ef941cba654.zip
op-kernel-dev-81781e681551ed3f56c9202e9adc7ef941cba654.tar.gz
crypto: picoxcell - Clamp AEAD SG list by input length
Currently the driver assumes that the SG list contains exactly the number of bytes required. This assumption is incorrect. Up until now this has been harmless. However with the new AEAD interface this now breaks as the AD SG list contains more bytes than just the AD. This patch fixes this by always clamping the AD SG list by the specified AD length. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'fs/notify')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud