summaryrefslogtreecommitdiffstats
path: root/src/pcrlock/pehash.h
blob: 26f2fb1e7b7898d3207680450942a789d57956a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#pragma once

#include <sys/types.h>

#include "openssl-util.h"
#include "uki.h"

int pe_hash(int fd, const EVP_MD *md, void **ret_hash, size_t *ret_hash_size);

int uki_hash(int fd, const EVP_MD *md, void *ret_hashes[static _UNIFIED_SECTION_MAX], size_t *ret_hash_size);