From 01658f0f5ba1fb3e84d61629f15b8c5221bf66dc Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Tue, 20 Aug 2024 10:04:39 +0200 Subject: + Fixes and refactors regarding Kernel DLL and other DLLs. + Next commit will fix TryLogIn method. Signed-off-by: Amlal El Mahrouss --- dev/EFS/Sources/EncryptBlock.cxx | 14 ++++++++++++++ dev/EFS/Sources/Key.cxx | 12 ++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 dev/EFS/Sources/EncryptBlock.cxx create mode 100644 dev/EFS/Sources/Key.cxx (limited to 'dev/EFS/Sources') diff --git a/dev/EFS/Sources/EncryptBlock.cxx b/dev/EFS/Sources/EncryptBlock.cxx new file mode 100644 index 00000000..09b8c0d9 --- /dev/null +++ b/dev/EFS/Sources/EncryptBlock.cxx @@ -0,0 +1,14 @@ +/* ------------------------------------------- + + Copyright ZKA Technologies. + +------------------------------------------- */ + +#include +#include + +enum +{ + eEFSFlagEncrypted = 0x3f, + eEFSFlagEncryptedEPM = 0xf3, +}; diff --git a/dev/EFS/Sources/Key.cxx b/dev/EFS/Sources/Key.cxx new file mode 100644 index 00000000..457ce1b8 --- /dev/null +++ b/dev/EFS/Sources/Key.cxx @@ -0,0 +1,12 @@ +/* ------------------------------------------- + + Copyright ZKA Technologies. + +------------------------------------------- */ + +#include +#include +#include + +typedef int32_t efs_encrypt_token_t; +typedef void* efs_encrypted_blob_t; -- cgit v1.2.3