summaryrefslogtreecommitdiffstats
path: root/include/qapi/error.h
diff options
context:
space:
mode:
authorMaxim Levitsky2019-09-25 23:35:26 +0200
committerDaniel P. Berrangé2019-09-26 17:34:02 +0200
commitbefdba9edd20a896f4082adf6dfb613939a24e0c (patch)
tree886acee413d9862cc9773432288d2296836acdcd /include/qapi/error.h
parentqcrypto-luks: simplify the math used for keyslot locations (diff)
downloadqemu-befdba9edd20a896f4082adf6dfb613939a24e0c.tar.gz
qemu-befdba9edd20a896f4082adf6dfb613939a24e0c.tar.xz
qemu-befdba9edd20a896f4082adf6dfb613939a24e0c.zip
qcrypto-luks: more rigorous header checking
Check that keyslots don't overlap with the data, and check that keyslots don't overlap with each other. (this is done using naive O(n^2) nested loops, but since there are just 8 keyslots, this doesn't really matter. Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'include/qapi/error.h')
0 files changed, 0 insertions, 0 deletions