From c3b354b79a46a20e7a8063bb69e24d3f7883ce67 Mon Sep 17 00:00:00 2001
From: OsborneSDev <76076445+OsborneSDev@users.noreply.github.com>
Date: Fri, 22 Jan 2021 13:15:11 -0800
Subject: Use SHA256 for wdfserial and usbfx2 driver signing (#560)
Sets file digest algorithm for wdfserial and usbfx2 drivers to SHA256
https://dev.azure.com/microsoft/OS/_workitems/edit/31022366
https://dev.azure.com/microsoft/OS/_workitems/edit/31022410
**How Tested:**
Compiling the two driver solutions shows they are correctly signed using SHA256
---
serial/serial/wdfserial.vcxproj | 12 ++++++++++++
usb/umdf2_fx2/driver/osrusbfx2um.vcxproj | 14 +++++++++++++-
2 files changed, 25 insertions(+), 1 deletion(-)
diff --git a/serial/serial/wdfserial.vcxproj b/serial/serial/wdfserial.vcxproj
index 30db6172..fb761163 100644
--- a/serial/serial/wdfserial.vcxproj
+++ b/serial/serial/wdfserial.vcxproj
@@ -317,6 +317,9 @@
%(PreprocessorDefinitions);EVENT_TRACING
+
+ sha256
+
@@ -330,6 +333,9 @@
%(PreprocessorDefinitions);EVENT_TRACING
+
+ sha256
+
@@ -343,6 +349,9 @@
%(PreprocessorDefinitions);EVENT_TRACING
+
+ sha256
+
@@ -356,6 +365,9 @@
%(PreprocessorDefinitions);EVENT_TRACING
+
+ sha256
+
diff --git a/usb/umdf2_fx2/driver/osrusbfx2um.vcxproj b/usb/umdf2_fx2/driver/osrusbfx2um.vcxproj
index a4209763..ac9dc9b7 100644
--- a/usb/umdf2_fx2/driver/osrusbfx2um.vcxproj
+++ b/usb/umdf2_fx2/driver/osrusbfx2um.vcxproj
@@ -130,6 +130,9 @@
%(AdditionalDependencies);$(SDK_LIB_PATH)\mincore.lib;$(SDK_LIB_PATH)\WppRecorderUM.lib
+
+ sha256
+
@@ -151,6 +154,9 @@
%(AdditionalDependencies);$(SDK_LIB_PATH)\mincore.lib;$(SDK_LIB_PATH)\WppRecorderUM.lib
+
+ sha256
+
@@ -172,6 +178,9 @@
%(AdditionalDependencies);$(SDK_LIB_PATH)\mincore.lib;$(SDK_LIB_PATH)\WppRecorderUM.lib
+
+ sha256
+
@@ -193,6 +202,9 @@
%(AdditionalDependencies);$(SDK_LIB_PATH)\mincore.lib;$(SDK_LIB_PATH)\WppRecorderUM.lib
+
+ sha256
+
@@ -207,4 +219,4 @@
-
+
\ No newline at end of file
--
cgit v1.3.1