aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-12-26 09:02:08 -0500
committerTom Rini <trini@konsulko.com>2022-12-26 09:02:08 -0500
commitc6b9daacec352a73bb6b073790d68c0358122b4e (patch)
tree2e836a0f6e8e02b7bd1450e0598ce821b1641a33 /lib
parent3e4cbe184a0f6537abb457d6afa61224396c4e46 (diff)
parent9636b196c7046f1efa16fcfe7e1df9dcbb0f77fc (diff)
downloadu-boot-WIP/26Dec2022-next.zip
u-boot-WIP/26Dec2022-next.tar.gz
u-boot-WIP/26Dec2022-next.tar.bz2
Merge branch 'for-next' of https://source.denx.de/u-boot/custodians/u-boot-rockchip into nextWIP/26Dec2022-next
- Add support for rv1126 soc and rv1126 neu2 io board; - Add support for rk3399 pine64 pinephone pro board; - dts sync from linux for rk3399 and px30;
Diffstat (limited to 'lib')
-rw-r--r--lib/rc4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rc4.c b/lib/rc4.c
index 0c00439..720112d 100644
--- a/lib/rc4.c
+++ b/lib/rc4.c
@@ -12,7 +12,7 @@
#endif
#include <rc4.h>
-void rc4_encode(unsigned char *buf, unsigned int len, unsigned char key[16])
+void rc4_encode(unsigned char *buf, unsigned int len, const unsigned char key[16])
{
unsigned char s[256], k[256], temp;
unsigned short i, j, t;