diff options
author | John Keeping <john@metanate.com> | 2022-11-18 16:13:18 +0000 |
---|---|---|
committer | Kever Yang <kever.yang@rock-chips.com> | 2023-01-16 18:01:10 +0800 |
commit | 2c8992910196114656a6668dd00ee15081c786a0 (patch) | |
tree | 6086b93684ae8257c49616bcb9c0c1d781806c60 /tools/rkcommon.c | |
parent | 93a6e60e49dd508888cde99514cbb4d6de569781 (diff) | |
download | u-boot-2c8992910196114656a6668dd00ee15081c786a0.tar.gz |
rockchip: mkimage: make RC4 key const
This is read-only data, so mark it as such.
Signed-off-by: John Keeping <john@metanate.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@vrull.eu>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Diffstat (limited to 'tools/rkcommon.c')
-rw-r--r-- | tools/rkcommon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/rkcommon.c b/tools/rkcommon.c index 0db45c2d41c..fab61949e10 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 }; |