Gilles Peskine 9b9b614a02 cipher_encrypt_alg_without_iv: validate size macros independently
Validate the size macros directly from the output length in the test data,
rather than using the value returned by the library. This is equivalent
since the value returned by the library is checked to be identical.

Enforce that SIZE() <= MAX_SIZE(), in addition to length <= SIZE(). This is
stronger than the previous code which merely enforced length <= SIZE() and
length <= MAX_SIZE().

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2022-04-21 11:24:48 +02:00
..
2021-10-21 11:33:41 +02:00
2022-03-21 09:49:40 +01:00
2015-04-08 13:25:31 +02:00
2021-06-22 12:47:21 +02:00
2021-06-18 12:59:38 +02:00
2021-12-15 09:02:53 +01:00
2021-06-18 12:59:38 +02:00