aboutsummaryrefslogtreecommitdiff
path: root/KMemDriver/Crypto.c
blob: 3d4c35e29c486f651fb9f0da025411881685bd59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#include "Crypto.h"

#include <stdarg.h>

struct crypt_data {
	UINT64 key;
	UINT8 crypted;
	UINT8 used;
};

static struct crypt_data* data = NULL;
static size_t data_used = 0;

void CryptoInit(PVOID fn, ...)
{
	SIZE_T functions = 0;
	va_list ap;

	va_start(ap, fn);
	while (va_arg(ap, PVOID) != NULL)
	{
		functions++;
	}
	va_end(ap);

	va_start(ap, fn);
	PVOID f;
	while ((f = va_arg(ap, PVOID)) != NULL)
	{
	}
	va_end(ap);
}

void CryptoDo(PVOID fn)
{
	UNREFERENCED_PARAMETER(fn);
}