diff options
| author | Eric Biggers <ebiggers@kernel.org> | 2025-08-11 13:16:15 -0700 |
|---|---|---|
| committer | Andrii Nakryiko <andrii@kernel.org> | 2025-08-22 11:40:05 -0700 |
| commit | d47cc4dea17391c99b943fa8d70a279e906b2843 (patch) | |
| tree | dfb6eea68407b4917219422fb56a059a5556db78 /scripts/lib/kdoc/kdoc_re.py | |
| parent | 0780f54ab129b28e2b29689c95ad579a9db04fab (diff) | |
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 'scripts/lib/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions
