Gilles Peskine 5fcdf49f0e Move copy-context testing to an auxiliary function
This is in preparation for running it multiple times with different
alignments.

This commit also fixes the fact that we weren't calling mbedtls_aes_free()
on the context (we still aren't if the test fails). It's not an issue except
possibly in some ALT implementations.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2023-03-16 14:42:39 +01:00
..
2023-01-11 14:50:10 +01:00
2023-02-28 16:40:27 +01:00
2023-02-25 17:10:38 +00:00
2023-02-25 17:10:38 +00:00