You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mingw-crt/SOURCES/0001-crt-Add-bcryptprimitiv...

161 lines
6.8 KiB

From 72dca1f6e5fafeff9bb38f1b97d24724cbd67717 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= <marcandre.lureau@redhat.com>
Date: Thu, 25 Jul 2024 16:02:15 +0400
Subject: [PATCH] crt: Add bcryptprimitives.def
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
---
mingw-w64-crt/Makefile.in | 48 ++++++++++---------
mingw-w64-crt/lib-common/bcryptprimitives.def | 18 +++++++
mingw-w64-crt/lib32/Makefile.am | 1 +
mingw-w64-crt/lib32/bcryptprimitives.def | 18 +++++++
mingw-w64-crt/lib64/Makefile.am | 1 +
5 files changed, 63 insertions(+), 23 deletions(-)
create mode 100644 mingw-w64-crt/lib-common/bcryptprimitives.def
create mode 100644 mingw-w64-crt/lib32/bcryptprimitives.def
diff --git a/mingw-w64-crt/Makefile.in b/mingw-w64-crt/Makefile.in
index 7512bfe42..6447a2ba9 100644
--- a/mingw-w64-crt/Makefile.in
+++ b/mingw-w64-crt/Makefile.in
@@ -11639,6 +11639,7 @@ src_intrincsarm64 =
@LIB32_TRUE@ lib32/libsynchronization.a lib32/libauthz.a \
@LIB32_TRUE@ lib32/libavicap32.a lib32/libavifil32.a \
@LIB32_TRUE@ lib32/libavrt.a lib32/libbcrypt.a \
+@LIB32_TRUE@ lib32/libbcryptprimitives.a \
@LIB32_TRUE@ lib32/libbluetoothapis.a lib32/libbootvid.a \
@LIB32_TRUE@ lib32/libbrowcli.a lib32/libbthprops.a \
@LIB32_TRUE@ lib32/libcabinet.a lib32/libcap.a \
@@ -12355,29 +12356,30 @@ src_intrincsarm64 =
@LIB64_TRUE@ lib64/libnormaliz.a lib64/libclfsw32.a \
@LIB64_TRUE@ lib64/libdwmapi.a lib64/libntoskrnl.a \
@LIB64_TRUE@ lib64/libuxtheme.a lib64/libwtsapi32.a \
-@LIB64_TRUE@ lib64/libbcrypt.a lib64/libbthprops.a \
-@LIB64_TRUE@ lib64/libdhcpcsvc6.a lib64/libdxva2.a \
-@LIB64_TRUE@ lib64/libeappcfg.a lib64/libeappgnui.a \
-@LIB64_TRUE@ lib64/libeapphost.a lib64/libeappprxy.a \
-@LIB64_TRUE@ lib64/libevr.a lib64/libiscsidsc.a \
-@LIB64_TRUE@ lib64/libktmw32.a lib64/libmf.a lib64/libmfcore.a \
-@LIB64_TRUE@ lib64/libmfplat.a lib64/libmfplay.a \
-@LIB64_TRUE@ lib64/libmsdrm.a lib64/libncrypt.a \
-@LIB64_TRUE@ lib64/libwecapi.a lib64/libwevtapi.a \
-@LIB64_TRUE@ lib64/libwevtfwd.a lib64/libqutil.a \
-@LIB64_TRUE@ lib64/libconnect.a lib64/libfwpuclnt.a \
-@LIB64_TRUE@ lib64/libndfapi.a lib64/libp2p.a \
-@LIB64_TRUE@ lib64/libp2pcollab.a lib64/libp2pgraph.a \
-@LIB64_TRUE@ lib64/libwdstptc.a lib64/libcscapi.a \
-@LIB64_TRUE@ lib64/librstrtmgr.a lib64/libqwave.a \
-@LIB64_TRUE@ lib64/libwsdapi.a lib64/libvfw32.a \
-@LIB64_TRUE@ lib64/librpcdiag.a lib64/librpchttp.a \
-@LIB64_TRUE@ lib64/libresutil.a lib64/libslwga.a lib64/libslc.a \
-@LIB64_TRUE@ lib64/libslcext.a lib64/libmsctfmonitor.a \
-@LIB64_TRUE@ lib64/libtbs.a lib64/libtdh.a lib64/libtxfw32.a \
-@LIB64_TRUE@ lib64/libwlanui.a lib64/libwlanapi.a \
-@LIB64_TRUE@ lib64/libwlanutil.a lib64/libwer.a lib64/libndis.a \
-@LIB64_TRUE@ lib64/libd2d1.a lib64/libwdscsl.a lib64/libpcwum.a \
+@LIB64_TRUE@ lib64/libbcrypt.a lib64/libbcryptprimitives.a \
+@LIB64_TRUE@ lib64/libbthprops.a lib64/libdhcpcsvc6.a \
+@LIB64_TRUE@ lib64/libdxva2.a lib64/libeappcfg.a \
+@LIB64_TRUE@ lib64/libeappgnui.a lib64/libeapphost.a \
+@LIB64_TRUE@ lib64/libeappprxy.a lib64/libevr.a \
+@LIB64_TRUE@ lib64/libiscsidsc.a lib64/libktmw32.a \
+@LIB64_TRUE@ lib64/libmf.a lib64/libmfcore.a lib64/libmfplat.a \
+@LIB64_TRUE@ lib64/libmfplay.a lib64/libmsdrm.a \
+@LIB64_TRUE@ lib64/libncrypt.a lib64/libwecapi.a \
+@LIB64_TRUE@ lib64/libwevtapi.a lib64/libwevtfwd.a \
+@LIB64_TRUE@ lib64/libqutil.a lib64/libconnect.a \
+@LIB64_TRUE@ lib64/libfwpuclnt.a lib64/libndfapi.a \
+@LIB64_TRUE@ lib64/libp2p.a lib64/libp2pcollab.a \
+@LIB64_TRUE@ lib64/libp2pgraph.a lib64/libwdstptc.a \
+@LIB64_TRUE@ lib64/libcscapi.a lib64/librstrtmgr.a \
+@LIB64_TRUE@ lib64/libqwave.a lib64/libwsdapi.a \
+@LIB64_TRUE@ lib64/libvfw32.a lib64/librpcdiag.a \
+@LIB64_TRUE@ lib64/librpchttp.a lib64/libresutil.a \
+@LIB64_TRUE@ lib64/libslwga.a lib64/libslc.a lib64/libslcext.a \
+@LIB64_TRUE@ lib64/libmsctfmonitor.a lib64/libtbs.a \
+@LIB64_TRUE@ lib64/libtdh.a lib64/libtxfw32.a lib64/libwlanui.a \
+@LIB64_TRUE@ lib64/libwlanapi.a lib64/libwlanutil.a \
+@LIB64_TRUE@ lib64/libwer.a lib64/libndis.a lib64/libd2d1.a \
+@LIB64_TRUE@ lib64/libwdscsl.a lib64/libpcwum.a \
@LIB64_TRUE@ lib64/libwdscore.a lib64/libcryptsp.a \
@LIB64_TRUE@ lib64/libwdsclient.a lib64/libwdsupgcompl.a \
@LIB64_TRUE@ lib64/libwdsclientapi.a lib64/libwdsutil.a \
diff --git a/mingw-w64-crt/lib-common/bcryptprimitives.def b/mingw-w64-crt/lib-common/bcryptprimitives.def
new file mode 100644
index 000000000..133df050f
--- /dev/null
+++ b/mingw-w64-crt/lib-common/bcryptprimitives.def
@@ -0,0 +1,18 @@
+;
+; Definition file of bcryptPrimitives.dll
+; Automatic generated by gendef 1.1
+; written by Kai Tietz 2008
+; The def file has to be processed by --kill-at (-k) option of dlltool or ld
+;
+LIBRARY "bcryptPrimitives.dll"
+EXPORTS
+GetAsymmetricEncryptionInterface
+GetCipherInterface
+GetHashInterface
+GetKeyDerivationInterface
+GetRngInterface
+GetSecretAgreementInterface
+GetSignatureInterface
+MSCryptConvertRsaPrivateBlobToFullRsaBlob
+ProcessPrng
+ProcessPrngGuid
diff --git a/mingw-w64-crt/lib32/Makefile.am b/mingw-w64-crt/lib32/Makefile.am
index 5aa9b64ff..dd42593bd 100644
--- a/mingw-w64-crt/lib32/Makefile.am
+++ b/mingw-w64-crt/lib32/Makefile.am
@@ -10,6 +10,7 @@ lib32_DATA += %reldir%/libavicap32.a
lib32_DATA += %reldir%/libavifil32.a
lib32_DATA += %reldir%/libavrt.a
lib32_DATA += %reldir%/libbcrypt.a
+lib32_DATA += %reldir%/libbcryptprimitives.a
lib32_DATA += %reldir%/libbluetoothapis.a
lib32_DATA += %reldir%/libbootvid.a
lib32_DATA += %reldir%/libbrowcli.a
diff --git a/mingw-w64-crt/lib32/bcryptprimitives.def b/mingw-w64-crt/lib32/bcryptprimitives.def
new file mode 100644
index 000000000..b4c00bd3d
--- /dev/null
+++ b/mingw-w64-crt/lib32/bcryptprimitives.def
@@ -0,0 +1,18 @@
+;
+; Definition file of bcryptPrimitives.dll
+; Automatic generated by gendef 1.1
+; written by Kai Tietz 2008
+; The def file has to be processed by --kill-at (-k) option of dlltool or ld
+;
+LIBRARY "bcryptPrimitives.dll"
+EXPORTS
+GetAsymmetricEncryptionInterface@16
+GetCipherInterface@16
+GetHashInterface@16
+GetKeyDerivationInterface@16
+GetRngInterface@12
+GetSecretAgreementInterface@16
+GetSignatureInterface@16
+MSCryptConvertRsaPrivateBlobToFullRsaBlob@20
+ProcessPrng@8
+ProcessPrngGuid@4
diff --git a/mingw-w64-crt/lib64/Makefile.am b/mingw-w64-crt/lib64/Makefile.am
index e85ab5b2f..c135c53e7 100644
--- a/mingw-w64-crt/lib64/Makefile.am
+++ b/mingw-w64-crt/lib64/Makefile.am
@@ -714,6 +714,7 @@ lib64_DATA += %reldir%/libntoskrnl.a
lib64_DATA += %reldir%/libuxtheme.a
lib64_DATA += %reldir%/libwtsapi32.a
lib64_DATA += %reldir%/libbcrypt.a
+lib64_DATA += %reldir%/libbcryptprimitives.a
lib64_DATA += %reldir%/libbthprops.a
lib64_DATA += %reldir%/libdhcpcsvc6.a
lib64_DATA += %reldir%/libdxva2.a
--
2.41.0.28.gd7d8841f67