diff options
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; |