Commit f09f57c7 authored by Eric Biggers's avatar Eric Biggers Committed by Alexei Starovoitov
Browse files

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: default avatarEric Biggers <ebiggers@kernel.org>
Signed-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
parent 55c0ced5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment