summaryrefslogtreecommitdiff
path: root/rust/kernel/interop/git@git.tavy.me:linux-stable.git
diff options
context:
space:
mode:
authorMimi Zohar <zohar@linux.ibm.com>2026-03-10 19:42:07 -0400
committerMimi Zohar <zohar@linux.ibm.com>2026-04-01 10:14:30 -0400
commitdccfbafb1f34a98898ac685e0f3f86eeaf25ecc6 (patch)
tree614c54838a7b7859e8fd6a20c546038a5134d519 /rust/kernel/interop/git@git.tavy.me:linux-stable.git
parent7a60fe48af206d34571e446d685672f5730a6b90 (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 'rust/kernel/interop/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions