diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-10-21 20:23:36 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-10-21 20:23:36 +0200 |
| commit | d48cbe75ef29a9c67c9d176bf58e56ea6448fb9e (patch) | |
| tree | 89cbd6b7e23802f92bf3158868f4dc33c088e516 /dev/base/EncryptFS/disk_crypt.h | |
| parent | 21b3da78f806d6765f9dffa6a84c21346f171cee (diff) | |
IMP: Major refactor of header and source files extensions.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/base/EncryptFS/disk_crypt.h')
| -rw-r--r-- | dev/base/EncryptFS/disk_crypt.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/dev/base/EncryptFS/disk_crypt.h b/dev/base/EncryptFS/disk_crypt.h new file mode 100644 index 00000000..981ebc78 --- /dev/null +++ b/dev/base/EncryptFS/disk_crypt.h @@ -0,0 +1,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
|
