]> git.dujemihanovic.xyz Git - u-boot.git/commit
lib: rsa: avoid overriding the object name when already specified
authorJan Luebbe <jlu@pengutronix.de>
Wed, 13 May 2020 10:26:24 +0000 (12:26 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 15 May 2020 18:47:35 +0000 (14:47 -0400)
commit24bf6e84ce22cd1b53cb79e4f89a4036af7e9c6b
tree85c116fc3267a1ce16d6771f0a08675788d48ccd
parent3b84809b7b34f1f099303767a48f20cfb7c4e78c
lib: rsa: avoid overriding the object name when already specified

If "object=" is specified in "keydir" when using the pkcs11 engine do
not append another "object=<key-name-hint>". This makes it possible to
use object names other than the key name hint. These two string
identifiers are not necessarily equal.

Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Signed-off-by: Bastian Krause <bst@pengutronix.de>
Reviewed-by: George McCollister <george.mccollister@gmail.com>
doc/uImage.FIT/signature.txt
lib/rsa/rsa-sign.c