Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
c690a31a
Commit
c690a31a
authored
Oct 08, 2020
by
Hans Leidekker
Committed by
Alexandre Julliard
Oct 08, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dssenh: Add stub implementations for a couple of functions.
Signed-off-by:
Hans Leidekker
<
hans@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
3a6da8de
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
89 additions
and
14 deletions
+89
-14
dssenh.spec
dlls/dssenh/dssenh.spec
+14
-14
main.c
dlls/dssenh/main.c
+75
-0
No files found.
dlls/dssenh/dssenh.spec
View file @
c690a31a
@ st
ub CPAcquireContext
@ st
ub CPCreateHash
@ st
dcall CPAcquireContext(ptr str long ptr)
@ st
dcall CPCreateHash(ptr long ptr long ptr)
@ stub CPDecrypt
@ st
ub CPDeriveKey
@ st
ub CPDestroyHash
@ st
ub CPDestroyKey
@ st
dcall CPDeriveKey(ptr long ptr long ptr)
@ st
dcall CPDestroyHash(ptr ptr)
@ st
dcall CPDestroyKey(ptr ptr)
@ stub CPDuplicateHash
@ stub CPDuplicateKey
@ stub CPEncrypt
@ st
ub CPExportKey
@ st
ub CPGenKey
@ st
dcall CPExportKey(ptr ptr ptr long long ptr ptr)
@ st
dcall CPGenKey(ptr long long ptr)
@ stub CPGenRandom
@ st
ub CPGetHashParam
@ st
dcall CPGetHashParam(ptr ptr long ptr ptr long)
@ stub CPGetKeyParam
@ st
ub CPGetProvParam
@ st
dcall CPGetProvParam(ptr long ptr ptr long)
@ stub CPGetUserKey
@ st
ub CPHashData
@ st
dcall CPHashData(ptr ptr ptr long long)
@ stub CPHashSessionKey
@ st
ub CPImportKey
@ st
ub CPReleaseContext
@ st
dcall CPImportKey(ptr ptr long ptr long ptr)
@ st
dcall CPReleaseContext(ptr long)
@ stub CPSetHashParam
@ stub CPSetKeyParam
@ stub CPSetProvParam
@ st
ub CPSignHash
@ st
ub CPVerifySignature
@ st
dcall CPSignHash(ptr ptr long wstr long ptr ptr)
@ st
dcall CPVerifySignature(ptr ptr ptr long ptr wstr long)
@ stdcall -private DllRegisterServer()
@ stdcall -private DllUnregisterServer()
dlls/dssenh/main.c
View file @
c690a31a
...
...
@@ -21,10 +21,85 @@
#include "windef.h"
#include "winbase.h"
#include "wincrypt.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
dssenh
);
BOOL
WINAPI
CPAcquireContext
(
HCRYPTPROV
*
ret_prov
,
LPSTR
container
,
DWORD
flags
,
PVTableProvStruc
vtable
)
{
return
FALSE
;
}
BOOL
WINAPI
CPReleaseContext
(
HCRYPTPROV
hprov
,
DWORD
flags
)
{
return
FALSE
;
}
BOOL
WINAPI
CPGetProvParam
(
HCRYPTPROV
hprov
,
DWORD
param
,
BYTE
*
data
,
DWORD
*
len
,
DWORD
flags
)
{
return
FALSE
;
}
BOOL
WINAPI
CPGenKey
(
HCRYPTPROV
hprov
,
ALG_ID
algid
,
DWORD
flags
,
HCRYPTKEY
*
ret_key
)
{
return
FALSE
;
}
BOOL
WINAPI
CPDestroyKey
(
HCRYPTPROV
hprov
,
HCRYPTKEY
hkey
)
{
return
FALSE
;
}
BOOL
WINAPI
CPImportKey
(
HCRYPTPROV
hprov
,
const
BYTE
*
data
,
DWORD
len
,
HCRYPTKEY
hpubkey
,
DWORD
flags
,
HCRYPTKEY
*
ret_key
)
{
return
FALSE
;
}
BOOL
WINAPI
CPExportKey
(
HCRYPTPROV
hprov
,
HCRYPTKEY
hkey
,
HCRYPTKEY
hexpkey
,
DWORD
blobtype
,
DWORD
flags
,
BYTE
*
data
,
DWORD
*
len
)
{
return
FALSE
;
}
BOOL
WINAPI
CPCreateHash
(
HCRYPTPROV
hprov
,
ALG_ID
algid
,
HCRYPTKEY
hkey
,
DWORD
flags
,
HCRYPTHASH
*
ret_hash
)
{
return
FALSE
;
}
BOOL
WINAPI
CPDestroyHash
(
HCRYPTPROV
hprov
,
HCRYPTHASH
hhash
)
{
return
FALSE
;
}
BOOL
WINAPI
CPHashData
(
HCRYPTPROV
hprov
,
HCRYPTHASH
hhash
,
const
BYTE
*
data
,
DWORD
len
,
DWORD
flags
)
{
return
FALSE
;
}
BOOL
WINAPI
CPGetHashParam
(
HCRYPTPROV
hprov
,
HCRYPTHASH
hhash
,
DWORD
param
,
BYTE
*
data
,
DWORD
*
len
,
DWORD
flags
)
{
return
FALSE
;
}
BOOL
WINAPI
CPDeriveKey
(
HCRYPTPROV
hprov
,
ALG_ID
algid
,
HCRYPTHASH
hhash
,
DWORD
flags
,
HCRYPTKEY
*
ret_key
)
{
return
FALSE
;
}
BOOL
WINAPI
CPSignHash
(
HCRYPTPROV
hprov
,
HCRYPTHASH
hhash
,
DWORD
keyspec
,
const
WCHAR
*
desc
,
DWORD
flags
,
BYTE
*
sig
,
DWORD
*
siglen
)
{
return
FALSE
;
}
BOOL
WINAPI
CPVerifySignature
(
HCRYPTPROV
hprov
,
HCRYPTHASH
hhash
,
const
BYTE
*
sig
,
DWORD
siglen
,
HCRYPTKEY
hpubkey
,
const
WCHAR
*
desc
,
DWORD
flags
)
{
return
FALSE
;
}
BOOL
WINAPI
DllMain
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
{
TRACE
(
"(0x%p, %d, %p)
\n
"
,
hinstDLL
,
fdwReason
,
lpvReserved
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment