Changeset 21872 for branches/gcc-kmk/src
- Timestamp:
- Dec 9, 2011, 6:11:09 PM (14 years ago)
- Location:
- branches/gcc-kmk/src
- Files:
-
- 1 added
- 9 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
branches/gcc-kmk/src/Makefile.kmk
r21871 r21872 36 36 include $(PATH_SUB_CURRENT)/winspool/Makefile.kmk 37 37 include $(PATH_SUB_CURRENT)/comdlg32/Makefile.kmk 38 include $(PATH_SUB_CURRENT)/crypt32/Makefile.kmk 38 39 39 40 include $(FILE_KBUILD_SUB_FOOTER) -
branches/gcc-kmk/src/crypt32/crypt32.def
r21325 r21872 5 5 EXPORTS 6 6 7 CertAddCRLContextToStore = _CertAddCRLContextToStore@16@18 CertAddCTLContextToStore = _CertAddCTLContextToStore@16@29 CertAddCertificateContextToStore = _CertAddCertificateContextToStore@16@310 CertAddEncodedCRLToStore = _CertAddEncodedCRLToStore@24@411 CertAddEncodedCTLToStore = _CertAddEncodedCTLToStore@24@512 CertAddEncodedCertificateToStore = _CertAddEncodedCertificateToStore@24@67 CertAddCRLContextToStore = "_CertAddCRLContextToStore@16" @1 8 CertAddCTLContextToStore = "_CertAddCTLContextToStore@16" @2 9 CertAddCertificateContextToStore = "_CertAddCertificateContextToStore@16" @3 10 CertAddEncodedCRLToStore = "_CertAddEncodedCRLToStore@24" @4 11 CertAddEncodedCTLToStore = "_CertAddEncodedCTLToStore@24" @5 12 CertAddEncodedCertificateToStore = "_CertAddEncodedCertificateToStore@24" @6 13 13 ;CertAddEncodedCertificateToSystemStoreA = _CertAddEncodedCertificateToSystemStoreA @7 14 14 ;CertAddEncodedCertificateToSystemStoreW = _CertAddEncodedCertificateToSystemStoreW @8 15 CertAddEnhancedKeyUsageIdentifier = _CertAddEnhancedKeyUsageIdentifier@8@916 CertAddSerializedElementToStore = _CertAddSerializedElementToStore@32@1017 CertAddStoreToCollection = _CertAddStoreToCollection@16@1118 CertAlgIdToOID = _CertAlgIdToOID@4@1219 CertCloseStore = _CertCloseStore@8@1320 CertCompareCertificate = _CertCompareCertificate@12@1421 CertCompareCertificateName = _CertCompareCertificateName@12@1522 CertCompareIntegerBlob = _CertCompareIntegerBlob@8@1623 CertComparePublicKeyInfo = _CertComparePublicKeyInfo@12@1724 CertControlStore = _CertControlStore@16@1825 CertCreateCRLContext = _CertCreateCRLContext@12@1926 CertCreateCTLContext = _CertCreateCTLContext@12@2027 CertCreateCertificateChainEngine = _CertCreateCertificateChainEngine@8@2128 CertCreateCertificateContext = _CertCreateCertificateContext@12@2229 CertCreateSelfSignCertificate = _CertCreateSelfSignCertificate@32@2330 CertDeleteCRLFromStore = _CertDeleteCRLFromStore@4@2431 CertDeleteCTLFromStore = _CertDeleteCTLFromStore@4@2532 CertDeleteCertificateFromStore = _CertDeleteCertificateFromStore@4@2633 CertDuplicateCRLContext = _CertDuplicateCRLContext@4@2734 CertDuplicateCTLContext = _CertDuplicateCTLContext@4@2835 CertDuplicateCertificateChain = _CertDuplicateCertificateChain@4@2936 CertDuplicateCertificateContext = _CertDuplicateCertificateContext@4@3037 CertDuplicateStore = _CertDuplicateStore@4@3138 CertEnumCRLContextProperties = _CertEnumCRLContextProperties@8@3239 CertEnumCRLsInStore = _CertEnumCRLsInStore@8@3340 CertEnumCTLContextProperties = _CertEnumCTLContextProperties@8@3441 CertEnumCTLsInStore = _CertEnumCTLsInStore@8@3542 CertEnumCertificateContextProperties = _CertEnumCertificateContextProperties@8@3643 CertEnumCertificatesInStore = _CertEnumCertificatesInStore@8@3744 CertEnumPhysicalStore = _CertEnumPhysicalStore@16@3845 CertEnumSystemStore = _CertEnumSystemStore@16@3946 CertFindAttribute = _CertFindAttribute@12@4047 CertFindCRLInStore = _CertFindCRLInStore@24@4148 CertFindCTLInStore = _CertFindCTLInStore@24@4249 CertFindCertificateInStore = _CertFindCertificateInStore@24@4350 CertFindCertificateInCRL = _CertFindCertificateInCRL@20@4451 CertFindExtension = _CertFindExtension@12@4552 CertFindRDNAttr = _CertFindRDNAttr@8@4615 CertAddEnhancedKeyUsageIdentifier = "_CertAddEnhancedKeyUsageIdentifier@8" @9 16 CertAddSerializedElementToStore = "_CertAddSerializedElementToStore@32" @10 17 CertAddStoreToCollection = "_CertAddStoreToCollection@16" @11 18 CertAlgIdToOID = "_CertAlgIdToOID@4" @12 19 CertCloseStore = "_CertCloseStore@8" @13 20 CertCompareCertificate = "_CertCompareCertificate@12" @14 21 CertCompareCertificateName = "_CertCompareCertificateName@12" @15 22 CertCompareIntegerBlob = "_CertCompareIntegerBlob@8" @16 23 CertComparePublicKeyInfo = "_CertComparePublicKeyInfo@12" @17 24 CertControlStore = "_CertControlStore@16" @18 25 CertCreateCRLContext = "_CertCreateCRLContext@12" @19 26 CertCreateCTLContext = "_CertCreateCTLContext@12" @20 27 CertCreateCertificateChainEngine = "_CertCreateCertificateChainEngine@8" @21 28 CertCreateCertificateContext = "_CertCreateCertificateContext@12" @22 29 CertCreateSelfSignCertificate = "_CertCreateSelfSignCertificate@32" @23 30 CertDeleteCRLFromStore = "_CertDeleteCRLFromStore@4" @24 31 CertDeleteCTLFromStore = "_CertDeleteCTLFromStore@4" @25 32 CertDeleteCertificateFromStore = "_CertDeleteCertificateFromStore@4" @26 33 CertDuplicateCRLContext = "_CertDuplicateCRLContext@4" @27 34 CertDuplicateCTLContext = "_CertDuplicateCTLContext@4" @28 35 CertDuplicateCertificateChain = "_CertDuplicateCertificateChain@4" @29 36 CertDuplicateCertificateContext = "_CertDuplicateCertificateContext@4" @30 37 CertDuplicateStore = "_CertDuplicateStore@4" @31 38 CertEnumCRLContextProperties = "_CertEnumCRLContextProperties@8" @32 39 CertEnumCRLsInStore = "_CertEnumCRLsInStore@8" @33 40 CertEnumCTLContextProperties = "_CertEnumCTLContextProperties@8" @34 41 CertEnumCTLsInStore = "_CertEnumCTLsInStore@8" @35 42 CertEnumCertificateContextProperties = "_CertEnumCertificateContextProperties@8" @36 43 CertEnumCertificatesInStore = "_CertEnumCertificatesInStore@8" @37 44 CertEnumPhysicalStore = "_CertEnumPhysicalStore@16" @38 45 CertEnumSystemStore = "_CertEnumSystemStore@16" @39 46 CertFindAttribute = "_CertFindAttribute@12" @40 47 CertFindCRLInStore = "_CertFindCRLInStore@24" @41 48 CertFindCTLInStore = "_CertFindCTLInStore@24" @42 49 CertFindCertificateInStore = "_CertFindCertificateInStore@24" @43 50 CertFindCertificateInCRL = "_CertFindCertificateInCRL@20" @44 51 CertFindExtension = "_CertFindExtension@12" @45 52 CertFindRDNAttr = "_CertFindRDNAttr@8" @46 53 53 ;CertFindSubjectInCTL = _CertFindSubjectInCTL @47 54 CertFreeCRLContext = _CertFreeCRLContext@4@4855 CertFreeCTLContext = _CertFreeCTLContext@4@4956 CertFreeCertificateChain = _CertFreeCertificateChain@4@5057 CertFreeCertificateChainEngine = _CertFreeCertificateChainEngine@4@5158 CertFreeCertificateContext = _CertFreeCertificateContext@4@5259 CertGetCRLContextProperty = _CertGetCRLContextProperty@16@5360 CertGetCRLFromStore = _CertGetCRLFromStore@16@5461 CertGetCTLContextProperty = _CertGetCTLContextProperty@16@5562 CertGetCertificateChain = _CertGetCertificateChain@32@5663 CertGetCertificateContextProperty = _CertGetCertificateContextProperty@16@5764 CertGetEnhancedKeyUsage = _CertGetEnhancedKeyUsage@16@5854 CertFreeCRLContext = "_CertFreeCRLContext@4" @48 55 CertFreeCTLContext = "_CertFreeCTLContext@4" @49 56 CertFreeCertificateChain = "_CertFreeCertificateChain@4" @50 57 CertFreeCertificateChainEngine = "_CertFreeCertificateChainEngine@4" @51 58 CertFreeCertificateContext = "_CertFreeCertificateContext@4" @52 59 CertGetCRLContextProperty = "_CertGetCRLContextProperty@16" @53 60 CertGetCRLFromStore = "_CertGetCRLFromStore@16" @54 61 CertGetCTLContextProperty = "_CertGetCTLContextProperty@16" @55 62 CertGetCertificateChain = "_CertGetCertificateChain@32" @56 63 CertGetCertificateContextProperty = "_CertGetCertificateContextProperty@16" @57 64 CertGetEnhancedKeyUsage = "_CertGetEnhancedKeyUsage@16" @58 65 65 ;CertGetIntendedKeyUsage = _CertGetIntendedKeyUsage @59 66 CertGetIssuerCertificateFromStore = _CertGetIssuerCertificateFromStore@16@6067 CertGetNameStringA = _CertGetNameStringA@24@6168 CertGetNameStringW = _CertGetNameStringW@24@6269 CertGetPublicKeyLength = _CertGetPublicKeyLength@8@6370 CertGetStoreProperty = _CertGetStoreProperty@16@6471 CertGetSubjectCertificateFromStore = _CertGetSubjectCertificateFromStore@12@6572 CertGetValidUsages = _CertGetValidUsages@20@6666 CertGetIssuerCertificateFromStore = "_CertGetIssuerCertificateFromStore@16" @60 67 CertGetNameStringA = "_CertGetNameStringA@24" @61 68 CertGetNameStringW = "_CertGetNameStringW@24" @62 69 CertGetPublicKeyLength = "_CertGetPublicKeyLength@8" @63 70 CertGetStoreProperty = "_CertGetStoreProperty@16" @64 71 CertGetSubjectCertificateFromStore = "_CertGetSubjectCertificateFromStore@12" @65 72 CertGetValidUsages = "_CertGetValidUsages@20" @66 73 73 ;CertIsRDNAttrsInCertificateName = _CertIsRDNAttrsInCertificateName @67 74 CertIsValidCRLForCertificate = _CertIsValidCRLForCertificate@16@6875 CertNameToStrA = _CertNameToStrA@20@6976 CertNameToStrW = _CertNameToStrW@20@7077 CertOIDToAlgId = _CertOIDToAlgId@4@7178 CertOpenStore = _CertOpenStore@20@7279 CertOpenSystemStoreA = _CertOpenSystemStoreA@8@7380 CertOpenSystemStoreW = _CertOpenSystemStoreW@8@7481 CertRDNValueToStrA = _CertRDNValueToStrA@16@7582 CertRDNValueToStrW = _CertRDNValueToStrW@16@7683 CertRemoveEnhancedKeyUsageIdentifier = _CertRemoveEnhancedKeyUsageIdentifier@8@7784 CertRemoveStoreFromCollection = _CertRemoveStoreFromCollection@8@7885 CertSaveStore = _CertSaveStore@24@7986 CertSerializeCRLStoreElement = _CertSerializeCRLStoreElement@16@8087 CertSerializeCTLStoreElement = _CertSerializeCTLStoreElement@16@8188 CertSerializeCertificateStoreElement = _CertSerializeCertificateStoreElement@16@8289 CertSetCRLContextProperty = _CertSetCRLContextProperty@16@8390 CertSetCTLContextProperty = _CertSetCTLContextProperty@16@8491 CertSetCertificateContextProperty = _CertSetCertificateContextProperty@16@8592 CertSetEnhancedKeyUsage = _CertSetEnhancedKeyUsage@8@8693 CertSetStoreProperty = _CertSetStoreProperty@16@8794 CertStrToNameA = _CertStrToNameA@28@8895 CertStrToNameW = _CertStrToNameW@28@8996 CertVerifyCertificateChainPolicy = _CertVerifyCertificateChainPolicy@16@9097 CertVerifyCRLRevocation = _CertVerifyCRLRevocation@16@9198 CertVerifyCRLTimeValidity = _CertVerifyCRLTimeValidity@8@9299 CertVerifyCTLUsage = _CertVerifyCTLUsage@28@93100 CertVerifyRevocation = _CertVerifyRevocation@28@94101 CertVerifySubjectCertificateContext = _CertVerifySubjectCertificateContext@12@95102 CertVerifyTimeValidity = _CertVerifyTimeValidity@8@96103 CertVerifyValidityNesting = _CertVerifyValidityNesting@8@9774 CertIsValidCRLForCertificate = "_CertIsValidCRLForCertificate@16" @68 75 CertNameToStrA = "_CertNameToStrA@20" @69 76 CertNameToStrW = "_CertNameToStrW@20" @70 77 CertOIDToAlgId = "_CertOIDToAlgId@4" @71 78 CertOpenStore = "_CertOpenStore@20" @72 79 CertOpenSystemStoreA = "_CertOpenSystemStoreA@8" @73 80 CertOpenSystemStoreW = "_CertOpenSystemStoreW@8" @74 81 CertRDNValueToStrA = "_CertRDNValueToStrA@16" @75 82 CertRDNValueToStrW = "_CertRDNValueToStrW@16" @76 83 CertRemoveEnhancedKeyUsageIdentifier = "_CertRemoveEnhancedKeyUsageIdentifier@8" @77 84 CertRemoveStoreFromCollection = "_CertRemoveStoreFromCollection@8" @78 85 CertSaveStore = "_CertSaveStore@24" @79 86 CertSerializeCRLStoreElement = "_CertSerializeCRLStoreElement@16" @80 87 CertSerializeCTLStoreElement = "_CertSerializeCTLStoreElement@16" @81 88 CertSerializeCertificateStoreElement = "_CertSerializeCertificateStoreElement@16" @82 89 CertSetCRLContextProperty = "_CertSetCRLContextProperty@16" @83 90 CertSetCTLContextProperty = "_CertSetCTLContextProperty@16" @84 91 CertSetCertificateContextProperty = "_CertSetCertificateContextProperty@16" @85 92 CertSetEnhancedKeyUsage = "_CertSetEnhancedKeyUsage@8" @86 93 CertSetStoreProperty = "_CertSetStoreProperty@16" @87 94 CertStrToNameA = "_CertStrToNameA@28" @88 95 CertStrToNameW = "_CertStrToNameW@28" @89 96 CertVerifyCertificateChainPolicy = "_CertVerifyCertificateChainPolicy@16" @90 97 CertVerifyCRLRevocation = "_CertVerifyCRLRevocation@16" @91 98 CertVerifyCRLTimeValidity = "_CertVerifyCRLTimeValidity@8" @92 99 CertVerifyCTLUsage = "_CertVerifyCTLUsage@28" @93 100 CertVerifyRevocation = "_CertVerifyRevocation@28" @94 101 CertVerifySubjectCertificateContext = "_CertVerifySubjectCertificateContext@12" @95 102 CertVerifyTimeValidity = "_CertVerifyTimeValidity@8" @96 103 CertVerifyValidityNesting = "_CertVerifyValidityNesting@8" @97 104 104 ;CreateFileU = _CreateFileU@28 @98 105 CryptBinaryToStringA = _CryptBinaryToStringA@20@99105 CryptBinaryToStringA = "_CryptBinaryToStringA@20" @99 106 106 ;CryptBinaryToStringW # = _CryptBinaryToStringW #@20 @100 107 CryptStringToBinaryA = _CryptStringToBinaryA@28@101107 CryptStringToBinaryA = "_CryptStringToBinaryA@28" @101 108 108 ;CryptStringToBinaryW # = _CryptStringToBinaryW #@28 @102 109 109 ;CryptAcquireContextU = _CryptAcquireContextU@20 @103 110 CryptAcquireCertificatePrivateKey = _CryptAcquireCertificatePrivateKey@24@104110 CryptAcquireCertificatePrivateKey = "_CryptAcquireCertificatePrivateKey@24" @104 111 111 ;CryptCloseAsyncHandle = _CryptCloseAsyncHandle @105 112 112 ;CryptCreateAsyncHandle = _CryptCreateAsyncHandle @106 113 113 ;CryptDecodeMessage = _CryptDecodeMessage @107 114 CryptDecodeObject = _CryptDecodeObject@28@108115 CryptDecodeObjectEx = _CryptDecodeObjectEx@32@109114 CryptDecodeObject = "_CryptDecodeObject@28" @108 115 CryptDecodeObjectEx = "_CryptDecodeObjectEx@32" @109 116 116 ;CryptDecryptAndVerifyMessageSignature = _CryptDecryptAndVerifyMessageSignature @110 117 117 ;CryptDecryptMessage = _CryptDecryptMessage @111 118 CryptEncodeObject = _CryptEncodeObject@20@112119 CryptEncodeObjectEx = _CryptEncodeObjectEx@28@113118 CryptEncodeObject = "_CryptEncodeObject@20" @112 119 CryptEncodeObjectEx = "_CryptEncodeObjectEx@28" @113 120 120 ;CryptEncryptMessage = _CryptEncryptMessage @114 121 121 ;CryptEnumOIDFunction = _CryptEnumOIDFunction @115 122 CryptEnumOIDInfo = _CryptEnumOIDInfo@16@116122 CryptEnumOIDInfo = "_CryptEnumOIDInfo@16" @116 123 123 ;CryptEnumProvidersU = _CryptEnumProvidersU @117 124 124 ;CryptExportPKCS8 = _CryptExportPKCS8 @118 125 CryptExportPublicKeyInfo = _CryptExportPublicKeyInfo@20@119126 CryptExportPublicKeyInfoEx = _CryptExportPublicKeyInfoEx@32@120127 CryptFindLocalizedName = _CryptFindLocalizedName@4@121128 CryptFindOIDInfo = _CryptFindOIDInfo@12@122129 CryptFormatObject = _CryptFormatObject@36@123130 CryptFreeOIDFunctionAddress = _CryptFreeOIDFunctionAddress@8@124125 CryptExportPublicKeyInfo = "_CryptExportPublicKeyInfo@20" @119 126 CryptExportPublicKeyInfoEx = "_CryptExportPublicKeyInfoEx@32" @120 127 CryptFindLocalizedName = "_CryptFindLocalizedName@4" @121 128 CryptFindOIDInfo = "_CryptFindOIDInfo@12" @122 129 CryptFormatObject = "_CryptFormatObject@36" @123 130 CryptFreeOIDFunctionAddress = "_CryptFreeOIDFunctionAddress@8" @124 131 131 ;CryptGetAsyncParam = _CryptGetAsyncParam @125 132 CryptGetDefaultOIDDllList = _CryptGetDefaultOIDDllList@16@126133 CryptGetDefaultOIDFunctionAddress = _CryptGetDefaultOIDFunctionAddress@24@127134 CryptGetMessageCertificates = _CryptGetMessageCertificates@20@128135 CryptGetMessageSignerCount = _CryptGetMessageSignerCount@12@129136 CryptGetOIDFunctionAddress = _CryptGetOIDFunctionAddress@24@130137 CryptGetOIDFunctionValue = _CryptGetOIDFunctionValue@28@131138 CryptHashCertificate = _CryptHashCertificate@28@132139 CryptHashMessage = _CryptHashMessage@36@133140 CryptHashPublicKeyInfo = _CryptHashPublicKeyInfo@28@134141 CryptHashToBeSigned = _CryptHashToBeSigned@24@135132 CryptGetDefaultOIDDllList = "_CryptGetDefaultOIDDllList@16" @126 133 CryptGetDefaultOIDFunctionAddress = "_CryptGetDefaultOIDFunctionAddress@24" @127 134 CryptGetMessageCertificates = "_CryptGetMessageCertificates@20" @128 135 CryptGetMessageSignerCount = "_CryptGetMessageSignerCount@12" @129 136 CryptGetOIDFunctionAddress = "_CryptGetOIDFunctionAddress@24" @130 137 CryptGetOIDFunctionValue = "_CryptGetOIDFunctionValue@28" @131 138 CryptHashCertificate = "_CryptHashCertificate@28" @132 139 CryptHashMessage = "_CryptHashMessage@36" @133 140 CryptHashPublicKeyInfo = "_CryptHashPublicKeyInfo@28" @134 141 CryptHashToBeSigned = "_CryptHashToBeSigned@24" @135 142 142 ;CryptImportPKCS8 = _CryptImportPKCS8 @136 143 CryptImportPublicKeyInfo = _CryptImportPublicKeyInfo@16@137144 CryptImportPublicKeyInfoEx = _CryptImportPublicKeyInfoEx@28@138145 CryptInitOIDFunctionSet = _CryptInitOIDFunctionSet@8@139146 CryptInstallOIDFunctionAddress = _CryptInstallOIDFunctionAddress@24@140143 CryptImportPublicKeyInfo = "_CryptImportPublicKeyInfo@16" @137 144 CryptImportPublicKeyInfoEx = "_CryptImportPublicKeyInfoEx@28" @138 145 CryptInitOIDFunctionSet = "_CryptInitOIDFunctionSet@8" @139 146 CryptInstallOIDFunctionAddress = "_CryptInstallOIDFunctionAddress@24" @140 147 147 ;CryptLoadSip = _CryptLoadSip @141 148 CryptMemAlloc = _CryptMemAlloc@4@142149 CryptMemFree = _CryptMemFree@4@143150 CryptMemRealloc = _CryptMemRealloc@8@144148 CryptMemAlloc = "_CryptMemAlloc@4" @142 149 CryptMemFree = "_CryptMemFree@4" @143 150 CryptMemRealloc = "_CryptMemRealloc@8" @144 151 151 ;CryptMsgCalculateEncodedLength = _CryptMsgCalculateEncodedLength @145 152 CryptMsgClose = _CryptMsgClose@4@146153 CryptMsgControl = _CryptMsgControl@16@147152 CryptMsgClose = "_CryptMsgClose@4" @146 153 CryptMsgControl = "_CryptMsgControl@16" @147 154 154 ;CryptMsgCountersign = _CryptMsgCountersign @148 155 155 ;CryptMsgCountersignEncoded = _CryptMsgCountersignEncoded @149 156 CryptMsgDuplicate = _CryptMsgDuplicate@4@150156 CryptMsgDuplicate = "_CryptMsgDuplicate@4" @150 157 157 ;CryptMsgEncodeAndSignCTL = _CryptMsgEncodeAndSignCTL @151 158 CryptMsgGetAndVerifySigner = _CryptMsgGetAndVerifySigner@24@152159 CryptMsgGetParam = _CryptMsgGetParam@20@153160 CryptMsgOpenToDecode = _CryptMsgOpenToDecode@24@154161 CryptMsgOpenToEncode = _CryptMsgOpenToEncode@24@155158 CryptMsgGetAndVerifySigner = "_CryptMsgGetAndVerifySigner@24" @152 159 CryptMsgGetParam = "_CryptMsgGetParam@20" @153 160 CryptMsgOpenToDecode = "_CryptMsgOpenToDecode@24" @154 161 CryptMsgOpenToEncode = "_CryptMsgOpenToEncode@24" @155 162 162 ;CryptMsgSignCTL = _CryptMsgSignCTL @156 163 CryptMsgUpdate = _CryptMsgUpdate@16@157163 CryptMsgUpdate = "_CryptMsgUpdate@16" @157 164 164 ;CryptMsgVerifyCountersignatureEncoded = _CryptMsgVerifyCountersignatureEncoded @158 165 CryptMsgVerifyCountersignatureEncodedEx = _CryptMsgVerifyCountersignatureEncodedEx@40@159166 CryptProtectData = _CryptProtectData@28@160167 CryptQueryObject = _CryptQueryObject@44@161168 CryptRegisterDefaultOIDFunction = _CryptRegisterDefaultOIDFunction@16@162169 CryptRegisterOIDFunction = _CryptRegisterOIDFunction@20@163165 CryptMsgVerifyCountersignatureEncodedEx = "_CryptMsgVerifyCountersignatureEncodedEx@40" @159 166 CryptProtectData = "_CryptProtectData@28" @160 167 CryptQueryObject = "_CryptQueryObject@44" @161 168 CryptRegisterDefaultOIDFunction = "_CryptRegisterDefaultOIDFunction@16" @162 169 CryptRegisterOIDFunction = "_CryptRegisterOIDFunction@20" @163 170 170 ;CryptRegisterOIDInfo = _CryptRegisterOIDInfo @164 171 CryptSIPAddProvider = _CryptSIPAddProvider@4@165172 CryptSIPCreateIndirectData = _CryptSIPCreateIndirectData@12@166173 CryptSIPGetSignedDataMsg = _CryptSIPGetSignedDataMsg@20@167174 CryptSIPLoad = _CryptSIPLoad@12@168175 CryptSIPPutSignedDataMsg = _CryptSIPPutSignedDataMsg@20@169176 CryptSIPRemoveProvider = _CryptSIPRemoveProvider@4@170177 CryptSIPRemoveSignedDataMsg = _CryptSIPRemoveSignedDataMsg@8@171178 CryptSIPRetrieveSubjectGuid = _CryptSIPRetrieveSubjectGuid@12@172179 CryptSIPVerifyIndirectData = _CryptSIPVerifyIndirectData@8@173171 CryptSIPAddProvider = "_CryptSIPAddProvider@4" @165 172 CryptSIPCreateIndirectData = "_CryptSIPCreateIndirectData@12" @166 173 CryptSIPGetSignedDataMsg = "_CryptSIPGetSignedDataMsg@20" @167 174 CryptSIPLoad = "_CryptSIPLoad@12" @168 175 CryptSIPPutSignedDataMsg = "_CryptSIPPutSignedDataMsg@20" @169 176 CryptSIPRemoveProvider = "_CryptSIPRemoveProvider@4" @170 177 CryptSIPRemoveSignedDataMsg = "_CryptSIPRemoveSignedDataMsg@8" @171 178 CryptSIPRetrieveSubjectGuid = "_CryptSIPRetrieveSubjectGuid@12" @172 179 CryptSIPVerifyIndirectData = "_CryptSIPVerifyIndirectData@8" @173 180 180 ;CryptSetAsyncParam = _CryptSetAsyncParam @174 181 CryptSetOIDFunctionValue = _CryptSetOIDFunctionValue@28@175181 CryptSetOIDFunctionValue = "_CryptSetOIDFunctionValue@28" @175 182 182 ;CryptSetProviderU = _CryptSetProviderU @176 183 CryptSignAndEncodeCertificate = _CryptSignAndEncodeCertificate@36@177183 CryptSignAndEncodeCertificate = "_CryptSignAndEncodeCertificate@36" @177 184 184 ;CryptSignAndEncryptMessage = _CryptSignAndEncryptMessage @178 185 CryptSignCertificate = _CryptSignCertificate@36@179185 CryptSignCertificate = "_CryptSignCertificate@36" @179 186 186 ;CryptSignHashU = _CryptSignHashU @180 187 187 ;CryptSignMessage = _CryptSignMessage @181 188 188 ;CryptSignMessageWithKey = _CryptSignMessageWithKey @182 189 CryptUnprotectData = _CryptUnprotectData@28@183190 CryptUnregisterDefaultOIDFunction = _CryptUnregisterDefaultOIDFunction@12@184191 CryptUnregisterOIDFunction = _CryptUnregisterOIDFunction@12@185189 CryptUnprotectData = "_CryptUnprotectData@28" @183 190 CryptUnregisterDefaultOIDFunction = "_CryptUnregisterDefaultOIDFunction@12" @184 191 CryptUnregisterOIDFunction = "_CryptUnregisterOIDFunction@12" @185 192 192 ;CryptUnregisterOIDInfo = _CryptUnregisterOIDInfo @186 193 CryptVerifyCertificateSignature = _CryptVerifyCertificateSignature@20@187194 CryptVerifyCertificateSignatureEx = _CryptVerifyCertificateSignatureEx@32@188195 CryptVerifyDetachedMessageHash = _CryptVerifyDetachedMessageHash@32@189196 CryptVerifyDetachedMessageSignature = _CryptVerifyDetachedMessageSignature@32@190197 CryptVerifyMessageHash = _CryptVerifyMessageHash@28@191198 CryptVerifyMessageSignature = _CryptVerifyMessageSignature@28@192193 CryptVerifyCertificateSignature = "_CryptVerifyCertificateSignature@20" @187 194 CryptVerifyCertificateSignatureEx = "_CryptVerifyCertificateSignatureEx@32" @188 195 CryptVerifyDetachedMessageHash = "_CryptVerifyDetachedMessageHash@32" @189 196 CryptVerifyDetachedMessageSignature = "_CryptVerifyDetachedMessageSignature@32" @190 197 CryptVerifyMessageHash = "_CryptVerifyMessageHash@28" @191 198 CryptVerifyMessageSignature = "_CryptVerifyMessageSignature@28" @192 199 199 ;CryptVerifyMessageSignatureWithKey = _CryptVerifyMessageSignatureWithKey @193 200 200 ;CryptVerifySignatureU = _CryptVerifySignatureU @194 201 I_CertUpdateStore = _I_CertUpdateStore@16@195201 I_CertUpdateStore = "_I_CertUpdateStore@16" @195 202 202 ;I_CryptAllocTls = _I_CryptAllocTls@4 @196 203 I_CryptCreateLruCache = _I_CryptCreateLruCache@8@197204 I_CryptCreateLruEntry = _I_CryptCreateLruEntry@12@198205 I_CryptDetachTls = _I_CryptDetachTls@4@199206 I_CryptFindLruEntry = _I_CryptFindLruEntry@8@200207 I_CryptFindLruEntryData = _I_CryptFindLruEntryData@12@201208 I_CryptFlushLruCache = _I_CryptFlushLruCache@12@202209 I_CryptFreeLruCache = _I_CryptFreeLruCache@12@203210 I_CryptFreeTls = _I_CryptFreeTls@8@204211 I_CryptGetAsn1Decoder = _I_CryptGetAsn1Decoder@4@205212 I_CryptGetAsn1Encoder = _I_CryptGetAsn1Encoder@4@206213 I_CryptGetDefaultCryptProv = _I_CryptGetDefaultCryptProv@4@207203 I_CryptCreateLruCache = "_I_CryptCreateLruCache@8" @197 204 I_CryptCreateLruEntry = "_I_CryptCreateLruEntry@12" @198 205 I_CryptDetachTls = "_I_CryptDetachTls@4" @199 206 I_CryptFindLruEntry = "_I_CryptFindLruEntry@8" @200 207 I_CryptFindLruEntryData = "_I_CryptFindLruEntryData@12" @201 208 I_CryptFlushLruCache = "_I_CryptFlushLruCache@12" @202 209 I_CryptFreeLruCache = "_I_CryptFreeLruCache@12" @203 210 I_CryptFreeTls = "_I_CryptFreeTls@8" @204 211 I_CryptGetAsn1Decoder = "_I_CryptGetAsn1Decoder@4" @205 212 I_CryptGetAsn1Encoder = "_I_CryptGetAsn1Encoder@4" @206 213 I_CryptGetDefaultCryptProv = "_I_CryptGetDefaultCryptProv@4" @207 214 214 ;I_CryptGetDefaultCryptProvForEncrypt = _I_CryptGetDefaultCryptProvForEncrypt @208 215 I_CryptGetOssGlobal = _I_CryptGetOssGlobal@4@209216 I_CryptGetTls = _I_CryptGetTls@4@210215 I_CryptGetOssGlobal = "_I_CryptGetOssGlobal@4" @209 216 I_CryptGetTls = "_I_CryptGetTls@4" @210 217 217 ;I_CryptInsertLruEntry = _I_CryptInsertLruEntry @211 218 I_CryptInstallAsn1Module = _I_CryptInstallAsn1Module@12@212219 I_CryptInstallOssGlobal = _I_CryptInstallOssGlobal@12@213220 I_CryptReadTrustedPublisherDWORDValueFromRegistry = _I_CryptReadTrustedPublisherDWORDValueFromRegistry@8@214218 I_CryptInstallAsn1Module = "_I_CryptInstallAsn1Module@12" @212 219 I_CryptInstallOssGlobal = "_I_CryptInstallOssGlobal@12" @213 220 I_CryptReadTrustedPublisherDWORDValueFromRegistry = "_I_CryptReadTrustedPublisherDWORDValueFromRegistry@8" @214 221 221 ;I_CryptReleaseLruEntry = _I_CryptReleaseLruEntry @215 222 I_CryptSetTls = _I_CryptSetTls@8@216223 I_CryptUninstallAsn1Module = _I_CryptUninstallAsn1Module@4@217222 I_CryptSetTls = "_I_CryptSetTls@8" @216 223 I_CryptUninstallAsn1Module = "_I_CryptUninstallAsn1Module@4" @217 224 224 ;I_CryptUninstallOssGlobal = _I_CryptUninstallOssGlobal @218 225 225 ;PFXExportCertStore = _PFXExportCertStore @219 -
branches/gcc-kmk/src/crypt32/crypt32_private.h
r21354 r21872 401 401 */ 402 402 403 int vsnprintf (char *buf, int n, const char *fmt, va_list args);404 int snprintf (char *buf, int n, const char *fmt, ...);403 int crypt32_vsnprintf (char *buf, int n, const char *fmt, va_list args); 404 int crypt32_snprintf (char *buf, int n, const char *fmt, ...); 405 405 406 406 #endif -
branches/gcc-kmk/src/crypt32/dbglocal.cpp
r21311 r21872 19 19 USHORT DbgEnabledLvl2CRYPT32[DBG_MAXFILES] = {1}; 20 20 21 static c har*DbgFileNames[DBG_MAXFILES] =21 static const char *DbgFileNames[DBG_MAXFILES] = 22 22 { 23 23 "initterm", -
branches/gcc-kmk/src/crypt32/decode.c
r21720 r21872 1232 1232 const BYTE *ptr; 1233 1233 1234 snprintf(firstTwo, sizeof(firstTwo), "%d.%d",1234 crypt32_snprintf(firstTwo, sizeof(firstTwo), "%d.%d", 1235 1235 pbEncoded[1 + lenBytes] / 40, 1236 1236 pbEncoded[1 + lenBytes] - (pbEncoded[1 + lenBytes] / 40) … … 1261 1261 val <<= 7; 1262 1262 val |= *ptr++; 1263 snprintf(str, sizeof(str), ".%d", val);1263 crypt32_snprintf(str, sizeof(str), ".%d", val); 1264 1264 bytesNeeded += strlen(str); 1265 1265 } -
branches/gcc-kmk/src/crypt32/encode.c
r21354 r21872 3395 3395 buf[0] = ASN_UTCTIME; 3396 3396 buf[1] = bytesNeeded - 2; 3397 snprintf(buf + 2, sizeof(buf) - 2,3397 crypt32_snprintf(buf + 2, sizeof(buf) - 2, 3398 3398 "%02d%02d%02d%02d%02d%02dZ", sysTime.wYear >= 2000 ? 3399 3399 sysTime.wYear - 2000 : sysTime.wYear - 1900, … … 3447 3447 buf[0] = ASN_GENERALTIME; 3448 3448 buf[1] = bytesNeeded - 2; 3449 snprintf(buf + 2, sizeof(buf) - 2, "%04d%02d%02d%02d%02d%02dZ",3449 crypt32_snprintf(buf + 2, sizeof(buf) - 2, "%04d%02d%02d%02d%02d%02dZ", 3450 3450 sysTime.wYear, sysTime.wMonth, sysTime.wDay, sysTime.wHour, 3451 3451 sysTime.wMinute, sysTime.wSecond); -
branches/gcc-kmk/src/crypt32/initterm.cpp
r21842 r21872 1 /* $Id: init gdi32.cpp,v 1.16 2004/01/11 11:42:17 sandervlExp $1 /* $Id: initterm.cpp,v 1.17 2001/09/05 10:26:30 bird Exp $ 2 2 * 3 * DLL entry point3 * CRYPT32 DLL entry point 4 4 * 5 5 * Copyright 1998 Sander van Leeuwen 6 6 * Copyright 1998 Peter Fitzsimmons 7 7 * 8 *9 8 * Project Odin Software License can be found in LICENSE.TXT 10 *11 9 */ 12 10 13 /*-------------------------------------------------------------*/14 /* INITERM.C -- Source for a custom dynamic link library */15 /* initialization and termination (_DLL_InitTerm) */16 /* function. */17 /* */18 /* When called to perform initialization, this sample function */19 /* gets storage for an array of integers, and initializes its */20 /* elements with random integers. At termination time, it */21 /* frees the array. Substitute your own special processing. */22 /*-------------------------------------------------------------*/23 24 25 /* Include files */26 11 #define INCL_DOSMODULEMGR 27 12 #define INCL_DOSPROCESS … … 38 23 #include <initdll.h> 39 24 40 extern "C" { 41 //Win32 resource table (produced by wrc) 42 extern DWORD crypt32_PEResTab; 43 BOOL WINAPI Crypt32DllMain(HINSTANCE hInst, DWORD fdwReason, PVOID pvReserved); 44 } 25 // Win32 resource table (produced by wrc) 26 extern DWORD crypt32_PEResTab; 27 28 BOOL WINAPI Crypt32DllMain(HINSTANCE hInst, DWORD fdwReason, PVOID pvReserved); 45 29 46 30 static HMODULE dllHandle = 0; … … 48 32 static BOOL WINAPI OdinLibMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID fImpLoad) 49 33 { 50 BOOL ret;34 BOOL ret; 51 35 52 switch (fdwReason)53 {54 case DLL_PROCESS_ATTACH:55 return Crypt32DllMain(hinstDLL, fdwReason, fImpLoad);36 switch (fdwReason) 37 { 38 case DLL_PROCESS_ATTACH: 39 return Crypt32DllMain(hinstDLL, fdwReason, fImpLoad); 56 40 57 case DLL_THREAD_ATTACH:58 case DLL_THREAD_DETACH:59 return Crypt32DllMain(hinstDLL, fdwReason, fImpLoad);41 case DLL_THREAD_ATTACH: 42 case DLL_THREAD_DETACH: 43 return Crypt32DllMain(hinstDLL, fdwReason, fImpLoad); 60 44 61 case DLL_PROCESS_DETACH:62 ret = Crypt32DllMain(hinstDLL, fdwReason, fImpLoad);63 return ret;64 }65 return FALSE;45 case DLL_PROCESS_DETACH: 46 ret = Crypt32DllMain(hinstDLL, fdwReason, fImpLoad); 47 return ret; 48 } 49 return FALSE; 66 50 } 67 51 68 /****************************************************************************/ 69 /* _DLL_InitTerm is the function that gets called by the operating system */ 70 /* loader when it loads and frees this DLL for each process that accesses */ 71 /* this DLL. However, it only gets called the first time the DLL is loaded */ 72 /* and the last time it is freed for a particular process. The system */ 73 /* linkage convention MUST be used because the operating system loader is */ 74 /* calling this function. */ 75 /****************************************************************************/ 76 ULONG APIENTRY inittermCrypt32(ULONG hModule, ULONG ulFlag) 52 ULONG SYSTEM DLL_InitCrypt32(ULONG hModule) 77 53 { 78 size_t i; 79 APIRET rc; 54 //CheckVersionFromHMOD(PE2LX_VERSION, hModule); /*PLF Wed 98-03-18 05:28:48*/ 80 55 81 /*-------------------------------------------------------------------------*/ 82 /* If ulFlag is zero then the DLL is being loaded so initialization should */ 83 /* be performed. If ulFlag is 1 then the DLL is being freed so */ 84 /* termination should be performed. */ 85 /*-------------------------------------------------------------------------*/ 56 if (!InitializeKernel32()) 57 return -1; 86 58 87 switch (ulFlag) { 88 case 0 : 59 dllHandle = RegisterLxDll(hModule, OdinLibMain, (PVOID)&crypt32_PEResTab); 60 if (dllHandle == 0) 61 return -1; 89 62 90 if (!InitializeKernel32()) 91 return 0; 63 dprintf(("crypt32 init %s %s (%x)", __DATE__, __TIME__, DLL_InitCrypt32)); 92 64 93 //CheckVersionFromHMOD(PE2LX_VERSION, hModule); /*PLF Wed 98-03-18 05:28:48*/ 94 dllHandle = RegisterLxDll(hModule, OdinLibMain, (PVOID)&crypt32_PEResTab); 95 if(dllHandle == 0) 96 return 0UL; 65 return 0; 66 } 97 67 98 dprintf(("crypt32 init %s %s (%x)", __DATE__, __TIME__, inittermCrypt32)); 68 void SYSTEM DLL_TermCrypt32(ULONG hModule) 69 { 70 if (dllHandle) 71 UnregisterLxDll(dllHandle); 72 } 99 73 100 break; 101 case 1 : 102 if(dllHandle) { 103 UnregisterLxDll(dllHandle); 104 } 105 break; 106 default : 107 return 0UL; 108 } 74 ULONG SYSTEM DLL_Init(ULONG hModule) 75 { 76 if (DLL_InitDefault(hModule) == -1) 77 return -1; 78 return DLL_InitCrypt32(hModule); 79 } 109 80 110 /***********************************************************/ 111 /* A non-zero value must be returned to indicate success. */ 112 /***********************************************************/113 return 1UL;81 void SYSTEM DLL_Term(ULONG hModule) 82 { 83 DLL_TermCrypt32(hModule); 84 DLL_TermDefault(hModule); 114 85 } 115 //******************************************************************************116 //****************************************************************************** -
branches/gcc-kmk/src/crypt32/main.c
r21354 r21872 388 388 } 389 389 390 int vsnprintf (char *buf, int n, const char *fmt, va_list args)390 int crypt32_vsnprintf (char *buf, int n, const char *fmt, va_list args) 391 391 { 392 392 int count = 0; … … 574 574 } 575 575 576 int snprintf (char *buf, int n, const char *fmt, ...)576 int crypt32_snprintf (char *buf, int n, const char *fmt, ...) 577 577 { 578 578 va_list args; … … 582 582 va_start (args, fmt); 583 583 584 rc = vsnprintf (buf, n, fmt, args);584 rc = crypt32_vsnprintf (buf, n, fmt, args); 585 585 586 586 va_end (args); -
branches/gcc-kmk/src/crypt32/oid.c
r21354 r21872 175 175 if (!HIWORD(pszOID)) 176 176 { 177 snprintf(numericOID, sizeof(numericOID), "#%d", LOWORD(pszOID));177 crypt32_snprintf(numericOID, sizeof(numericOID), "#%d", LOWORD(pszOID)); 178 178 oid = numericOID; 179 179 } -
branches/gcc-kmk/src/crypt32/rootstore.c
r21354 r21872 164 164 165 165 if (status & CERT_TRUST_IS_NOT_TIME_VALID) 166 pos += snprintf(buf + pos, sizeof(buf) - pos, "\n\texpired");166 pos += crypt32_snprintf(buf + pos, sizeof(buf) - pos, "\n\texpired"); 167 167 if (status & CERT_TRUST_IS_NOT_TIME_NESTED) 168 pos += snprintf(buf + pos, sizeof(buf) - pos, "\n\tbad time nesting");168 pos += crypt32_snprintf(buf + pos, sizeof(buf) - pos, "\n\tbad time nesting"); 169 169 if (status & CERT_TRUST_IS_REVOKED) 170 pos += snprintf(buf + pos, sizeof(buf) - pos, "\n\trevoked");170 pos += crypt32_snprintf(buf + pos, sizeof(buf) - pos, "\n\trevoked"); 171 171 if (status & CERT_TRUST_IS_NOT_SIGNATURE_VALID) 172 pos += snprintf(buf + pos, sizeof(buf) - pos, "\n\tbad signature");172 pos += crypt32_snprintf(buf + pos, sizeof(buf) - pos, "\n\tbad signature"); 173 173 if (status & CERT_TRUST_IS_NOT_VALID_FOR_USAGE) 174 pos += snprintf(buf + pos, sizeof(buf) - pos, "\n\tbad usage");174 pos += crypt32_snprintf(buf + pos, sizeof(buf) - pos, "\n\tbad usage"); 175 175 if (status & CERT_TRUST_IS_UNTRUSTED_ROOT) 176 pos += snprintf(buf + pos, sizeof(buf) - pos, "\n\tuntrusted root");176 pos += crypt32_snprintf(buf + pos, sizeof(buf) - pos, "\n\tuntrusted root"); 177 177 if (status & CERT_TRUST_REVOCATION_STATUS_UNKNOWN) 178 pos += snprintf(buf + pos, sizeof(buf) - pos,178 pos += crypt32_snprintf(buf + pos, sizeof(buf) - pos, 179 179 "\n\tunknown revocation status"); 180 180 if (status & CERT_TRUST_IS_CYCLIC) 181 pos += snprintf(buf + pos, sizeof(buf) - pos, "\n\tcyclic chain");181 pos += crypt32_snprintf(buf + pos, sizeof(buf) - pos, "\n\tcyclic chain"); 182 182 if (status & CERT_TRUST_INVALID_EXTENSION) 183 pos += snprintf(buf + pos, sizeof(buf) - pos,183 pos += crypt32_snprintf(buf + pos, sizeof(buf) - pos, 184 184 "\n\tunsupported critical extension"); 185 185 if (status & CERT_TRUST_INVALID_POLICY_CONSTRAINTS) 186 pos += snprintf(buf + pos, sizeof(buf) - pos, "\n\tbad policy");186 pos += crypt32_snprintf(buf + pos, sizeof(buf) - pos, "\n\tbad policy"); 187 187 if (status & CERT_TRUST_INVALID_BASIC_CONSTRAINTS) 188 pos += snprintf(buf + pos, sizeof(buf) - pos,188 pos += crypt32_snprintf(buf + pos, sizeof(buf) - pos, 189 189 "\n\tbad basic constraints"); 190 190 if (status & CERT_TRUST_INVALID_NAME_CONSTRAINTS) 191 pos += snprintf(buf + pos, sizeof(buf) - pos,191 pos += crypt32_snprintf(buf + pos, sizeof(buf) - pos, 192 192 "\n\tbad name constraints"); 193 193 if (status & CERT_TRUST_HAS_NOT_SUPPORTED_NAME_CONSTRAINT) 194 pos += snprintf(buf + pos, sizeof(buf) - pos,194 pos += crypt32_snprintf(buf + pos, sizeof(buf) - pos, 195 195 "\n\tunsuported name constraint"); 196 196 if (status & CERT_TRUST_HAS_NOT_DEFINED_NAME_CONSTRAINT) 197 pos += snprintf(buf + pos, sizeof(buf) - pos,197 pos += crypt32_snprintf(buf + pos, sizeof(buf) - pos, 198 198 "\n\tundefined name constraint"); 199 199 if (status & CERT_TRUST_HAS_NOT_PERMITTED_NAME_CONSTRAINT) 200 pos += snprintf(buf + pos, sizeof(buf) - pos,200 pos += crypt32_snprintf(buf + pos, sizeof(buf) - pos, 201 201 "\n\tdisallowed name constraint"); 202 202 if (status & CERT_TRUST_HAS_EXCLUDED_NAME_CONSTRAINT) 203 pos += snprintf(buf + pos, sizeof(buf) - pos,203 pos += crypt32_snprintf(buf + pos, sizeof(buf) - pos, 204 204 "\n\texcluded name constraint"); 205 205 if (status & CERT_TRUST_IS_OFFLINE_REVOCATION) 206 pos += snprintf(buf + pos, sizeof(buf) - pos,206 pos += crypt32_snprintf(buf + pos, sizeof(buf) - pos, 207 207 "\n\trevocation server offline"); 208 208 if (status & CERT_TRUST_NO_ISSUANCE_CHAIN_POLICY) 209 pos += snprintf(buf + pos, sizeof(buf) - pos,209 pos += crypt32_snprintf(buf + pos, sizeof(buf) - pos, 210 210 "\n\tno issuance policy"); 211 211 return buf; … … 341 341 if (strcmp(entry->d_name, ".") && strcmp(entry->d_name, "..")) 342 342 { 343 snprintf(filebuf, bufsize, "%s/%s", path, entry->d_name);343 crypt32_snprintf(filebuf, bufsize, "%s/%s", path, entry->d_name); 344 344 if (import_certs_from_path(filebuf, store, FALSE) && !ret) 345 345 ret = TRUE;
Note:
See TracChangeset
for help on using the changeset viewer.