summaryrefslogtreecommitdiffhomepage
path: root/dev/base/EncryptFS/disk_crypt.h
blob: 981ebc78327abccee9b566d5cdd753b48bdef606 (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 Web Services Co.

	File: disk_encrypt.h
	Purpose: Disk Encryption File System

	Revision History:

	8/8/2024: Added file (amlel)

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

#pragma once

#include <FSKit/NeFS.h>

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