crt: add ksecdd def files

Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: Martin Storsjö <martin@martin.st>
diff --git a/mingw-w64-crt/lib-common/ksecdd.def b/mingw-w64-crt/lib-common/ksecdd.def
new file mode 100644
index 0000000..91611cf
--- /dev/null
+++ b/mingw-w64-crt/lib-common/ksecdd.def
@@ -0,0 +1,108 @@
+LIBRARY "ksecdd.sys"
+EXPORTS
+SystemPrng
+AcceptSecurityContext
+AcquireCredentialsHandleW
+AddCredentialsW
+ApplyControlToken
+BCryptCloseAlgorithmProvider
+BCryptCreateHash
+BCryptDecrypt
+BCryptDeriveKey
+BCryptDeriveKeyCapi
+BCryptDeriveKeyPBKDF2
+BCryptDestroyHash
+BCryptDestroyKey
+BCryptDestroySecret
+BCryptDuplicateHash
+BCryptDuplicateKey
+BCryptEncrypt
+BCryptEnumAlgorithms
+BCryptEnumProviders
+BCryptExportKey
+BCryptFinalizeKeyPair
+BCryptFinishHash
+BCryptFreeBuffer
+BCryptGenRandom
+BCryptGenerateKeyPair
+BCryptGenerateSymmetricKey
+BCryptGetFipsAlgorithmMode
+BCryptGetProperty
+BCryptHashData
+BCryptImportKey
+BCryptImportKeyPair
+BCryptKeyDerivation
+BCryptOpenAlgorithmProvider
+BCryptRegisterConfigChangeNotify
+BCryptResolveProviders
+BCryptSecretAgreement
+BCryptSetProperty
+BCryptSignHash
+BCryptUnregisterConfigChangeNotify
+BCryptVerifySignature
+CompleteAuthToken
+CredMarshalTargetInfo
+DeleteSecurityContext
+EnumerateSecurityPackagesW
+ExportSecurityContext
+FreeContextBuffer
+FreeCredentialsHandle
+GetSecurityUserInfo
+ImpersonateSecurityContext
+ImportSecurityContextW
+InitSecurityInterfaceW
+InitializeSecurityContextW
+KSecRegisterSecurityProvider
+KSecValidateBuffer
+LsaEnumerateLogonSessions
+LsaGetLogonSessionData
+MakeSignature
+MapSecurityError
+QueryContextAttributesW
+QueryCredentialsAttributesW
+QuerySecurityContextToken
+QuerySecurityPackageInfoW
+RevertSecurityContext
+SealMessage
+SecLookupAccountName
+SecLookupAccountSid
+SecLookupWellKnownSid
+SecMakeSPN
+SecMakeSPNEx
+SecMakeSPNEx2
+SecSetPagingMode
+SetCredentialsAttributesW
+SslDecryptPacket
+SslEncryptPacket
+SslExportKey
+SslFreeObject
+SslGetExtensions
+SslGetServerIdentity
+SslImportKey
+SslLookupCipherSuiteInfo
+SslOpenProvider
+SspiAcceptSecurityContextAsync
+SspiAcquireCredentialsHandleAsyncW
+SspiCompareAuthIdentities
+SspiCopyAuthIdentity
+SspiCreateAsyncContext
+SspiDeleteSecurityContextAsync
+SspiEncodeAuthIdentityAsStrings
+SspiEncodeStringsAsAuthIdentity
+SspiFreeAsyncContext
+SspiFreeAuthIdentity
+SspiFreeCredentialsHandleAsync
+SspiGetAsyncCallStatus
+SspiInitializeSecurityContextAsyncW
+SspiLocalFree
+SspiMarshalAuthIdentity
+SspiReinitAsyncContext
+SspiSetAsyncNotifyCallback
+SspiUnmarshalAuthIdentity
+SspiValidateAuthIdentity
+SspiZeroAuthIdentity
+TokenBindingGetHighestSupportedVersion
+TokenBindingGetKeyTypesServer
+TokenBindingVerifyMessage
+UnsealMessage
+VerifySignature
diff --git a/mingw-w64-crt/lib32/Makefile.am b/mingw-w64-crt/lib32/Makefile.am
index 25d8274..58c47a0 100644
--- a/mingw-w64-crt/lib32/Makefile.am
+++ b/mingw-w64-crt/lib32/Makefile.am
@@ -155,6 +155,7 @@
 lib32_DATA += %reldir%/libiscsidsc.a
 #lib32_DATA += %reldir%/libkernel32.a  # Handled by custom rule
 lib32_DATA += %reldir%/libks.a
+lib32_DATA += %reldir%/libksecdd.a
 lib32_DATA += %reldir%/libksproxy.a
 #lib32_DATA += %reldir%/libksuser.a    # Handled by custom rule
 lib32_DATA += %reldir%/libktmw32.a
diff --git a/mingw-w64-crt/lib32/ksecdd.def b/mingw-w64-crt/lib32/ksecdd.def
new file mode 100644
index 0000000..1ea0127
--- /dev/null
+++ b/mingw-w64-crt/lib32/ksecdd.def
@@ -0,0 +1,108 @@
+LIBRARY "ksecdd.sys"
+EXPORTS
+SystemPrng@8
+AcceptSecurityContext@36
+AcquireCredentialsHandleW@36
+AddCredentialsW@32
+ApplyControlToken@8
+BCryptCloseAlgorithmProvider@8
+BCryptCreateHash@28
+BCryptDecrypt@40
+BCryptDeriveKey@28
+BCryptDeriveKeyCapi@20
+BCryptDeriveKeyPBKDF2@40
+BCryptDestroyHash@4
+BCryptDestroyKey@4
+BCryptDestroySecret@4
+BCryptDuplicateHash@20
+BCryptDuplicateKey@20
+BCryptEncrypt@40
+BCryptEnumAlgorithms@16
+BCryptEnumProviders@16
+BCryptExportKey@28
+BCryptFinalizeKeyPair@8
+BCryptFinishHash@16
+BCryptFreeBuffer@4
+BCryptGenRandom@16
+BCryptGenerateKeyPair@16
+BCryptGenerateSymmetricKey@28
+BCryptGetFipsAlgorithmMode@4
+BCryptGetProperty@24
+BCryptHashData@16
+BCryptImportKey@36
+BCryptImportKeyPair@28
+BCryptKeyDerivation@24
+BCryptOpenAlgorithmProvider@16
+BCryptRegisterConfigChangeNotify@4
+BCryptResolveProviders@32
+BCryptSecretAgreement@16
+BCryptSetProperty@20
+BCryptSignHash@32
+BCryptUnregisterConfigChangeNotify@4
+BCryptVerifySignature@28
+CompleteAuthToken@8
+CredMarshalTargetInfo@12
+DeleteSecurityContext@4
+EnumerateSecurityPackagesW@8
+ExportSecurityContext@16
+FreeContextBuffer@4
+FreeCredentialsHandle@4
+GetSecurityUserInfo@12
+ImpersonateSecurityContext@4
+ImportSecurityContextW@16
+InitSecurityInterfaceW@0
+InitializeSecurityContextW@48
+KSecRegisterSecurityProvider@8
+KSecValidateBuffer@8
+LsaEnumerateLogonSessions@8
+LsaGetLogonSessionData@8
+MakeSignature@16
+MapSecurityError@4
+QueryContextAttributesW@12
+QueryCredentialsAttributesW@12
+QuerySecurityContextToken@8
+QuerySecurityPackageInfoW@8
+RevertSecurityContext@4
+SealMessage@16
+SecLookupAccountName@24
+SecLookupAccountSid@24
+SecLookupWellKnownSid@16
+SecMakeSPN@32
+SecMakeSPNEx@36
+SecMakeSPNEx2@40
+SecSetPagingMode@4
+SetCredentialsAttributesW@16
+SslDecryptPacket@40
+SslEncryptPacket@44
+SslExportKey@28
+SslFreeObject@8
+SslGetExtensions@24
+SslGetServerIdentity@20
+SslImportKey@24
+SslLookupCipherSuiteInfo@24
+SslOpenProvider@12
+SspiAcceptSecurityContextAsync@40
+SspiAcquireCredentialsHandleAsyncW@40
+SspiCompareAuthIdentities@16
+SspiCopyAuthIdentity@8
+SspiCreateAsyncContext@0
+SspiDeleteSecurityContextAsync@8
+SspiEncodeAuthIdentityAsStrings@16
+SspiEncodeStringsAsAuthIdentity@16
+SspiFreeAsyncContext@4
+SspiFreeAuthIdentity@4
+SspiFreeCredentialsHandleAsync@8
+SspiGetAsyncCallStatus@4
+SspiInitializeSecurityContextAsyncW@52
+SspiLocalFree@4
+SspiMarshalAuthIdentity@12
+SspiReinitAsyncContext@4
+SspiSetAsyncNotifyCallback@12
+SspiUnmarshalAuthIdentity@12
+SspiValidateAuthIdentity@4
+SspiZeroAuthIdentity@4
+TokenBindingGetHighestSupportedVersion@8
+TokenBindingGetKeyTypesServer@4
+TokenBindingVerifyMessage@24
+UnsealMessage@16
+VerifySignature@16
diff --git a/mingw-w64-crt/lib64/Makefile.am b/mingw-w64-crt/lib64/Makefile.am
index 86f74b9..706f375 100644
--- a/mingw-w64-crt/lib64/Makefile.am
+++ b/mingw-w64-crt/lib64/Makefile.am
@@ -265,6 +265,7 @@
 #lib64_DATA += %reldir%/libkernel32.a  # Handled by custom rule
 lib64_DATA += %reldir%/libkeymgr.a
 lib64_DATA += %reldir%/libks.a
+lib64_DATA += %reldir%/libksecdd.a
 #lib64_DATA += %reldir%/libksuser.a    # Handled by custom rule
 lib64_DATA += %reldir%/liblinkinfo.a
 lib64_DATA += %reldir%/liblmmib2.a
diff --git a/mingw-w64-crt/libarm64/Makefile.am b/mingw-w64-crt/libarm64/Makefile.am
index f43d388..742e024 100644
--- a/mingw-w64-crt/libarm64/Makefile.am
+++ b/mingw-w64-crt/libarm64/Makefile.am
@@ -128,6 +128,7 @@
 #libarm64_DATA += %reldir%/libkernel32.a  # Handled by custom rule
 libarm64_DATA += %reldir%/libkeymgr.a
 libarm64_DATA += %reldir%/libks.a
+libarm64_DATA += %reldir%/libksecdd.a
 #libarm64_DATA += %reldir%/libksuser.a    # Handled by custom rule
 libarm64_DATA += %reldir%/libktmw32.a
 libarm64_DATA += %reldir%/liblinkinfo.a