summaryrefslogtreecommitdiffhomepage
path: root/dev/base/EncryptFS/disk_crypt.hxx
blob: 0b80a9303c785f84d8f3eedda9c2132809e1c967 (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
/* -------------------------------------------

	Copyright ZKA Technologies.

	File: Encrypt.hxx
	Purpose: Encrypted File System

	Revision History:

	8/8/2024: Added file (amlel)

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

#pragma once

#include <FSKit/NeFS.hxx>

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

Kernel::Int32 efs_lock_partition(Kernel::Char* partition_name, Kernel::Char* password, Kernel::Size length);

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

Kernel::Int32 efs_unlock_partition(Kernel::Char* partition_name, Kernel::Char* password, Kernel::Size length);