summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@kernel.org>2026-02-25 17:39:15 -0800
committerMikulas Patocka <mpatocka@redhat.com>2026-03-02 17:02:09 +0100
commit5282ac80183bd25e44c4f5f52a7f46e9a54289eb (patch)
tree85bd6934ed199fd485e0058f21fb48c2a01f306b /tools/perf/scripts/python/bin
parent51d81e14fe6788dc6463064c7517480f2acd2724 (diff)
dm-ima: use SHA-256 library
Make dm_ima_measure_on_table_load() use the SHA-256 library API instead of crypto_shash to calculate the SHA-256 hash value that it needs. This is simpler and more efficient. It also ensures that SHA-256 is actually available and doesn't fail due to the unreliable loading by name. While doing this, also use kasprintf() to simplify building the string version of the digest. Signed-off-by: Eric Biggers <ebiggers@kernel.org> Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions