summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-12-06 21:52:09 +0100
committerHarald Welte <laforge@gnumonks.org>2011-12-06 21:52:09 +0100
commit39a287db7497180ffaf24c5d0de91a15e0fa0d5a (patch)
tree7529dda88d483cb09a023a9bc06861b7695a57b7 /src
parent75524cbabd4d7a8cab45d00081fb258aad9267db (diff)
comp128: mark ki and srand as 'const' input parameters
Diffstat (limited to 'src')
-rw-r--r--src/gsm/comp128.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gsm/comp128.c b/src/gsm/comp128.c
index 5d5680c7..b7a23820 100644
--- a/src/gsm/comp128.c
+++ b/src/gsm/comp128.c
@@ -185,7 +185,7 @@ _comp128_permutation(uint8_t *x, uint8_t *bits)
}
void
-comp128(uint8_t *ki, uint8_t *rand, uint8_t *sres, uint8_t *kc)
+comp128(const uint8_t *ki, const uint8_t *rand, uint8_t *sres, uint8_t *kc)
{
int i;
uint8_t x[32], bits[128];