mirror of https://github.com/wolfSSL/wolfBoot.git
Fixed scripts by adding explicit "--ecc256" argument
parent
da353cfe2e
commit
8ffdf1997b
|
@ -13,7 +13,7 @@ APP=test-app/image_v"$VERSION"_signed_and_encrypted.bin
|
||||||
# Create test key
|
# Create test key
|
||||||
echo -n "0123456789abcdef0123456789abcdef0123456789ab" > enc_key.der
|
echo -n "0123456789abcdef0123456789abcdef0123456789ab" > enc_key.der
|
||||||
|
|
||||||
$SIGN_TOOL --encrypt enc_key.der test-app/image.bin ecc256.der $VERSION
|
$SIGN_TOOL --ecc256 --encrypt enc_key.der test-app/image.bin ecc256.der $VERSION
|
||||||
dd if=/dev/zero bs=$SIZE count=1 2>/dev/null | tr "\000" "\377" > update.bin
|
dd if=/dev/zero bs=$SIZE count=1 2>/dev/null | tr "\000" "\377" > update.bin
|
||||||
dd if=$APP of=update.bin bs=1 conv=notrunc
|
dd if=$APP of=update.bin bs=1 conv=notrunc
|
||||||
printf "pBOOT" >> update.bin
|
printf "pBOOT" >> update.bin
|
||||||
|
|
|
@ -9,7 +9,7 @@ fi
|
||||||
SIZE=131067
|
SIZE=131067
|
||||||
VERSION=8
|
VERSION=8
|
||||||
APP=test-app/image_v"$VERSION"_signed.bin
|
APP=test-app/image_v"$VERSION"_signed.bin
|
||||||
$SIGN_TOOL test-app/image.bin ecc256.der $VERSION
|
$SIGN_TOOL --ecc256 test-app/image.bin ecc256.der $VERSION
|
||||||
dd if=/dev/zero bs=$SIZE count=1 2>/dev/null | tr "\000" "\377" > update.bin
|
dd if=/dev/zero bs=$SIZE count=1 2>/dev/null | tr "\000" "\377" > update.bin
|
||||||
dd if=$APP of=update.bin bs=1 conv=notrunc
|
dd if=$APP of=update.bin bs=1 conv=notrunc
|
||||||
printf "pBOOT" >> update.bin
|
printf "pBOOT" >> update.bin
|
||||||
|
|
|
@ -9,7 +9,7 @@ fi
|
||||||
SIZE=129019
|
SIZE=129019
|
||||||
VERSION=8
|
VERSION=8
|
||||||
APP=test-app/image_v"$VERSION"_signed.bin
|
APP=test-app/image_v"$VERSION"_signed.bin
|
||||||
$SIGN_TOOL test-app/image.bin ecc256.der $VERSION
|
$SIGN_TOOL --sha256 --ecc256 test-app/image.bin ecc256.der $VERSION
|
||||||
dd if=/dev/zero bs=$SIZE count=1 2>/dev/null | tr "\000" "\377" > update.bin
|
dd if=/dev/zero bs=$SIZE count=1 2>/dev/null | tr "\000" "\377" > update.bin
|
||||||
dd if=$APP of=update.bin bs=1 conv=notrunc
|
dd if=$APP of=update.bin bs=1 conv=notrunc
|
||||||
printf "pBOOT" >> update.bin
|
printf "pBOOT" >> update.bin
|
||||||
|
|
|
@ -9,7 +9,7 @@ fi
|
||||||
SIZE=229371
|
SIZE=229371
|
||||||
VERSION=8
|
VERSION=8
|
||||||
APP=test-app/image_v"$VERSION"_signed.bin
|
APP=test-app/image_v"$VERSION"_signed.bin
|
||||||
$SIGN_TOOL test-app/image.bin ecc256.der $VERSION
|
$SIGN_TOOL --ecc256 test-app/image.bin ecc256.der $VERSION
|
||||||
dd if=/dev/zero bs=$SIZE count=1 2>/dev/null | tr "\000" "\377" > update.bin
|
dd if=/dev/zero bs=$SIZE count=1 2>/dev/null | tr "\000" "\377" > update.bin
|
||||||
dd if=$APP of=update.bin bs=1 conv=notrunc
|
dd if=$APP of=update.bin bs=1 conv=notrunc
|
||||||
printf "pBOOT" >> update.bin
|
printf "pBOOT" >> update.bin
|
||||||
|
|
Loading…
Reference in New Issue