]> git.baikalelectronics.ru Git - uboot.git/commit
lib: rsa: add support to other openssl engine types than pkcs11
authorVesa Jääskeläinen <vesa.jaaskelainen@vaisala.com>
Sun, 16 Jun 2019 17:53:38 +0000 (20:53 +0300)
committerTom Rini <trini@konsulko.com>
Thu, 18 Jul 2019 15:31:23 +0000 (11:31 -0400)
commit3f3845966eb36f41e12b4e435c132e011f91f724
treecca21fad52e79da0f23dcad1e0866a3b7ad03a39
parentd8fe9235f040adea40cb5efef88a7e1c46bc35a6
lib: rsa: add support to other openssl engine types than pkcs11

There are multiple other openssl engines used by HSMs that can be used to
sign FIT images instead of forcing users to use pkcs11 type of service.

Relax engine selection so that other openssl engines can be specified and
use generic key id definition formula.

Signed-off-by: Vesa Jääskeläinen <vesa.jaaskelainen@vaisala.com>
Cc: Tom Rini <trini@konsulko.com>
doc/uImage.FIT/signature.txt
lib/rsa/rsa-sign.c
tools/mkimage.c