Gilles Peskine 70edd689a8 cipher_auth_xxcrypt(): fix some null pointer handling
Make sure that if a buffer is allowed to be empty, a null pointer is
accepted if the buffer length is 0. This was already the case for most
but not all arguments to mbedtls_cipher_auth_{en,de}crypt{,_ext}.

Make sure to pass NULL for an empty buffer in the tests.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2020-12-07 09:58:26 +01:00
..
2020-11-16 15:02:16 +01:00
2020-09-22 11:57:16 +02:00
2020-11-20 13:57:15 +01:00
2020-09-25 08:43:57 -05:00
2020-11-13 09:20:18 +00:00
2020-09-01 11:04:53 +02:00