[PATCH 2/2] rockchip: mkimage: make RC4 key const
Kever Yang
kever.yang at rock-chips.com
Sun Dec 18 11:09:30 CET 2022
On 2022/11/19 00:13, John Keeping wrote:
> This is read-only data, so mark it as such.
>
> Signed-off-by: John Keeping <john at metanate.com>
Reviewed-by: Kever Yang <kever.yang at rock-chips.com>
Thanks,
- Kever
> ---
> 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
> };
More information about the U-Boot
mailing list