diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2016-07-25 12:17:49 +0200 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2016-07-29 12:36:15 +0200 |
commit | 7256c68da0b101f42d24f9ce525960b7bf09805f (patch) | |
tree | c431b93e3f6c62a828359fd7a44496a2e78a8e83 /src/libstrongswan/math/libnttfft/ntt_fft.c | |
parent | d305f251a53520db97c899ba1c1f40e239fb68fa (diff) | |
download | strongswan-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.c')
-rw-r--r-- | src/libstrongswan/math/libnttfft/ntt_fft.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/libstrongswan/math/libnttfft/ntt_fft.c b/src/libstrongswan/math/libnttfft/ntt_fft.c index d742c0ac4..f83dbfc7e 100644 --- a/src/libstrongswan/math/libnttfft/ntt_fft.c +++ b/src/libstrongswan/math/libnttfft/ntt_fft.c @@ -16,6 +16,14 @@ #include "ntt_fft.h" #include "ntt_fft_reduce.h" +/** + * Described in header. + */ +void libnttfft_init(void) +{ + /* empty */ +} + typedef struct private_ntt_fft_t private_ntt_fft_t; /** @@ -31,7 +39,7 @@ struct private_ntt_fft_t { /** * FFT parameter set used as constants */ - ntt_fft_params_t *p; + const ntt_fft_params_t *p; }; @@ -181,7 +189,7 @@ METHOD(ntt_fft_t, destroy, void, /** * See header. */ -ntt_fft_t *ntt_fft_create(ntt_fft_params_t *params) +ntt_fft_t *ntt_fft_create(const ntt_fft_params_t *params) { private_ntt_fft_t *this; |