aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/math/libnttfft/ntt_fft_reduce.h
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2016-07-25 12:17:49 +0200
committerAndreas Steffen <andreas.steffen@strongswan.org>2016-07-29 12:36:15 +0200
commit7256c68da0b101f42d24f9ce525960b7bf09805f (patch)
treec431b93e3f6c62a828359fd7a44496a2e78a8e83 /src/libstrongswan/math/libnttfft/ntt_fft_reduce.h
parentd305f251a53520db97c899ba1c1f40e239fb68fa (diff)
downloadstrongswan-7256c68da0b101f42d24f9ce525960b7bf09805f.tar.bz2
strongswan-7256c68da0b101f42d24f9ce525960b7bf09805f.tar.xz
integrity-test: check code and ro segments of libnttfft
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;