diff options
| author | 2025-09-29 12:27:21 -0700 | |
|---|---|---|
| committer | 2025-10-01 16:00:25 -0700 | |
| commit | f09f57c7467710144e7522c7fa1abca87af8f7c6 (patch) | |
| tree | 56ca9ad37723641ae590f6250a3a8bbdc6a80e74 /tools/lib/bpf/libbpf_utils.c | |
| parent | bpf: Reject negative offsets for ALU ops (diff) | |
| download | linux-rng-f09f57c7467710144e7522c7fa1abca87af8f7c6.tar.xz linux-rng-f09f57c7467710144e7522c7fa1abca87af8f7c6.zip | |
selftests/bpf: Add test for libbpf_sha256()
Test that libbpf_sha256() calculates SHA-256 digests correctly.
Tested with:
make -C tools/testing/selftests/bpf/
./tools/testing/selftests/bpf/test_progs -t sha256 -v
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/lib/bpf/libbpf_utils.c')
0 files changed, 0 insertions, 0 deletions
