-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcrypt32.def
More file actions
executable file
·78 lines (77 loc) · 2.17 KB
/
crypt32.def
File metadata and controls
executable file
·78 lines (77 loc) · 2.17 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
; Definition file for the 32/64-bit cryptlib DLL. Although the cryptlib
; header file already provides all the information contained in this file,
; the use of a redundant .DEF file is necessary because many non-C
; development environments require the use of the Pascal calling convention
; for Windows DLL's, however when this is used (via __stdcall) in VC++ it
; mangles the function names, which means that other environments can't even
; see the entry points, let alone call them.
;
; To avoid this, it's necessary to include this .DEF file to tell VC++ not to
; mangle the exported names. It'll still try to mangle them, but when the
; linker sees the mangled names and the unmangled versions in this file, it
; quietly forgets the mangled versions and uses these ones instead.
;
; An alternative way to fix this is to use a series of pragmas like:
;
; #pragma comment( linker, "/export:cryptInit=_cryptInit:0" )
;
; in one of the source modules, but this is even uglier than the .DEF hack.
LIBRARY CL32
EXPORTS cryptAddCertExtension
cryptAddPrivateKey
cryptAddPublicKey
cryptAddRandom
cryptCAAddItem
cryptCACertManagement
cryptCADeleteItem
cryptCAGetItem
cryptCheckCert
cryptCheckSignature
cryptCheckSignatureEx
cryptCreateCert
cryptCreateContext
cryptCreateEnvelope
cryptCreateSession
cryptCreateSignature
cryptCreateSignatureEx
cryptDecrypt
cryptDeleteAttribute
cryptDeleteCertExtension
cryptDeleteKey
cryptDestroyCert
cryptDestroyContext
cryptDestroyEnvelope
cryptDestroyObject
cryptDestroySession
cryptDeviceClose
cryptDeviceCreateContext
cryptDeviceOpen
cryptDeviceQueryCapability
cryptEncrypt
cryptEnd
cryptExportCert
cryptExportKey
cryptExportKeyEx
cryptFlushData
cryptGenerateKey
cryptGetAttribute
cryptGetAttributeString
cryptGetCertExtension
cryptGetKey
cryptGetPrivateKey
cryptGetPublicKey
cryptImportCert
cryptImportKey
cryptImportKeyEx
cryptInit
cryptKeysetClose
cryptKeysetOpen
cryptLogin
cryptLogout
cryptPopData
cryptPushData
cryptQueryCapability
cryptQueryObject
cryptSetAttribute
cryptSetAttributeString
cryptSignCert