mirror of https://github.com/wolfSSL/wolfBoot.git
parent
bbd8afc798
commit
cd2b02e10b
|
|
@ -54,7 +54,7 @@ jobs:
|
|||
make clean distclean
|
||||
cp config/examples/stm32h5-tz-psa.config .config
|
||||
make
|
||||
m33mu wolfboot.bin test-app/image_v1_signed.bin:0x60000 --uart-stdout --expect-bkpt 0x7f --timeout 300
|
||||
m33mu wolfboot.bin test-app/image_v1_signed.bin:0x60000 --uart-stdout --expect-bkpt 0x7f --timeout 600
|
||||
|
||||
- name: Clean and build test with DICE attestation + OTP (stm32h5)
|
||||
run: |
|
||||
|
|
@ -64,4 +64,4 @@ jobs:
|
|||
make -C tools/keytools/otp TARGET=stm32h5 otp-keystore-primer.bin otp-keystore-gen
|
||||
./tools/keytools/otp/otp-keystore-gen
|
||||
m33mu tools/keytools/otp/otp-keystore-primer.bin --persist --timeout 10 || true
|
||||
m33mu wolfboot.bin test-app/image_v1_signed.bin:0x60000 --uart-stdout --expect-bkpt 0x7f --timeout 300 --persist
|
||||
m33mu wolfboot.bin test-app/image_v1_signed.bin:0x60000 --uart-stdout --expect-bkpt 0x7f --timeout 600 --persist
|
||||
|
|
|
|||
|
|
@ -32,19 +32,19 @@ extern "C" {
|
|||
#define ED25519_IMAGE_SIGNATURE_SIZE (64)
|
||||
#define ED448_IMAGE_SIGNATURE_SIZE (114)
|
||||
|
||||
#if defined(WOLFBOOT_SIGN_ECC256) || defined(WOLFBOOT_SECONDARY_SIGN_ECC256)
|
||||
#if defined(WOLFBOOT_SIGN_ECC256) || defined(WOLFBOOT_SIGN_SECONDARY_ECC256)
|
||||
#define ECC_IMAGE_SIGNATURE_SIZE (64)
|
||||
#elif defined(WOLFBOOT_SIGN_ECC384) || defined(WOLFBOOT_SECONDARY_SIGN_ECC384)
|
||||
#elif defined(WOLFBOOT_SIGN_ECC384) || defined(WOLFBOOT_SIGN_SECONDARY_ECC384)
|
||||
#define ECC_IMAGE_SIGNATURE_SIZE (96)
|
||||
#elif defined(WOLFBOOT_SIGN_ECC521) || defined(WOLFBOOT_SECONDARY_SIGN_ECC521)
|
||||
#elif defined(WOLFBOOT_SIGN_ECC521) || defined(WOLFBOOT_SIGN_SECONDARY_ECC521)
|
||||
#define ECC_IMAGE_SIGNATURE_SIZE (132)
|
||||
#endif
|
||||
|
||||
#if defined(WOLFBOOT_SIGN_RSA2048) || defined(WOLFBOOT_SECONDARY_SIGN_RSA2048)
|
||||
#if defined(WOLFBOOT_SIGN_RSA2048) || defined(WOLFBOOT_SIGN_SECONDARY_RSA2048)
|
||||
#define RSA_IMAGE_SIGNATURE_SIZE (256)
|
||||
#elif defined(WOLFBOOT_SIGN_RSA3072) || defined(WOLFBOOT_SECONDARY_SIGN_RSA3072)
|
||||
#elif defined(WOLFBOOT_SIGN_RSA3072) || defined(WOLFBOOT_SIGN_SECONDARY_RSA3072)
|
||||
#define RSA_IMAGE_SIGNATURE_SIZE (384)
|
||||
#elif defined(WOLFBOOT_SIGN_RSA4096) || defined(WOLFBOOT_SECONDARY_SIGN_RSA4096)
|
||||
#elif defined(WOLFBOOT_SIGN_RSA4096) || defined(WOLFBOOT_SIGN_SECONDARY_RSA4096)
|
||||
#define RSA_IMAGE_SIGNATURE_SIZE (512)
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue