summaryrefslogtreecommitdiffstats
path: root/src/cryptenroll/cryptenroll-password.h
blob: aa07a6f97b8b709d677224d9e021ee171b5d5873 (plain)
1
2
3
4
5
6
7
8
9
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#pragma once

#include <sys/types.h>

#include "cryptsetup-util.h"

int load_volume_key_password(struct crypt_device *cd, const char* cd_node, void *ret_vk, size_t *ret_vks);
int enroll_password(struct crypt_device *cd, const void *volume_key, size_t volume_key_size);