summaryrefslogtreecommitdiffhomepage
path: root/dev/base/EncryptFS/disk_crypt.h
diff options
context:
space:
mode:
Diffstat (limited to 'dev/base/EncryptFS/disk_crypt.h')
-rw-r--r--dev/base/EncryptFS/disk_crypt.h31
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