]> git.dujemihanovic.xyz Git - u-boot.git/commit
image: Combine image_sig_algo with image_sign_info
authorAndrew Duda <aduda@meraki.com>
Tue, 8 Nov 2016 18:53:41 +0000 (18:53 +0000)
committerTom Rini <trini@konsulko.com>
Mon, 21 Nov 2016 19:07:31 +0000 (14:07 -0500)
commit83dd98e012b55b494ac2bf1f9a5d66f684bfbbe8
tree8c4e069f185d6ca6d5afaba1945b7a3ab954a6cc
parent0c1d74fda7c0063eeca4d8d9fa8674e6ec2ef685
image: Combine image_sig_algo with image_sign_info

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@meraki.com>
Signed-off-by: aduda <aduda@meraki.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/image-sig.c
include/image.h
lib/rsa/rsa-sign.c
lib/rsa/rsa-verify.c
tools/image-host.c