summaryrefslogtreecommitdiffhomepage
path: root/dev/base/EncryptFS/disk_crypt.hxx
blob: 6fb19b29f8de4137591385358107c391f40a162c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/* -------------------------------------------

	Copyright ZKA Technologies.

	File: disk_encrypt.hxx
	Purpose: Disk Encryption File System

	Revision History:

	8/8/2024: Added file (amlel)

------------------------------------------- */

#pragma once

#include <FSKit/NeFS.hxx>

namespace Kernel
{
	/**************************************** */
	/// @brief Locks an EFS partition.
	/**************************************** */

	Int32 efs_lock_partition(const Char* partition_name, const Char* password, SizeT length);

	/**************************************** */
	/// @brief Unlocks an EFS partition.
	/**************************************** */

	Int32 efs_unlock_partition(const Char* partition_name, const Char* password, SizeT length);
} // namespace Kernel