From daa4f8c748d290feba8a71e889743a8a3097ad7d Mon Sep 17 00:00:00 2001 From: Amlal Date: Wed, 25 Sep 2024 08:26:08 +0200 Subject: Refactor codebase: Move Objects to obj/, fix flags, remove .vscode, add syscalls - Refactored Objects directory to obj/ for better organization. - Fixed incorrect flags in the build process. - Removed .vscode folder to clean up unnecessary IDE settings. - Added syscall implementations for enhanced functionality. Signed-off-by: Amlal --- dev/base/EncryptFS/disk_crypt.hxx | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 dev/base/EncryptFS/disk_crypt.hxx (limited to 'dev/base/EncryptFS/disk_crypt.hxx') 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 + +/**************************************** */ +/// @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); -- cgit v1.2.3