]> git.dujemihanovic.xyz Git - u-boot.git/commit
mkimage: use environment variable MKIMAGE_SIGN_PIN to set pin for OpenSSL Engine
authorMarc Kleine-Budde <mkl@pengutronix.de>
Fri, 23 Jul 2021 20:17:50 +0000 (22:17 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 29 Jul 2021 00:46:34 +0000 (20:46 -0400)
commit62b27a561c2868d95445905ad554297e43cc0f2b
tree4ed6786f1809fc6d212d157a9683a2ab6409c191
parent89795ef3b6b2d12cffb840a98ee374d2e806aa64
mkimage: use environment variable MKIMAGE_SIGN_PIN to set pin for OpenSSL Engine

This patch adds the possibility to pass the PIN the OpenSSL Engine
used during signing via the environment variable MKIMAGE_SIGN_PIN.
This follows the approach used during kernel module
signing ("KBUILD_SIGN_PIN") or UBIFS image
signing ("MKIMAGE_SIGN_PIN").

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
doc/uImage.FIT/signature.txt
lib/rsa/rsa-sign.c