From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cpwqy-0004ha-5l for barebox@lists.infradead.org; Mon, 20 Mar 2017 12:56:05 +0000 From: Oleksij Rempel Date: Mon, 20 Mar 2017 13:55:40 +0100 Message-Id: <20170320125540.8431-2-o.rempel@pengutronix.de> In-Reply-To: <20170320125540.8431-1-o.rempel@pengutronix.de> References: <20170320125540.8431-1-o.rempel@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH v1 2/2] bootm: fit: support rsa2048 To: barebox@lists.infradead.org Cc: Oleksij Rempel , Steffen Trumtrar From: Steffen Trumtrar Signed-off-by: Steffen Trumtrar Signed-off-by: Oleksij Rempel --- common/image-fit.c | 2 ++ 1 file changed, 2 insertions(+) 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@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox