summaryrefslogtreecommitdiff
path: root/tools/perf/util/sha1.h
blob: e92c9966e1d50c6b46e07b7b31740531c6f936fc (plain)
1
2
3
4
5
6
/* SPDX-License-Identifier: GPL-2.0-only */
#include <linux/types.h>

#define SHA1_DIGEST_SIZE 20

void sha1(const void *data, size_t len, u8 out[SHA1_DIGEST_SIZE]);