integrity-test: check code and ro segments of libnttfft

This commit is contained in:
Andreas Steffen
2016-07-29 12:36:15 +02:00
parent d305f251a5
commit 7256c68da0
8 changed files with 51 additions and 32 deletions
+10 -2
View File
@@ -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;