summaryrefslogtreecommitdiffstats
path: root/src/cryptsetup/cryptsetup-keyfile.h
blob: 83bd1fbed2bb3a0438193b6b44c22bd96550cf5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#pragma once

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

int find_key_file(
                const char *key_file,
                char **search_path,
                const char *bindname,
                void **ret_key,
                size_t *ret_key_size);