]> git.ipfire.org Git - thirdparty/linux.git/commit
perf util: Add BLAKE2s support
authorEric Biggers <ebiggers@kernel.org>
Tue, 9 Dec 2025 01:57:27 +0000 (17:57 -0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 13 Jan 2026 20:03:25 +0000 (17:03 -0300)
commit8d3b6649499edd85e88b763e77bbce2ab016eb47
tree5ef5ccc39d1955a703961d96480f4f06bff302a6
parentb6ee9b6e206b288921c14c906eebf4b32fe0c0d8
perf util: Add BLAKE2s support

Add BLAKE2s support to the perf utility library.  The code is borrowed
from the kernel.  This will replace the use of SHA-1 in genelf.c.

Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Tested-by: Ian Rogers <irogers@google.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Fangrui Song <maskray@sourceware.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: James Clark <james.clark@linaro.org>
Cc: Jason A. Donenfeld <Jason@zx2c4.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Pablo Galindo <pablogsal@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/util.c
tools/perf/util/Build
tools/perf/util/blake2s.c [new file with mode: 0644]
tools/perf/util/blake2s.h [new file with mode: 0644]