1999-02-13 09:08:33 +00:00
|
|
|
/*
|
|
|
|
* dlls/advapi32/crypt.c
|
|
|
|
*/
|
1999-03-14 16:35:05 +00:00
|
|
|
#include "windef.h"
|
1999-02-13 09:08:33 +00:00
|
|
|
#include "winerror.h"
|
|
|
|
#include "wincrypt.h"
|
1999-05-14 08:17:14 +00:00
|
|
|
#include "debugtools.h"
|
1999-02-13 09:08:33 +00:00
|
|
|
|
1999-04-19 14:56:29 +00:00
|
|
|
DEFAULT_DEBUG_CHANNEL(advapi)
|
|
|
|
|
1999-02-13 09:08:33 +00:00
|
|
|
/******************************************************************************
|
|
|
|
* CryptAcquireContextA
|
|
|
|
* Acquire a crypto provider context handle.
|
|
|
|
*
|
|
|
|
* PARAMS
|
|
|
|
* phProv: Pointer to HCRYPTPROV for the output.
|
|
|
|
* pszContainer: FIXME (unknown)
|
|
|
|
* pszProvider: FIXME (unknown)
|
|
|
|
* dwProvType: Crypto provider type to get a handle.
|
|
|
|
* dwFlags: flags for the operation
|
|
|
|
*
|
|
|
|
* RETURNS TRUE on success, FALSE on failure.
|
|
|
|
*/
|
|
|
|
|
1999-02-26 11:11:13 +00:00
|
|
|
BOOL WINAPI
|
1999-02-13 09:08:33 +00:00
|
|
|
CryptAcquireContextA( HCRYPTPROV *phProv, LPCSTR pszContainer,
|
|
|
|
LPCSTR pszProvider, DWORD dwProvType, DWORD dwFlags)
|
|
|
|
{
|
1999-05-14 08:17:14 +00:00
|
|
|
FIXME_(advapi)("(%p, %s, %s, %ld, %08lx): stub!\n", phProv, pszContainer,
|
1999-02-13 09:08:33 +00:00
|
|
|
pszProvider, dwProvType, dwFlags);
|
|
|
|
return FALSE;
|
|
|
|
}
|
|
|
|
|
1999-10-31 02:07:05 +00:00
|
|
|
/******************************************************************************
|
|
|
|
* CryptSetKeyParam
|
|
|
|
*/
|
1999-07-31 13:07:19 +00:00
|
|
|
BOOL WINAPI
|
|
|
|
CryptSetKeyParam( HCRYPTKEY hKey, DWORD dwParam, BYTE *pbData, DWORD dwFlags)
|
|
|
|
{
|
1999-09-11 16:27:20 +00:00
|
|
|
FIXME_(advapi)("(%lx, %lx, %p, %lx): stub!\n",
|
1999-07-31 13:07:19 +00:00
|
|
|
hKey, dwParam, pbData, dwFlags);
|
|
|
|
return FALSE;
|
|
|
|
}
|
1999-02-13 09:08:33 +00:00
|
|
|
|