summaryrefslogtreecommitdiff
path: root/include/crypto
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2023-06-27 17:59:32 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2023-06-27 17:59:52 +0800
commit486bfb05913ac9969a3a71a4dc48f17f31cb162d (patch)
tree52e12ccce05a85fd41db07c74aca5059dd8a7d84 /include/crypto
parent891ebfdfa3d08bf55ebec523c99bb68ac9c34cf7 (diff)
crypto: akcipher - Do not copy dst if it is NULL
As signature verification has a NULL destination buffer, the pointer needs to be checked before the memcpy is done. Fixes: addde1f2c966 ("crypto: akcipher - Add sync interface without SG lists") Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/crypto')
0 files changed, 0 insertions, 0 deletions