From 5ffa6559022f47d6a63d680e0f5fcbfe79dd6d2b Mon Sep 17 00:00:00 2001 From: Cedric Roux Date: Mon, 28 Oct 2024 22:16:22 +0100 Subject: [PATCH] snow3g: fix array size --- openair3/SECU/snow3g.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openair3/SECU/snow3g.c b/openair3/SECU/snow3g.c index 63519890ab..2278a6fe94 100644 --- a/openair3/SECU/snow3g.c +++ b/openair3/SECU/snow3g.c @@ -678,7 +678,7 @@ static uint64_t MUL64(uint64_t v, uint64_t p, uint64_t c) return result; } -static inline uint64_t mul_p(const uint64_t pm[7][256], uint64_t x) +static inline uint64_t mul_p(const uint64_t pm[8][256], uint64_t x) { uint64_t x0 = (x >> (32 + 24)) & 255; uint64_t x1 = (x >> (32 + 16)) & 255;