diff options
| author | Maxim Levitsky <mlevitsk@redhat.com> | 2019-09-26 00:35:26 +0300 |
|---|---|---|
| committer | Daniel P. Berrangé <berrange@redhat.com> | 2019-09-26 16:34:02 +0100 |
| commit | befdba9edd20a896f4082adf6dfb613939a24e0c (patch) | |
| tree | 886acee413d9862cc9773432288d2296836acdcd /hw/core/loader.c | |
| parent | bd56a55a94148423d37aceb057fa46031065b3da (diff) | |
| download | focaccia-qemu-befdba9edd20a896f4082adf6dfb613939a24e0c.tar.gz focaccia-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 'hw/core/loader.c')
0 files changed, 0 insertions, 0 deletions