aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/bpf/helpers.c
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@kernel.org>2025-08-11 13:16:15 -0700
committerAndrii Nakryiko <andrii@kernel.org>2025-08-22 11:40:05 -0700
commitd47cc4dea17391c99b943fa8d70a279e906b2843 (patch)
treedfb6eea68407b4917219422fb56a059a5556db78 /kernel/bpf/helpers.c
parentselftests/bpf: Tests for is_scalar_branch_taken tnum logic (diff)
downloadlinux-d47cc4dea17391c99b943fa8d70a279e906b2843.tar.gz
linux-d47cc4dea17391c99b943fa8d70a279e906b2843.zip
bpf: Use sha1() instead of sha1_transform() in bpf_prog_calc_tag()
Now that there's a proper SHA-1 library API, just use that instead of the low-level SHA-1 compression function. This eliminates the need for bpf_prog_calc_tag() to implement the SHA-1 padding itself. No functional change; the computed tags remain the same. Signed-off-by: Eric Biggers <ebiggers@kernel.org> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Acked-by: Eduard Zingerman <eddyz87@gmail.com> Link: https://lore.kernel.org/bpf/20250811201615.564461-1-ebiggers@kernel.org
Diffstat (limited to 'kernel/bpf/helpers.c')
0 files changed, 0 insertions, 0 deletions