11
0
Fork 0

GEA3: Fix length of Kc (must be number of bits, not number of bytes)

This commit is contained in:
Harald Welte 2016-06-01 16:28:14 +02:00
parent 3cb6defa37
commit 1ef73c575d
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}