diff options
| author | Eric Biggers <ebiggers@kernel.org> | 2025-10-14 14:16:56 -0700 |
|---|---|---|
| committer | Mikulas Patocka <mpatocka@redhat.com> | 2025-10-20 15:47:35 +0200 |
| commit | 379475dc88fc44f57760e6057b038073e352aaea (patch) | |
| tree | ec6c5b9b0229ec94fc721adf54f10929014859ec /scripts/gdb/linux/bpf.py | |
| parent | ba0f428c9b40364f1af92523860c787068987b8c (diff) | |
dm-verity: reduce scope of real and wanted digests
In preparation for supporting interleaved hashing where dm-verity will
need to keep track of the real and wanted digests for multiple data
blocks simultaneously, stop using the want_digest and real_digest fields
of struct dm_verity_io from so many different places. Specifically:
- Make various functions take want_digest as a parameter rather than
having it be implicitly passed via the struct dm_verity_io.
- Add a new tmp_digest field, and use this instead of real_digest when
computing a digest solely for the purpose of immediately checking it.
The result is that real_digest and want_digest are used only by
verity_verify_io().
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Diffstat (limited to 'scripts/gdb/linux/bpf.py')
0 files changed, 0 insertions, 0 deletions
