summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@kernel.org>2025-09-28 03:38:33 +0300
committerAlexei Starovoitov <ast@kernel.org>2025-09-28 14:25:31 +0300
commit4ef77dd584cfd915526328f516fec59e3a54d66e (patch)
tree549116ccc127b6bef700a2d55e140fe5e61b9edd /net/unix/af_unix.c
parent15cf39221e89ad413c3cc2cb8f15a2487db2ba2f (diff)
downloadlinux-4ef77dd584cfd915526328f516fec59e3a54d66e.tar.xz
libbpf: Replace AF_ALG with open coded SHA-256
Reimplement libbpf_sha256() using some basic SHA-256 C code. This eliminates the newly-added dependency on AF_ALG, which is a problematic UAPI that is not supported by all kernels. Make libbpf_sha256() return void, since it can no longer fail. This simplifies some callers. Also drop the unnecessary 'sha_out_sz' parameter. Finally, also fix the typo in "compute_sha_udpate_offsets". Fixes: c297fe3e9f99 ("libbpf: Implement SHA256 internal helper") Signed-off-by: Eric Biggers <ebiggers@kernel.org> Link: https://lore.kernel.org/r/20250928003833.138407-1-ebiggers@kernel.org Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions