From 3630c1753dfff9095cdbf20ea9f8044333c34c7f Mon Sep 17 00:00:00 2001 From: Marco Oliverio Date: Wed, 13 Sep 2023 15:21:12 +0000 Subject: [PATCH] tools: script: make_hd update to use sha384/ecc384 --- tools/x86_fsp/qemu/make_hd.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/x86_fsp/qemu/make_hd.sh b/tools/x86_fsp/qemu/make_hd.sh index 0a75431e5..6759ae02d 100755 --- a/tools/x86_fsp/qemu/make_hd.sh +++ b/tools/x86_fsp/qemu/make_hd.sh @@ -15,7 +15,7 @@ n w EOF # copy bzImage in the root folder -tools/keytools/sign --ecc256 --sha256 ${IMAGE} wolfboot_signing_private_key.der 1 -tools/keytools/sign --ecc256 --sha256 ${IMAGE} wolfboot_signing_private_key.der 2 +tools/keytools/sign --ecc384 --sha384 ${IMAGE} wolfboot_signing_private_key.der 1 +tools/keytools/sign --ecc384 --sha384 ${IMAGE} wolfboot_signing_private_key.der 2 dd if=${IMAGE}_v1_signed.bin of=app.bin bs=512 seek=2048 conv=notrunc dd if=${IMAGE}_v2_signed.bin of=app.bin bs=512 seek=34816 conv=notrunc