mod_image_for_recovery.sh: Update kern_b_hash from SHA1 to SHA256

We're changing the algorithm for this so the build scripts need to be
adapted in sync.

BUG=b:137576540
TEST=Built recovery image and ran it on Kevin.

Cq-Depend: chromium:1707529
Change-Id: Idbfa33ff21ca1e947acaf748f4a45642291133fd
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1707510
Legacy-Commit-Queue: Commit Bot <commit-bot@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
diff --git a/mod_image_for_recovery.sh b/mod_image_for_recovery.sh
index 1e29c44..91766f1 100755
--- a/mod_image_for_recovery.sh
+++ b/mod_image_for_recovery.sh
@@ -135,7 +135,7 @@
   if [ $FLAGS_sync_keys -eq $FLAGS_TRUE ]; then
     dd if="$INSTALL_VBLOCK" of="$kern_tmp" conv=notrunc 1>&2
   fi
-  local kern_hash=$(sha1sum "$kern_tmp" | cut -f1 -d' ')
+  local kern_hash=$(sha256sum "$kern_tmp" | cut -f1 -d' ')
   rm "$kern_tmp"
   # Force all of the file writes to complete, in case it's necessary for
   # crbug.com/954188