[U-Boot] [PATCH 4/4] image: Combine image_sig_algo with image_sign_info

Simon Glass sjg at chromium.org
Fri Nov 11 17:17:45 CET 2016


On 8 November 2016 at 11:53, aduda <aduda at meraki.com> wrote:
> From: Andrew Duda <aduda at meraki.com>
>
> Remove the need to explicitly add SHA/RSA pairings. Invalid SHA/RSA
> pairings will still fail on verify operations when the hash length is
> longer than the key length.
>
> Follow the same naming scheme "checksum,crytpo" without explicitly
> defining the string.
>
> Indirectly adds support for "sha1,rsa4096" signing/verification.
>
> Signed-off-by: Andrew Duda <aduda at meraki.com>
> Signed-off-by: aduda <aduda at meraki.com>
> ---
>
>  common/image-sig.c   | 57 ++++++++++++++++++++++++++++------------------------
>  include/image.h      | 24 ++++++++++++----------
>  lib/rsa/rsa-sign.c   |  4 ++--
>  lib/rsa/rsa-verify.c | 14 ++++++-------
>  tools/image-host.c   | 16 ++++++++-------
>  5 files changed, 61 insertions(+), 54 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list