Re: [PATCH v1 2/2] bootm: fit: support rsa2048

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Mar 20, 2017 at 01:55:40PM +0100, Oleksij Rempel wrote:
> From: Steffen Trumtrar <s.trumtrar@xxxxxxxxxxxxxx>
> 
> Signed-off-by: Steffen Trumtrar <s.trumtrar@xxxxxxxxxxxxxx>
> Signed-off-by: Oleksij Rempel <o.rempel@xxxxxxxxxxxxxx>
> ---
>  common/image-fit.c | 2 ++
>  1 file changed, 2 insertions(+)

Applied (only this one), thanks

Sascha

> 
> diff --git a/common/image-fit.c b/common/image-fit.c
> index 48c021347..2597312f7 100644
> --- a/common/image-fit.c
> +++ b/common/image-fit.c
> @@ -254,6 +254,8 @@ static int fit_verify_signature(struct device_node *sig_node, void *fit)
>  	}
>  	if (strcmp(algo_name, "sha1,rsa2048") == 0) {
>  		algo = HASH_ALGO_SHA1;
> +	} else if (strcmp(algo_name, "sha256,rsa2048") == 0) {
> +		algo = HASH_ALGO_SHA256;
>  	} else if (strcmp(algo_name, "sha256,rsa4096") == 0) {
>  		algo = HASH_ALGO_SHA256;
>  	} else	{
> -- 
> 2.11.0
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@xxxxxxxxxxxxxxxxxxx
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux