mirror of
https://github.com/cuberite/polarssl.git
synced 2025-10-04 02:52:38 -04:00

This commit adds test cases for input and output buffer overlap. The data for the test cases is a duplicate of existing encrypt/decrypt test cases. The two test functions gcm_<encrypt/decrypt>_input_output_buffer_overlap are modified to use a single malloc buffer rounded to the nearest 128-bits/16-bytes for input and output. Signed-off-by: Harry Ramsey <harry.ramsey@arm.com>