summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/kernel-fitimage.bbclass5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes/kernel-fitimage.bbclass b/meta/classes/kernel-fitimage.bbclass
index 5f5e9dd444..7c0d93625b 100644
--- a/meta/classes/kernel-fitimage.bbclass
+++ b/meta/classes/kernel-fitimage.bbclass
@@ -56,6 +56,9 @@ FIT_HASH_ALG ?= "sha256"
56# fitImage Signature Algo 56# fitImage Signature Algo
57FIT_SIGN_ALG ?= "rsa2048" 57FIT_SIGN_ALG ?= "rsa2048"
58 58
59# fitImage Padding Algo
60FIT_PAD_ALG ?= "pkcs-1.5"
61
59# 62#
60# Emit the fitImage ITS header 63# Emit the fitImage ITS header
61# 64#
@@ -250,6 +253,7 @@ fitimage_emit_section_config() {
250 253
251 conf_csum="${FIT_HASH_ALG}" 254 conf_csum="${FIT_HASH_ALG}"
252 conf_sign_algo="${FIT_SIGN_ALG}" 255 conf_sign_algo="${FIT_SIGN_ALG}"
256 conf_padding_algo="${FIT_PAD_ALG}"
253 if [ "${UBOOT_SIGN_ENABLE}" = "1" ] ; then 257 if [ "${UBOOT_SIGN_ENABLE}" = "1" ] ; then
254 conf_sign_keyname="${UBOOT_SIGN_KEYNAME}" 258 conf_sign_keyname="${UBOOT_SIGN_KEYNAME}"
255 fi 259 fi
@@ -333,6 +337,7 @@ EOF
333 signature-1 { 337 signature-1 {
334 algo = "${conf_csum},${conf_sign_algo}"; 338 algo = "${conf_csum},${conf_sign_algo}";
335 key-name-hint = "${conf_sign_keyname}"; 339 key-name-hint = "${conf_sign_keyname}";
340 padding = "${conf_padding_algo}";
336 ${sign_line} 341 ${sign_line}
337 }; 342 };
338EOF 343EOF