crypto: add test cases for many malformed LUKS header scenarios
commitda0ab2c4c4d22dece12acd9ddaed901a10a5edee
authorDaniel P. Berrangé <berrange@redhat.com>
Mon, 5 Sep 2022 13:57:17 +0000 (5 14:57 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Thu, 27 Oct 2022 12:06:12 +0000 (27 13:06 +0100)
treefdfc630164e7b025e18e0724ea29e532c3a9d3f7
parent741c314a337ff4c79b8a86fbd5891054b0191d44
crypto: add test cases for many malformed LUKS header scenarios

Validate that we diagnose each malformed LUKS header scenario with a
distinct error report.

Reviewed-by: Richard W.M. Jones <rjones@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
tests/unit/test-crypto-block.c