On Thu, May 29, 2025 at 12:31:59PM -0700, Ian Rogers wrote:
> On Wed, May 21, 2025 at 3:54 PM Yuzhuo Jing <yuzhuo@google.com> wrote:
> >
> > Currently, genelf.c is the only file in the perf tool that depends on
> > libcrypto (e.g. openssl), which only uses it to calculate a SHA1/MD5
> > Build ID. This patch series pulls in the SHA1 implementation from the
> > kernel tree, and removes the libcrypto dependency from perf. This also
> > switches the default Build ID calculation method from MD5 to the more
> > commonly used SHA1.
> >
> > Yuzhuo Jing (4):
> > perf utils: Add support functions for sha1 utils
> > perf tools: Add sha1 utils
> > perf genelf: Remove libcrypto dependency and use sha1 utils
> > tools: Remove libcrypto dependency
>
> Tested-by: Ian Rogers <irogers@google.com>
I reported a problem with some integer comparision, the code is the same
as is in the kernel, so I left it for later to continue analysis, if
someone can try to continue from where I left, that could help.
But then this can be left for the v6.17 as we're already in the merge
window for v6.16 and we need to have some time for what is in
perf-tools-next to sit in linux-next before sending to Linus.
- Arnaldo