summaryrefslogtreecommitdiffhomepage
path: root/dev/EFSKit
diff options
context:
space:
mode:
Diffstat (limited to 'dev/EFSKit')
-rw-r--r--dev/EFSKit/EncryptFS.hxx22
-rw-r--r--dev/EFSKit/build.json10
2 files changed, 32 insertions, 0 deletions
diff --git a/dev/EFSKit/EncryptFS.hxx b/dev/EFSKit/EncryptFS.hxx
new file mode 100644
index 00000000..2ed382e3
--- /dev/null
+++ b/dev/EFSKit/EncryptFS.hxx
@@ -0,0 +1,22 @@
+/* -------------------------------------------
+
+ Copyright ZKA Technologies.
+
+ File: Encrypt.hxx
+ Purpose: Encrypted File System
+
+ Revision History:
+
+ 8/8/2024: Added file (amlel)
+
+------------------------------------------- */
+
+#pragma once
+
+#include <FSKit/NewFS.hxx>
+
+/// @brief EncryptFS NewFS extension for data protection.
+
+#define EFSKIT_VERSION 0x0100
+
+struct EFS_ENCRYPT_BLOCK;
diff --git a/dev/EFSKit/build.json b/dev/EFSKit/build.json
new file mode 100644
index 00000000..560f6716
--- /dev/null
+++ b/dev/EFSKit/build.json
@@ -0,0 +1,10 @@
+{
+ "compiler_path": "x86_64-w64-mingw32-g++",
+ "compiler_std": "c++20",
+ "headers_path": ["../", "./"],
+ "sources_path": ["*.cxx"],
+ "output_name": "encryptfs.dll",
+ "compiler_flags": ["-ffreestanding", "-shared", "-fno-rtti", "-fno-exceptions", " -Wl,--subsystem=17"],
+ "cpp_macros": ["__EFS_AMD64__", "cEFSVersion=0x0100", "cEFSVersionHighest=0x0100", "cEFSVersionLowest=0x0100"]
+ }
+ \ No newline at end of file