aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmocom.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2016-06-01 16:28:14 +0200
committerHarald Welte <laforge@gnumonks.org>2016-06-01 16:28:14 +0200
commit1ef73c575db503d9c591bec8ecb0e5d635729218 (patch)
treeab16d7176bd2b7cf0e25e0d903ab3a7f4027d74c /src/osmocom.c
parent3cb6defa379fd157b16bb42f405936933e64ce8a (diff)
GEA3: Fix length of Kc (must be number of bits, not number of bytes)
Diffstat (limited to 'src/osmocom.c')
-rw-r--r--src/osmocom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmocom.c b/src/osmocom.c
index 39efb73..d898191 100644
--- a/src/osmocom.c
+++ b/src/osmocom.c
@@ -16,7 +16,7 @@ static int gea3_run(uint8_t *out, uint16_t len, uint8_t *kc, uint32_t iv,
else
dir = 1;
- GEA3(kc, sizeof(kc), iv, dir, out, len);
+ GEA3(kc, 64, iv, dir, out, len);
return 0;
}