summaryrefslogtreecommitdiff
path: root/src/cryptsetup/cryptsetup-keyfile.h
blob: 7bb78227dcfd4e26c2789e6e330ed8ec1176c379 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once

#include <inttypes.h>
#include <sys/types.h>

int load_key_file(
                const char *key_file,
                char **search_path,
                size_t key_file_size,
                uint64_t key_file_offset,
                void **ret_key,
                size_t *ret_key_size);