summaryrefslogtreecommitdiffhomepage
path: root/dev/base/EncryptFS
diff options
context:
space:
mode:
authorAmlal <amlal@el-mahrouss-logic.com>2024-09-29 12:29:21 +0200
committerAmlal <amlal@el-mahrouss-logic.com>2024-09-29 12:29:21 +0200
commita6eb9a77787f63f08470c3ff12ac0517b482ea65 (patch)
treec570fd7ba45aa4fb809d6b9b39fd258a5097f6cc /dev/base/EncryptFS
parent7fdd5033ec93694b57d3471ff9a78164ec76943d (diff)
IMP: Design changes and reworked WM to PDM.
- Refactor other modules and drivers as well. - AMD64 HAL code improvements as well. The last thing left is the paging API and driver loading internal API. Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'dev/base/EncryptFS')
-rw-r--r--dev/base/EncryptFS/disk_crypt.hxx23
-rw-r--r--dev/base/EncryptFS/src/disk_crypt.cxx2
2 files changed, 14 insertions, 11 deletions
diff --git a/dev/base/EncryptFS/disk_crypt.hxx b/dev/base/EncryptFS/disk_crypt.hxx
index 0b80a930..6fb19b29 100644
--- a/dev/base/EncryptFS/disk_crypt.hxx
+++ b/dev/base/EncryptFS/disk_crypt.hxx
@@ -2,8 +2,8 @@
Copyright ZKA Technologies.
- File: Encrypt.hxx
- Purpose: Encrypted File System
+ File: disk_encrypt.hxx
+ Purpose: Disk Encryption File System
Revision History:
@@ -15,14 +15,17 @@
#include <FSKit/NeFS.hxx>
-/**************************************** */
-/// @brief Locks an EFS partition.
-/**************************************** */
+namespace Kernel
+{
+ /**************************************** */
+ /// @brief Locks an EFS partition.
+ /**************************************** */
-Kernel::Int32 efs_lock_partition(Kernel::Char* partition_name, Kernel::Char* password, Kernel::Size length);
+ Int32 efs_lock_partition(const Char* partition_name, const Char* password, SizeT length);
-/**************************************** */
-/// @brief Unlocks an EFS partition.
-/**************************************** */
+ /**************************************** */
+ /// @brief Unlocks an EFS partition.
+ /**************************************** */
-Kernel::Int32 efs_unlock_partition(Kernel::Char* partition_name, Kernel::Char* password, Kernel::Size length);
+ Int32 efs_unlock_partition(const Char* partition_name, const Char* password, SizeT length);
+} // namespace Kernel
diff --git a/dev/base/EncryptFS/src/disk_crypt.cxx b/dev/base/EncryptFS/src/disk_crypt.cxx
index d251efef..0c3cd8a2 100644
--- a/dev/base/EncryptFS/src/disk_crypt.cxx
+++ b/dev/base/EncryptFS/src/disk_crypt.cxx
@@ -4,7 +4,7 @@
------------------------------------------- */
-#include <base/EncryptFS/disk_crypt.hxx>
+#include <EncryptFS/disk_crypt.hxx>
enum
{