summaryrefslogtreecommitdiffhomepage
path: root/dev/base/EncryptFS/disk_crypt.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'dev/base/EncryptFS/disk_crypt.hxx')
-rw-r--r--dev/base/EncryptFS/disk_crypt.hxx28
1 files changed, 28 insertions, 0 deletions
diff --git a/dev/base/EncryptFS/disk_crypt.hxx b/dev/base/EncryptFS/disk_crypt.hxx
new file mode 100644
index 00000000..0b80a930
--- /dev/null
+++ b/dev/base/EncryptFS/disk_crypt.hxx
@@ -0,0 +1,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);