summaryrefslogtreecommitdiffhomepage
path: root/dev/base/EncryptFS
diff options
context:
space:
mode:
Diffstat (limited to 'dev/base/EncryptFS')
-rw-r--r--dev/base/EncryptFS/ReadMe.md11
-rw-r--r--dev/base/EncryptFS/build.json20
-rw-r--r--dev/base/EncryptFS/disk_crypt.h31
-rw-r--r--dev/base/EncryptFS/src/disk_crypt.cc14
4 files changed, 0 insertions, 76 deletions
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 <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
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 <EncryptFS/disk_crypt.h>
-
-enum
-{
- kEFSFlagEncryptedFree = 0x00,
- kEFSFlagEncryptedUnlocked = 0x3f,
- kEFSFlagEncryptedLock = 0xf3,
-};