summaryrefslogtreecommitdiff
path: root/cipher/rijndael-ssse3-amd64.c
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2015-07-26 16:50:33 +0300
committerJussi Kivilinna <jussi.kivilinna@iki.fi>2015-07-26 16:50:33 +0300
commit46c072669eb81ed610cc5b3c0dc0c75a143afbb4 (patch)
treee39a4340db7056d2c4b4118d2b093c5a42ac3f83 /cipher/rijndael-ssse3-amd64.c
parentada0a7d302cca97b327faaacac7a5d0b8043df88 (diff)
downloadlibgcrypt-46c072669eb81ed610cc5b3c0dc0c75a143afbb4.tar.gz
Fix undefined behavior wrt memcpy
* cipher/cipher-gcm.c: Do not copy zero bytes from an empty buffer. Let the function continue to add padding as needed though. * cipher/mac-poly1305.c: If the caller requested to finish the hash function without a copy of the result, return immediately. -- Caught by UndefinedBehaviorSanitizer. Signed-off-by: Peter Wu <peter@lekensteyn.nl>
Diffstat (limited to 'cipher/rijndael-ssse3-amd64.c')
0 files changed, 0 insertions, 0 deletions