Add possibility to encrypt BL* firmware and some code fixes
Compare changes
+ 51
− 10
@@ -5,8 +5,9 @@ SECURE_BOOT_ROTPK_KEY_SIZE ?= 4096
@@ -5,8 +5,9 @@ SECURE_BOOT_ROTPK_KEY_SIZE ?= 4096
@@ -14,11 +15,45 @@ CERT_PATH := $(WORK_PATH)-cert
@@ -14,11 +15,45 @@ CERT_PATH := $(WORK_PATH)-cert
$(if $(wildcard $(SECURE_BOOT_ROTPK)),,$(error Cannot find Root Of Trust Pre-shared Key in key dir!))
@@ -34,6 +69,12 @@ define iopsys-prepare-secure-boot
@@ -34,6 +69,12 @@ define iopsys-prepare-secure-boot
@@ -58,8 +99,8 @@ define iopsys-prepare-secure-boot
@@ -58,8 +99,8 @@ define iopsys-prepare-secure-boot
@@ -71,8 +112,8 @@ define iopsys-prepare-secure-boot
@@ -71,8 +112,8 @@ define iopsys-prepare-secure-boot
@@ -130,9 +171,9 @@ define Build/generate-rotpk-fuse
@@ -130,9 +171,9 @@ define Build/generate-rotpk-fuse
-o $(CERT_PATH)/ecntefuse_$(SECURE_BOOT_ROTPK_KEY_SIZE)_$(SECURE_BOOT_ROTPK_HASH_ALG)_$(SECURE_BOOT_ENC_ALG).bin