From 5db9b014c6647181fe354e72873ef05ac3989644 Mon Sep 17 00:00:00 2001 From: hasufell Date: Thu, 5 Jun 2014 16:32:04 +0200 Subject: [PATCH] PARAMS: use forward declaration --- src/ntru_params.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/ntru_params.h b/src/ntru_params.h index aae74ba..4d8ebcd 100644 --- a/src/ntru_params.h +++ b/src/ntru_params.h @@ -33,11 +33,14 @@ #include +typedef struct ntru_params ntru_params; + + /** * NTRU cryptosystem is specified by * the following triple. */ -typedef struct { +struct ntru_params { /** * maximal degree N - 1 for * all polynomials @@ -51,6 +54,7 @@ typedef struct { * small modulus */ uint32_t p; -} ntru_params; +}; + #endif /* NTRU_PARAMS_H */