From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Sun, 7 Feb 2021 07:37:31 -0700 Subject: [PATCH 3/4] lib/rsa: Use the 'keyfile' argument from mkimage In-Reply-To: <20210204195705.2057081-4-mr.nuke.me@gmail.com> References: <20210204195705.2057081-1-mr.nuke.me@gmail.com> <20210204195705.2057081-4-mr.nuke.me@gmail.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, 4 Feb 2021 at 12:57, Alexandru Gagniuc wrote: > > Keys can be derived from keydir, and the "key-name-hint" property of > the FIT. They can also be specified ad-literam via 'keyfile'. Update > the RSA signing path to use the appropriate one. > > Signed-off-by: Alexandru Gagniuc > --- > lib/rsa/rsa-sign.c | 34 ++++++++++++++++++++++++++-------- > 1 file changed, 26 insertions(+), 8 deletions(-) Reviewed-by: Simon Glass