diff options
| author | Amlal <amlal@el-mahrouss-logic.com> | 2024-08-28 19:40:36 +0200 |
|---|---|---|
| committer | Amlal <amlal@el-mahrouss-logic.com> | 2024-08-28 19:40:36 +0200 |
| commit | f0a3c583c80dc922edf70347cb493dff0bb5709a (patch) | |
| tree | b2d522852feb30b0f6aa0296c37a3e3b57914ddc /dev/DLL/EncryptFS | |
| parent | c2e183b46a71e001683fd3b613ce49c9534460e2 (diff) | |
[IMP] RunSCM, RunDLL64 programs, needs SCI.dll to implement these functions though.
[WIP] WRenderer DLL, which takes care of Window rendering, add UIRenderView class.
- Note that this DLL is used internally by the shell, it shouldn't be linked with.
Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'dev/DLL/EncryptFS')
| -rw-r--r-- | dev/DLL/EncryptFS/EncryptFS.hxx | 22 | ||||
| -rw-r--r-- | dev/DLL/EncryptFS/ReadMe.md | 5 | ||||
| -rw-r--r-- | dev/DLL/EncryptFS/Sources/EncryptBlock.cxx | 14 | ||||
| -rw-r--r-- | dev/DLL/EncryptFS/Sources/Key.cxx | 12 | ||||
| -rw-r--r-- | dev/DLL/EncryptFS/build.json | 20 | ||||
| -rw-r--r-- | dev/DLL/EncryptFS/source_deploy.xml | 5 |
6 files changed, 78 insertions, 0 deletions
diff --git a/dev/DLL/EncryptFS/EncryptFS.hxx b/dev/DLL/EncryptFS/EncryptFS.hxx new file mode 100644 index 00000000..4aa82666 --- /dev/null +++ b/dev/DLL/EncryptFS/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>
+
+namespace EncryptFS
+{
+ using namespace Kernel;
+
+}
\ No newline at end of file diff --git a/dev/DLL/EncryptFS/ReadMe.md b/dev/DLL/EncryptFS/ReadMe.md new file mode 100644 index 00000000..69968538 --- /dev/null +++ b/dev/DLL/EncryptFS/ReadMe.md @@ -0,0 +1,5 @@ +# ZKA Encrypted File System. + +This is ZKA's Encrypted file system DLL. + +###### (c) ZKA Technologies, all rights reserved. diff --git a/dev/DLL/EncryptFS/Sources/EncryptBlock.cxx b/dev/DLL/EncryptFS/Sources/EncryptBlock.cxx new file mode 100644 index 00000000..09b8c0d9 --- /dev/null +++ b/dev/DLL/EncryptFS/Sources/EncryptBlock.cxx @@ -0,0 +1,14 @@ +/* ------------------------------------------- + + Copyright ZKA Technologies. + +------------------------------------------- */ + +#include <cstddef> +#include <cstdint> + +enum +{ + eEFSFlagEncrypted = 0x3f, + eEFSFlagEncryptedEPM = 0xf3, +}; diff --git a/dev/DLL/EncryptFS/Sources/Key.cxx b/dev/DLL/EncryptFS/Sources/Key.cxx new file mode 100644 index 00000000..457ce1b8 --- /dev/null +++ b/dev/DLL/EncryptFS/Sources/Key.cxx @@ -0,0 +1,12 @@ +/* ------------------------------------------- + + Copyright ZKA Technologies. + +------------------------------------------- */ + +#include <new> +#include <cstddef> +#include <cstdint> + +typedef int32_t efs_encrypt_token_t; +typedef void* efs_encrypted_blob_t; diff --git a/dev/DLL/EncryptFS/build.json b/dev/DLL/EncryptFS/build.json new file mode 100644 index 00000000..3c611a95 --- /dev/null +++ b/dev/DLL/EncryptFS/build.json @@ -0,0 +1,20 @@ +{ + "compiler_path": "x86_64-w64-mingw32-g++", + "compiler_std": "c++20", + "headers_path": ["../", "./"], + "sources_path": ["Sources/*.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" + ] +} diff --git a/dev/DLL/EncryptFS/source_deploy.xml b/dev/DLL/EncryptFS/source_deploy.xml new file mode 100644 index 00000000..9bd360df --- /dev/null +++ b/dev/DLL/EncryptFS/source_deploy.xml @@ -0,0 +1,5 @@ +<SourceDeploy>
+<HiddenFiles>
+ <SourceFile>Sources/*.cxx</SourceFile>
+</HiddenFiles>
+</SourceDeploy>
|
