From b0850d02b7fba8f0e16092c7609e928907d2521d Mon Sep 17 00:00:00 2001 From: Amlal Date: Thu, 24 Oct 2024 20:11:21 +0200 Subject: IMP: Doing a cleanup and finishing the first version of ZKA. Signed-off-by: Amlal --- dev/base/EncryptFS/ReadMe.md | 11 ----------- dev/base/EncryptFS/build.json | 20 -------------------- dev/base/EncryptFS/disk_crypt.h | 31 ------------------------------- dev/base/EncryptFS/src/disk_crypt.cc | 14 -------------- 4 files changed, 76 deletions(-) delete mode 100644 dev/base/EncryptFS/ReadMe.md delete mode 100644 dev/base/EncryptFS/build.json delete mode 100644 dev/base/EncryptFS/disk_crypt.h delete mode 100644 dev/base/EncryptFS/src/disk_crypt.cc (limited to 'dev/base/EncryptFS') diff --git a/dev/base/EncryptFS/ReadMe.md b/dev/base/EncryptFS/ReadMe.md deleted file mode 100644 index c9304515..00000000 --- a/dev/base/EncryptFS/ReadMe.md +++ /dev/null @@ -1,11 +0,0 @@ -# ZKA Encrypted File System. - -### Purpose: - -This is ZKA's Encrypted File System DLL. - -### Building: - -`btb build.json` - -###### (c) ZKA Web Services Co, all rights reserved. diff --git a/dev/base/EncryptFS/build.json b/dev/base/EncryptFS/build.json deleted file mode 100644 index 4dcefa38..00000000 --- a/dev/base/EncryptFS/build.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "compiler_path": "x86_64-w64-mingw32-g++", - "compiler_std": "c++20", - "headers_path": ["../", "./"], - "sources_path": ["src/*.cc"], - "output_name": "efs.zsc", - "compiler_flags": [ - "-ffreestanding", - "-shared", - "-fno-rtti", - "-fno-exceptions", - " -Wl,--subsystem=17" - ], - "cpp_macros": [ - "__EFS_AMD64__", - "cEFSVersion=0x0100", - "cEFSVersionHighest=0x0100", - "cEFSVersionLowest=0x0100" - ] -} diff --git a/dev/base/EncryptFS/disk_crypt.h b/dev/base/EncryptFS/disk_crypt.h deleted file mode 100644 index 981ebc78..00000000 --- a/dev/base/EncryptFS/disk_crypt.h +++ /dev/null @@ -1,31 +0,0 @@ -/* ------------------------------------------- - - 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 - -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 diff --git a/dev/base/EncryptFS/src/disk_crypt.cc b/dev/base/EncryptFS/src/disk_crypt.cc deleted file mode 100644 index 334e2d4d..00000000 --- a/dev/base/EncryptFS/src/disk_crypt.cc +++ /dev/null @@ -1,14 +0,0 @@ -/* ------------------------------------------- - - Copyright ZKA Web Services Co. - -------------------------------------------- */ - -#include - -enum -{ - kEFSFlagEncryptedFree = 0x00, - kEFSFlagEncryptedUnlocked = 0x3f, - kEFSFlagEncryptedLock = 0xf3, -}; -- cgit v1.2.3