summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/qat
diff options
context:
space:
mode:
authorHoria Geantă <horia.geanta@nxp.com>2019-01-22 16:47:01 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2019-02-01 14:42:03 +0800
commit763069ba49d3fa342fe35487d5de10fcf1589381 (patch)
tree7cf6bdd30cc6cc561ce418cfd6411e3aadc65bcb /drivers/crypto/qat
parent87870cfb4b5a93c70e2dc32d0349af0625bd5546 (diff)
crypto: caam - handle zero-length AEAD output
Recent AEAD changes in testmgr framework introduced by commit a0d608ee5ebf ("crypto: testmgr - unify the AEAD encryption and decryption test vectors") uncovered an error in the CAAM drivers, since they don't correctly handle the case when AEAD output length is zero. Add checks to avoid feeding zero-length req->dst to DMA API. Signed-off-by: Horia Geantă <horia.geanta@nxp.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/qat')
0 files changed, 0 insertions, 0 deletions