summaryrefslogtreecommitdiffstats
path: root/src/cryptsetup/cryptsetup-keyfile.h
blob: 308f5ebd68dfab3e8b5e03dc1fa4485b8bc057aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#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);