Renamed ci.h to Domito.MinCrypt.h

Extended the README
This commit is contained in:
Benjamin Höglinger-Stelzer 2023-07-02 12:22:41 +02:00
parent e0385accaf
commit fe0f9e5bcb
6 changed files with 17 additions and 4 deletions

View File

@ -14,6 +14,17 @@ Most of the logic you find here has been discovered and provided by the fine fol
Custom types are prefixed with an all upper case `DOMITO_` and functions are prefixed with a Pascal case `Domito` to avoid conflicts with any system-provided names. The word "domito" is latin for "to tame". Custom types are prefixed with an all upper case `DOMITO_` and functions are prefixed with a Pascal case `Domito` to avoid conflicts with any system-provided names. The word "domito" is latin for "to tame".
## Environment
Built for and tested on **Windows 10 version 1507 x64/ARM64**. 32-Bit might work too but who cares about that 😆
## Goals
- Stick to C-compatible exports and consumable types only.
- I do not want to force any consumer of the library to drag C++ paradigms into their project. I do expect the user to utilize a modern compiler though, so the library sources themselves may have some 'C++-ish touches' here and there, for convenience 😉
- Compatibility with every Windows 10 version.
- APIs not available on older builds will give you a `STATUS_NOT_IMPLEMENTED` instead of hard-linking and therefore making your driver fail to load 🤞
## How to use ## How to use
- Add the `include` directory to your project's headers search path. - Add the `include` directory to your project's headers search path.
@ -31,6 +42,8 @@ This library benefits from these awesome projects ❤ (appearance in no special
for Windows NT3.51/NT4/2000/XP/2003/Vista/7/8 kernel mode, for Windows NT3.51/NT4/2000/XP/2003/Vista/7/8 kernel mode,
both 32 and 64 bit platforms](http://alter.org.ua/en/docs/nt_kernel/procaddr/) both 32 and 64 bit platforms](http://alter.org.ua/en/docs/nt_kernel/procaddr/)
- [Use ci.dll API for validating Authenticode signature of files](https://github.com/Ido-Moshe-Github/CiDllDemo) - [Use ci.dll API for validating Authenticode signature of files](https://github.com/Ido-Moshe-Github/CiDllDemo)
- [MiroKaku/CiDllDemo](https://github.com/MiroKaku/CiDllDemo)
- [MiroKaku/Veil](https://github.com/MiroKaku/Veil)
- [Helper functions for calculating the authenticode digest for a portable executable file](https://github.com/mihaly044/pedigest) - [Helper functions for calculating the authenticode digest for a portable executable file](https://github.com/mihaly044/pedigest)
- Custom memory allocator exposure inspired by SDL - Custom memory allocator exposure inspired by SDL
- [SDL_stdinc.h](https://github.com/libsdl-org/SDL/blob/main/include/SDL3/SDL_stdinc.h) - [SDL_stdinc.h](https://github.com/libsdl-org/SDL/blob/main/include/SDL3/SDL_stdinc.h)

View File

@ -1,6 +1,6 @@
#pragma once #pragma once
#include <ci.h> #include <Domito.MinCrypt.h>
/******************************************************************************** /********************************************************************************

View File

@ -4,7 +4,7 @@
#include <bcrypt.h> #include <bcrypt.h>
#include "Domito.h" #include "Domito.h"
#include "ci.h" #include "Domito.MinCrypt.h"
/******************************************************************************** /********************************************************************************

View File

@ -120,7 +120,7 @@
<ClCompile Include="Domito.cpp" /> <ClCompile Include="Domito.cpp" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ClInclude Include="..\include\ci.h" /> <ClInclude Include="..\include\Domito.MinCrypt.h" />
<ClInclude Include="..\include\Domito.h" /> <ClInclude Include="..\include\Domito.h" />
</ItemGroup> </ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />

View File

@ -27,7 +27,7 @@
<ClInclude Include="..\include\Domito.h"> <ClInclude Include="..\include\Domito.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="..\include\ci.h"> <ClInclude Include="..\include\Domito.MinCrypt.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
</ItemGroup> </ItemGroup>