diff options
Diffstat (limited to 'KMemDriver/Crypto.c')
-rw-r--r-- | KMemDriver/Crypto.c | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/KMemDriver/Crypto.c b/KMemDriver/Crypto.c index 1999d5f..853623a 100644 --- a/KMemDriver/Crypto.c +++ b/KMemDriver/Crypto.c @@ -1,15 +1,30 @@ #include "Crypto.h" +#include <stdarg.h> + struct crypt_data { UINT64 key; UINT8 crypted; - UINT32 marker; + UINT8 used; }; -#define MAX_CRYPTED_FUNCTIONS 64 -static struct crypt_data data[MAX_CRYPTED_FUNCTIONS]; +static struct crypt_data * data = NULL; static size_t data_used = 0; -void crypt_fn(void) +void CryptoInit(PVOID fn, ...) +{ + va_list ap; + + va_start(ap, fn); + PVOID f; + while ((f = va_arg(ap, PVOID)) != NULL) + { + + } + va_end(ap); +} + +void CryptoDo(PVOID fn) { + UNREFERENCED_PARAMETER(fn); }
\ No newline at end of file |