mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-04-10 14:23:42 +02:00
The existing GCM test suite only exercises the one-shot API. Also test the multipart interface: systematically run it on the same test data, with the input (plaintext or ciphertext) split in two parts. Given the current limitations of the GCM API, the associated data is always passed in a single shot to mbedtls_gcm_starts(), and the first part of the input is a nonzero multiple of 16. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>