diff options
| author | Mimi Zohar <zohar@linux.ibm.com> | 2026-03-10 19:42:07 -0400 |
|---|---|---|
| committer | Mimi Zohar <zohar@linux.ibm.com> | 2026-04-01 10:14:30 -0400 |
| commit | dccfbafb1f34a98898ac685e0f3f86eeaf25ecc6 (patch) | |
| tree | 614c54838a7b7859e8fd6a20c546038a5134d519 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 7a60fe48af206d34571e446d685672f5730a6b90 (diff) | |
ima: Define asymmetric_verify_v3() to verify IMA sigv3 signatures
Define asymmetric_verify_v3() to calculate the hash of the struct
ima_file_id, before calling asymmetric_verify() to verify the
signature.
Move and update the existing calc_file_id_hash() function with a
simpler, self contained version. In addition to the existing hash
data and hash data length arguments, also pass the hash algorithm.
Suggested-by: Stefan Berger <stefanb@linux.ibm.com>
Tested-by: Stefan Berger <stefanb@linux.ibm.com>
Acked-by: Eric Biggers <ebiggers@kernel.org>
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
