mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-12-04 23:42:42 +03:00
With multipart AEAD, if we attempt to add zero length additional data, then with the buffer sharing fixes this can now lead to undefined behaviour when using gcm. Fix this by returning early, as there is nothing to do if the input length is zero. Signed-off-by: Paul Elliott <paul.elliott@arm.com>
309 KiB
309 KiB