Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

selftests/bpf: Update test_tag to use sha256

commit 603b44162325 ("bpf: Update the bpf_prog_calc_tag to use SHA256")
changed digest of prog_tag to SHA256 but forgot to update tests
correspondingly. Fix it.

Fixes: 603b44162325 ("bpf: Update the bpf_prog_calc_tag to use SHA256")
Signed-off-by: Xing Guo <higuoxing@gmail.com>
Link: https://lore.kernel.org/r/20251121061458.3145167-1-higuoxing@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>

authored by

Xing Guo and committed by
Alexei Starovoitov
b7f7d76d ae24fc8a

+1 -1
+1 -1
tools/testing/selftests/bpf/test_tag.c
··· 116 116 static const struct sockaddr_alg alg = { 117 117 .salg_family = AF_ALG, 118 118 .salg_type = "hash", 119 - .salg_name = "sha1", 119 + .salg_name = "sha256", 120 120 }; 121 121 int fd_base, fd_alg, ret; 122 122 ssize_t size;