summaryrefslogtreecommitdiffstats
path: root/meta/classes/uboot-sign.bbclass
diff options
context:
space:
mode:
authorLUIS ENRIQUEZ <luis.enriquez@se.com>2022-07-16 17:52:22 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-07-19 10:54:20 +0100
commit476a89a436a57d63804a76f8de2c7a9275a34c44 (patch)
treea7c46bd0d1a7b89e67bf383c764ffc46f13107ab /meta/classes/uboot-sign.bbclass
parentb53880d3400b316f1a8f2108a97658104cc008f2 (diff)
downloadpoky-476a89a436a57d63804a76f8de2c7a9275a34c44.tar.gz
kernel-fitimage.bbclass: add padding algorithm property in config nodes
This allows choosing padding algorithm when building fitImage. It may be pkcs-1.5 or pss. (From OE-Core rev: 29d5336c728b28890bbaadebf0ccff00ad90a64d) Signed-off-by: LUIS ENRIQUEZ <luis.enriquez@se.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/uboot-sign.bbclass')
-rw-r--r--meta/classes/uboot-sign.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/uboot-sign.bbclass b/meta/classes/uboot-sign.bbclass
index 31ffe1f472..eecdec9160 100644
--- a/meta/classes/uboot-sign.bbclass
+++ b/meta/classes/uboot-sign.bbclass
@@ -73,6 +73,9 @@ UBOOT_FIT_HASH_ALG ?= "sha256"
73FIT_SIGN_ALG ?= "rsa2048" 73FIT_SIGN_ALG ?= "rsa2048"
74UBOOT_FIT_SIGN_ALG ?= "rsa2048" 74UBOOT_FIT_SIGN_ALG ?= "rsa2048"
75 75
76# Kernel / U-Boot fitImage Padding Algo
77FIT_PAD_ALG ?= "pkcs-1.5"
78
76# Generate keys for signing Kernel / U-Boot fitImage 79# Generate keys for signing Kernel / U-Boot fitImage
77FIT_GENERATE_KEYS ?= "0" 80FIT_GENERATE_KEYS ?= "0"
78UBOOT_FIT_GENERATE_KEYS ?= "0" 81UBOOT_FIT_GENERATE_KEYS ?= "0"