1 | /*
|
---|
2 | * dlls/advapi32/crypt.c
|
---|
3 | */
|
---|
4 |
|
---|
5 | #include <os2win.h>
|
---|
6 | #include <stdlib.h>
|
---|
7 | #include <stdarg.h>
|
---|
8 | #include <string.h>
|
---|
9 | #include <odinwrap.h>
|
---|
10 | #include <misc.h>
|
---|
11 | #include "wincrypt.h"
|
---|
12 | /*
|
---|
13 | #include "windef.h"
|
---|
14 | #include "winerror.h"
|
---|
15 | #include "wincrypt.h"
|
---|
16 | #include "debugtools.h"
|
---|
17 | */
|
---|
18 |
|
---|
19 | ODINDEBUGCHANNEL(ADVAPI32-CRYPT)
|
---|
20 |
|
---|
21 | /******************************************************************************
|
---|
22 | * CryptAcquireContextA
|
---|
23 | * Acquire a crypto provider context handle.
|
---|
24 | *
|
---|
25 | * PARAMS
|
---|
26 | * phProv: Pointer to HCRYPTPROV for the output.
|
---|
27 | * pszContainer: FIXME (unknown)
|
---|
28 | * pszProvider: FIXME (unknown)
|
---|
29 | * dwProvType: Crypto provider type to get a handle.
|
---|
30 | * dwFlags: flags for the operation
|
---|
31 | *
|
---|
32 | * RETURNS TRUE on success, FALSE on failure.
|
---|
33 | */
|
---|
34 |
|
---|
35 | BOOL WINAPI CryptAcquireContextA( HCRYPTPROV *phProv, LPCSTR pszContainer,
|
---|
36 | LPCSTR pszProvider, DWORD dwProvType, DWORD dwFlags)
|
---|
37 | {
|
---|
38 | dprintf(("(%p, %s, %s, %ld, %08lx): not implemented.\n", phProv, pszContainer,
|
---|
39 | pszProvider, dwProvType, dwFlags));
|
---|
40 | return FALSE;
|
---|
41 | }
|
---|
42 |
|
---|
43 | /******************************************************************************
|
---|
44 | * CryptSetKeyParam
|
---|
45 | */
|
---|
46 | BOOL WINAPI CryptSetKeyParam( HCRYPTKEY hKey, DWORD dwParam, BYTE *pbData, DWORD dwFlags)
|
---|
47 | {
|
---|
48 | dprintf(("(%lx, %lx, %p, %lx): not implemented.\n", hKey, dwParam, pbData, dwFlags));
|
---|
49 | return FALSE;
|
---|
50 | }
|
---|
51 |
|
---|