aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/math/libnttfft/ntt_fft_reduce.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstrongswan/math/libnttfft/ntt_fft_reduce.h')
-rw-r--r--src/libstrongswan/math/libnttfft/ntt_fft_reduce.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstrongswan/math/libnttfft/ntt_fft_reduce.h b/src/libstrongswan/math/libnttfft/ntt_fft_reduce.h
index 76a726033..5ff2b9588 100644
--- a/src/libstrongswan/math/libnttfft/ntt_fft_reduce.h
+++ b/src/libstrongswan/math/libnttfft/ntt_fft_reduce.h
@@ -29,7 +29,7 @@
* Montgomery, P. L. Modular multiplication without trial division.
* Mathematics of Computation 44, 170 (1985), 519–521.
*/
-static inline uint32_t ntt_fft_mreduce(uint32_t x, ntt_fft_params_t *p)
+static inline uint32_t ntt_fft_mreduce(uint32_t x, const ntt_fft_params_t *p)
{
uint32_t m, t;