aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTom Rini2023-01-16 20:58:37 -0500
committerTom Rini2023-01-16 20:58:37 -0500
commit4a986156258d456237d0dda753a39afbddf9dcfd (patch)
tree40a4bf69c2591234635709de1a3d342d7557b2de /lib
parent348064ee2c8f9494b91b55729ac60c5db79ef129 (diff)
parentc925be73a0a8b1d90060c4b5255a2d9e87967e23 (diff)
Merge tag 'u-boot-rockchip-20230117' of https://source.denx.de/u-boot/custodians/u-boot-rockchip
- 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; - Add support for PX30 Ringneck SoM board;
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 0c004398436..720112d1fd8 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;