tools: Avoid confusion between keys and signatures
authorSimon Glass <sjg@chromium.org>
Fri, 12 Nov 2021 19:28:08 +0000 (12:28 -0700)
committerSimon Glass <sjg@chromium.org>
Wed, 26 Jan 2022 15:50:43 +0000 (08:50 -0700)
commite8aa5580d41dbe556c85a753188de9e43045b220
treecc649022650ba9af8469e3de79dd841d5cb2c18b
parent48422343c88304638d62e543060376b0e443904b
tools: Avoid confusion between keys and signatures

We should be consistent in using the term 'signature' to describe a value
added to sign something and 'key' to describe the key that can be used to
verify the signature.

Tidy up the code to stick to this.

Add some comments to fit_config_verify_key() and its callers while we are
here.

Signed-off-by: Simon Glass <sjg@chromium.org>
boot/image-fit-sig.c