Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D93C0C433FE for ; Fri, 18 Nov 2022 16:13:36 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id BF1A285214; Fri, 18 Nov 2022 17:13:34 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=metanate.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=metanate.com header.i=@metanate.com header.b="qcqW7J8o"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A9B0985260; Fri, 18 Nov 2022 17:13:32 +0100 (CET) Received: from metanate.com (unknown [IPv6:2001:8b0:1628:5005::111]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 3262F85214 for ; Fri, 18 Nov 2022 17:13:30 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=metanate.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=john@metanate.com DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=metanate.com; s=stronger; h=Content-Transfer-Encoding:References: In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Content-Type:Reply-To: Content-ID:Content-Description; bh=sUKpH/2j9w61VIK46PwTDCZxnchlc2Rb8rH1WuqjODw=; b=qcqW7J8oUIPfVb40Vd2Aq5rrxr uuDF+siK54jM1sourpDjttRINi/T6raqrL2N580OB5B78LlQDOaUeFvaHXkBShjcrgId+PhLdYBQp ropotb8ob9yWuU6EYJxkRqdpIjmzmPGQiFVPbUNLEs+N0EhNsZz1T4+N7SW5eWblLdDVpnG0xJ+Zk SpUURA3nxNGTp0KHR0Gf7bWkDkBtcddw4Y66OQTwAe/MvWN4kYFmeKWWpu06G0veMGEw8gzmhJn/C 9OkKz/rnRTdAQTty9wMndEBvB+2wW6kFOrmC3WegEb/VHwamiMnw+FfPTuXoxWr5NNCeRg9daTmqp rBsq6x+g==; Received: from 188-39-28-98.static.enta.net ([188.39.28.98] helo=donbot.metanate.com) by email.metanate.com with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1ow3za-0003i5-Nd; Fri, 18 Nov 2022 16:13:27 +0000 From: John Keeping To: Simon Glass Cc: u-boot@lists.denx.de, Philipp Tomsich , Kever Yang , John Keeping Subject: [PATCH 2/2] rockchip: mkimage: make RC4 key const Date: Fri, 18 Nov 2022 16:13:18 +0000 Message-Id: <20221118161318.120821-2-john@metanate.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221118161318.120821-1-john@metanate.com> References: <20221118161318.120821-1-john@metanate.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Authenticated: YES X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean This is read-only data, so mark it as such. Signed-off-by: John Keeping --- tools/rkcommon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/rkcommon.c b/tools/rkcommon.c index 0db45c2d41..fab61949e1 100644 --- a/tools/rkcommon.c +++ b/tools/rkcommon.c @@ -154,7 +154,7 @@ struct spl_params { static struct spl_params spl_params = { 0 }; -static unsigned char rc4_key[16] = { +static const unsigned char rc4_key[16] = { 124, 78, 3, 4, 85, 5, 9, 7, 45, 44, 123, 56, 23, 13, 23, 17 }; -- 2.38.1